Beiträge von victorhooi

    I have a Shelly Dimmer 2 currently running firmware 20220228-121849/v1.11.9_Dimmer_RC1-g84f0b8b.

    I have a mosquitto server setup, listening on the default port 1883.

    On the Shelly, I've gone into Internet & Security. By deafult, CoIoT is enabled, with the CoIoT Peer set to "mcast". I haven't edited those settings.

    I scrolled down to "Enable MQTT", and ticked this. I then set server to "<ip addres>:1883". I left the other settings at their default:

    Externer Inhalt i.imgur.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.

    The Shelly then prompts me to reboot, which I do. The device reboots. I go back into Internet & Security, and MQTT is still ticked as enabled.

    However, on my Mosquitto box - I have mosquitto_sub subscribed to all topics - and it's not getting any messages from the Shelly:

    Code
    victorhooi@mqtt:~$ mosquitto_sub -h localhost -t "#"

    I also used netstat to check for connections, and it's not seeing anything:

    Code
    victorhooi@mqtt:~$ sudo netstat -ntp | grep ESTABLISHED.*mosquitto
    tcp6       0      0 ::1:1883                ::1:41814               ESTABLISHED 2313/mosquitto
    tcp6       0      0 ::1:41814               ::1:1883                ESTABLISHED 3508/mosquitto_sub

    Is there anything wrong with the MQTT configuration above?

    Or any other way to troubleshoot why the Shelly device isn't sending through MQTT messages?

    I'm trying to wire up some dimmable LEDs to a Shelly Dimmer 2.

    The LED is a 9W dimmable model.

    However I seem to have a lot of issues with flickering, particularly at lower dimmer levels.

    This is how I've wired it up:

    • Power cord active goes to the middle "L" terminal on the Shelly Dimmer 2
    • LED dimmer active goes to the right-most "O" terminal on the Shelly Dimmer 2
    • Neutral from power cord and LED dimmer goes to a screw terminal, along with a short bridge conductor down to the "N" terminal on the Shelly Dimmer 2.

    Externer Inhalt preview.redd.it
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.

    This works well at 100% (i.e. not dimmed).

    I then did a calibration on the Shelly Dimmer 2.

    At 100%, there is no flickering. However, even at 50%, there is very noticeable flickering. 30% it's psychedelic.

    I then added a Shelly Bypass, wiring it in parallel on the output line:

    Externer Inhalt preview.redd.it
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.

    It no longer flickers at 50%, however, it still flickers at 30%.

    Question:

    1. In my case, I do have a neutral wire. But should I still be using the Shelly Bypass? (It does seem to make things better, but just wanted to confirm it was the correct thing to do).
    2. Does anybody have any tips on how to reduce the flickering? I do want to be able to use it at say 20% or 30% output, without flickering if possible.