OTA support?

Post Reply
alexsh1
Posts: 274
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi
Domoticz version: v3.8975
Location: United Kingdom
Contact:

OTA support?

Post by alexsh1 » Friday 02 September 2016 23:52

Hello


Any idea if Domoticz is going to support OTA in nodes like Sensebender (https://forum.mysensors.org/topic/1345/ ... nder-micro)?


Thanks
Alex

yoonie
Posts: 8
Joined: Friday 08 August 2014 14:19
Target OS: Linux
Domoticz version:
Location: france
Contact:

Re: OTA support?

Post by yoonie » Tuesday 18 October 2016 18:27

I dream a page like the one for updating the rfxcom :D

User avatar
gizmocuz
Posts: 8651
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: OTA support?

Post by gizmocuz » Tuesday 18 October 2016 18:41

you can already update your rfxcom via the web gui ....
Quality outlives Quantity!

alexsh1
Posts: 274
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: OTA support?

Post by alexsh1 » Wednesday 19 October 2016 1:22

There is MYSController for updating nodes like Sensebender. However, such nodes must have SPI EEPROM (like the ones Moteinos have)

napo7
Posts: 27
Joined: Monday 06 February 2017 9:33
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: OTA support?

Post by napo7 » Monday 06 February 2017 9:42

I agree,

When using the "MYSBootloader" on mysensors nodes, we can update the code of each node via OTA.

The mechanism is explained here : https://github.com/mysensors/MySensorsBootloaderRF24

The main idea is as following :
- In Domoticz, we store a list of available firmwares for each node type, and the corresponding firmware file (a hex file is just a text file)
- We got an interface ( in the Mysensors configuration screen ?) to update a node's (or a kind of nodes) firmware : We choose a firmware, then the node is rebooted, and the node asks domoticz if a firmware is ready for him.
- Then domoticz answers the node the version number,
- Then domoticz sends the firmware pages as the node asks them.

There is an example of controller handling firmware requests here :
https://github.com/mysensors/MySensorsS ... troller.js

I can help coding/updating the mysensors plugin and testing it ?

alexsh1
Posts: 274
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: OTA support?

Post by alexsh1 » Friday 06 April 2018 0:23

I just wonder if there is any update on this topic?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest