Mastiff
Mastiff
SKSignal K
Created by Mastiff on 3/31/2025 in #questions
Derived data - weird numbers
Aha, thanks! So I need to send it via Node-RED to do a calculation, then.
5 replies
SKSignal K
Created by Mastiff on 3/31/2025 in #questions
Derived data - weird numbers
Sorry, I didn't think it was relevant because there were (as far as I could see) no ways to change any of that in the plug-in. I thought that would be automatically parsed. Or should I add something in "Calibration entries (pairs of level => volume)"? Thefuel consumption comes in from my Suzuki Engine Interface. That may be the culprit, because I see in Node-RED that when sending it to Home Assistant I have to multiply with 3600000 to get liters per hour. The GPS speed (navigation.speedOverGround) comes from my Garmin plotter (and GPSd if the plotter is out, but it wasn't at that time), and that is in m/s. On around 2000 RPM's (this is 1875 RPM's) the Garmin shows 0.5-0.6 liters per nautical mile.
5 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Wow, thank you! 😀 But the update refuses to install. Logs:
Apr 01 07:00:36 POST /skServer/appstore/install/galadrielmap_sk/0.12.3 200 23.844 ms - 31
Apr 01 07:00:39 stderr: npm error code ENOTEMPTY
Apr 01 07:00:39 stderr: npm error syscall rename npm error path /root/.signalk/node_modules/galadrielmap_sk
Apr 01 07:00:39 stderr: npm error dest /root/.signalk/node_modules/.galadrielmap_sk-8ltjDzHI
Apr 01 07:00:39 stderr: npm error errno -39
Apr 01 07:00:39 stderr: npm error ENOTEMPTY: directory not empty, rename '/root/.signalk/node_modules/galadrielmap_sk' -> '/root/.signalk/node_modules/.galadrielmap_sk-8ltjDzHI'
Apr 01 07:00:39 stderr: npm error A complete log of this run can be found in: /root/.npm/_logs/2025-04-01T07_00_36_772Z-debug-0.log
Apr 01 07:00:36 POST /skServer/appstore/install/galadrielmap_sk/0.12.3 200 23.844 ms - 31
Apr 01 07:00:39 stderr: npm error code ENOTEMPTY
Apr 01 07:00:39 stderr: npm error syscall rename npm error path /root/.signalk/node_modules/galadrielmap_sk
Apr 01 07:00:39 stderr: npm error dest /root/.signalk/node_modules/.galadrielmap_sk-8ltjDzHI
Apr 01 07:00:39 stderr: npm error errno -39
Apr 01 07:00:39 stderr: npm error ENOTEMPTY: directory not empty, rename '/root/.signalk/node_modules/galadrielmap_sk' -> '/root/.signalk/node_modules/.galadrielmap_sk-8ltjDzHI'
Apr 01 07:00:39 stderr: npm error A complete log of this run can be found in: /root/.npm/_logs/2025-04-01T07_00_36_772Z-debug-0.log
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Actually I think it's the kiosk browser that does it. ANd I need to have this inside of Home Assistant because I control just about everything else from there (heavy metal over the speakers, lights, lanterns, pumps and so on is all run with Home Assistant and ESP32's with tons or relays - I have to be close to 50 relays in the boat!).
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
That is of course a totally different use from mine. I use the NAIS1 map when I drive the 30 minutes out to where I check my crawfish pots, use C-Map there (because the bottom contours are better on that) and then go back to NAIS1 when I want to go back. Sometimes the tablet looses the connection to the network for a few seconds, and that means the map is reloaded. So the controls are back.
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Yeah, I can. I just wanted to get rid of the tapping altogether. But OK, if it's not practictal, no biggie.
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
OK, is there a way around it? Like a flag that I can set in a config file?
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Idon't think Firefox will make a difference, because nothing of this is actually rendered on the Pi. Home Assistant runs on Wall Panel kiosk browser, and the hardware is an Ouikitel rugged 8" tablet. This is what renders the web page. So it seems like Wall Panel does not save everything it should. And it is fully possible to show two different GaladrielMap in one KIP when I have one on port 80 and one on port 81. So yes, they have different addresses. 😀 But I think it's pretty safe to say that the culprit is Wall Panel browser, so you don't have to spend more time on that thing. The only thing I would like, if possible, is that the I can set the sidebar not to show on reload of the Galadriel Map web page.
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
No description
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Aha, that probably explains it. it's not a browser. It is Home Asistant with an embedded webpage. OK, in detail: 1. Home Assistant running on Wall Panel (kiosk browser available on GitHub and Play Store), with this YAML code:
type: custom:html-template-card
ignore_line_breaks: true
content: |
<iframe
src="http://192.168.3.1/@mxtommy/kip/#/page/0"
frameborder="0" allowfullscreen="true" allowtransparency="true" style="width: 110%; min-height:
920px; border: 0; margin-top: -30px; margin-left: -20px; margin-right: -15px; margin-bottom: 0px; top: -20px;"></iframe>
type: custom:html-template-card
ignore_line_breaks: true
content: |
<iframe
src="http://192.168.3.1/@mxtommy/kip/#/page/0"
frameborder="0" allowfullscreen="true" allowtransparency="true" style="width: 110%; min-height:
920px; border: 0; margin-top: -30px; margin-left: -20px; margin-right: -15px; margin-bottom: 0px; top: -20px;"></iframe>
2. KIP running as a webapp (to get the bottom line of info from plotter and outboard motor with Galadriel Map as an embedded webpage and this address:
http://192.168.3.1/galadrielmap_sk/
http://192.168.3.1/galadrielmap_sk/
on the front page and this address
http://192.168.3.1:81/galadrielmap_sk/
http://192.168.3.1:81/galadrielmap_sk/
when you move to the next page. 3. Two instances of SignalK running under Docker, both with Galadriel Map set up. With NAIS1 as the source in the first Docker instance (port 80) and C-Map in the second Docker instance (port 81).
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Thank you! That works in a regular browser! But the map does not stick when I run it in a window in Home Assistant. I guess that's because it doesn't save cookies as they should in that case. And the boat icon is now as I like it. 👍
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
But one thing is strange: I have two Docker Containers of SignalK running to get C-Map and NAIS1 with a simple swipe of pages in KIP. And if I change the map in one of them (port 80) the other one (port 81) is changed too. Is that expected behaviour?
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
OK, I couldn't wait... 😁 Tried it now, and it's very close to what I wanted, actually! If it could set it not to hide the zoom, it would be perfect for my use! Also where do I replace the boat icon for that? I like the boat looking icon for Freeboard, so I have that in the pure Galadriel Map, but I have not found the place to do that in the plug-in's files, as far as I can remember. Sorry if my memory fails me. Btw I could not set it to top right, but that is not a problem since I have the zoom there. So top middle works well. But the left panel is back next time I open the page or reload it, that is probably expected?
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Thank you, I will look at that later today or tomorrow! 👍 Btw no news on the Cloudflare thing?
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Aha, I see. 😢 So no good way around it. And here I was 83 % done with my download, I should have started two days earlier on that one!
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Can I get around it by using NordVPN and change IP's every ten minutes? I don't have that much left of the C-Map I wanted to download. So how fast do an IP get banned?
305 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 see. That's too bad. So TOR can not get around it?
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Oh, ifI use the TOR browser whatismyipaddress.com shows that I'm the middle of England.
305 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.090 [notice] Read configuration file "/usr/share/tor/tor-service-defaul>
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.090 [notice] Read configuration file "/etc/tor/torrc".
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [warn] You specified a public address '0.0.0.0:9050' for SocksPort.>
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opening Socks listener on 0.0.0.0:9050
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opened Socks listener connection (ready) on 0.0.0.0:9050
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opening HTTP tunnel listener on 127.0.0.1:8118
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opened HTTP tunnel listener connection (ready) on 127.0.0.>
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opening Control listener on 127.0.0.1:9051
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opened Control listener connection (ready) on 127.0.0.1:90>
feb. 07 09:01:45 galadrielmap systemd[1]: Started [email protected] - Anonymizing overlay network for TCP.
lines 1-22/22 (END)
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.090 [notice] Read configuration file "/usr/share/tor/tor-service-defaul>
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.090 [notice] Read configuration file "/etc/tor/torrc".
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [warn] You specified a public address '0.0.0.0:9050' for SocksPort.>
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opening Socks listener on 0.0.0.0:9050
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opened Socks listener connection (ready) on 0.0.0.0:9050
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opening HTTP tunnel listener on 127.0.0.1:8118
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opened HTTP tunnel listener connection (ready) on 127.0.0.>
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opening Control listener on 127.0.0.1:9051
feb. 07 09:01:44 galadrielmap tor[5292]: Feb 07 09:01:44.092 [notice] Opened Control listener connection (ready) on 127.0.0.1:90>
feb. 07 09:01:45 galadrielmap systemd[1]: Started [email protected] - Anonymizing overlay network for TCP.
lines 1-22/22 (END)
305 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 can't understand why it says no authentication method, I thought this should be it:
ControlPort 9051

## If you enable the controlport, be sure to enable one of these
## authentication methods, to prevent attackers from accessing it.
#HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
CookieAuthentication 0

# tunneled HTTP proxy
HTTPTunnelPort 127.0.0.1:8118
ControlPort 9051

## If you enable the controlport, be sure to enable one of these
## authentication methods, to prevent attackers from accessing it.
#HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
CookieAuthentication 0

# tunneled HTTP proxy
HTTPTunnelPort 127.0.0.1:8118
I tried with CookieAuthentication 1 as well. The error message disappeared, but I still get "No tile recived".
/GaladrielMap/tileproxy$ sudo systemctl status [email protected]
[email protected] - Anonymizing overlay network for TCP
Loaded: loaded (/lib/systemd/system/[email protected]; enabled-runtime; preset: enabled)
Active: active (running) since Fri 2025-02-07 09:01:45 CET; 1min 30s ago
Process: 5290 ExecStartPre=/usr/bin/install -Z -m 02755 -o debian-tor -g debian-tor -d /run/tor (code=exited, status=0/SUCCE>
Process: 5291 ExecStartPre=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAs>
Main PID: 5292 (tor)
Tasks: 3 (limit: 9412)
Memory: 45.6M
CPU: 2.613s
CGroup: /system.slice/system-tor.slice/[email protected]
└─5292 /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0
/GaladrielMap/tileproxy$ sudo systemctl status [email protected]
[email protected] - Anonymizing overlay network for TCP
Loaded: loaded (/lib/systemd/system/[email protected]; enabled-runtime; preset: enabled)
Active: active (running) since Fri 2025-02-07 09:01:45 CET; 1min 30s ago
Process: 5290 ExecStartPre=/usr/bin/install -Z -m 02755 -o debian-tor -g debian-tor -d /run/tor (code=exited, status=0/SUCCE>
Process: 5291 ExecStartPre=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAs>
Main PID: 5292 (tor)
Tasks: 3 (limit: 9412)
Memory: 45.6M
CPU: 2.613s
CGroup: /system.slice/system-tor.slice/[email protected]
└─5292 /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0
305 replies