Microhomie Versions Save

MicroPython implementation of the Homie MQTT convention for IoT.

v3.0.2

3 years ago
  • Do not publish property value if value is None
  • Always publish an assigned value even if it not changes. To disable this behaviour and only publish an update when the value changed set HomieProperty(pub_on_upd=True)
  • Fix esp32 mpfshell install script

v3.0.1

3 years ago

Bugfix: Too many arguments for format string in setup_wifi

v3.0.0

3 years ago
  • Add support for the new MicroPython uasyncio V3 implementation
  • Updated mqtt_as.py version for uasyncio v3
  • New uasyncio v3 primitives from Peter Hinch
  • Remove update asyncio coroutine. Property data attributes are now published immediately on value change
  • Add available Homie Extensions to constants. Updated settings.example.py with an example
  • Subscribe to the Homie broadcast topic is now optional and enabled by default
  • The utils module was refactored to homie.network. This will break boot.py on update. Replace homie.utils with homie.network in boot.py and other files where you use the utils module.
  • Add validation for datatype integer
  • Add the possibility to store multiple WiFi credentials
  • Refactored classes
  • New filesystem LFS2. Disabled vfat to safe space.

Read Peter's V3 update guide to update your coroutines to the new uasyncio v3.

v3.0.0-beta2

3 years ago
  • Update uasyncio primitives

v3.0.0-beta1

3 years ago
  • Update the property value on message received. This will help to use Microhomie in a more functional way.

v3.0.0-alpha1

3 years ago
  • Add support for the new MicroPython uasyncio V3 implementation
  • Updated mqtt_as.py version for uasyncio v3
  • New uasyncio V3 primitives from Peter Hinch
  • Remove update asyncio coroutine. Property data attributes are now published imidiently on change.
  • Add available Homie Extensions to constants. Updated settings.example.py with an example.
  • Subscribe to the Homie broadcast topic is now optional and enabled by default.
  • The utils module was refactored to homie.network. This will break boot.py on update. Replace homie.utils with homie.network in boot.py and other files where you use the utils module.
  • Add validation for datatype integer
  • Add the possibility to store multiple WiFi credentials
  • Refactored classes

Read Peter's V3 update guide to update your coroutines to the new uasyncio v3.

v2.4.0-beta1

3 years ago
  • Remove update asyncio coroutine. Property data attributes are now published imidiently on change.
  • Add available Homie Extensions to constants. Updated settings.example.py with an example.
  • Subscribe to the Homie broadcast topic is now optional and enabled by default.
  • The utils module was refactored to homie.network. This will break boot.py on update. Replace homie.utils with homie.network in boot.py and other files where you use the utils module.
  • Add validation for datatype integer
  • Add the possibility to store multiple WiFi credentials

v2.3.1

4 years ago
  • Fix reset
  • Switch to yaota8266 fork from @jedie

v2.3.0

4 years ago

Changelog

  • Updated to MicroPython v1.12
  • Removed byte / string mix, only strings are allowed
  • Experimental MicroPython Homie extension (homie/deviceID/$mpy) to reset the device, start WebREPL and yaota8266 OTA updater (ota version)
  • Removed deprecated method HomieDevice.start()
  • Start WebREPL if main.py and settings.py are missing or throw an exception (New boot.py)

Breaking changes

You may need to update your settings.py and custom nodes and change bytes to strings: In example: b"abcde" to "abcde".

v2.3.0-beta.1

4 years ago
  • Bugfix: Convert payload to bytes before publish (fix unicode problem)
  • Deprecated method HomieDevice.start() removed