/shelly-outbound-websockets

Sample code for Shelly Outbound WebSockets

Primary LanguageJavaScriptMIT LicenseMIT

shelly-outbound-websockets

Sample code for Shelly Outbound WebSockets.

This repo contains an example implementation of an Outbound WebSocket server, that can be used with Shelly's RPC

Examples

examples/accumulateConsumption.js

Example on how to accumulate consumption from PM devices.

examples/usingSyncedConfig.js

Example on how to access and set locally cached config.

examples/usingSyncedState.js

Example on how to read locally cached state.

examples/combineButtonsAndRelays.js

Example on how to read events from devices and call methods on other specific (capable) devices, that are connected to the Outbound server.