Beiträge von martinarva

    I have several Shelly's around house. I have issue with one gen2 Plus 2PM.

    First of all i have set it up to use with home assitant and have choosen Lights as a Appliance Type. However entity in Home Assitant is still switch.
    Screenshot 2023-12-12 at 14.52.11.png
    I thougt firmware upgrade can help, but then occured that i cannot do firmware update. I see that update is available and if i click on it it just stays there for infinite time.
    Screenshot 2023-12-12 at 14.53.45.png

    Hi!

    I just installed Shelly 2.5 to my roller shutter. To be excact it's not a roller but pergola roof blinds like this:
    [Blockierte Grafik: https://image.made-in-china.com/2f0j00YozlOpbFkZky/Custom-Free-Standing-Waterproof-Aluminum-Sunshading-Motorized-Pergola-with-Roller-Blind-Zip-System-LED-Light-Gazebo-Pergola-with-Roof-Modern-Pergola.jpg]


    There is a Somfy motor. I don't know which model, because it's hidden in the frame. It came with a remote to control it.

    Wiring from the motor has 4 wires:
    Grey - Phase
    Blue - Neutral
    Black - Direction 1
    Brown - Direction 2

    I wired Shelly 2.5 outputs to Direction 1 and 2 and left the Grey (phase) connected around Shelly so that my remote workes.

    Probably due that 4 wire design I cannot do the calibration, because power to the motor is taking power from the phase wire and there is no power consumtion the direction wires.

    I still want to have position control, so my question is how can I achieve this?

    Is it possible to measure opening and closing time and just calculate position from there? Movement is linear and same on open and close.

    Other option is to somehow measure the phase wire power but i dont have an idea how to feed this information to shelly2.5.

    Somehow my Somfy Nina remote knows the position and it works pretty well. Here is manual, but did not find any calibration stuff from there. https://service.somfy.com/downloads/be_v…lnina_io_v3.pdf
    [Blockierte Grafik: https://www.vitadoors.ee/wp-content/uploads/2021/11/Somfy-Nina-timer-iO-1811407-6.jpg]

    I'd assume there's some kind of networking issue (firewall, missing gateway, different wifi network where client communication is disallowed) But this is just a guess..

    I have thought about that also, but i have no internal firewall in use, everything is in the same wifi network. I have Ubiquiti network infrastructure. Mosquitto is reachable. As I migrated Shelly Plug just few hours earlier with the same configuration in the same enviroment, It's unlikely that something in the nework changed. Also device web ui is accessible.

    I'll troubleshoot once again in the evening.

    Regarding Coap/ CoIoT: Have you tried to configure the Dimmer using Unicast instead of Multicast?

    pasted-from-clipboard.png

    Also: there's absolutely no need for both MQTT and CoIoT. I'd recommend to use either CoIoT OR MQTT, not both at the same time.

    Note: after changing those settings the Shelly need a Reboot.

    Yes, I used excact Home Assistant address and port. I tried only MQTT and only ColoT and both together. What's interesting is that other shelly's including Dimmer 2-s are working with the excact same configutation.

    Why aren't there any information about ColoT in debug log? I can only see that device cannot connect to Mosquitto (MQTT0 TCP connect error (-8)). As there are no log entries from Mosquito side, I suspect that outgoing connections don't work. Except the web UI, which seems to work.

    I'm supecting some defect on the device. I'll have few more dimmers waiting for to be installed and I try another unit. Probably would try some older firmware before that just to be sure.

    EDIT: Just to add, i tried factory reset as well.

    Hi! I Have around 20 shelly devices in my network including 8 Dimmer 2-s.

    Today I added one more Dimmer 2 to living room lights.

    Added wifi, device has now IP and I can access the web UI. Did firmware update to latest, calibration, and added the MQTT server and CoIoT as usual, but Home Assitant did not notify that new device has been found as usual.

    Neither is the device in my MQTT network.

    Turned on the debug log. There is no information about ColoT, but for MQTT there is a error:

    [script] [/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script]

    Code
    1297981689 mgos_mqtt_conn.c:472    MQTT0 connecting to 192.168.1.35:1883
    1304278091 mgos_mqtt_conn.c:230    MQTT0 TCP connect error (-8)
    1304285737 mgos_mqtt_conn.c:257    MQTT0 Disconnect
    1304352481 mgos_mqtt_conn.c:551    MQTT0 connecting after 64178 ms

    [script][script][script][script][script][script][script][script][script][script][script][script][script][script][/script]

    There is no log entries in Mosquitto for this particular Dimmer2.

    I have tried to reboot device, Mosquitto (MQTT) and Home assistant. Everything else is working. Other dimmer2-s with the same firmware are working. Mosquitto is working etc..

    I can ping the dimmer2 and web UI is working, so don't seem to be nework isssue. I'm out of ideas. Maybe a faulty device?


    [/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script]