Beiträge von -Teme-

    you should use circuit breakers (fuses) before shelly

    ESP MCU's aren't good to roam from AP to AP (or wifi extender) so I have a bit doubt of that it's roam to extender, but especially when you have fixed IP in device you should be able to reach it if 3EM is connected to extender because then it's still in wifi and when router is back too everything work as should.
    you can test it removing extender and then reboot wifi AP to see if 3em operates as now

    I've used mqtt explorer to send some commands for gen1 devices

    Now when using gen2 devices I can't figure out how that mqtt topic & syntax is going for those devices

    topic for devices is shellies/test-pro4pm/rpc

    one of json variants what I have used:

    Code
    {
      "id": 1,
      "method":"Switch.Set",
      "params":{
        "id": 1,
        "on": true
      }
    }

    Appreciate help to know even one working json syntax

    I couldn't find an option to make scene based of Adc input level. Only option is below/above of Vdc and trigger then action

    My approach is to use UNI as input from 1-10V dimmer and send command to Shelly Dimmer2. For each 0.5Vdc change send command http://[shelly_ip]/light/0?dim=down&step=5 or dim=up&step=5

    Is that even possible with shelly firmware?

    Hello Tjb88

    How are you finding the Wifi range with this firmware I had four dimmer 2 devices that would drop connect with this firmware release, it affected every device in the course of about five weeks until I reverted back to the stable firmware.

    With the device behind a plaster wall and light switch, the quickest way to get them connected was to power cycle from the main breaker.

    Matt

    Do you mean to see wifi rssi value?

    http://192.168.xxx.xxx/status

    Code
    {"wifi_sta":{"connected":true,"ssid":"xxx","ip":"192.168.xxx.xxx","rssi":-60},

    if LAN settings are correctly entered, you should able to login to plug web interface using device ip address using another LAN device

    http://192.168.x.0/ where 198.168.x.x refer your device local lan IP

    If device is not reachable, then LAn settings are incorrect

    --------

    With (iPhone) App process goes

    1. plug shelly to network

    2. open shelly app, top right corner hamburger menu "add device", Add your wifi credentials, Add via = Wi-Fi & Select device to add or scroll down and select any, approve request to join shelly wi-fi
    3. Add Device option update details , Device Name, room & image

    4. wait a monent while device is booting and then it should appear to menu as Online

    By_minute values state power consumption for the last three minutes

    Zitat

    Energy consumption by minute (in Milliwatt-hours) for the last three minutes (the lower the index of the element in the array, the closer to the current moment the minute)

    Switch | Shelly Technical Documentation
    The Switch component handles a switch (relay) output terminal with optional power metering capabilities. It uses Switch as RPC namespace and provides the…
    shelly-api-docs.shelly.cloud

    what model your Unifi AP's are? If those are Unifi 6 -family, then problem most probably are in Unifi end

    Some reason some esp-based devices drop from Unifi 6 AP and go offline. After esp device reboot it stays connected for a while, but then drop again.

    There is no known fix for that Unifi problem.

    It didn't change anything. The value is in seconds, right?

    here's the output I got after running the API call

    I dont know if this is anymore valid, but mqtt is not enabled?

    When H&T is running with battery it woke and send update only when temperature is changing more than 1C (dont remember F value) or humidity is changing more than 5% units or periodically in every 12hours.

    Using external power source device will update temp & humidity in every 10 minutes or when temp/humidity changes 0.5C / 1%

    You can see from mqtt topic: shellies/[device_name]/sensor/act_reasons "periodic" or "sensor" depending which one was reason for update

    I do not recommend to select external power option if running with battery, using that battery will run dry in less than 2 week

    You can use switch node, connect input from what ever mqtt device - I have a shelly button1 giving commands

    Button1 can give 4(5) type of commands - those are S, SS, SSS and L which are single, double, triple and long push. Fifth type of command is blank and that's the one what we want to filter

    Create a switch node with 5 output, one for each command. Then wire output in a way how you like

    Entire flow is over complicated to perform simple tasks. I'm trying to keep my flows tidy:

    Button1 send command.

    Short push toggle lights.

    Double push toggle between 20% and 70% dimming

    Triple push reboot shelly (just in case) loop to toggle light after 10sec

    Long push set 100% brightness

    Empty message is not connected

    MQTT is used to read and send commands. node-red-contrib-shelly palette is used to read dimmer current status and function node to parse status and toggle command depending of current state

    pasted-from-clipboard.png


    full flow json is available from pastebin

    you need to modify device names & IP's


    Switch node:

    Hum i tried with the w32tm windows service and my Shelly didn't like it...

    No one has ever tried to setup a local ntp server ?

    I do have, running in a docker cturra/ntp - No experience of running NTP server in windows