0.6.3 • Published 5 months ago

ewelink-mqtt v0.6.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 months ago

ewelink-mqtt

PARTIALLY COMPLETE, MINIMALLY TESTED

Allow switches to be turned on/off via LAN API, publish status changes from WS API to MQTT. Uses HTTP API to identify devices.

MQTT wrapper/interface to https://www.npmjs.com/package/ewelink-api-next

Copy config.example.yml somewhere and edit.

Run

CONFIG_PATH=config.yml node main

Turn switches on/off/toggle by sending to:

ewelink/set/{deviceid}/{toggle|on|off}

eg: ewelink/set/10005ef2e1/toggle

Listen for changes on

ewelink/status/{deviceid} - contains update details

ewelink/status/{deviceid}/switch - contains the updated details in the switch parameter, eg "on" or "off"

ewelink/status/{deviceid}/switch/on ewelink/status/{deviceid}/switch/off

0.6.3

5 months ago

0.6.2

5 months ago

0.6.1

5 months ago

0.6.0

5 months ago

0.5.0

2 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.3

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago