-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define a way to handle NULL values #284
Comments
the status can be updated to "alert" to indicate this situation, see https://homieiot.github.io/specification/#device-lifecycle (in Homie5 this state has been removed). In Homie5 there are alternatives:
Lastly one could define a specific property for error states, but that would be device specific. |
Hi Tieske, Your proposals would not meet the purpose intended. In my opinion, it still would be beneficial to have a possibility on a per-property basis to indicate that a retained value is not valid anymore . Best regards, |
Hi, Would be great if the Homie convention could be adapted accordingly. |
Hi,
if devices run into issues, like cannot measure a value correctly, there's no chance to communicate this to the controller (e.g. SmartHome system).
Not updating the value means that the currently retained value will remain unchanged, which is a wrong information.
I'd like to see a possibility to explicitly tell the controller that there is no value available. Unfortunately, currently this can only be done by defining a "special value" within the current value range that must be known by both devices and filtered out accordingly. For some applications, there is no value that can be excluded from the value range to serve this purpose.
Long story short: I'd like to see an update in the convention that defines a NULL value, irrespective of the data type.
Best regards,
stedon81
The text was updated successfully, but these errors were encountered: