Skip to content

Releases: bombcheck/esp8266_milight_hub

1.7.0-dev1

11 Mar 10:32
Compare
Choose a tag to compare
1.7.0-dev1 Pre-release
Pre-release

Improvements

  • Added LED status to indicate wifi condition and packet handling (see README for details).
  • Switched to library ESP8266WebServer.
  • Fixed build issues on Windows.

Bug fixes

  • Made night mode button in web ui visible for all bulbs.

1.6.4-dev1

28 Feb 21:08
Compare
Choose a tag to compare
1.6.4-dev1 Pre-release
Pre-release

Improvements

  • Added night mode button to web ui.

Bug fixes

  • Some minor fixes and tweaks to packet formatting/behaviour of RGB/CCT bulbs.

1.6.3

15 Nov 09:22
Compare
Choose a tag to compare

New features

New device support

  • FUT089/B8 remotes, which allow for control of up to eight groups with one remote.

State tracking!

  • State for all devices -- that is, (device type, device id, group) triplets -- is now passively tracked and persisted.
  • Add a REST route to retrieve the state of a given device.
  • Add support for publishing full device state to MQTT.
  • Add support for sending raw commands and arguments in MQTT and REST integrations.
  • REST endpoint to change bulb state now returns the new state of the bulb instead of just true.
  • Switching devices in the UI will update settings to known values for that ID (e.g., on/off switch, brightness, etc. will be set to last known values).
  • Add the ability to select which keys (brightness, color, etc.) are sent in MQTT updates (and REST state responses). Defaults to keys used by HomeAssistant's mqtt_json component, but you can now select alternatives like level, or hue/saturation instead of color.

MQTT improvements

  • MQTT state updates are published as retained messages. New subscribers to state topics will receive the last published message. This means, for example, HomeAssistant will boot with the correct bulb states.
  • Add ability to select which fields (brightness, level, etc.) are sent in MQTT updates and state messages.

nRF Radio Optimizations

  • @khmann cut a lot of unnecessary work and added optimizations in the nRF radio handler code which improved performance by 40% (!).

Security

  • Compile against Arduino 2.4.0-rc2, which includes a fix for the KRACK vulnerability in WPA2.

Improvements

  • Delay updates to MQTT state topic when JSON command with multiple components is sent. A single update is sent at the end with all of the state changes applied.

Bug fixes

  • FUT092 (RGB+CCT) packets encoded with the key 0xD4 were getting decoded incorrectly. This has been fixed.
  • Removed improper usage of PROGMEM which might've caused crashes when compiled in some environments.
  • Fixed crashes when compiled in a Windows environment.
  • Fix edge case where wrong packets being sent in V5 UDP integrations.
  • The GET /settings endpoint returned the raw settings file on flash, which meant newly added setting keys weren't populated with their default value. The value returned by this endpoint is now populated with default values for otherwise undefined settings.
  • Fixed bug where packet repeats weren't set correctly when settings were saved.
  • Loading settings from the UI (and the POST /settings REST endpoint) were not working properly. This has been fixed.
  • Properly detect night mode for RGBW bulbs.
  • Fix misclassification of RGBW and CCT packets.
  • The DEBUG_PRINTF was causing compile errors. This has been fixed.
  • Fix state tracking when MQTT is disabled.
  • Fix bug that intermittently caused crashes in /gateway_traffic route.
  • Fix buffer overrun for commands that buffer lots of packets (like level controls for CCT bulbs).
  • Fix updates to group 0 not fanning out to group 4
  • Fixed a bug causing the "Clear Wifi Config" feature to not work.

1.6.3-dev3

14 Nov 12:34
Compare
Choose a tag to compare
1.6.3-dev3 Pre-release
Pre-release

Added latest improvements and bugfixes from sidoh

Improvements

  • Add ability to select which group state fields (e.g., brightness, level, color, etc.) are served over REST endpoint and in MQTT payload. Previously these were fixed to a hardcoded list.
  • Delay updates to MQTT state topic when JSON command with multiple components is sent. A single update is sent at the end with all of the state changes applied.

Bug fixes

  • Fix buffer overrun for commands that buffer lots of packets (like level controls for CCT bulbs).
  • Fix updates to group 0 not fanning out to group 4
  • Remove some extraneous prints

1.6.3-dev2

09 Nov 16:58
Compare
Choose a tag to compare
1.6.3-dev2 Pre-release
Pre-release

Bug-hunting at sidoh/1.6.0-rc1

New features

nRF Radio Optimizations

  • @khmann cut a lot of unnecessary work and added optimizations in the nRF radio handler code which improved performance by 40% (!).

Bug fixes

  • Loading settings from the UI (and the POST /settings REST endpoint) were not working properly. This has been fixed.
  • Properly detect night mode for RGBW bulbs.
  • Fix misclassification of RGBW and CCT packets.
  • The DEBUG_PRINTF was causing compile errors. This has been fixed.
  • Fix state tracking when MQTT is disabled.
  • Fix bug that intermittently caused crashes in /gateway_traffic route.

1.6.3-dev1

04 Nov 11:50
Compare
Choose a tag to compare
1.6.3-dev1 Pre-release
Pre-release

Merged latest changes from sidoh/1.6.0-rc1

New features

New device support

  • FUT089/B8 remotes, which allow for control of up to eight groups with one remote.

State tracking!

  • State for all devices -- that is, (device type, device id, group) triplets -- is now passively tracked and persisted.
  • Add a REST route to retrieve the state of a given device.
  • Add support for publishing full device state to MQTT.
  • Add support for sending raw commands and arguments in MQTT and REST integrations.
  • REST endpoint to change bulb state now returns the new state of the bulb instead of just true.
  • Switching devices in the UI will update settings to known values for that ID (e.g., on/off switch, brightness, etc. will be set to last known values).

MQTT improvements

  • MQTT state updates are published as retained messages. New subscribers to state topics will receive the last published message. This means, for example, HomeAssistant will boot with the correct bulb states.

Security

  • Compile against Arduino 2.4.0-rc2, which includes a fix for the KRACK vulnerability in WPA2.

Bug fixes

  • FUT092 (RGB+CCT) packets encoded with the key 0xD4 were getting decoded incorrectly. This has been fixed.
  • Removed improper usage of PROGMEM which might've caused crashes when compiled in some environments.
  • Fixed crashes when compiled in a Windows environment.
  • Fix edge case where wrong packets being sent in V5 UDP integrations.
  • The GET /settings endpoint returned the raw settings file on flash, which meant newly added setting keys weren't populated with their default value. The value returned by this endpoint is now populated with default values for otherwise undefined settings.
  • Fixed bug where packet repeats weren't set correctly when settings were saved.

1.6.2

24 Oct 10:59
Compare
Choose a tag to compare

Release to test update-checker in the web-gui.

New Features from previous release 1.6.1

  • Merged v1.6.1-Branch
  • Night-Mode for RGBW-Bulbs implemented
  • Web-GUI: Update-Checker changed to point to my repo.

1.6.1

24 Oct 10:35
Compare
Choose a tag to compare

New Features

  • Merged v1.6.1-Branch
  • Night-Mode for RGBW-Bulbs implemented
  • Web-GUI: Update-Checker changed to point to my repo.

1.6.1-dev1

23 Oct 20:30
Compare
Choose a tag to compare
1.6.1-dev1 Pre-release
Pre-release

Created branch to try out new things. Night mode for rgbw bulbs is fixed.