eschava / broadlink-mqtt

MQTT client to control BroadLink devices
MIT License
222 stars 60 forks source link

Request: Unify MQTT action and status states #67

Closed ElectricImpossible closed 4 years ago

ElectricImpossible commented 4 years ago

Could I request an option to enable a post of power on/off to the broadlink/power/1 topics to utilise 1 or 0 to match the values output by the status topic?

My control UI (Pimatic) doesnt seem to allow a different on message type for control and status values and I cant figure out how to parse the status in JSON.

I'm utilising a bg1

Thanks

eschava commented 4 years ago

Absolutely agree! Should be fixed now

ElectricImpossible commented 4 years ago

Great work, thanks!

For completeness I can use 1 and 0 to control the power topic!

👍