Mastiff
Mastiff
SKSignal K
Created by Mastiff on 8/24/2024 in #questions
Trying but failing to use serial by-id in Docker
In my mind this should work, using a symlink to the actual serial by-id in the host:
devices:
- /media/pi/Docker/Docker-Compose/SignalK/garmin-usb-0:/dev/serial/by-id/usb-067b_2303-if00-port0 #Garmin
devices:
- /media/pi/Docker/Docker-Compose/SignalK/garmin-usb-0:/dev/serial/by-id/usb-067b_2303-if00-port0 #Garmin
But it doesn't. This, on the other hand, works on the same symlink, but it keeps getting mixed up with the Sailorhat, which is supposed to stay on USB1:
devices:
- /media/pi/Docker/Docker-Compose/SignalK/garmin-usb-0:/dev/ttyUSB0 #Garmin
devices:
- /media/pi/Docker/Docker-Compose/SignalK/garmin-usb-0:/dev/ttyUSB0 #Garmin
I don't understand why, but sometimes after a reboot USB0 and USB1 has traded places inside the Docker image. It could be avoided by using serial by-id, but isn't that supported?
10 replies
SKSignal K
Created by Mastiff on 8/17/2024 in #questions
Can I change the width of the instruments in Freeboard?
I would like to use less screen width for the instruments, or even better, have them as a row at the bottom instead of as a column to the right. I have not found any place in Freeboard to change that. Is that because I'm bad at looking for it, or is it because it isn't possible?
4 replies
SKSignal K
Created by Mastiff on 8/17/2024 in #questions
Wasn't it possible to "Save as" in Instrumentpanel before?
Simply that. I was sure I could save layouts from the same account under different names (for different devices) before, but I can't seem to find that option now. Is it a change, or is it me?
2 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I tried to make a small map of my area at the tip of Norway, from Kristiansand to Lyngdal (which is as far as I can imagine going even when I retire in a few years) on MapBox, but I gotta admit that I gave up. The learning curve is steep. I wanted to use TukTuk in SignalK to have an extra, fully offline map available on the phone/tablet in addition to the one on the Garmin 720 in the (open) wheelhouse, to know exactly where the depth changes are when setting crawfish and crab pots. But is there a simpler way to get what I need than MapBox?
86 replies
SKSignal K
Created by Mastiff on 8/8/2024 in #questions
What's the sudo password for the Docker container?
I would like to try to ping the 192.168.3.2 from the Docker image of SK, but I can't install ping utils because I need the sudo password. Can somebody please tell me what that is?
12 replies
SKSignal K
Created by Mastiff on 8/6/2024 in #questions
Unable to connect to GPSD on another Pi in Bridge mode
I have GPSD on a Pi with the IP 192.168.3.2, while SignalK is running on 192.168.3.1 in a Docker containr. If I run in bridge mode, it can't connect to the other Pi's GPSD, but in host mote I see that it connects in the logs flying past in the bash window when I start the container without the -d switch. Only then it won't accept connections on port 80, for some reason. I know I don't have anything else running on port 80. I have these ports in bridge mode: ports: - 80:80 - 1884:1884 - 2947:2947 network_mode: bridge The 1884 is the internal MQTT broker in "Signal K MQTT Gateway". So theoretically that should have no problems connecting to 2947, which is the port of GPSD. It just won't. It's stuck on "connecting to 192.168.3.2:2947". Any idea what this can be?
54 replies
SKSignal K
Created by Mastiff on 8/6/2024 in #questions
Error: connect ECONNREFUSED 127.0.0.1:1883
I get this every minute in the log. I run in Docker, and of course there are no MQTT servers in my Docker image. But I haven't set SignalK to connect to one either. I am running a server on port 1884 on the "Signal K MQTT gateway plug-in", which the rest of my system connects to and gets what it needs of data. So why is the SignalK server trying to connect to a broker on the localhost?
9 replies