Send notification alarms from z-uno
Posted: 09 May 2021 21:22
Hello,
I'm working on z-uno device that will control my motorized water valves (Neptun Bugatti). I've already created a scetch that represents two binary switches (for hot and cold water valves accordingly) for a controller and learned how to control z-uno signal pins that I'm going to connect to power supply driver.
Now, as my power supply driver supports short current diagnostic pins, I'd like to read this signals and report device issues to the controller. I've already discovered that some z-wave devices report alarms (like tamper alarm). I've also noticed that there is a section describing power notifications at ZUNO_Definitions.h (like NOTIFICATION_EVENT_OVER_CURRENT, NOTIFICATION_EVENT_OVER_VOLTAGE etc).
Unfortunately, I'm unable to find the way how to send notification events from sketch in z-uno documentation. As I understand there is zunoSendReport function that has only one parameter that defines device channel, not the notification type. Can anybody explain the way to send that kind of reports from z-uno? Can I send them for the corresponding channel (as I have two switches in one device and I'd like to report issues for the specific switch).
I'm working on z-uno device that will control my motorized water valves (Neptun Bugatti). I've already created a scetch that represents two binary switches (for hot and cold water valves accordingly) for a controller and learned how to control z-uno signal pins that I'm going to connect to power supply driver.
Now, as my power supply driver supports short current diagnostic pins, I'd like to read this signals and report device issues to the controller. I've already discovered that some z-wave devices report alarms (like tamper alarm). I've also noticed that there is a section describing power notifications at ZUNO_Definitions.h (like NOTIFICATION_EVENT_OVER_CURRENT, NOTIFICATION_EVENT_OVER_VOLTAGE etc).
Unfortunately, I'm unable to find the way how to send notification events from sketch in z-uno documentation. As I understand there is zunoSendReport function that has only one parameter that defines device channel, not the notification type. Can anybody explain the way to send that kind of reports from z-uno? Can I send them for the corresponding channel (as I have two switches in one device and I'd like to report issues for the specific switch).