Shelly Dimmer 2

Posted on
Sat May 01, 2021 4:04 am
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Shelly Dimmer 2

Hi Karl,

Thanks for the plug in.

I've got a Shelly Dimmer 2 ( https://shelly.cloud/products/shelly-di ... ontroller/ ) that I am trying to add but get the error:

shellyDirect Error Line 2832 has error=u'shellydimmer2'
shellyDirect Warning ip# 10.0.5.30 can not create dev with type: shellydimmer2

I presume its because its not defined in your plugin? If so, could you let me know if you require anything specific from me for you to please add this device to the plugin?

Posted on
Sat May 01, 2021 6:21 am
kw123 offline
User avatar
Posts: 8374
Joined: May 12, 2013
Location: Dallas, TX

Re: Shelly Dimmer 2

I need to add that model to the plugin

I am busy this weekend. Will try early next week.
You could send me the output of

ip#/status
And
Ip#/settings

Using safari


Sent from my iPhone using Tapatalk

Posted on
Sat May 01, 2021 8:00 pm
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Shelly Dimmer 2

Thanks Karl.

This is from 'status':

Code: Select all
{"wifi_sta":{"connected":true,"ssid":"XXXX","ip":"10.0.5.30","rssi":-62},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"09:50","unixtime":1619920212,"serial":1345,"has_update":false,"mac":"XXXXXXXXXX","cfg_changed_cnt":12,"actions_stats":{"skipped":0},"lights":[{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":40}],"meters":[{"power":0.00,"overpower":0.00,"is_valid":true, "timestamp":1619949012,"counters":[0.000, 0.000, 0.000],"total":1908}],"inputs":[{"input":0,"event":"","event_cnt":10},{"input":0,"event":"","event_cnt":6}],"tmp":{"tC":47.14,"tF":116.85, "is_valid":true},"calibrated":true,"calib_progress":100,"calib_status":0,"calib_running":0,"wire_mode":0,"forced_neutral":false,"overtemperature":false,"loaderror":0,"overpower":false,"debug":0,"update":{"status":"idle","has_update":false,"new_version":"20210415-131442/v1.10.3-g23074d0","old_version":"20210415-131442/v1.10.3-g23074d0"},"ram_total":48216,"ram_free":35292,"fs_size":233681,"fs_free":118974,"uptime":66908}


This is from 'settings':

Code: Select all
{"device":{"type":"SHDM-2","mac":"XXXXXXXX","hostname":"shellydimmer2-XXXXXXX","num_inputs":2,"num_outputs":1,"num_meters":1},"wifi_ap":{"enabled":false,"ssid":"shellydimmer2-XXXXXXXX","key":""},"wifi_sta":{"enabled":true,"ssid":"XXXXXX","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},"ap_roaming":{"enabled":false,"threshold":-70},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellydimmer2-XXXXXXXX","reconnect_timeout_max":60.000000,"reconnect_timeout_min":2.000000,"clean_session":true,"keep_alive":60,"max_qos":0,"retain":false,"update_period":30},"coiot": {"enabled":true,"update_period":15,"peer":""},"sntp":{"server":"time.google.com","enabled":true},"login":{"enabled":false,"unprotected":false,"username":"admin"},"pin_code":"","name":"XXXXXXXX","fw":"20210415-131442/v1.10.3-g23074d0","factory_reset_from_switch":true,"discoverable":true,"build_info":{"build_id":"20210415-131442/v1.10.3-g23074d0","build_timestamp":"2021-04-15T13:14:42Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Australia/XXXXXX","lat":-XXXXXXX,"lng":XXXXXXX,"tzautodetect":false,"tz_utc_offset":28800,"tz_dst":false,"tz_dst_auto":false,"time":"09:53","unixtime":1619920407,"led_status_disable":false,"debug_enable":false,"allow_cross_origin":false,"actions":{"active":false,"names":["btn1_on_url","btn1_off_url","btn1_longpush_url","btn1_shortpush_url","btn2_on_url","btn2_off_url","btn2_longpush_url","btn2_shortpush_url","out_on_url","out_off_url"]},"hwinfo":{"hw_revision":"prod-20200629","batch_id":1},"mode":"white","pulse_mode":2,"pulse_mode_detected":1,"pulse_mode_rebooted":0,"load_autodetect":1,"calibrated":true,"transition":1000,"fade_rate":3,"min_brightness":0,"zcross_debounce":100,"bypass":false,"lights":[{"name":"","ison":false,"default_state":"last","auto_on":0.00,"auto_off":0.00,"schedule":false,"schedule_rules":[],"btn_type":"dual_button","btn_debounce":80,"swap_inputs":0}],"night_mode":{"enabled":false, "start_time":"00:00", "end_time":"00:00", "brightness":0},"warm_up": {"enabled":0, "brightness":100, "time":50}}

Posted on
Sat May 01, 2021 8:01 pm
kw123 offline
User avatar
Posts: 8374
Joined: May 12, 2013
Location: Dallas, TX

Re: Shelly Dimmer 2

Ok, the name is dimmer2. Not dimmer

The functionality looks the same. That should be easy.


Sent from my iPhone using Tapatalk

Posted on
Sat May 01, 2021 10:18 pm
kw123 offline
User avatar
Posts: 8374
Joined: May 12, 2013
Location: Dallas, TX

Re: Shelly Dimmer 2

try version 7.14.35

preliminary support for dimmer2 devices

Karl

Posted on
Sun May 02, 2021 3:48 am
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Shelly Dimmer 2

Seems to be working fine so far.

Thanks for the quick update.

Page 1 of 1

Who is online

Users browsing this forum: zoff and 1 guest