-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add more information regarding OTA #7
Comments
I made this choice because, if you think about it, OTA is very much implementation related. Look at homie-python. This is not actually a firmware blob, the firmware is Python code, so you'll want to update it through A GUI could be compatible with all these OTA strategies based on the value of Do you get the point? |
I did get the point :-) I actually had other embedded systems like Arduinos or mbeds in mind. But, yes, git or docker should definitely stay outside the scope of Homie. I think moving the |
@marvinroger Coming back to potentially renaming Another question along these lines: having used OTA a lot during the past two weeks it was cumbersome having to change firmware versions all the time just for the version number check to pass. I ended up patching my |
I think it would be more consistent, because not every devices require OTA, so that's also implementation related. If you agree, then yes, I'm all for it. Good idea, I also ended up doing that, so definitely! |
Actually, if we remove |
I agree, consistency is desirable, one way or the other. Since you asked, I have slightly different take on this. I personally think that Homie SHOULD have a generic convention for OTA. I would rather move stuff from |
Given what we've done with |
Sure. Only, appending "!" to force the update doesn't work anymore because "!" is not a valid md5 character and we're checking for exactly 32 chars. Anyway. It's easy to invalidate an md5 ;-). |
Currently, the v2 draft only defines the
$ota
topic. I think the OTA mechanism from the v2 homie-esp8266 "reference implementation" should be added to the spec. That is,$implementation/ota
subtopics should be mentioned.$implementation/ota/enabled
$implementation/ota/payload
I would even suggest to move these topics from the
$implementation
tree to the$ota
tree because IMO Homie firmware updates should not be specific to a particular implementation. Generic tools like homie-ota should be usable out-of-the-box for any Homie device, whether it runs homie-esp8266 or some other Homie runtime.The text was updated successfully, but these errors were encountered: