[APP][Pro&Cloud] Shelly

LIKE :wink: Thank you for your efforts with a rookie…

Thank you, that worked :smiley:

Awesome!

I still need help with this, anyone?

Hi, i like to help, but i’m not allowed to send you a PM :wink:

Regards,
Pieter

Post it here on the forum, not much sensitive data in there.

Continuing the discussion from [APP] Shelly:

Hoi Jelger,
Ben nog een beetje nieuw alhier, maar volgens mij vroeg je dit :wink:

Is dit de juiste vorm? Ik heb nog een paar shelly devices uit je lijst waarmee ik je kan helpen.

Groets,
Pieter

3EM
/shelly
{“type”:“SHEM-3”,“mac”:“D8BFC01A8327”,“auth”:false,“fw”:“20201124-092854/v1.9.0@57ac4ad8”,“longid”:1,“num_outputs”:1,“num_meters”:0,“num_emeters”:3,“report_period”:1}

/status

{"wifi_sta":{"connected":true,"ssid":"IoT","ip":"172.17.0.112","rssi":-36},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"10:50","unixtime":1615287024,"serial":2175,"has_update":false,"mac":"D8BFC01A8327","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":true,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"is_valid":true,"source":"input"}],"emeters":[{"power":221.84,"pf":0.92,"current":1.05,"voltage":229.46,"is_valid":true,"total":530981.1,"total_returned":5098.5},{"power":258.09,"pf":0.72,"current":1.56,"voltage":229.53,"is_valid":true,"total":1277422.6,"total_returned":189.2},{"power":359.41,"pf":0.86,"current":1.82,"voltage":229.50,"is_valid":true,"total":1215868.4,"total_returned":15.8}],"fs_mounted":true,"update":{"status":"idle","has_update":false,"new_version":"20201124-092854/v1.9.0@57ac4ad8","old_version":"20201124-092854/v1.9.0@57ac4ad8","beta_version":"20210122-155800/v1.10.0-rc1@00eeaa9b"},"ram_total":49296,"ram_free":31268,"fs_size":233681,"fs_free":151353,"uptime":47724}

/settings

{"device":{"type":"SHEM-3","mac":"D8BFC01A8327","hostname":"shellyem3-D8BFC01A8327","num_outputs":1,"num_meters":0,"num_emeters":3,"report_period":1},"wifi_ap":{"enabled":false,"ssid":"shellyem3-D8BFC01A8327","key":""},"wifi_sta":{"enabled":true,"ssid":"IoT","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellyem3-D8BFC01A8327","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": {"update_period":15},"sntp":{"server":"time.google.com","enabled":true},"login":{"enabled":false,"unprotected":false,"username":"admin"},"pin_code":"","name":"Stroommeter meterkast","fw":"20201124-092854/v1.9.0@57ac4ad8","discoverable":true,"build_info":{"build_id":"20201124-092854/v1.9.0@57ac4ad8","build_timestamp":"2020-11-24T09:28:54Z","build_version":"1.0"},"cloud":{"enabled":false,"connected":false},"timezone":"Europe/Amsterdam","lat":52.379501,"lng":5.226530,"tzautodetect":true,"tz_utc_offset":3600,"tz_dst":true,"tz_dst_auto":true,"time":"10:50","unixtime":1615287059,"led_status_disable":false,"actions":{"active":false,"names":["out_on_url","out_off_url","over_power_url","under_power_url","over_power_url","under_power_url","over_power_url","under_power_url","over_power_url","under_power_url"]},"hwinfo":{"hw_revision":"prod-2020-1", "batch_id":1},"relays":[{"name":null,"ison":true,"has_timer":false,"default_state":"last","auto_on":0.00,"auto_off":0.00,"schedule":false,"schedule_rules":[]}],"emeters":[{"name":null,"appliance_type":"General","max_power":0},{"name":null,"appliance_type":"General","max_power":0},{"name":null,"appliance_type":"General","max_power":0}]}```

Yes thanx!

And DW2

/shelly

type SHDW-2
mac E8DB84D32CAA
auth false
fw 20210115-103411/v1.9.4@e2732e05
longid 1
sleep_mode true

/status

{"wifi_sta":{"connected":true,"ssid":"IoT","ip":"172.17.0.118","rssi":-57},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"","unixtime":0,"serial":16,"has_update":false,"mac":"E8DB84D32CAA","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"is_valid":true,"tmp":{"value":18.90,"units":"C","tC":18.90,"tF":66.02, "is_valid":true},"lux":{"value":554, "illumination": "bright", "is_valid":true},"accel":{"tilt":-1, "vibration":-1},"sensor":{"state":"close", "is_valid":true},"bat":{"value":99,"voltage":5.95},"act_reasons":["button"],"update":{"status":"idle","has_update":false,"new_version":"20210115-103411/v1.9.4@e2732e05","old_version":"20210115-103411/v1.9.4@e2732e05","beta_version":"20210312-134025/v1.10.0-rc5-g1c546b5"},"ram_total":51056,"ram_free":40164,"fs_size":233681,"fs_free":149094,"uptime":88}

/settings

{"device":{"type":"SHDW-2","mac":"E8DB84D32CAA","hostname":"shellydw2-E8DB84D32CAA","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellydw2-E8DB84D32CAA","key":""},"wifi_sta":{"enabled":true,"ssid":"IoT","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellydw2-E8DB84D32CAA","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": {"update_period":15},"sntp":{"server":"time.google.com","enabled":true},"login":{"enabled":false,"unprotected":false,"username":"admin"},"pin_code":"","name":null,"fw":"20210115-103411/v1.9.4@e2732e05","discoverable":true,"build_info":{"build_id":"20210115-103411/v1.9.4@e2732e05","build_timestamp":"2021-01-15T10:34:11Z","build_version":"1.0"},"cloud":{"enabled":false,"connected":false},"timezone":"Europe/Amsterdam","lat":500.000000,"lng":500.000000,"tzautodetect":true,"tz_utc_offset":0,"tz_dst":false,"tz_dst_auto":true,"time":"","unixtime":0,"led_status_disable":true,"actions":{"active":false,"names":["dark_url","twilight_url","open_url","close_url","vibration_url","temp_over_url","temp_under_url"]},"dark_threshold":100,"twilight_threshold":300,"sleep_mode":{"period":6,"unit":"h"},"led_status_disable":true,"tilt_enabled":false,"tilt_calibrated":false,"vibration_enabled":false,"reverse_open_close":false,"lux_wakeup_enable":true,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C"},"temperature_offset":0.0}
1 Like

v3.0.27 - 2021-xx-xx - test version

  • Switch to unicast for Shelly devices with firmware 1.10.0 or higher for better network compatibility (please enable CoAP again in the app settings if you have previously disabled it)
  • Added HTTP polling every minute as backup for CoAP
  • Fixed an issue with pairing of the Shelly Vintage

There is a new release of my Shelly app in test that adds CoAP unicast. The current version (3.0.26 or lower) uses multicast but this does not play nice on every network. Switching to unicast should prevent issues. Unicast only works on Shelly devices with firmware 1.10.0 which is not in public beta and will be release in the upcoming week. I’m looking for users that are willing to test this version. A lot of code has been touched and I dont have much devices to test with. Just install the test version and see if it runs is enough, no specific testing is needed. Just let me know if the app runs correctly.

Hi Jelger,

A quick test, learns that the basic functions as on/off do work. No values of the sensors are arriving (no new firmware installed yet).

Kind regards,
JeeS

Ok thanx. And yes, unicast will only work on the 1.10.0 firmware. Either be patient or upgrade to beta.

And als thanx for the donation, much appreciated … :pray:

https://homey.app/f/fYGkYw/

Hey all,

I use 3 Shelly 2.5 to control my 2 sunscreens and 1 roller shutter.

I’d like homey to steer a yes/no logic variable to be set to yes when all sunscreens & roller shutter are in the upper position. Therefore I created 3 flows like the one in the link above.

As a result homey switches the variable correctly to no, but he won’t switch it to yes when they are in upward position. It seems a shelly is not able to tell when they are in upward position. (I think)

What’s your opinion how to make it work?

Thanks in advance!

Hi

I can indeed confirm that CoAP with mulitcast does not play nice on my network. I have my homey in vlan 1 and all Shelly devices in vlan 3. Firewall is set to allow all traffic from vlan 3 to the ip of homey in vlan 1. All other traffic from vlan 3->1 is blocked. Then a avahi mdns reflector on debian is configured between those 2 vlans, and the reflector works perfectly (tested using chromecast. I can cast from vlan 3 to the chromecasts in vlan 1)
But the CoAP traffic is not reaching homey, the state of relays is not arriving.
I was about to ask if CoAP could be disabled on a per device base… But now I’ve read the unicast scenario… might solve my problem.

This is the firmware available: New BETA version: 20210312-133300/v1.10.0-rc5-g1c546b5
I’ll give this a try!

1 Like

Hi Phuturist

I did the update to you experimental version. First result: POSITIVE!!
Homey does receive the relay state of the Shelly in vlan 3.

Thanks man!!

2 Likes

Hi,

I’ve some strange behavior from my Shelly divides. They are all working fine when a command comes from Homey to the device. But the input’s from the devices to Homey only works for a while after rebooting the app or Homey.
When rebooting the app the input signals appears for a few minutes, when rebooting the Homey the input signals keeps working for sometimes a day. After that the input doesn’t work anymore in the Homey, but I still see the input changing on the device_ip/status page

The devices are a 1PM en two i3’s. I’ve updated one of the i3’s to v1.10.0-rc1 but no improvement. I’m running Shelly app 3.0.26

Does somebody had an idea how to fix this?

It might be a stupid question, but did you give the shelly’s a fixed ip or dhcp reservation?

Yes I did

See [APP] Shelly - #1791 by Phuturist

Hi,
I use the shelly 1 to open my garagedoor. In the settings i use auto off after 5 seconds, but the button stays on in the last version of Shelly v3.0.26.
i used cli install to install v1.25.6 and there it works perfect.
Is this gonna be repaired in future versions?

Thanks in advance

1 Like