-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[shelly] Add support for Door/Window sensor #6981
Labels
enhancement
An enhancement or new feature for an existing add-on
Comments
markus7017
added
enhancement
An enhancement or new feature for an existing add-on
work in progress
A PR that is not yet ready to be merged
labels
Feb 9, 2020
markus7017
added a commit
to markus7017/openhab-addons
that referenced
this issue
Feb 9, 2020
…BW2 Exception on brightness=0; openhab#6981 Initial implementation of Door/Window; openhab#6879 FTR Ext. Sensors for Shelly 1/1PM;openhab#6950-WIP Fix mapping of input channels via Coap; openhab#6886 API retry on ExecutionException; Implementation of TranslationProvider (allows loading messages from properties) Signed-off-by: Markus Michels <markus7017@gmail.com>
will be included in PR #6985 |
markus7017
added
about to close
Issue potentially resolved and no feedback received
and removed
work in progress
A PR that is not yet ready to be merged
about to close
Issue potentially resolved and no feedback received
labels
Apr 18, 2020
included in version 2.5.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Shelly Door/Window Sensor provides a contact as well as a luminance sensor. A new thing type shellydw (SHDW-1) will be added.
Output of /settings
{“device”:{“type”:“SHDW-1”,“mac”:“XXXXXXXXX”,“hostname”:“shellydw-F3BXXX”,“sleep_mode”:true},“wifi_ap”:{“enabled”:false,“ssid”:“shellydw-F3XXX”,“key”:""},“wifi_sta”:{“enabled”:true,“ssid”:“XXXXXXXXX”,“ipv4_method”:“dhcp”,“ip”:null,“gw”:null,“mask”:null,“dns”:null},“wifi_sta1”:{“enabled”:false,“ssid”:null,“ipv4_method”:“dhcp”,“ip”:null,“gw”:null,“mask”:null,“dns”:null},“mqtt”: {“enable”:false,“server”:“192.168.33.3:1883”,“user”:"",“id”:“shellydw-F3B7F5”,“reconnect_timeout_max”:60.000000,“reconnect_timeout_min”:2.000000,“clean_session”:true,“keep_alive”:60,“max_qos”:0,“retain”:false,“update_period”:30},“sntp”: {“server”:“time.google.com”},“login”:{“enabled”:false,“unprotected”:false,“username”:“xxxxx”,“password”:“XXXXX”},“pin_code”:“xxxx”,“name”:"",“fw”:“20191216-090511/v1.5.7@c30657ba”,“build_info”:{“build_id”:“20191216-090511/v1.5.7@c30657ba”,“build_timestamp”:“2019-12-16T09:05:11Z”,“build_version”:“1.0”},“cloud”:{“enabled”:true,“connected”:true},“timezone”:“Europe/Amsterdam”,“lat”:XX.XXXXX,“lng”:X.XXXXX,“tzautodetect”:true,“time”:“12:29”,“dark_threshold”:100,“twilight_threshold”:300,“sleep_mode”:{“period”:6,“unit”:“h”},“led_status_disable”:true,“report_url”:"", “dark_url”:"", “twilight_url”:""}
Output / status - door in OPEN state
{“wifi_sta”:{“connected”:true,“ssid”:“XXXXXXX”,“ip”:“192.168.1.135”,“rssi”:-59},“cloud”:{“enabled”:true,“connected”:true},“mqtt”:{“connected”:false},“time”:“12:24”,“serial”:4,“has_update”:false,“mac”:“XXXXXXXXX”,“is_valid”:true,“lux”:{“value”:30, “illumination”: “dark”, “is_valid”:true},“sensor”:{“state”:“open”, “is_valid”:true},“bat”:{“value”:100,“voltage”:6.38},“act_reasons”:[“button”],“update”:{“status”:“idle”,“has_update”:false,“new_version”:“20191216-090511/v1.5.7@c30657ba”,“old_version”:“20191216-090511/v1.5.7@c30657ba”},“ram_total”:50592,“ram_free”:39700,“fs_size”:233681,“fs_free”:162648,“uptime”:19}
Output when in closed state
{“wifi_sta”:{“connected”:true,“ssid”:“XXXXXXXXX”,“ip”:“192.168.1.135”,“rssi”:-59},“cloud”:{“enabled”:true,“connected”:true},“mqtt”:{“connected”:false},“time”:“12:27”,“serial”:3,“has_update”:false,“mac”:“XXXXXXXX”,“is_valid”:true,“lux”:{“value”:5, “illumination”: “dark”, “is_valid”:true},“sensor”:{“state”:“close”, “is_valid”:true},“bat”:{“value”:100,“voltage”:6.38},“act_reasons”:[“button”],“update”:{“status”:“idle”,“has_update”:false,“new_version”:“20191216-090511/v1.5.7@c30657ba”,“old_version”:“20191216-090511/v1.5.7@c30657ba”},“ram_total”:50592,“ram_free”:40212,“fs_size”:233681,“fs_free”:162648,“uptime”:6}
The text was updated successfully, but these errors were encountered: