⚠️ THIS UPDATE REMOVES V1 SUPPORT ⚠️
Changes:
- ⚠️ Breaking Removed support for the deprecated v1 api ⚠️
- Added more endpoints to
flatdevice
:
flatdevice/set-cover
to open or close the cover
flatdevice/set-light
to toggle the light on or off
flatdevice/set-brightness
to change the brightness of the flatpanel
- Added more events regarding the flat panel:
FLAT-LIGHT-TOGGLED
FLAT-COVER-OPENED
FLAT-COVER-CLOSED
FLAT-BRIGHTNESS-CHANGED
- Added
sequence/set-target
to update the target in a target container
- The server now automatically picks the next available port to launch the api
- Implemented IMessageBroker for cross Plugin communication. Use Topic
AdvancedAPI.RequestPort
to request the port the api is running on, subscribe to AdvancedAPI.Port
to recieve the answer. The port is directly written into Content