Frequently Asked Questions


This chapter needs to be written/updated/translated: http://forum.openmarine.net/forumdisplay.php?fid=16


OpenPlotter

Q: Where is OpenPlotter installed? A: OpenPlotter python scripts are installed in /home/pi/.config/openplotter. Openplotter private configuration is stored in /home/pi/.openplotter

Q: Why can't I see the directory .config under /home/pi in the file manager? A: In the file manager you have to activate "Show Hidden" (menu View->Show Hidden).

Q: Can I manually install OpenPlotter? A: There is no pip install for OpenPlotter. If you have a working OpenPlotter you can rename the openplotter folder "mv /home/pi/.config/openplotter /home/pi/.config/openplotter_bak". Then you can unzip a downloaded openplotter.zip file from github, or you can clone an openplotter version from github "cd /home/pi/.config" and then "git clone -b beta https://github.com/sailoog/openplotter.git". After that you have to make three files executable."cd /home/pi/.config/openplotter", "chmod 755 openplotter","chmod 755 startup", "chmod 755 keyword".

Linux

Q: How can I see if my 1wire sensors (DS18B20) are recognized? A: In the terminal enter command to change directory "cd /sys/bus/w1/devices" and then list the installed sensors with "ls". If they don't show up here OpenPlotter can't find them.

Q: How can I check which usb devices are connected/recognized? A: Use the "lsusb" command. It shows all connected usb devices. Three devices are integrated in the raspberry pi (you can't disconnect them).

Signal K

Q: How to connect from smartphone to SignalK Instrumentpanel?

A: Be sure you are connected to the openplotter access point. Open your browser. Type in 10.10.10.1:3000. Click on Instrumnetpanel. On the right side of the Instrumentpanel is a sign select it to open the menubar. Select Connect and enter in New SignalK Server 10.10.10.1:3000

Q: Can I create my own SignalK names?

A: You can but it is recommended that you don't (to develop more standard names look for specifications in Github SignalK). If you want to have an overview of already existing SignalK names open the diagnostic SignalK input window and click on Unit Setting. If there is a star in the SignalK name you should put in an easy understandable name.

Node-Red

Q: Is there also a chance to send values to the SignalK server of OpenPlotter?

A: Yes you can send values to the server when you use the minimum SignalK JSON format. For example:

{
    "updates": [{
            "source": {
                "type": "ARMTEMP",
                "src": "RPIMCU"
            },
            "values": [{
                    "path": "environment.inside.heating.temperature",
                    "value": "323.15"
                }
            ]
        }
    ]
}

In this example we want to send the RPI cpu temperature to the SignalK Server.

We diidn't find a better SignalK name than environment.inside.heating.temperature.

You can import the code to test it on your own (the import does work when you copy this code from the internet html file).

[{"id":"f5fa759f.be894","type":"inject","z":"4deb498f.fbcfd8","name":"","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":true,"x":131,"y":127,"wires":[["adb4b4a8.9c10c8"]]},{"id":"adb4b4a8.9c10c8","type":"exec","z":"4deb498f.fbcfd8","command":"vcgencmd","addpay":false,"append":"measure_temp","useSpawn":"","timer":"","name":"getCPUtemp","x":258,"y":186.5,"wires":[["2705f134.792f86"],[],[]]},{"id":"7b5088a.c5f0af8","type":"debug","z":"4deb498f.fbcfd8","name":"Debug showSK","active":false,"console":"false","complete":"payload","x":507,"y":187.5,"wires":[]},{"id":"2705f134.792f86","type":"function","z":"4deb498f.fbcfd8","name":"msg.payload","func":"cpu_temp = parseFloat(msg.payload.replace(\"temp=\",\"\").replace(\"'C\\n\",\"\"));\ncpu_temp = cpu_temp + 273.15\nmsg.payload = '{\\\"updates\\\": [{\\\"source\\\": {\\\"type\\\": \\\"ARMTEMP\\\",\\\"src\\\" : \\\"RPIMCU\\\"},\\\"values\\\":[{\\\"path\\\": \\\"environment.inside.heating.temperature\\\",\\\"value\\\":'+cpu_temp+'}]}]}\\n';\nreturn msg;","outputs":1,"noerr":0,"x":372,"y":126,"wires":[["7b5088a.c5f0af8","c17f4c75.737088"]]},{"id":"c17f4c75.737088","type":"udp out","z":"4deb498f.fbcfd8","name":"sendSK","addr":"localhost","iface":"","port":"55559","ipv":"udp4","outport":"","base64":false,"multicast":"false","x":535,"y":126,"wires":[]}]

results matching ""

    No results matching ""