![]() |
Tiny pilot > signalk connection & accel calibration - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18) +--- Thread: Tiny pilot > signalk connection & accel calibration (/showthread.php?tid=4912) |
Tiny pilot > signalk connection & accel calibration - PaddyB - 2023-09-24 Couple questions.. Setting up a tinypilot on a Zero 2w connected to openplotter, pretty much there but yet to get signalk pith & roll into signalk running on openplotter. I can see the nmea on tcp 20220 but can't find any sigK data - does tinypilot output Sigk? MDNS is turned on in the sigK server. Also calibration, think I had it but does it "uncalibrate?" Saw this in the opencpn plug calibration tab > Code: need more range 0.5199796348810196 One last one, is it possible to enable/disable & +10/-10 using a wifi put command or similar? Would be nice to have a little remote using a spare esp8266. Thanks! Install was pretty quick and easy really ![]() RE: Tiny pilot > signalk connection & accel calibration - hans-martijn - 2023-09-25 Hi PaddyB, did you check on your signalk server under security? There should be a new access request. When you allow it, both systems should be connected. It looks as if you have to calibrate indeed. -Hans RE: Tiny pilot > signalk connection & accel calibration - PaddyB - 2023-09-25 (2023-09-25, 07:53 AM)hans-martijn Wrote: Hi PaddyB, No access requests received in the server. I found this being broadcast on tcp port 2947 on the zero IP address when the PiZero boots up. {"class":"VERSION","release":"3.23.1","rev":"3.23.1","proto_major":3,"proto_minor":14} NMEA being received on tcp 20220 $APXDR,A,-32.820,D,PTCH*6D $APXDR,A,54.258,D,ROLL*57 $APHDM,357.476,M*37 The calibration seems weird, I need to take the setup ashore the get a stable platform to calibrate, if it needs recalibrating then that looks like it will happen every time the sensor is on the boat. RE: Tiny pilot > signalk connection & accel calibration - hans-martijn - 2023-09-25 Did you look at the following thread: https://forum.openmarine.net/showthread.php?tid=3754&page=9 ? There were several updates to make it work. Calibration hasn't been an issue for me; first tell when the boat is horizontal, then I usually make a few rounds on the engine. It took me a while to get a good sensor though. If I had to start over I'd buy one from Sean, since he tests them before sending. -Hans RE: Tiny pilot > signalk connection & accel calibration - ironman - 2023-09-25 You might want to check off the items on signalk connection first at https://github.com/pypilot/workbook/wiki/Step-13-SignalK-connections#signalk-zeroconf. To troubleshoot, disable the pypilot service, run pypilot at the prompt, and post the output here. Here you will also find the following remark: "With regard to heel and pitch, these readings are affected by the compass heading offset that is set in the compass calibration screen. See https://forum.openmarine.net/showthread.php?tid=2946&pid=17922#pid17922. This effect makes the usability of pitch and heel somewhat non-universal." In other words: there is a big chance that pitch and heel are not usable because they are intermixed. What you need them for? RE: Tiny pilot > signalk connection & accel calibration - PaddyB - 2023-09-26 (2023-09-25, 10:55 AM)ironman Wrote: You might want to check off the items on signalk connection first at https://github.com/pypilot/workbook/wiki/Step-13-SignalK-connections#signalk-zeroconf. To troubleshoot, disable the pypilot service, run pypilot at the prompt, and post the output here. Think it's very close to being sorted, thanks hans-martijn!! This post did it https://forum.openmarine.net/showthread.php?tid=3754&pid=23717#pid23717 though not managed get it saved to tinypilot yet. Heel & pitch > " What you need them for? " - don't know yet ![]() Though had it working before with pypilot on a Pi4 & logging, was interesting seeing when the fishing boats went out with a blip in the graphs as the wash rocked the boat in the anchorage. Might be handy to compare sail trim & speed to heel when reefing, or maybe a rough idea of sea state. I just love data, sometimes you find things in the plots that are useful but unexpected. THANKS GUYS!! ![]() RE: Tiny pilot > signalk connection & accel calibration - PaddyB - 2023-09-27 Think it loads on boot now. From https://forum.openmarine.net/showthread.php?tid=3754&pid=23717#pid23717 .. I went into tinypilot over ssh, user tc, password pypilot then Code: sudo nano /opt/bootlocal.sh added python3.8-urllib3 python3.8-chardet python3.8-certifi python3.8-idna to the # start pypilot section now looks like> Code: date filetool.sh -b to save the changes to disk. Now after rebooting tinypilot it creates a websocket in signalk (after device added read/write) and send pitch/roll7yaw & heading data. YAY!! ![]() |