Claeszv
Claeszv
SKSignal K
Created by Claeszv on 12/20/2024 in #questions
Path not showing in signalK Data browser
Data sent from from node-red is no longer appearing in signalK databrowser: I am trying with this simple flow to creat path value, but nothing happens. What am I missig? thx in advance [{"id":"f01c9e42725de28a","type":"inject","z":"b51af49f1e9c4aaf","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"10","crontab":"","once":false,"onceDelay":0.1,"topic":"electric.switching.nightmode","payload":"electric.switching.state","payloadType":"global","x":930,"y":900,"wires":[["12d0f3d333f43440"]]},{"id":"12d0f3d333f43440","type":"signalk-send-pathvalue","z":"b51af49f1e9c4aaf","name":"send autoLights","source":"","meta":"","x":1340,"y":900,"wires":[]},{"id":"4a744f01c598b138","type":"inject","z":"b51af49f1e9c4aaf","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"10","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":850,"y":960,"wires":[["a1f874aca0ef3603"]]},{"id":"a1f874aca0ef3603","type":"change","z":"b51af49f1e9c4aaf","name":"","rules":[{"t":"set","p":"electric.switching.nightmode","pt":"global","to":"payload","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"electric.switching.nightmode","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1080,"y":960,"wires":[["12d0f3d333f43440","053260eea2447d33"]]},{"id":"69894241e44930dc","type":"signalk-put-handler","z":"b51af49f1e9c4aaf","name":"","path":"electric.switching.nightmode","x":870,"y":1000,"wires":[["a1f874aca0ef3603"]]},{"id":"053260eea2447d33","type":"debug","z":"b51af49f1e9c4aaf","name":"Show Shelly Status","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1570,"y":960,"wires":[]}]
3 replies
SKSignal K
Created by Claeszv on 12/18/2024 in #questions
Hello
I am in my first days of playing around in SignalK, so please bare over with my stupid questions. Also Discord is at bit confusing 😉 I have quite a lot experiense with home assiastant and node-red, but I am NOT a programmer. I can do simple coding with help from ChatGPT. I want to be able to control all switches and dimmers on my boat from #wilhelmsk also I am working on switching and light control using node-red but I have af few problems as follows: - How can I request the path-value of eg "electric.switching.state" from signalK server in Node-Red on demand? - When server is restartet I have to send-path data to SignalK to be able to operate switches in WilhelmSK otherwise switches are inactive and WilhelSK crashes. Do I just make an Node-Red automation, that resends path-data every xx seconds or is there a smarter way?
Thx in advance
26 replies