Smarthome firmware pysmartnode

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
kevinkk525
Posts: 318
Joined: Sat Feb 03, 2018 7:02 pm

Re: Smarthome firmware pysmartnode

Post by kevinkk525 » Mon Oct 01, 2018 1:39 pm

I updated the framework to version 4.0.5 with many improvements over the last versions like:
* RAM usage optimizations, you can now use it on an esp8266 with activated filesystem (although not many components can be registered in this setup before you run out of RAM, more about this in the README)
* new modules (e.g. a modular heater system)
* updated many old modules
* more reliable mqtt connection
* unified access to machine.Pin and machine.ADC between esp8266 (even with nodeMCU pin names) and esp32_LoBo
* more examples and templates to explain how to add configuration and custom components
* multiple bugfixes and improvements especially in receiving a configuration over mqtt and loading components

arrowcircle
Posts: 2
Joined: Thu Nov 01, 2018 8:36 am

Re: Smarthome firmware pysmartnode

Post by arrowcircle » Thu Nov 01, 2018 9:31 am

Hi! Nice idea. Does your project support home assistance autodiscovery?

kevinkk525
Posts: 318
Joined: Sat Feb 03, 2018 7:02 pm

Re: Smarthome firmware pysmartnode

Post by kevinkk525 » Thu Dec 20, 2018 2:59 pm

@arrowcircle: I somehow missed your message, sorry. It does not support home assistance autodiscovery but I always wanted to implement it. Maybe that will follow some day.

kevinkk525
Posts: 318
Joined: Sat Feb 03, 2018 7:02 pm

Re: Smarthome firmware pysmartnode

Post by kevinkk525 » Thu Dec 20, 2018 3:01 pm

The framework is now updated to 4.0.6 but the bigger announcement is, that I had an error in my firmware build for the esp8266 resulting in 16kB less free RAM than I should have. Therefore I wrongly assumed that my framework is running on very low RAM but now I have ~7 active components and still 16kB of free RAM! This is enough for another ~6 sensors and many smaller components.

rowanalex
Posts: 3
Joined: Thu Jan 03, 2019 6:07 am

Re: Smarthome firmware pysmartnode

Post by rowanalex » Thu Jan 03, 2019 6:11 am

This a very useful, thanks! What are your thoughts on adding HTTP support? Do you think the existing RAM on ESP8266 would be able to support it?

kevinkk525
Posts: 318
Joined: Sat Feb 03, 2018 7:02 pm

Re: Smarthome firmware pysmartnode

Post by kevinkk525 » Thu Jan 03, 2019 6:57 am

What do you mean by HTTP support? Support for pysmartnode sending information to a HTTP server or getting information from pysmartnode using HTTP server on the esp?
As there are more than 10kB RAM left, I'd say that should be enough for a simple HTTP support. Never worked with one though.

Post Reply