Dirk SV MOIN
Dirk SV MOIN
SKSignal K
Created by Dirk SV MOIN on 8/10/2024 in #questions
SK / Node Red / Digital Switching Maretron DCR-100
I am traying to get digital switching working via SignalK and Node Red. I have installed the following plugins: - @signalk/signalk-node-red (operational) - signalk-n2k-switching (configured - all on) - signalk-maretron-proprietary (configured - all on) I try to set electrical.switches.bank.11.3.state on a Maretron DCR 100 My node red dashboard: [{"id":"89afe19b71f08c67","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"fc56aacc.889408","type":"signalk-subscribe","z":"89afe19b71f08c67","name":"","mode":"sendAll","flatten":true,"context":"vessels.self","path":"electrical.switches.bank.11.3.state","source":"","period":1000,"x":280,"y":120,"wires":[["4e791c49bf5180ba","a8c1e2500c85d9a1"]]},{"id":"64686842.76ea18","type":"signalk-send-put","z":"89afe19b71f08c67","name":"","path":"electrical.switches.bank.11.3.state","source":"","x":900,"y":120,"wires":[]},{"id":"4e791c49bf5180ba","type":"debug","z":"89afe19b71f08c67","name":"debug 4","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":580,"y":220,"wires":[]},{"id":"a8c1e2500c85d9a1","type":"change","z":"89afe19b71f08c67","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":120,"wires":[["64686842.76ea18","ba1d0728653a5e38"]]},{"id":"ba1d0728653a5e38","type":"debug","z":"89afe19b71f08c67","name":"debug 5","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":880,"y":220,"wires":[]}] The error message I get is: put error 400 there are multiple sources for the given path, but no source was specified in the request If I change $source in signalk-sent-put to "node-red" than I get: put error 405 PUT not supported for electrical.switches.bank.11.3.state Any hint would be helpful. Thanks a lot!
101 replies