[APP][Pro&Cloud] Shelly

I have completely rebuild the Shelly 4 Pro and Shelly 2 Relay driver to have seperate devices for each channel. This update will break current support for these devices. You will need to re-pair and rebuild your flows. As this is a major update and I dont have the Shelly 4 Pro it needs to be thorougly tested. Could you please install the version below and let me know the outcome.

Thanks for confirming!

I have another question - can anyone confirm if the shelly 2 (or 2.5) is potential free?
I have a use case where having two switches necessary so can either use 2 Shelly 1 or possibly a single Shelly 2 but must be potential free!!

Thanks

No, only shelly 1 (not 1PM) have a free relay. You must use 2 shelly 1.

1 Like

As I feared - glad I checked!!

Anyone having had problems with Shelly 2.5? TBH I suspect the two I have come from a bad batch, both show different kinds of issues, but there seems to be some relation to Homey which is why I ask here.
One of them just drops off the WiFi completely at random intervals, even when installed within 2m from the router, other times the web interface goes unresponsive but everything else is OK.
The other Shelly 2.5 is more intriguing. If I install it, configure WiFi client but only use buttons or the web interface to operate it, everything is fine. But if I set it up in Homey then both outputs will suddenly switch off briefly at irregular intervals. I tried increasing the polling interval in Homey to 30s and that seemed to help at first, but this morning it was back, happened three times in two hours.
I’m fairly certain this is due to the Shelly “rebooting” as it momentarily gets a red triangle in the Homey app and in Insigths I can also se that the energy meter (kWh) is reset. I have a 25W bulb on one channel and a 2W bulb on the other, so overload it isn’t.
Anyone recognize this?

@Erik_Z1 can you please confirm this.

v1.16.1 - 2020-02-17

  • BREAKING CHANGES: complete overhaul of the Shelly 2 Relay and Shelly 4 Pro drivers to split them into seperate devices for each channel without polling the device for each channel. This will break current support for these drivers. You will need to re-pair your devices and fix your flows. Sorry for any inconvenience.
  • Also added support for the temperature add-on for the Shelly 1 and Shelly 1PM.

Ich have Trouble with my Shelly 1 since Last (Automatic) Update this morning. Device unreachable within Homey. Origin Shelly app Works. Homey reboot does Not Help.

If you are the one who sent the crash report, it seems Homey cant reach the IP address. Perhaps your Shelly was assigned a different IP and you need to update your device config.

2020-02-17 17:43:12 [log] [ManagerDrivers] [shelly1] [0] { FetchError: request to http://192.168.178.71/status failed, reason: connect EHOSTUNREACH [192.168.178.71:80](http://192.168.178.71/) at ClientRequest. (/node_modules/node-fetch/lib/index.js:1455:11) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at Socket.socketErrorListener (_http_client.js:401:9) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at emitErrorNT (internal/streams/destroy.js:66:8) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) message: 'request to http://192.168.178.71/status failed, reason: connect EHOSTUNREACH [192.168.178.71:80](http://192.168.178.71/)', type: 'system', errno: 'EHOSTUNREACH', code: 'EHOSTUNREACH' }

Hi, yes i was the one. I die a Shelly Firmware Update anderen now everything Works again. Thank you

Hi @Phuturist!

After the update I tried to add my 3 Shelly 2 again, but it gives me a timeout and blank screen error after selecting the device’s ip.

Four shelly 2.5 devices also appear on the shelly 2 relay list.

Tried restart app and homey without luck.

There seems to be a strange bug which effects some people which I have been unable to track. It’s related to Shellies that have our had authentication enabled. Could you send me the output of these devices from http://shellyip/status. I’ll create a debug version of the app for you to run this evening.

Hmmm, I filter for device names starting with shelly2. This includes the shelly 2.5. I’ll think about how to filter out these devices as well.

@Phuturist,

Here is the log, the log of the other devices is the same:


{“wifi_sta”:{“connected”:true,“ssid”:“ubiquiti”,“ip”:“192.168.1.110”,“rssi”:-47},“cloud”:{“enabled”:true,“connected”:true},“mqtt”:{“connected”:false},“time”:“09:39”,“serial”:651,“has_update”:false,“mac”:“XXXXXXXXXXX”,“relays”:[{“ison”:false,“has_timer”:false,“overpower”:false,“is_valid”:true},{“ison”:false,“has_timer”:false,“overpower”:false,“is_valid”:true}],“rollers”:[{“state”:“stop”,“power”:0.00,“is_valid”:true,“safety_switch”:false,“stop_reason”:“normal”,“last_direction”:“stop”,“current_pos”:100,“calibrating”:false,“positioning”:true}],“meters”:[{“power”:0.00,“current”:1.00,“voltage”:14.00,“is_valid”:true,“timestamp”:1582018783,“counters”:[0.000, 0.000, 0.000],“total”:48970}],“inputs”:[{“input”:0},{“input”:1}],“update”:{“status”:“idle”,“has_update”:false,“new_version”:“20191216-090122/v1.5.7@c30657ba”,“old_version”:“20191216-090122/v1.5.7@c30657ba”},“ram_total”:50216,“ram_free”:35872,“fs_size”:233681,“fs_free”:159636,“voltage”:14.19,“uptime”:5213777}

I don’t have authentication enabled

Thanks!

Sorry, I need the output from http://shellyip/shelly .

{“type”:“SHSW-21”,“mac”:“XXXXXXXXXXCC”,“auth”:false,“fw”:“20191216-090122/v1.5.7@c30657ba”,“num_outputs”:2, “num_meters”:1, “num_rollers”:1}

I love the Shelly devices and have now replaced 8 Z-Wave devices with Shelly.

The topic with the detection of Shelly devices in the Shelly app has already been covered above. But I have the same problem. Currently I have the 8 Shelly devices (1 x 1, 4 x 2.5, 1 x HT, 1 x Dimmer and 1 x RGBW2) correctly in the WLAN and in the Shelly App.
I could add one Shelly 1 and two Shelly 2.5 without any problems. But it does not recognize the other devices. The 2.5 always shows the already added devices.

Restarting the ball did not help.

Could you run this debug version from command line and try to pair your Shelly 2 or Shelly 2.5 devices and let me know the output from the console. It also should not show Shelly 2.5 devices under Shelly 2 pairing wizard anymore.

https://github.com/jghaanstra/cloud.shelly/tree/debug

@Morepower, if you do not know how to run the app from the command line, please view here: [HOW TO] CLI install method

I confirm that I have already managed to add my shelly 2 without any problem, and the shelly 2.5 no longer appears on the list.

Thanks

Hi!
Are there any plans for adding support for the new 3EM device?
I realize that it’s a new device so factoring for it may take some time. Just curious if it’s in the plans? :slight_smile: