Connect Victron Battery monitor to Openplotter SignalK? - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: Connect Victron Battery monitor to Openplotter SignalK? (/showthread.php?tid=387) Pages:
1
2
|
Connect Victron Battery monitor to Openplotter SignalK? - kste - 2017-03-22 I ask for help on how data can be read in the Victron battery monitor and send them to SignaK Openplotter of using this software? http://www.jeperez.com/online-monitor-victron-bmv-600s-and-bmv-602s/ RE: Connect Victron Battery monitor to Openplotter SignalK? - e-sailing - 2017-03-22 (2017-03-22, 11:00 AM)kste Wrote: I ask for help on how data can be read in the Victron battery monitor and send them to SignaK Openplotter of using this software? You are on the right way. I tried to emulate the bmv-600 (with a fixed string) and used this code for sending it to SignalK. (I didn't test it with a real bmv-600 so there will be many errors. Perhaps you can combine this code with the one you found.) Code: #!/usr/bin/python RE: Connect Victron Battery monitor to Openplotter SignalK? - kste - 2017-03-23 Super e-sailing the code works! It just needs to put the right name to the USB port. I now have the data of Victron BMV700 viewable through Openplotter Thank you! RE: Connect Victron Battery monitor to Openplotter SignalK? - JD1 - 2017-07-09 Forgive the stupid question that follows I have used the python code as supplied above (thanks e-sailing!!!) with the right name for the USB port and the data shows up in signalK. How can this be integrated with OpenPlotter? In order for the python code to see the data, the OpenPlotter NMEA0183 tab device that receives the data needs to be unselected which it seems could cause an issue down the road. If the data channel is selected as active in the NMEA0183 tab then the python program reports an error. So I guess the question is, how can this be integrated into OpenPlotter without seeming to be a kludge? Is this something that Sailoog would have to do (a feature request) or is this something a mere human with limited programming knowedge can do ? RE: Connect Victron Battery monitor to Openplotter SignalK? - e-sailing - 2017-07-09 It isn't nmea0183. So nothing to do with nmea0183 tab. The program converts the data directly to signalk and sends it to the signalk server. So everything is fine. When you want to integrate it (autostart on boot + stop + start) you can add it in openplotter.conf in the same way as it is done with autosetup_tty.py. Move your file into the /home/pi/.config/openplotter/tools folder. Have a look at Help->OpenPlotter offline documentation "OP menu Tools"->"Tools defined" RE: Connect Victron Battery monitor to Openplotter SignalK? - JD1 - 2017-07-09 Excellent! I will look into it ...... Thanks! RE: Connect Victron Battery monitor to Openplotter SignalK? - JD1 - 2017-07-10 Works perfectly ! Thanks again ! RE: Connect Victron Battery monitor to Openplotter SignalK? - Arne - 2017-12-27 Hello! I'm planning to buy myself a BMV-702, what do you use to connect it to the RPi, the original (rather pricey) "Victron VE.Direct - USB Interface" ?? RE: Connect Victron Battery monitor to Openplotter SignalK? - PaddyB - 2017-12-28 (2017-12-27, 07:17 PM)Arne Wrote: Hello! I use an arduino with the basic software serial sketch. RE: Connect Victron Battery monitor to Openplotter SignalK? - Arne - 2017-12-29 (2017-12-28, 12:46 AM)PaddyB Wrote:(2017-12-27, 07:17 PM)Arne Wrote: I'm planning to buy myself a BMV-702, what do you use to connect it to the RPi, the original "Victron VE.Direct - USB Interface" ?? But how have you connected the BMV-instrument to your Arduino? |