shelly-script-examples
shelly-script-examples copied to clipboard
BLE DW and Motion
I've extended the existing ble-pasv-mqtt-gw.js
sctipt, in order to improve support Shelly Motion BLE and Shelly DW BLE.
- added
rotation
sensor reporting - added support for binary sensors in HA Discovery
- added
window
andmotion
binary sensors reporting - fixed device and entity naming (as seen by HA)
- made code formatting more consistent.