homieiot / convention

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

Homie-OTA #130

Open davidgraeff opened 6 years ago

davidgraeff commented 6 years ago

I'd like to have a second repository soon for a separate homie-ota specification. It will evolve in parallel to this homie-core convention and would require Homie 3.x for defining the topology.

If anybody is interested in defining required topics, please go on.

boc-tothefuture commented 5 years ago

Does it require 3.x or 4.x and the implementation going on in #132 which is tagged for 4.0?

davidgraeff commented 5 years ago

3.x, but compatible to 4.x. The way how properties are defined hasn't changed.

Thalhammer commented 5 years ago

Are we going to support multiple ways of OTA Update or do we specify one that every device must support? There are a lot of ways to implement OTA.

While upload via MQTT is fine for simple devices, if you have thousands of them you might want to use a CDN for firmware, which makes url publish a better option.

davidgraeff commented 5 years ago

homie supports broadcast. I'd say the OTA specification negotiates a broadcast channel with every interested device and publishes the update via the broadcast channel.

The following methods would be awesome:

ogghst commented 2 years ago

hello, any update on this topic? i'm developing and ESP32 generic firmware using homie and a standard OTA approach through MQTT would help. somethig like this