Originally posted by ehinkle27
View Post
Announcement
Collapse
No announcement yet.
Original Plugin for Shelly devices - Intro / Config / Screenshots [No MQTT]
Collapse
This is a sticky topic.
X
X
-
Originally posted by santoal View PostHi - Do you support Shelly dimmer? I can not seem to add. Thanks
But in the mean time if you let me know what is the device type string for the dimmer (looged in the error "The device type is not supported...") - I can add the dimmer support now.
Comment
-
Thanks for the quick response! Here is the extract from the log:Nov-25 3:13:41 PM AK Shelly Found device: unset (shellydimmer), id: F3A91D, url: http://192.168.1.164/ Nov-25 3:13:41 PM AK Shelly ERROR The device type is not supported: unset (shellydimmer), id: F3A91D, url: http://192.168.1.164/ Nov-25 3:13:41 PM AK Shelly Locator.Zeroconf.DeviceLocator: ResolverListener Listener_Error: The given key was not present in the dictionary.
Comment
-
Originally posted by santoal View PostThanks for the quick response! Here is the extract from the log:
Nov-25 3:13:41 PM AK Shelly ERROR The device type is not supported: unset (shellydimmer), id: F3A91D, url: http://192.168.1.164/
If you can please try it and send me the log for:
Code:Execute cmd: shelly Execute cmd: settings Execute cmd: status
Comment
-
I got the dimmer back. I've never setup a shelly device so not sure I'm doing it right. The dimmer is detected bu not working correctly. Do I need to change username and password? I tried it but not reflected in the log:[742]: shellydimmer (SHDM-1): [SHDM-1] F3A91D (192.168.1.164): Execute 'settings': Status: 'Error' Error: 'Input string was not in a correct format.' response: '{"device":{"type":"SHDM-1","mac":"CC50E3F3A91D","hostname":"shellydimmer-F3A91D","num_outputs":1,"num_meters":1},"wifi_ap":{"enabled" :false,"ssid":"shellydimmer-F3A91D","key":""},"wifi_sta":{"enabled":true,"ssid":"Karoo Springs","ipv4_method":"dhcp","ip":null,"gw":null,"mask":nul l,"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": "shellydimmer-F3A91D","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,"unpro tected":false,"username":"admin","password":"admin"},"pin_co de":"4(kQPl","name":"","fw":"20191127-095929/v1.5.6@0d769d69","build_info":{"build_id":"20191127-095929/v1.5.6@0d769d69","build_timestamp":"2019-11-27T09:59:29Z","build_version":"1.0"},"cloud":{"enabled":true ,"connected":true},"timezone":"Australia/Brisbane","lat":-27.471001,"lng":153.022995,"tzautodetect":true,"time":"15:08 ","hwinfo":{"hw_revision":"dev-prototype","batch_id":0},"mode":"white","pulse_mode":1,"cali brated":true,"transition":1000,"fade_rate":3,"lights":[{"name":"","ison":true,"default_state":"off","auto_on":0.00, "auto_off":0.00,"btn1_on_url":"","btn1_off_url":"","btn2_on_ url":"","btn2_off_url":"","out_on_url":"","out_off_url":""," schedule":false,"schedule_rules":[],"btn_type":"one_button","swap_inputs":0}],"night_mode":{"enabled":0, "start_time":"00:00", "end_time":"00:00", "brightness":0}}' code: 'OK/OK' '' Dec-03 1:08:00 PM AK Shelly [742]: shellydimmer (SHDM-1): *** {"device":{"type":"SHDM-1","mac":"CC50E3F3A91D","hostname":"shellydimmer-F3A91D","num_outputs":1,"num_meters":1},"wifi_ap":{"enabled" :false,"ssid":"shellydimmer-F3A91D","key":""},"wifi_sta":{"enabled":true,"ssid":"Karoo Springs","ipv4_method":"dhcp","ip":null,"gw":null,"mask":nul l,"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": "shellydimmer-F3A91D","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,"unpro tected":false,"username":"admin","password":"admin"},"pin_co de":"4(kQPl","name":"","fw":"20191127-095929/v1.5.6@0d769d69","build_info":{"build_id":"20191127-095929/v1.5.6@0d769d69","build_timestamp":"2019-11-27T09:59:29Z","build_version":"1.0"},"cloud":{"enabled":true ,"connected":true},"timezone":"Australia/Brisbane","lat":-27.471001,"lng":153.022995,"tzautodetect":true,"time":"15:08 ","hwinfo":{"hw_revision":"dev-prototype","batch_id":0},"mode":"white","pulse_mode":1,"cali brated":true,"transition":1000,"fade_rate":3,"lights":[{"name":"","ison":true,"default_state":"off","auto_on":0.00, "auto_off":0.00,"btn1_on_url":"","btn1_off_url":"","btn2_on_ url":"","btn2_off_url":"","out_on_url":"","out_off_url":""," schedule":false,"schedule_rules":[],"btn_type":"one_button","swap_inputs":0}],"night_mode":{"enabled":0, "start_time":"00:00", "end_time":"00:00", "brightness":0}} Dec-03 1:08:00 PM AK Shelly [742]: shellydimmer (SHDM-1): *** {"type":"SHDM-1","mac":"CC50E3F3A91D","auth":false,"fw":"20191127-095929/v1.5.6@0d769d69","num_outputs":1,"num_meters":1} Dec-03 1:08:00 PM AK Shelly [742]: shellydimmer (SHDM-1): Execute cmd: settings Dec-03 1:08:00 PM AK Shelly [742]: shellydimmer (SHDM-1): Execute cmd: shelly
Comment
-
Originally posted by santoal View PostI got the dimmer back. I've never setup a shelly device so not sure I'm doing it right. The dimmer is detected bu not working correctly
That's a good first step, I need the replies from the dimmer (which you posted above). Now I will update my code. I'll keep you posted.
Comment
-
Ok - I have green ticks now and status info appearing on shelly tab for root device. Dimmer control not working.
Log:
[744]: shellydimmer (SHDM-1): *** {"wifi_sta":{"connected":true,"ssid":"Karoo Springs","ip":"192.168.1.164","rssi":-47},"cloud":{"enabled":true,"connected":true},"mqtt":{"conne cted":false},"time":"01:44","serial":662,"has_update":false, "mac":"CC50E3F3A91D","lights":[{"ison":true,"mode":"white","brightness":34}],"meters":[{"power":0.00, "is_valid":true, "timestamp":1575423846,"counters":[0.059, 0.003, 0.002],"total":8}],"inputs":[{"input":0},{"input":0}],"tmp":{"tC":46.24,"tF":115.23, "is_valid":"true"},"calib_progress":0,"overtemperature": fals e,"loaderror":false,"overload":false,"update":{"status":"i dl e","has_update":false,"new_version":"20191127-095929/v1.5.6@0d769d69","old_version":"20191127-095929/v1.5.6@0d769d69"},"ram_total":39600,"ram_free":28224,"fs_siz e":233681,"fs_free":140560,"uptime":38968} [744]: shellydimmer (SHDM-1): Execute cmd: status
Comment
-
Originally posted by santoal View PostOk - I have green ticks now and status info appearing on shelly tab for root device. Dimmer control not working.
1. Implement receiving/displaing staus.
2. Implement cotrols
3. Implemet settings (optional, if required)
Comment
Comment