This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 3 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
@mxtommy KIP instrument display webapp for Signalk
(2021-11-25, 09:46 PM)SkipperEarly Wrote: Has anyone found a way to format text controls? Would like e.g. datetime  to show ony time

Node red can do that, I use it to display windspeed as Beaufort scale & direction. Input the signalk into a function node and output to a new singalk delta then display that in kip. If you're used to node red it's quite easy, if not ask here and someone will write it for you, also quite easy  

Quite calm tonight. Big Grin


[Image: kg9uuep.png]
Reply
I used to like having KIP running but it's not working as it should anymore.

I'm sick of deleting the cache etc - something is definitely not right!!
Reply
(2021-12-15, 06:24 AM)Lazzz Wrote: I used to like having KIP running but it's not working as it should anymore.

I'm sick of deleting the cache etc - something is definitely not right!!

working perfectly here all day every day, might be something your end? Anything in the server log?
Reply
HI 

Thank's for this work

where can'i store my own *.html page (including a png) to be accessed in a KIP page
i tried http://localhost:3000/@jules/jules_polar.html
@jules is /home/pi/.signalk/node_modules/@jules  (a folder i created, containing jules_polar.html)

i get error "cannot GET @jules/jules_polar.html

how can'i show png or pdf with KIP (like manuals/documentation)

Merci beaucoup
Reply
(2022-02-15, 02:54 PM)Jules Wrote: HI 

Thank's for this work

where can'i store my own *.html page (including a png) to be accessed in a KIP page
i tried http://localhost:3000/@jules/jules_polar.html
@jules is /home/pi/.signalk/node_modules/@jules  (a folder i created, containing jules_polar.html)

i get error "cannot GET @jules/jules_polar.html

how can'i show png or pdf with KIP (like manuals/documentation)

Merci beaucoup
You need to have a webserver running for that. I installed the lighttpd package and use the url http://localhost in KIP to show a few buttons to do stuff everyone will warn me about not to do  Tongue
One off the buttons is for exiting chromium because it is running in kiosk-mode in de pilot-house on a RPi3 with 7” display. The buttons call php scripts doing the naughty stuff. Hé, it is running on a private WiFi network and only running while on the way.
Reply
I think KIP is great, the only bad thing is that the time cannot be displayed in a useful way.
Unfortunately, my attempts with Grafana and InfulxDB have all failed.
Anyway good job Tommy
Reply
(2022-02-16, 06:15 PM)RKV Wrote: I think KIP is great, the only bad thing is that the time cannot be displayed in a useful way.
Unfortunately, my attempts with Grafana and InfulxDB have all failed.
Anyway good job Tommy

Make it yourself by creating a html-page (with js) and run it as I wrote above. I have multiple pages made myself with a clock, with buttons and even streaming from a webcam.
Reply
That sounds even more complicated than my previous efforts.
I'm just the copy and paste user.
Don't understand why in Grafana rewriting the file from "allow_embedding" to true doesn't work would be the simplest solution for me.
Reply
(2022-02-17, 07:50 AM)RKV Wrote: That sounds even more complicated than my previous efforts.
I'm just the copy and paste user.
Don't understand why in Grafana rewriting the file from "allow_embedding" to true doesn't work would be the simplest solution for me.

Is Grafana running ok: can you see it in a browser? Have you changed the port to something different SignalK is using? SignalK is on 3000, so you could use 3001 for Grafana and use that in the url in KIP like: http://YourIp:3001
Have you removed the semicolon in front of "allow_embedding = true"?
Reply
(2022-02-16, 06:15 PM)RKV Wrote: I think KIP is great, the only bad thing is that the time cannot be displayed in a useful way.
Unfortunately, my attempts with Grafana and InfulxDB have all failed.
Anyway good job Tommy

As PaddyB previously mentioned, node-red is a nice alternative to make your own displays embedded into KIP.
You can find an example here: https://flows.nodered.org/flow/1bffe6808...939983e758

If you never used node-red, don't be afraid. I had never touched it before and took me around 1h to learn the basics and start writing simple flows.

Curently i use it to display buttons on the KIP interface that send SignalK messages.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)