Hello,
Is is possible to trigger a notification from a change in a device handled by python plugin? My plugin handles for instance boiler water pressure, but if I configure notification for too high or too low pressure on this device from web interface, I don't receive any notification. Same for temperatures device for my boiler.
If I look into the code, in CDevice_update() in PythonObjects.cpp, it seems that the Python Device.Update() function updates the sql value, but I don't see call to notification helper, or is it another problem? Any ideas?
Notification from device handled by Python plugin
Moderator: leecollings
-
- Posts: 140
- Joined: Wednesday 02 December 2015 21:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
-
- Posts: 140
- Joined: Wednesday 02 December 2015 21:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Notification from device handled by Python plugin
I answer to myself, this is something missing in the code handling plugins, I'm pushing a PR: https://github.com/domoticz/domoticz/pull/2193
Who is online
Users browsing this forum: Bing [Bot] and 1 guest