OpenMarine

Full Version: KIP charts not displaying in laptop via http
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have a nice setup running based on OpenCPN/OpenPlotter/SignalK/KIP everything works when  I log into my headless Raspberry Pi via VNC using a tablet but VNC is slow. 

I would like to access KIP via my laptop. So I log into the Pi's WIFi HOTSPOT from my laptop. I can access SignalK using http://localhost:3000 from there I load the webapps and all of them (InstrumentPanel, Sailgauge, etc) work except for KIP. I can see the the KIP screen and displays I created but they contain no data and I get an http error.

Any experience with this?
(2023-05-16, 03:12 PM)shinken Wrote: [ -> ]I have a nice setup running based on OpenCPN/OpenPlotter/SignalK/KIP everything works when  I log into my headless Raspberry Pi via VNC using a tablet but VNC is slow. 

I would like to access KIP via my laptop. So I log into the Pi's WIFi HOTSPOT from my laptop. I can access SignalK using http://localhost:3000 from there I load the webapps and all of them (InstrumentPanel, Sailgauge, etc) work except for KIP. I can see the the KIP screen and displays I created but they contain no data and I get an http error.

Any experience with this?

Just check the address you are using to reach signalK from Kip. If you have loaded the same config that you would normally open on your Pi using your Laptop, chances are that its address for SignalK is also 'Localhost'. It will need to be changed to the PI ip with the same port. I have had to do this when i use KIP on my phone.

When you save this config, change its name from default, then you can load default on your pi and this one with the change address on your laptop could be 'laptop' for example.
(2023-05-16, 05:24 PM)Boatingbaileys Wrote: [ -> ]
(2023-05-16, 03:12 PM)shinken Wrote: [ -> ]I have a nice setup running based on OpenCPN/OpenPlotter/SignalK/KIP everything works when  I log into my headless Raspberry Pi via VNC using a tablet but VNC is slow. 

I would like to access KIP via my laptop. So I log into the Pi's WIFi HOTSPOT from my laptop. I can access SignalK using http://localhost:3000 from there I load the webapps and all of them (InstrumentPanel, Sailgauge, etc) work except for KIP. I can see the the KIP screen and displays I created but they contain no data and I get an http error.

Any experience with this?

Just check the address you are using to reach signalK from Kip. If you have loaded the same config that you would normally open on your Pi using your Laptop, chances are that its address for SignalK is also 'Localhost'. It will need to be changed to the PI ip with the same port. I have had to do this when i use KIP on my phone.

When you save this config, change its name from default, then you can load default on your pi and this one with the change address on your laptop could be 'laptop' for example.

I think I follow you. Thank you. I will try that. 
I used http://10.10.10.1:3000 that has a conflict with KIP but not with SignalK. I have seen  http://10.10.10.1:4200 listed for KIP. Which one is correct?
(2023-05-16, 05:30 PM)shinken Wrote: [ -> ]
(2023-05-16, 05:24 PM)Boatingbaileys Wrote: [ -> ]
(2023-05-16, 03:12 PM)shinken Wrote: [ -> ]I have a nice setup running based on OpenCPN/OpenPlotter/SignalK/KIP everything works when  I log into my headless Raspberry Pi via VNC using a tablet but VNC is slow. 

I would like to access KIP via my laptop. So I log into the Pi's WIFi HOTSPOT from my laptop. I can access SignalK using http://localhost:3000 from there I load the webapps and all of them (InstrumentPanel, Sailgauge, etc) work except for KIP. I can see the the KIP screen and displays I created but they contain no data and I get an http error.

Any experience with this?

Just check the address you are using to reach signalK from Kip. If you have loaded the same config that you would normally open on your Pi using your Laptop, chances are that its address for SignalK is also 'Localhost'. It will need to be changed to the PI ip with the same port. I have had to do this when i use KIP on my phone.

When you save this config, change its name from default, then you can load default on your pi and this one with the change address on your laptop could be 'laptop' for example.

I think I follow you. Thank you. I will try that. 
I used http://10.10.10.1:3000 that has a conflict with KIP but not with SignalK. I have seen  http://10.10.10.1:4200 listed for KIP. Which one is correct?

Just to be clear, this is in KIP settings, not the address to reach KIP. [attachment=2206]

If I understand correctly, you are on a laptop, connected to your PI WIFI and you have gone to KIP IP/port but that isn't getting any data?
(2023-05-16, 05:35 PM)Boatingbaileys Wrote: [ -> ]Just to be clear, this is in KIP settings, not the address to reach KIP.

If I understand correctly, you are on a laptop, connected to your PI WIFI and you have gone to KIP IP/port but that isn't getting any data?

Yes. That's correct.
Ok. just edited my above post to include a pic - Local host on the laptop is a different destination to what it is on the Pi. That address needs to be (Pi IP):3000
(2023-05-16, 05:39 PM)Boatingbaileys Wrote: [ -> ]Ok. just edited my above post to include a pi - Local host on the laptop is a different destination to what it is on the Pi. That address needs to be (Pi IP)/3000

On the Pi the address for KIP is localhost:3000/@mxtommy/kip/#/page/0.
On the Laptop I used the same address and got a missing page error then tried 10.10.10.1:3000/@mxtommy/#/page/0 and got the gauges to load but with no data.
(2023-05-16, 05:44 PM)shinken Wrote: [ -> ]
(2023-05-16, 05:39 PM)Boatingbaileys Wrote: [ -> ]Ok. just edited my above post to include a pi - Local host on the laptop is a different destination to what it is on the Pi. That address needs to be (Pi IP)/3000

On the Pi the address for KIP is localhost:3000/@mxtommy/kip/#/page/0.
On the Laptop I used the same address and got a missing page error then tried 10.10.10.1:3000/@mxtommy/#/page/0 and got the gauges to load but with no data.

Correct - Thats what you will need to do, but then you need to click the settings menu in KIP and change 'localhost:3000' for your SignalK server to be '10.10.10.1:3000' and click connect.

Localhosts here is making your laptop look at itself for the SignalK server. I have to do the same with my phone.
Ok. I think I get it now. Will try it tomorrow. I'm away from the boat now. Thanks so much!
Ok. So I tried and run into the same problem then instead of loading the configuration I simply touched the Left arrow to change the screen and voila! it was working. I wish there was more clear documentation on how these apps work including how SignalK is setup.
Pages: 1 2