SK
Signal K•2mo ago
big__col

big__col - Bilge counter setup question. Hi al...

Bilge counter setup question. Hi all, I'm using Halmet digital inputs to read when our bilge pumps activate. I have this data in SK and written out to an InfuxDB. I'm interested in other peoples solutions, but I also have these questions for my current solution please. Q1, how do i count the number of times the bilge runs and display in a graph, date vs times activated? Q2, the database seems to record the state of the bilge switch several times per second. I really only want to know when it activates and for how long Q3, what do people use for external alerting, SMS/EMAIL/push, and how you configured? i have permanent internet aboard Thanks, Colin
8 Replies
Teppo Kurki
Teppo Kurki•2mo ago
I think the best option is to use a Node-RED flow to detect that the pump is running and when it stops emit a single delta with value of 1 Node-RED is well suited for this kind of chore Then you can sum the 1s from influx to get hourly and daily run counts or whatever I have a teltonika 4g router that provides an http endpoint for sending sms, very easy to use from node-red
big__col
big__col•2mo ago
does your Node Red run on the same Pi as SK? I've got a 4B 4GB and don't want to overload it. it's running an Openplotter build at the moment
Matti Airas
Matti Airas•2mo ago
You won't even notice the footprint of Node Red. It's as if you were running another Signal K plugin... Or, actually, it is just another Signal K plugin. 😉
big__col
big__col•2mo ago
Nice! I shall install now... Thanks guys
gregy
gregy•2mo ago
external alerting. i use “pushover” - there is a plugin available. pushover is free for modest levels of alerts. client apps available for android and IOS. has customisable alerts tones visuals etc,
big__col
big__col•2mo ago
brilliant thanks gregy. @Matti Airas @Teppo Kurki i've installed NodeRed Dashboard from within Openplotter, is this the same as what you'd expect me to install, or is there a more complete version of NodeRed?
Teppo Kurki
Teppo Kurki•2mo ago
I don’t know what that is. You want the one from Signal K server’s app store, the plugin
Matti Airas
Matti Airas•2mo ago
It might be the same, I'm not sure. But what Teppo said.
Want results from more Discord servers?
Add your server