[APP][Pro&Cloud] Shelly

I have found the bug causing the pairing wizard to fail. I have pushed the fix to GitHub, could you give it a swing and let me know how it goes.

Yes, I can connect shelly2.5 now. (As a shelly2.5 relay)
I can control Shelly 2.5 Relay1 and Shelly 2.5 Relay2.
I can see the power consumption per relay:
Screenshot_20190520-110437
(the two decimal figure is a bit overboard to my taste, but then again it is a trivial thing)

An other thing I noticed was when the shelly is disconnected from the powergrid Ă nd trying to control it via the athom app shelly, it gives a error in the log:
image

If it is by design, then it is all good then.

Finally. The errors are there because of debug logging. In production these won’t show like this. I’ll submit the changes to the app store this evening.

1 Like

:+1:

v1.7.0- 2019-05-20

  • NEW: add full support for Shelly 2.5 Relay with seperate driver
  • FIX: add extra check for Shelly 2(.5) rollershutter since the Shelly API allows rollershutter percentages above 100
1 Like

I get my new shelly 2.5. Added one as roller shutter, works but power meter only works in relay 1.

Did you add it as roller shutter or relay? You seem to be mixing them up. As far as I know there is no dual power measure when in roller shutter mode.

Yes, added as roller shutter.

When roller down homey reports 0w, but when up i can see 185w.

Is not important for me. Not use power meter of rollers in homey.

Hmm, I guess the documentation is not clear on this. I’ll see if I can fix it in a future release but I’ll be busy with other things the upcoming weeks.

No problem, is not important for me.

Hi Phutorist, regarding any Shelly products that you would like to test in the future. please send me a message. We have the complete productline available.

Regards,
Rob

3 Likes

Hi @Phuturist , you support the 1, but do you also support the 1PM? Only difference is the power metering I think. Thanks.

The Shelly 2.5 is already supported and does also have power metering so it must be possible.

I have asked Allterco to update the API documentation to include the Shelly PM1. They told me it will take them a couple of weeks before that is done. Without having this device it would be guessing on how they implemented the power measure. But if there is someone out there that already owns the Shelly PM1 and has some technical knowledge, please let me know. By using Postman it’s pretty easy to find out how they implemented this.

@Domotica_Shop_nl thank you for the offer, it’s mainly up to the community on which devices they would like to see supported. If I get stuck with the API documentation and really need a physical device I’ll be sure to contact you.

1 Like

@ Phuturist Thanks for the reply. Let us know whenever we can support you.

Shelly 1pm works adding it as shelly 1, only power meter not work.

1 Like

Bedoel je zoiets?

{
“wifi_sta”: {
“connected”: true,
“ssid”: “XXX”,
“ip”: “xx.xxx.xx.xxx”,
“rssi”: -61
},
“cloud”: {
“enabled”: true,
“connected”: true
},
“mqtt”: {
“connected”: false
},
“time”: “10:30”,
“serial”: 9,
“has_update”: false,
“mac”: “2462AB005E31”,
“relays”: [
{
“ison”: false,
“has_timer”: false,
“overpower”: false
}
],
“meters”: [
{
“power”: 0,
“is_valid”: true,
“timestamp”: 1558521059,
“counters”: [
0,
0,
0
],
“total”: 0
}
],
“temperature”: 40.46,
“overtemperature”: false,
“update”: {
“status”: “idle”,
“has_update”: false,
“new_version”: “20190423-080637/v1.4.9-switch1pm-hotfix4@f8c51629”,
“old_version”: “20190423-080637/v1.4.9-switch1pm-hotfix4@f8c51629”
},
“ram_total”: 50960,
“ram_free”: 37856,
“fs_size”: 233681,
“fs_free”: 174947,
“uptime”: 91409
}{
“wifi_sta”: {
“connected”: true,
“ssid”: “XXX”,
“ip”: “xx.xxx.xx.xxx”,
“rssi”: -61
},
“cloud”: {
“enabled”: true,
“connected”: true
},
“mqtt”: {
“connected”: false
},
“time”: “10:30”,
“serial”: 9,
“has_update”: false,
“mac”: “2462AB005E31”,
“relays”: [
{
“ison”: false,
“has_timer”: false,
“overpower”: false
}
],
“meters”: [
{
“power”: 0,
“is_valid”: true,
“timestamp”: 1558521059,
“counters”: [
0,
0,
0
],
“total”: 0
}
],
“temperature”: 40.46,
“overtemperature”: false,
“update”: {
“status”: “idle”,
“has_update”: false,
“new_version”: “20190423-080637/v1.4.9-switch1pm-hotfix4@f8c51629”,
“old_version”: “20190423-080637/v1.4.9-switch1pm-hotfix4@f8c51629”
},
“ram_total”: 50960,
“ram_free”: 37856,
“fs_size”: 233681,
“fs_free”: 174947,
“uptime”: 91409
}

Thanks for replies, I think i’ll order the 1PM’s. @Domotica_Shop_nl you just recieved an order for 4 1PM’s :wink:

1 Like

With load. the other readout was without a load attached to the Shelly 1PM

{
“wifi_sta”: {
“connected”: true,
“ssid”: “XXX”,
“ip”: “xx.xxx.xx.xxx”,
“rssi”: -58
},
“cloud”: {
“enabled”: true,
“connected”: true
},
“mqtt”: {
“connected”: false
},
“time”: “10:50”,
“serial”: 4,
“has_update”: false,
“mac”: “2462AB005E31”,
“relays”: [
{
“ison”: true,
“has_timer”: false,
“overpower”: false
}
],
“meters”: [
{
“power”: 1.47,
“is_valid”: true,
“timestamp”: 1558522203,
“counters”: [
42.178,
0,
0
],
“total”: 42
}
],
“temperature”: 27.32,
“overtemperature”: false,
“update”: {
“status”: “idle”,
“has_update”: false,
“new_version”: “20190423-080637/v1.4.9-switch1pm-hotfix4@f8c51629”,
“old_version”: “20190423-080637/v1.4.9-switch1pm-hotfix4@f8c51629”
},
“ram_total”: 50960,
“ram_free”: 37656,
“fs_size”: 233681,
“fs_free”: 174947,
“uptime”: 42
}

Thanx, that will do. I’ll add it when I have some time.