All,
Need some advice: in a plugin, I do some setup during onstart (reach out to a device, collect some info). Every now and then, onstart fails due to a remote device being temporarily unavailable.
I am trying to decide how to best handle this: keep a status and call onstart again further down the plugin in case of initial failure? Reinitialise in onstart but run the risk of locking the system...
Thoughts>
onstart failure handling
Moderator: leecollings
- heggink
- Posts: 994
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
onstart failure handling
Docker in Truenas scale, close to latest beta
RFXCOM 433 and 868, zigbee2mqtt,
P1 meter & solar panel
RFXCOM 433 and 868, zigbee2mqtt,
P1 meter & solar panel