landolfi Posted April 16, 2023 Share Posted April 16, 2023 I have this program checking a Yolink water sensor. I'm running ISY on Polisy firmware 5.5.9: Today I got this notification email: Monitor Pump Status 'Landscape Lights' ERR set to 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 at 2023/04/16 07:09:01 AM. ---------------------------------------- At: 2023/04/16 07:09:01 AM Program: Monitor Pump Status Device: Landscape Lights (ZW012_1) Action: ERR Value: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Is this a bug? Landscape lights might not have been responding, but what does that have to do with the program above? In other words, is it normal to get a dump of non-responding device status in a notification when a device isn't responding for some reason, even if unrelated to the devices the program checks? Link to comment
Geddy Posted April 16, 2023 Share Posted April 16, 2023 @landolfi moved your post to the IoX support area. Would you be able to post the text of your notification? Are you attempting to run any calculations in the program or notification? Also, for future reference the best method to post programs into the forums is by right clicking on the program and selecting "Copy to Clipboard" (last option in the menu) and then pasting as text in the message. This makes it easy to read and edit/update should something need to be altered (saves a lot of typing to by those trying to help!). Link to comment
Geddy Posted April 16, 2023 Share Posted April 16, 2023 Also, looks like a similar issue to what you posted the other day in the Yolink forum area. There @Panda88 commented about the issue. Link to comment
landolfi Posted April 16, 2023 Author Share Posted April 16, 2023 2 minutes ago, Geddy said: @landolfi moved your post to the IoX support area. Would you be able to post the text of your notification? Are you attempting to run any calculations in the program or notification? Also, for future reference the best method to post programs into the forums is by right clicking on the program and selecting "Copy to Clipboard" (last option in the menu) and then pasting as text in the message. This makes it easy to read and edit/update should something need to be altered (saves a lot of typing to by those trying to help!). Thanks for moving. The actual text of the notification is in my original post. I would have posted the program text rahter than an image but it's so simple I didn't think it would need any modifcation. Link to comment
MrBill Posted April 16, 2023 Share Posted April 16, 2023 Send "notification" to 'bob' in the program has the content dropdown set on Default. If Content is set it is added at the end of the line... I don't know what the "default" template is or how it decides what information to include. For most notifications you should create a custom template and specify it in the program. To specifically answer your question, you're getting whatever substitutions are on the Default template, but I'm not sure how to edit the "Default" template. You can read more about email notifications in the ISY cookbook starting on Page 62 1 Link to comment
Geddy Posted April 16, 2023 Share Posted April 16, 2023 26 minutes ago, landolfi said: The actual text of the notification is in my original post. This is what I'm talking about - show us the details of the customization window I don't have a "Default" listed in the notification Customization tab. (I made a temp one for image above) You either need to set a customization or you've made a default customization, but we don't know what it's supposed to say and why it's sending you what you received. Is this a new program? If so, then it was not setup correctly as @MrBill points out it should have "content" behind it. I made a test program to just send the "Default" as your program test-notify - If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Send Notification to 'Geddy Email' Else - No Actions - (To add one, press 'Action') The email I received was simply: test-notify A Schedule was met at 2023/04/16 01:37:36 PM. ---------------------------------------- At: 2023/04/16 01:37:36 PM Program: test-notify Network: eisy And yes, "Copy to Clipboard" is just as quick as a screenshot, and saves a lot of time for more involved issues. For this one it's not as important, but if you ever need somebody to troubleshoot a program or suggest edits it's easier for the person helping to be able to copy/paste text from your existing program and suggest edits within the context of the program. So just good habits to form. Added plus is text programs become searchable in the forums; if somebody searches for ""Leak Sensor" and program" they wouldn't find your post because it is an image. Link to comment
landolfi Posted April 16, 2023 Author Share Posted April 16, 2023 (edited) 1 hour ago, Geddy said: This is what I'm talking about - show us the details of the customization window I don't have a "Default" listed in the notification Customization tab. (I made a temp one for image above) You either need to set a customization or you've made a default customization, but we don't know what it's supposed to say and why it's sending you what you received. Is this a new program? If so, then it was not setup correctly as @MrBill points out it should have "content" behind it. I made a test program to just send the "Default" as your program test-notify - If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Send Notification to 'Geddy Email' Else - No Actions - (To add one, press 'Action') The email I received was simply: test-notify A Schedule was met at 2023/04/16 01:37:36 PM. ---------------------------------------- At: 2023/04/16 01:37:36 PM Program: test-notify Network: eisy And yes, "Copy to Clipboard" is just as quick as a screenshot, and saves a lot of time for more involved issues. For this one it's not as important, but if you ever need somebody to troubleshoot a program or suggest edits it's easier for the person helping to be able to copy/paste text from your existing prgram and suggest edits within the context of the program. So just good habits to form. Added plus is text programs become searchable in the forums; if somebody searches for ""Leak Sensor" and program" they wouldn't find your post because it is an image. OK, thanks for the replies. I already have custom notifications set up in other programs, it was just laziness that I left the notification default in this case. But here's another topic for my best practices book. It seems a bit odd to me that Default just dumps errors unrelated to the devices of interest to a program, but that's just me. Any other day this notification is in fact "a schedule was met", which is why I got this notification at 0709 because Sunrise + 1 hour was true. Edited April 16, 2023 by landolfi Link to comment
MrBill Posted April 16, 2023 Share Posted April 16, 2023 12 minutes ago, landolfi said: It seems a bit odd to me that Default just dumps errors unrelated to the devices of interest to a program, but that's just me. I don't actually know anything about the default template. but I expect it's reporting things that might have been logged at a similar time, not knowing if they are related to each other. Keep in mind, node servers didn't exist when the default template was created... the last time anything in that section of the admin panel got any change was probably in V4. those were much simpler times, before node servers, the default template is apparently not behaving now according to what they thought should work fine back then. Link to comment
landolfi Posted April 16, 2023 Author Share Posted April 16, 2023 2 minutes ago, MrBill said: I don't actually know anything about the default template. but I expect it's reporting things that might have been logged at a similar time, not knowing if they are related to each other. Keep in mind, node servers didn't exist when the default template was created... the last time anything in that section of the admin panel got any change was probably in V4. those were much simpler times, before node servers, the default template is apparently not behaving now according to what they thought should work fine back then. Yes, in today's log it looks like the ZWave module that controls landscape lights (not controlled by a node server) failed to turn off at the exact time of this notification (involving a node server). Link to comment
Recommended Posts