[APP][Pro&Cloud] Shelly

I need it as text, preferably posted in a code block. I cant use these images to diagnose.

so okay?

{"device":{"type":"SHSW-1","mac":"98CDAC0C111F","hostname":"shelly1-98CDAC0C111F","num_outputs":1},"wifi_ap":{"enabled":false,"ssid":"shelly1-98CDAC0C111F","key":""},"wifi_sta":{"enabled":true,"ssid":"hauser.smart","ipv4_method":"static","ip":"192.168.50.172","gw":"192.168.50.1","mask":"255.255.254.0","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":"shelly1-98CDAC0C111F","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":null,"fw":"20221027-091427/v1.12.1-ga9117d3","factory_reset_from_switch":true,"discoverable":false,"build_info":{"build_id":"20221027-091427/v1.12.1-ga9117d3","build_timestamp":"2022-10-27T09:14:27Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":52.516041,"lng":13.376910,"tzautodetect":true,"tz_utc_offset":3600,"tz_dst":false,"tz_dst_auto":true,"time":"08:25","unixtime":1675409144,"debug_enable":false,"allow_cross_origin":true,"ext_switch_enable":false,"ext_switch_reverse":false,"ext_switch":{"0":{"relay_num":-1}},"actions":{"active":false,"names":["btn_on_url","btn_off_url","longpush_url","shortpush_url","out_on_url","out_off_url","lp_on_url","lp_off_url","report_url","report_url","report_url","ext_temp_over_url","ext_temp_under_url","ext_temp_over_url","ext_temp_under_url","ext_temp_over_url","ext_temp_under_url","ext_hum_over_url","ext_hum_under_url"]},"hwinfo":{"hw_revision":"prod-191217", "batch_id":1},"mode" :"relay","longpush_time":800,"relays":[{"name":null,"appliance_type":"General","ison":false,"has_timer":false,"default_state":"switch","btn_type":"toggle","btn_reverse":0,"auto_on":0.00,"auto_off":0.00,"power":0.00,"schedule":false,"schedule_rules":[]}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"eco_mode_enabled":true}

I see you have the enabled the CoIoT setting but the CoIoT peer settings field is empty. Disable the CoIoT through the Web Ui of the device and try paring it again in Homey. If it still times out, please send me a diagnostic report afterwards.

I had the same with adding a Shelly 1PM plus!! But out of total frustration of trying everything I was clicking multiple times in the middle on the white ‘select icon’ screen (Homey web app in the browser), and suddenly my Shelly 1PM Plus was added!

I’ll try it next time, it seems to be the most efficient method so far :wink:

leider besteht das Problem weiter


Neuer Bericht:“B9BE4A69”

Shelly:

{"device":{"type":"SHSW-1","mac":"98CDAC0C111F","hostname":"shelly1-98CDAC0C111F","num_outputs":1},"wifi_ap":{"enabled":false,"ssid":"shelly1-98CDAC0C111F","key":""},"wifi_sta":{"enabled":true,"ssid":"hauser.smart","ipv4_method":"static","ip":"192.168.50.172","gw":"192.168.50.1","mask":"255.255.254.0","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":"shelly1-98CDAC0C111F","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":false,"update_period":15,"peer":""},"sntp":{"server":"time.google.com","enabled":true},"login":{"enabled":false,"unprotected":false,"username":"admin"},"pin_code":"","name":null,"fw":"20221027-091427/v1.12.1-ga9117d3","factory_reset_from_switch":true,"discoverable":false,"build_info":{"build_id":"20221027-091427/v1.12.1-ga9117d3","build_timestamp":"2022-10-27T09:14:27Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":52.516041,"lng":13.376910,"tzautodetect":true,"tz_utc_offset":3600,"tz_dst":false,"tz_dst_auto":true,"time":"12:43","unixtime":1675424622,"debug_enable":false,"allow_cross_origin":true,"ext_switch_enable":false,"ext_switch_reverse":false,"ext_switch":{"0":{"relay_num":-1}},"actions":{"active":false,"names":["btn_on_url","btn_off_url","longpush_url","shortpush_url","out_on_url","out_off_url","lp_on_url","lp_off_url","report_url","report_url","report_url","ext_temp_over_url","ext_temp_under_url","ext_temp_over_url","ext_temp_under_url","ext_temp_over_url","ext_temp_under_url","ext_hum_over_url","ext_hum_under_url"]},"hwinfo":{"hw_revision":"prod-191217", "batch_id":1},"mode" :"relay","longpush_time":800,"relays":[{"name":null,"appliance_type":"General","ison":false,"has_timer":false,"default_state":"switch","btn_type":"toggle","btn_reverse":0,"auto_on":0.00,"auto_off":0.00,"power":0.00,"schedule":false,"schedule_rules":[]}],"ext_sensors"![:{}](upload://33X5bBiUy7oSzxezfPuKO59daxP.png "Kuss"),"ext_temperature"![:{}](upload://33X5bBiUy7oSzxezfPuKO59daxP.png "Kuss"),"ext_humidity"![:{}](upload://33X5bBiUy7oSzxezfPuKO59daxP.png "Kuss"),"eco_mode_enabled":true}

This is not a apps diagnostic report and does not end up in my mailbox. You need to send it from the app settings.,

Could you try the following. Acces the Web Ui of the device. Enable CoIoT and as CoIoT add the following yourhomeyip:5683 where you replace yourhomeyip with the actual IP address of your Homey. Then try to pair again.

As mentioned as response to your diagnostic report. Your network or Homey’s networking stack seems to be a mess. There are numerous unreachable errors and timeouts in the log, nothing related to the pairing though but it does not suprise me you are having issues. You also seem to have disabled CoAp traffic from the app settings. Unless you really know what you are doing this is not a good plan, make sure the checkbox is ticked. With the suiggestion above and the suggestion to look into your network there is nothing more I can do for you. This is not an issue with the code.

I have installed a PlusAddon with 5 DS18B20 sensors.
In the device I see all 5 but in Homey I only see 3.
What do I wrong or is this an bug?

Yes, it’s a bug which I’ll fix soon. It was already on the to-do list but didnt think many users would connect up to 5 sensors. :smiley:

Oke i will wait, thanks for the quick response.

Just a noob question, can I install Shelly cloud on a Homey Pro?

I have a shelly at a remote house which I want to monitor. Is there a way to do this?

I used a (free) Homey cloud account before, but now logic is not available anymore for free

Nope, not possible (at the moment).

Hello, I am a French user of your application. She is awesome.
I am installing shelly 2PM. With version 3.17.0 I was stuck at the “select icons” step, then with version 3.17.1 it worked perfectly
 and with version 3.17.2 I have the problem again. Yet the firmware is up to date on the new module


Could this be related to the update? Or should I continue to dig on my side?

Thank you again for your work

Can you post the output from http://yourshellyip/settings in a code block here?

is that what you want next? (I just anonymized the wifi location and name)

{
  "deviceInfo": {
    "name": "XXXXX",
    "id": "shellyplus2pm-441793ad00ec",
    "mac": "441793AD00EC",
    "key": "eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NTYxNTM2NjUsIm1hYyI6IjQ0MTc5M0FEMDBFQyIsIm0iOiJTTlNXLTEwMlAxNkVVIiwiYiI6IjIyMjEtQnJvYWR3ZWxsIiwiZnAiOiIwNzYzZGRhMiJ9.p1p35n3u_aob0ZENmawgoM_zU2urhdM17U4QIdf8agLbBztBz-tuHlMpmI2LVCadQNiPSgsPzTiQgtRL-TnkcAsoki26HCYcfLMt3S5mBeJ4mURuBbmWVv0LyD0UhdbP",
    "batch": "2221-Broadwell",
    "fw_sbits": "00",
    "model": "SNSW-102P16EU",
    "gen": 2,
    "fw_id": "20230202-152433/0.13.0-beta3-g6e7ec69",
    "ver": "0.13.0-beta3",
    "app": "Plus2PM",
    "auth_en": true,
    "auth_domain": "shellyplus2pm-441793ad00ec",
    "profile": "cover"
  },
  "status": {
    "sys": {
      "mac": "441793AD00EC",
      "restart_required": false,
      "time": "19:55",
      "unixtime": 1675796141,
      "uptime": 138,
      "ram_size": 233184,
      "ram_free": 151756,
      "fs_size": 458752,
      "fs_free": 94208,
      "cfg_rev": 21,
      "kvs_rev": 0,
      "schedule_rev": 1,
      "webhook_rev": 1,
      "available_updates": {
        "stable": {
          "version": "0.12.0"
        }
      }
    },
    "jobs": [],
    "timezones": [],
    "geolocation": {},
    "hooks": [],
    "wifi": {
      "scan": {
        "results": []
      },
      "listapclients": {
        "results": []
      },
      "sta_ip": "192.168.86.61",
      "status": "got ip",
      "ssid": "XXXXXX",
      "rssi": -38
    },
    "ble": {},
    "cloud": {
      "connected": true
    },
    "cover:0": {
      "id": 0,
      "source": "init",
      "state": "closed",
      "apower": 0,
      "voltage": 223.1,
      "current": 0,
      "pf": 0,
      "aenergy": {
        "total": 1.388,
        "by_minute": [
          0,
          0,
          0
        ],
        "minute_ts": 1675796159
      },
      "temperature": {
        "tC": 52.9,
        "tF": 127.3
      },
      "pos_control": true,
      "current_pos": 0
    },
    "input:0": {
      "id": 0,
      "state": null
    },
    "input:1": {
      "id": 1,
      "state": null
    },
    "mqtt": {
      "connected": false
    },
    "ws": {
      "connected": false
    },
    "rev": 1
  },
  "config": {
    "sys": {
      "device": {
        "name": "Volet séjour gauche",
        "mac": "441793AD00EC",
        "fw_id": "20230202-152433/0.13.0-beta3-g6e7ec69",
        "discoverable": true,
        "eco_mode": false,
        "profile": "cover",
        "addon_type": null
      },
      "location": {
        "tz": "Europe/Paris",
        "lat": XX.XXXXX.,
        "lon": X.XXXXX
      },
      "debug": {
        "mqtt": {
          "enable": false
        },
        "websocket": {
          "enable": false
        },
        "udp": {
          "addr": null
        }
      },
      "ui_data": {},
      "rpc_udp": {
        "dst_addr": null,
        "listen_port": null
      },
      "sntp": {
        "server": "time.google.com"
      },
      "cfg_rev": 21
    },
    "cloud": {
      "enable": true,
      "server": "shelly-63-eu.shelly.cloud:6022/jrpc"
    },
    "ble": {
      "enable": false,
      "rpc": {
        "enable": true
      }
    },
    "mqtt": {
      "enable": false,
      "server": null,
      "client_id": "shellyplus2pm-441793ad00ec",
      "user": null,
      "topic_prefix": "shellyplus2pm-441793ad00ec",
      "rpc_ntf": true,
      "status_ntf": false,
      "use_client_cert": false
    },
    "ws": {
      "enable": false,
      "server": null,
      "ssl_ca": "ca.pem"
    },
    "cover:0": {
      "id": 0,
      "name": "sejour_gauche",
      "motor": {
        "idle_power_thr": 2,
        "idle_confirm_period": 0.25
      },
      "maxtime_open": 60,
      "maxtime_close": 60,
      "initial_state": "stopped",
      "invert_directions": true,
      "in_mode": "dual",
      "swap_inputs": true,
      "safety_switch": {
        "enable": false,
        "direction": "both",
        "action": "stop",
        "allowed_move": null
      },
      "power_limit": 2800,
      "voltage_limit": 280,
      "undervoltage_limit": 0,
      "current_limit": 10,
      "obstruction_detection": {
        "enable": true,
        "direction": "both",
        "action": "stop",
        "power_thr": 109,
        "holdoff": 1
      }
    },
    "input:0": {
      "id": 0,
      "name": null,
      "type": "button",
      "invert": false,
      "factory_reset": true
    },
    "input:1": {
      "id": 1,
      "name": null,
      "type": "button",
      "invert": false,
      "factory_reset": true
    },
    "wifi": {
      "ap": {
        "ssid": "ShellyPlus2PM-441793AD00EC",
        "is_open": true,
        "enable": false,
        "range_extender": {
          "enable": false
        }
      },
      "sta": {
        "ssid": "XXXXX",
        "is_open": false,
        "enable": true,
        "ipv4mode": "dhcp",
        "ip": null,
        "netmask": null,
        "gw": null,
        "nameserver": null
      },
      "sta1": {
        "ssid": null,
        "is_open": true,
        "enable": false,
        "ipv4mode": "dhcp",
        "ip": null,
        "netmask": null,
        "gw": null,
        "nameserver": null
      },
      "roam": {
        "rssi_thr": -80,
        "interval": 60
      }
    }
  },
  "schedule": {
    "jobs": [],
    "rev": 1
  },
  "hook": {
    "hooks": [],
    "rev": 1
  }
}

Could you test something for me and try it with authentication disabled to see if that works.

I disabled authentication, rebooted shelly then tried to integrate it into homey. It always blocks at the “select icon” page.
Is this what you want me to test?

Can you send me a diagnostic report from the app settings after trying to pair.