New features
- ( #17 ) Added MQTT support.
- ( #18 ) Added support for the LT8900 series 2.4 GHz radio. This is the same hardware used by official Milight devices, and offers better performance than the NRF24L01.1 and 2 on with device ID 0x1 and 0x2. Big thanks to @WoodsterDK for implementing the radio handler!
- ( #31 ) Presets in the MiLight app are now supported.
- ( #36 ) Multiple radio/device/group combinations can be targeted in the same HTTP request by separating tokens with commas. For example
gateways/0x0001,0x0002/rgb_cct/1,2
will turn groups - ( #48 ) You can now
POST
to all endpoints that you used to only be able toPUT
to. Made it easier to use HubAction with SmartThings. - ( #59 ) Added support for the JSON schema used by HomeAssistant's mqtt_json platform. This will make it easy to integrate with HomeAssistant without relying on the UDP servers.
Cleanup and improvements
- Saved some SRAM by monkeypatching esp8266 Arduino libraries with changed constants.
- ( #52 ) Cleaned up the way endpoint tokens (e.g.
:device_id
in/gateways/:device_id
) are parsed. Everything is handled on the stack now. Should help with heap fragmentation.