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
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
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
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. đ
Nice! I shall install now... Thanks guys
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,
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?
I donât know what that is. You want the one from Signal K serverâs app store, the plugin
It might be the same, I'm not sure. But what Teppo said.