OpenMarine
Switches in SignalK with example code using NodeRed - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How I did it (https://forum.openmarine.net/forumdisplay.php?fid=6)
+--- Thread: Switches in SignalK with example code using NodeRed (/showthread.php?tid=3174)



Switches in SignalK with example code using NodeRed - MatsA - 2021-01-03

Did a post explaining switches in SignalK, which maybe can be of interest ? 

The switch used in the example is a Shelly 1 togheter with NodeRed, the NR Dashboard and WilhelmSK(Optional)

https://pysselilivet.blogspot.com/2021/01/signalk-switch-with-nodered-and.html


RE: Switches in SignalK with example code using NodeRed - Sailoog - 2021-01-13

thanks for sharing!


RE: Switches in SignalK with example code using NodeRed - MatsA - 2021-02-27

@sbender have done it again and supplied us with new plugins for digital switching.

For the Shelly switch
https://www.npmjs.com/package/signalk-shelly

or if you prefer Sonoff
https://www.npmjs.com/package/signalk-sonoff-ewelink


RE: Switches in SignalK with example code using NodeRed - SCarns - 2021-10-09

(2021-02-27, 07:55 PM)MatsA Wrote: @sbender have done it again and supplied us with new plugins for digital switching.

For the Shelly switch
https://www.npmjs.com/package/signalk-shelly

or if you prefer Sonoff
https://www.npmjs.com/package/signalk-sonoff-ewelink

I'm a little lost here. How do you get SignalK to recognize the Shelly in the plugin? I assume some sort of connection must be made first, but there is zero documentation on how to connect it directly to the plugin in SignalK.


RE: Switches in SignalK with example code using NodeRed - MatsA - 2021-10-09

(2021-10-09, 07:53 AM)SCarns Wrote: I'm a little lost here. How do you get SignalK to recognize the Shelly in the plugin? I assume some sort of connection must be made first, but there is zero documentation on how to connect it directly to the plugin in SignalK.

If the SK server is on the same WiFi as the Shellys, they should appear automatically using "Plugin config" for the Shelly plugin.


RE: Switches in SignalK with example code using NodeRed - SCarns - 2021-10-09

(2021-10-09, 10:02 AM)MatsA Wrote:
(2021-10-09, 07:53 AM)SCarns Wrote: I'm a little lost here. How do you get SignalK to recognize the Shelly in the plugin? I assume some sort of connection must be made first, but there is zero documentation on how to connect it directly to the plugin in SignalK.

If the SK server is on the same WiFi as the Shellys, they should appear automatically using "Plugin config" for the Shelly plugin.

Thanks, that was what I was expecting to happen, but it hasn't. I'll reset the device and go from there.


RE: Switches in SignalK with example code using NodeRed - SCarns - 2021-10-15

In the end, what I had to do was change the CoIoT settings from "mcast" to the IP of my signalk server. Then showed up as expected.