OpenMarine

Full Version: Switches in SignalK with example code using NodeRed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/0...d-and.html
thanks for sharing!
@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
(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.
(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.
(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.
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.