Notification from device handled by Python plugin
Posted: Saturday 03 March 2018 15:49
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?
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?