Beiträge von possum

    Since the I3 does not provide the required actions to seamlessly use remote momentary buttons as though they are directly wired to the dimmer (specifically, the way long presses work)I decided to implement this myself using an Arduino ESP8266 Wemos Mini (necessity being the mother of invention)

    It works like a charm! I can make the code available if anyone else is interested.

    Here's the core code required to make it work (plus the usual wifi setup code) - its pretty simple to use and extend as I have made everything use classes - just connect your buttons to negative and the digital inputs you specify (D3 and 4 in the example below). Up to 6 buttons can be accommodated by 1 board. They operate as though directly wired to the dimmer.

    I have also written another class that controls any number of dimmers as a bank via MQTT

    #include <ShellyDimmer.h>

    #include <Pushbutton.h>

    longPressDelay = 800;

    debounce = 60;

    IPAddress hallway_ip(xxx,xxx,xxx, xxx);

    ShellyDimmer hallwayDimmer = ShellyDimmer("Hallway", hallway_ip, longPressDelay, debounce);

    ShellyDimmerUp pb1 = ShellyDimmerUp(&hallwayDimmer, "Hallway-Up", D3);

    ShellyDimmerDown pb2 = ShellyDimmerDown(&hallwayDimmer, "Hallway-Down", D4);

    void loop()

    {

    pb1.loop();

    pb2.loop();

    }

    "could be because few speak or write English here. In addition, we are all only buyers, this is not from the manufacturer itself."

    Classic business failure - We know what's best therefore we don't listen to the customer

    After actually playing with the I3 I can confirm it is impossible to get it to work with the Dimmer2 like a wired momentary button to control dimming.

    Even the hack I proposed above wont work because the Long Press action is only triggered AFTER the button is released (not when a long press begins).

    This would be easily solved by the I3 having both Long Press Start and Long Press Stop action (instead of only having a Long Press Stop action - but I guess the I3 and Dimmer2 teams don't talk to each other.

    Requested this seemingly obvious omission to be rectified but never heard anything back - looks like I will have to develop an I3 upgrade using an arduino.

    These functions are only not possible with Shelly [I3], but you can make a request and hope that Allterco will fulfill your wish:

    https://shelly.cloud/support/devices-and-features-requests/

    Actually, thinking about it further, it does indeed seem possible to "SEND A DIM STOP COMMAND after a LONG MOMENTARY PRESS ends ON A SHELLY I3" by configuring a spare I3 input as a switch and connecting it in parallel to a momentary input (thus also getting on and off actions). The input configured as a switch can then be programmed to send DIM STOP when the switch is off (momentary button released).

    Compatible 2 momentary button control of Shelly Dimmer 2 via I3 should therefore be possible by also wiring both momentaries to the spare I3 input configured as a switch - so long as sending both a DIM STOP and a TOGGLE command due to a short press doesn't stop the power from toggling....

    Sorry Olsche, I acknowledge that the dimmer supports the commands to do this, but simply repeating this fact in no way answers my question. which is:

    I wish to replicate the behavior of 2 momentary buttons directly wired to a Shelly dimmer by using 2 momentary buttons connected to a Shelly I3 - in particular: HOW DO I SEND A DIM STOP COMMAND after a LONG PRESS ends ON A SHELLY I3

    I use 2 momentary buttons to control Shelly dimmers, and I wish to add remote 2 momentary button control of one of the dimmers using a Shelly I3 and have them operating exactly the same as if they were physically connected.

    The Shelly dimmer exposes all the commands required to do this via the API (toggle power, begin dim up/down, stop dim) - however, according to the documentation, the I3 seems to be missing one action needed to implement standard 2 button operation of a dimmer:

    short press = toggle power

    long press = begin dim up/down (depending on whether it is the up or down button)

    but the Shelly I3 appears to have no 'stop long press' event required to cancel dimming in the same way as physically attached 2 button operation - or am I missing something?

    I use 2 momentary buttons to control Shelly dimmers, and I wish to add remote 2 momentary button control of one of the dimmers using a Shelly I3 and have them operating exactly the same as if they were physically connected.

    The Shelly dimmer exposes all the commands required to do this via the API (toggle power, begin dim up/down, stop dim) - however, according to the documentation, the I3 seems to be missing one action needed to implement standard 2 button operation of a dimmer:

    short press = toggle power

    long press = begin dim up/down (depending on whether it is the up or down button)

    but the Shelly I3 appears to have no 'stop long press' event required to cancel dimming in the same way as physically attached 2 button operation.

    Was full compatibility between an I3 and Dimmer not considered? Using different button presses from one switch to another controlling the same light isn't acceptable for me - or am I missing something?