Generate Notification from "True" "False"

I have bilge sensors cross my boat using sensesp. Amongst other things they return a "true" or "false" of the state of a float switch. I have these displayed on a KIP dashboard. However last weekend I had a bolt failure on my saildrive that resulted in a minor leak. I realised I would really like to know about this more quickly in future. I have played with various plugins that generate notifications such as "Zones" but these all work with numeric values and not boolean values. Does anyone know of a plugin that can generate a notification from an existing path that is boolean please? Thanks
5 Replies
Scott Bender
Scott Bender6mo ago
Nothing I can think of will do that. You could use node-red, or send another path too that has a numeric value.
gregy
gregy6mo ago
this what i do (similar setup with sensESP sensors) NodeRED to generate notifications in signalk use a “send notification node” For remote alerting ie to your phone or tablet when away from boat, “pushover” plugin .. its very configurable allowing selected notifications or all . hence, the nodered flow will monitor the path generated by sensESP, and react when it changes logic, sending a notification into signalk; and the pushover plugin then does the external alerting. if your not familiar with nodered, let me know i can paste a sample
gregy
gregy6mo ago
No description
gregy
gregy6mo ago
subscribe node (to listen to the path created by sensESP) switch node (to detect the path value .. in my case sensESP generates “0” or “1” .. where one is an alarm) notification node (which sets the notification path into alarm or similar state) .. then in pushover plugin … either allow it to send “all” notifications as alerts, or setup for specific notification paths in your case, the switch node need to have true and false to trigger the respective outputs to the notifications nodes (ie set the alarm and clear the alarm)
Johnathan B
Johnathan B6mo ago
Thank you
Want results from more Discord servers?
Add your server