0.5.0 • Published 10 months ago

ewelink-mqtt v0.5.0

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

ewelink-mqtt

PARTIALLY COMPLETE, MINIMALLY TESTED

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

NOTE: ewelink-api has a lot of updates since this was written, including LAN mode. Will hopefully update to v3 of this soon. I don't have many ewelink devices to test any more however.

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} - device details on change

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

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

0.5.0

10 months ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.3

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago