• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tool that allows you to generate a signalk value by calculating it from other value
#1
HI,
I think it is useful to add a tool that allows you to generate a signalk value by calculating it from other signalk values. Example generating electric power by multiplying current and volt. Or generate a differential value of 2 ADS1115 analog inputs, simply by their difference.
  Reply
#2
(05-01-2017, 04:49 PM)kste Wrote: HI,
I think it is useful to add a tool that allows you to generate a signalk value by calculating it from other signalk values. Example generating electric power by multiplying current and volt. Or generate a differential value of 2 ADS1115 analog inputs, simply by their difference.

That might be a job for node-red if there's a huge list to do already with openplotter code - anyone written a node- red flow to send signalk from node-red to the signalk server?
  Reply
#3
I have already a working solution for ADS 1115, in will be implemented in some form or another in later versions. You can review the thread about this in this very forum.
You might also pick up some information on my pages about using the Pi as a yacht server, https://sites.google.com/site/olewsaa/ya...-raspberry

I have also implemented a battery monitor, but this is not suggested in openplotter yet. I measure the current with a timestamp (every 5 sec or so), calculate the Ampere seconds and subtract them for the battery account and display a percentage. As most batteries are measured in Ah one do not really need the voltage for the battery monitor, but with the volgate at hand one might use Wh as the unit.

Ole
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)