-
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
Improvement for Homie 3.1 - nick #76
Comments
Hello @nicola-lunghi 👋 Log channelInteresting point. Please open a separate issue. Improve documentationYou and I agree, the documentation still lags a few details. Please feel free to open a PR! 👏 Proper getter and setter methodI didn't get your point. Are you talking about a way to query a value? If so there was a discussion on the idea in another issue. If everyone would separate their issues I may have found it just now... didn't 😕 Every "folder" needs to implement a $properties property?Again a bit unclear to me. There are no folders. The idea of optional attributes and defaults is discussed in #48
Be careful. MQTT does not follow the request-reply messaging pattern! Split $homie propertyNot meaningful. If a device doesn't follow the homie convention it doesn't follow the homie convention 🤡 Parameter to know if ota is supportedSounds reasonable but I'd have to check the details. Please open a separate issue. HW information channel SpecificationWhat is the importance of those details to the convention/standardization in terms of automatic discovery and usage? Remember that you can publish anything you like from your device. The Homie convention allows a wide range of data- and actionpoints. Details fixed in the convention are needed to understand and interact with a device automatically. Hardware details are irrelevant in this scenario, if your application on top of the convention needs them, feel free to define them below Thanks for your input. I hope I addressed all your ideas. Looking forward to your response. |
Thanks for your quick response (i will respond to you and split the issue in separate issues after work :-) |
Some ideas
Log channel
define a log channel for getting debugging information from the dvice
Improve documentation of setter
Improve with example the documentation about set
Proper getter and setter method
implement get and set for every property to request to send the property back
Every "folder" needs to implement a $properties property?
Every parameter in the structure should include the $properties field?
for example the $fw parameter should be
or the default level
The other parameter should be optional and set to default value if not present
another idea could be to separate the "$properties" from $hidden-properties
In this way we could "navigate" every level
send
receive back
Split $homie property
$homie property could be split in
This could permit to define other protocols similar to this
Parameter to know if ota is supported
HW information channel Specification
cpu
board
Could also be reasonable to change the name from $implementation to $board or $hw-info
The text was updated successfully, but these errors were encountered: