homieiot / convention

🏡 The Homie Convention: a lightweight MQTT convention for the IoT
https://homieiot.github.io/
Other
710 stars 59 forks source link

Dynamic settable/readonly Properties #162

Closed stritti closed 4 years ago

stritti commented 5 years ago

It is not clear from the specification whether it should be possible to set a property attribute dynamically so that it can be set or readonly.

Background: I want to support an "auto" mode and a "manual" mode. Depending on this, another property should be changeable ("manual" mode) or not ("auto" mode).

davidgraeff commented 5 years ago

You can at any time unpublish a property and republish a property.

Telling controllers that a property has updated attributes is not yet supported. Actually not a bad idea.

stritti commented 5 years ago

Maybe could be discussed for v4.

I asked because Homie-ESP8266 supports just .settable() without parameters.

mjcumming commented 4 years ago

@stritti can this be closed?