Shelly Dimmer 2 Flickering at Higher %, Turns off at 100%

  • So this one seems a little different to some of the other flickering issues I have read.

    I have installed the dimmer to a single switch as shown in the diagram.

    Wiring Diagram.jpeg

    O to Bulb

    L input from Mains

    L output to Wago which connects to the light switch, and a live to a 2pin socket that is under the switch (have attached a picture of the switch where you can see the socket that is being powered). Nothing is ever connected to the 2pin socket for power.

    Switch Location.jpeg

    SW1 connected to the light switch.

    No neutral connected (no N wire present in wall)

    No bypass connected

    The switch is connected to a 6 bulb lamp in the ceiling (connected via a DCL, I live in Sweden). I have 6, E27 6W LED (dimmable) bulbs connected to the "chandelier".

    All app functions work as well as the physical switch as expected.

    Lights turn off completely/no flickering etc when light switch is off or app set to off

    However, when I increase the brightness of the bulbs past around 25-30% I start to see intermittent flickering. The bulbs dim slightly then go back up to set brightness. This happens every so often (5mins or so). As the brightness increases the time between flickering decreases/gets more frequent. When I get to 100% the bulbs essentially begins flashing, the app and light switch become unresponsive. After around 5 seconds the lights turn off. I have to wait a further 5 seconds or so until everything becomes responsive and I can use the light switch or app again.

    Below is a capture of the log when I turn it up to 100% and it becomes unresponsive. As well as settings and status. The bulbs have been calibrated (no bypass) via the web GUI.

    Status


    Code
    {"wifi_sta":{"connected":true,"ssid":"VIRGINMEDIA_wifi","ip":"192.168.1.33","rssi":-49},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"11:30","unixtime":1638527445,"serial":56,"has_update":false,"mac":"C45BBE56DE28","cfg_changed_cnt":1,"actions_stats":{"skipped":0},"lights":[{"ison":false,"source":"input","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":17,"transition":0}],"meters":[{"power":0.00,"overpower":0.00,"is_valid":true, "timestamp":1638531045,"counters":[0.000, 0.000, 0.000],"total":3095}],"inputs":[{"input":1,"event":"","event_cnt":6},{"input":0,"event":"","event_cnt":0}],"tmp":{"tC":46.73,"tF":116.11, "is_valid":true},"calibrated":true,"calib_progress":0,"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":"20211109-131033/v1.11.7-g682a0db","old_version":"20211109-131033/v1.11.7-g682a0db"},"ram_total":48864,"ram_free":35888,"fs_size":233681,"fs_free":118221,"uptime":137686}

    Settings


    Code
    {"device":{"type":"SHDM-2","mac":"C45BBE56DE28","hostname":"shellydimmer2-C45BBE56DE28","num_inputs":2,"num_outputs":1,"num_meters":1},"wifi_ap":{"enabled":false,"ssid":"shellydimmer2-C45BBE56DE28","key":""},"wifi_sta":{"enabled":true,"ssid":"VIRGINMEDIA_wifi","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-C45BBE56DE28","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":"Kitchen Light","fw":"20211109-131033/v1.11.7-g682a0db","factory_reset_from_switch":true,"discoverable":true,"build_info":{"build_id":"20211109-131033/v1.11.7-g682a0db","build_timestamp":"2021-11-09T13:10:33Z","build_version":"1.0"},"cloud":{"enabled":false,"connected":false},"timezone":"Europe/Stockholm","lat":55.601608,"lng":13.001000,"tzautodetect":true,"tz_utc_offset":3600,"tz_dst":false,"tz_dst_auto":true,"time":"11:31","unixtime":1638527463,"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-2021-02","batch_id":0},"mode":"white","pulse_mode":2,"pulse_mode_detected":1,"pulse_mode_rebooted":0,"load_autodetect":1,"calibrated":true,"transition":3000,"fade_rate":3,"min_brightness":0,"zcross_debounce":100,"bypass":false,"lights":[{"name":"","ison":false,"default_state":"off","auto_on":0.00,"auto_off":0.00,"schedule":false,"schedule_rules":[],"btn_type":"edge","btn_debounce":80,"swap_inputs":0}],"night_mode":{"enabled":false, "start_time":"16:00", "end_time":"06:30", "brightness":10},"warm_up": {"enabled":0, "brightness":100, "time":50}}

    Debug

    Code
    8781590543:1638617574176647 mgos_sys_config.c:174 Saved to conf9.json 8781641882 mgos_http_server.c:180 0x3fff2d0c HTTP connection from 192.168.1.17:56834 8782989347 stmuart.c:248 enqueuing command 10 8782993646 stmuart.c:351 uart_send: 62 16 0 bytes 8783004125 dimmer_proto.c:192 error[0] pulses[24] power[0.00] dchi[0] status[8000] debug[0] 8784696269 mgos_http_server.c:180 0x3fff2dc4 HTTP connection from 192.168.1.17:56835 8784714190 json.c:420 RAM: 48864 total, 34808 free 8784989560 stmuart.c:248 enqueuing command 10 8784993878 stmuart.c:351 uart_send: 63 16 0 bytes 8785003696 dimmer_proto.c:192 error[0] pulses[25] power[0.00] dchi[0] status[8000] debug[0] 8785996703 mgos_http_server.c:180 0x3fff2aa4 HTTP connection from 192.168.1.17:56836 8786005697 stmuart.c:248 enqueuing command 03 8786009989 stmuart.c:351 uart_send: 64 3 6 bytes 8786022124 dimmer_proto.c:47 STU: Got answer from command: 03 8786034872 mgos_http_server.c:180 0x3fff2e3c HTTP connection from 192.168.1.17:56837 8786053706 json.c:420 RAM: 48864 total, 34904 free 8786989472 stmuart.c:248 enqueuing command 10 8786993788 stmuart.c:351 uart_send: 65 16 0 bytes 8787008782 dimmer_proto.c:192 error[0] pulses[255] power[12.83] dchi[0] status[8000] debug[0] 8787867937 shelly_sntp.c:433 minute tick at 12:33:00 8788989481 stmuart.c:248 enqueuing command 10 8788993800 stmuart.c:351 uart_send: 66 16 0 bytes 8789004876 dimmer_proto.c:192 error[0] pulses[656] power[33.00] dchi[0] status[8000] debug[0]

    Hope someone can help shed light on this (no pun intended)!

    Thanks!

  • How do you increase the brightness? Through the UI, or through the physical switch? What kind of switch do you have installed?

    Brightness is only done via the app (UI).
    The switch is the red highlighted one in the picture. Your regular old "rocker" switch. One position for off, one position for on.

    Set as Edge in Shelly so I can just press it and have it turn on or off regardless of actual position of physical switch.