Hi,
I wrote a python plugin for zigbee devices. What bothers me is that the devices don't turn red if the last update is longer ago than the configured timout. Is this by design? I noticed that I can manually trigger the red color by updating the device with ´TimedOut=1´.
Is the plugin expected to check if a device timed out? If so, how can I access the settings value for sensor timeout from within python?
I appreciate your help
--fleinze
Python hardware plugin - device timeout
Moderator: leecollings
- waltervl
- Posts: 5785
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Python hardware plugin - device timeout
Turning red (timed out) is by domoticz only implemented for some device types like sensors. Switches can be stable and not updated for days or weeks in contrary of eg temperatures.
Why are you creating a new plugin for zigbee? Are the available integrations (plugins or zigbee2mqtt/mqtt AD) not good enough?
Why are you creating a new plugin for zigbee? Are the available integrations (plugins or zigbee2mqtt/mqtt AD) not good enough?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 9
- Joined: Wednesday 19 April 2017 21:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python hardware plugin - device timeout
I created a new plugin because I use a Tasmota Zigbee Gateway, which speaks MQTT, but is not supported by MQTT AD and I also don't want to install additional Software (zigbee2mqtt).
The devices in question are temperature-sensors which should time-out but they don't.
I can see the same behaviour with the tasmoticz-plugin for other sensor-devices like electric counters which should time-out. Funny enought, they time-out when I use Domoticz-remote on this devices, but not on the original domoticz instance.
The devices in question are temperature-sensors which should time-out but they don't.
I can see the same behaviour with the tasmoticz-plugin for other sensor-devices like electric counters which should time-out. Funny enought, they time-out when I use Domoticz-remote on this devices, but not on the original domoticz instance.
Who is online
Users browsing this forum: No registered users and 1 guest