Interest in Next-gen Shelly Devices

Posted on
Sat Jan 07, 2023 10:24 am
siclark offline
Posts: 1961
Joined: Jun 13, 2017
Location: UK

Re: Interest in Next-gen Shelly Devices

In the meantime I now have a plus HT. Is this supported yet?

Posted on
Sat Jan 07, 2023 10:28 am
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Interest in Next-gen Shelly Devices

I’ve a UK plug on the way too so hopefully it can be added also. Should have it next week to play about with.

Posted on
Sat Jan 07, 2023 11:17 am
aaronlionsheep offline
Posts: 260
Joined: Feb 24, 2019
Location: Virginia, USA

Re: Interest in Next-gen Shelly Devices

siclark wrote:
Ok. I’ll let you know if I get one to test. Still not quite sure what my next solution is for heating but the spirit zwave TRVs have to go. Can’t stand 30 seconds wait for automations if they are busy reporting status slowly


FYI, I still haven't added this device yet, but it will be included in the "old" ShellyMQTT plugin since the TRV is not a Shelly Plus device.

siclark wrote:
In the meantime I now have a plus HT. Is this supported yet?


I packaged up v0.4.0 a few days ago with support for the Shelly Plus H&T (https://github.com/AaronLionsheep/Shell ... /tag/0.4.0).

Colly wrote:
I’ve a UK plug on the way too so hopefully it can be added also. Should have it next week to play about with.


v0.4.0 also adds the Shelly Plus Plug, but this is the US version. The Italian version appears to have the exact same API as the US version, but the Plus Plug UK and Plus Plug S models are completely different. I'll see how motivated I am this weekend to get the UK version added.

I have a development build of the plugin running on Python 3 now, and I hope to have it out shortly. Maybe this weekend at the earliest :lol:

Posted on
Sat Jan 07, 2023 12:13 pm
siclark offline
Posts: 1961
Joined: Jun 13, 2017
Location: UK

Re: Interest in Next-gen Shelly Devices

Cheers. I'll test it out tomorrow

Posted on
Fri Jan 13, 2023 11:15 am
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Interest in Next-gen Shelly Devices

aaronlionsheep wrote:
v0.4.0 also adds the Shelly Plus Plug, but this is the US version. The Italian version appears to have the exact same API as the US version, but the Plus Plug UK and Plus Plug S models are completely different. I'll see how motivated I am this weekend to get the UK version added.

Received the Shelly UK Plug so ready when you are. :D

Posted on
Mon Feb 13, 2023 4:51 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Interest in Next-gen Shelly Devices

Hoping the UK plug support is still in the pipeline

Posted on
Mon Feb 13, 2023 5:19 pm
aaronlionsheep offline
Posts: 260
Joined: Feb 24, 2019
Location: Virginia, USA

Re: Interest in Next-gen Shelly Devices

Colly wrote:
Hoping the UK plug support is still in the pipeline


Yep still in the pipe somewhere! I've been running Python 3 versions of the plugins and making sure they are still stable. I'll start on the UK Plugs shortly after that!

Posted on
Wed Mar 01, 2023 8:05 am
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Interest in Next-gen Shelly Devices

Trying to use the new plugin (simultaneosely with the old one)

For testing using the H&T Plus.

Always an error:
Code: Select all
   ShellyNGMQTT Debug                  Processing: "{"src":"shellyplusht-c049ef8e2e00","dst":"shelliesng/shellyplusht-c049ef8e2e00/events","method":"NotifyStatus","params":{"ts":1677679819.03,"mqtt":{"connected":true}}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/events/rpc"
   ShellyNGMQTT Debug              <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7f830800da90>
   ShellyNGMQTT Debug                  Processing: "{"src":"shellyplusht-c049ef8e2e00","dst":"shelliesng/shellyplusht-c049ef8e2e00/events","method":"NotifyEvent","params":{"ts":1677679820.88,"events":[{"component":"sys", "event":"scheduled_restart", "time_ms": 998, "ts":1677679820.88}]}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/events/rpc"
   ShellyNGMQTT Debug              <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7f830800da90>
   ShellyNGMQTT Debug                  Processing: "true" on topic "shelliesng/shellyplusht-c049ef8e2e00/online"
   ShellyNGMQTT Debug              <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7f830800da90>
   ShellyNGMQTT Debug                  Processing: "{}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/ble"
   ShellyNGMQTT Debug                  Processing: "{"connected":false}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/cloud"
   ShellyNGMQTT Debug                  Processing: "{"id": 0,"battery":{"V":6.78, "percent":100},"external":{"present":false}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/devicepower:0"
   ShellyNGMQTT Debug                  Processing: "{}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/ht_ui"
   ShellyNGMQTT Debug                  Processing: "{"id": 0,"rh":44.4}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/humidity:0"
   ShellyNGMQTT Debug                  Processing: "{"connected":true}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/mqtt"
   ShellyNGMQTT Debug                  Processing: "{"mac":"C049EF8E2E00","restart_required":false,"time":null,"unixtime":null,"uptime":0,"ram_size":235284,"ram_free":163020,"fs_size":458752,"fs_free":114688,"cfg_rev":21,"kvs_rev":0,"webhook_rev":0,"available_updates":{},"wakeup_reason":{"boot":"software_restart","cause":"undefined"},"wakeup_period":7200}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/sys"
   ShellyNGMQTT Debug                  Processing: "{"id": 0,"tC":29.9, "tF":85.8}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/temperature:0"
   ShellyNGMQTT Debug                  Processing: "{"sta_ip":"172.16.15.220","status":"got ip","ssid":"SmartDevices","rssi":-51}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/wifi"
   ShellyNGMQTT Debug                  Processing: "{"connected":false}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/ws"
   ShellyNGMQTT Debug                  Processing: "{"connected":true}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/mqtt"
   ShellyNGMQTT Debug                  Processing: "{"src":"shellyplusht-c049ef8e2e00","dst":"shelliesng/shellyplusht-c049ef8e2e00/events","method":"NotifyFullStatus","params":{"ts":0.89,"ble":{},"cloud":{"connected":false},"devicepower:0":{"id": 0,"battery":{"V":6.78, "percent":100},"external":{"present":false}},"ht_ui":{},"humidity:0":{"id": 0,"rh":44.4},"mqtt":{"connected":true},"sys":{"mac":"C049EF8E2E00","restart_required":false,"time":null,"unixtime":null,"uptime":0,"ram_size":235364,"ram_free":164808,"fs_size":458752,"fs_free":114688,"cfg_rev":21,"kvs_rev":0,"webhook_rev":0,"available_updates":{},"wakeup_reason":{"boot":"software_restart","cause":"undefined"},"wakeup_period":7200},"temperature:0":{"id": 0,"tC":29.9, "tF":85.8},"wifi":{"sta_ip":"172.16.15.220","status":"got ip","ssid":"SmartDevices","rssi":-51},"ws":{"connected":false}}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/events/rpc"
   ShellyNGMQTT Debug              <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7f830800da90>
   ShellyNGMQTT Error              Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 82, in runConcurrentThread
  File "plugin.py", line 137, in process_messages
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/ShellyNGMQTT.indigoPlugin/Contents/Server Plugin/shelly/devices/Shelly.py", line 311, in handle_message
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/ShellyNGMQTT.indigoPlugin/Contents/Server Plugin/shelly/devices/ShellyPlusHT.py", line 54, in handle_notify_status
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/ShellyNGMQTT.indigoPlugin/Contents/Server Plugin/shelly/devices/Shelly.py", line 344, in handle_notify_status
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/ShellyNGMQTT.indigoPlugin/Contents/Server Plugin/shelly/components/functional/temperature.py", line 166, in process_status
KeyError: 'key unit not found in dict'

   ShellyNGMQTT Error              plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   ShellyNGMQTT Debug                  Processing: "{"src":"shellyplusht-c049ef8e2e00","dst":"shelliesng/shellyplusht-c049ef8e2e00/events","method":"NotifyStatus","params":{"ts":0.89,"mqtt":{"connected":true}}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/events/rpc"
   ShellyNGMQTT Debug              <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7f830800da90>
   ShellyNGMQTT Debug                  Processing: "{"src":"shellyplusht-c049ef8e2e00","dst":"shelliesng/shellyplusht-c049ef8e2e00/events","method":"NotifyEvent","params":{"ts":1677679826.99,"events":[{"component":"sys", "event":"sleep", "ts":1677679826.99}]}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/events/rpc"
   ShellyNGMQTT Debug              <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7f830800da90>
Last edited by aaronlionsheep on Wed Mar 01, 2023 5:30 pm, edited 1 time in total.
Reason: Adding code tags for log readability

Posted on
Wed Mar 01, 2023 5:37 pm
aaronlionsheep offline
Posts: 260
Joined: Feb 24, 2019
Location: Virginia, USA

Re: Interest in Next-gen Shelly Devices

I've got a few Shelly Plus H&T myself and a few I know are out in the wild - I haven't come across this error though. Did you just create this device, or did this error only recently occur after an upgrade? I'd like to try and replicate this myself, so any more details would be great.

This looks like the device configuration for the temperature component is invalid. Can you try editing the device settings on the temperature device in the group and just save it? That should force the device settings to be saved again and clear that error. You will see there is a dropdown for selecting Fahrenheit or Celsius. It should have picked Fahrenheit by default...

Posted on
Thu Mar 02, 2023 5:05 am
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Interest in Next-gen Shelly Devices

It's a new install - directly v 0.4 of the plugin; I received my H&T Plus yesterday.

The error is regular (when the sensor is sending the update). By default in the configuration, it's Fahrenheit, but It looks like the H&T is sending Celcius and Fahrenheit simultaneously.

I've saved "celcius" and now it's working - Temperature and Humidity shown correctly.

ShellyNGMQTT Debug Processing: "true" on topic "shelliesng/shellyplusht-c049ef8e2e00/online"
ShellyNGMQTT Debug <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7fc9c80bda90>
ShellyNGMQTT Debug Processing: "{}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/ble"
ShellyNGMQTT Debug Processing: "{"connected":false}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/cloud"
ShellyNGMQTT Debug Processing: "{"id": 0,"battery":{"V":7.04, "percent":100},"external":{"present":false}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/devicepower:0"
ShellyNGMQTT Debug Processing: "{}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/ht_ui"
ShellyNGMQTT Debug Processing: "{"id": 0,"rh":40.7}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/humidity:0"
ShellyNGMQTT Debug Processing: "{"connected":true}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/mqtt"
ShellyNGMQTT Debug Processing: "{"mac":"C049EF8E2E00","restart_required":false,"time":null,"unixtime":null,"uptime":0,"ram_size":235280,"ram_free":162912,"fs_size":458752,"fs_free":114688,"cfg_rev":21,"kvs_rev":0,"webhook_rev":0,"available_updates":{},"wakeup_reason":{"boot":"deepsleep_wake","cause":"status_update"},"wakeup_period":7200}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/sys"
ShellyNGMQTT Debug Processing: "{"id": 0,"tC":22.4, "tF":72.3}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/temperature:0"
ShellyNGMQTT Debug Processing: "{"sta_ip":"172.16.15.220","status":"got ip","ssid":"SmartDevices","rssi":-58}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/wifi"
ShellyNGMQTT Debug Processing: "{"connected":false}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/ws"
ShellyNGMQTT Debug Processing: "{"connected":true}" on topic "shelliesng/shellyplusht-c049ef8e2e00/status/mqtt"
ShellyNGMQTT Debug Processing: "{"src":"shellyplusht-c049ef8e2e00","dst":"shelliesng/shellyplusht-c049ef8e2e00/events","method":"NotifyFullStatus","params":{"ts":1677755055.37,"ble":{},"cloud":{"connected":false},"devicepower:0":{"id": 0,"battery":{"V":7.04, "percent":100},"external":{"present":false}},"ht_ui":{},"humidity:0":{"id": 0,"rh":40.7},"mqtt":{"connected":true},"sys":{"mac":"C049EF8E2E00","restart_required":false,"time":null,"unixtime":null,"uptime":0,"ram_size":235360,"ram_free":164724,"fs_size":458752,"fs_free":114688,"cfg_rev":21,"kvs_rev":0,"webhook_rev":0,"available_updates":{},"wakeup_reason":{"boot":"deepsleep_wake","cause":"status_update"},"wakeup_period":7200},"temperature:0":{"id": 0,"tC":22.4, "tF":72.3},"wifi":{"sta_ip":"172.16.15.220","status":"got ip","ssid":"SmartDevices","rssi":-58},"ws":{"connected":false}}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/events/rpc"
ShellyNGMQTT Debug <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7fc9c80bda90>
ShellyNGMQTT Debug Processing: "{"src":"shellyplusht-c049ef8e2e00","dst":"shelliesng/shellyplusht-c049ef8e2e00/events","method":"NotifyStatus","params":{"ts":1677755055.37,"mqtt":{"connected":true}}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/events/rpc"
ShellyNGMQTT Debug <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7fc9c80bda90>
ShellyNGMQTT Debug Processing: "{"src":"shellyplusht-c049ef8e2e00","dst":"shelliesng/shellyplusht-c049ef8e2e00/events","method":"NotifyEvent","params":{"ts":1677755057.93,"events":[{"component":"sys", "event":"sleep", "ts":1677755057.93}]}}" on topic "shelliesng/shellyplusht-c049ef8e2e00/events/rpc"
ShellyNGMQTT Debug <shelly.devices.ShellyPlusHT.ShellyPlusHT object at 0x7fc9c80bda90>
Attachments
Screenshot 2023-03-02 at 11.05.09.png
Screenshot 2023-03-02 at 11.05.09.png (47.75 KiB) Viewed 1630 times

Posted on
Thu Mar 02, 2023 5:14 am
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Interest in Next-gen Shelly Devices

It used to be an error with Humidity as well. The trick is to force to save the config for each subdevice (temperature and humidity) - then the issue was fixed.

Error device "Shelly Plus H&T Humidity" state key sensorValue not defined (ignoring update request)
Error device "Shelly Plus H&T Humidity" state key sensorValue not defined (ignoring update request)

As an improvement - may be to add "auto-create" function in the plugin?

Posted on
Fri Mar 03, 2023 3:30 pm
aaronlionsheep offline
Posts: 260
Joined: Feb 24, 2019
Location: Virginia, USA

Re: Interest in Next-gen Shelly Devices

shapa wrote:
It used to be an error with Humidity as well. The trick is to force to save the config for each subdevice (temperature and humidity) - then the issue was fixed.

Error device "Shelly Plus H&T Humidity" state key sensorValue not defined (ignoring update request)
Error device "Shelly Plus H&T Humidity" state key sensorValue not defined (ignoring update request)

As an improvement - may be to add "auto-create" function in the plugin?


Yeah that is what I was trying to confirm. Those settings should be saved automatically when you initially create the device, but apparently they aren't. You confirmed that by simply saving the config and having it work. I'll have to check that out.

Posted on
Mon Oct 02, 2023 4:54 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Interest in Next-gen Shelly Devices

aaronlionsheep wrote:
Colly wrote:
Hoping the UK plug support is still in the pipeline


Yep still in the pipe somewhere! I've been running Python 3 versions of the plugins and making sure they are still stable. I'll start on the UK Plugs shortly after that!

BUMP :lol:

Posted on
Mon Oct 02, 2023 6:00 pm
aaronlionsheep offline
Posts: 260
Joined: Feb 24, 2019
Location: Virginia, USA

Re: Interest in Next-gen Shelly Devices

Colly wrote:
aaronlionsheep wrote:
Colly wrote:
Hoping the UK plug support is still in the pipeline


Yep still in the pipe somewhere! I've been running Python 3 versions of the plugins and making sure they are still stable. I'll start on the UK Plugs shortly after that!

BUMP :lol:


Got it - UK plug is at/near the top of my device list!

Posted on
Tue Oct 03, 2023 2:16 pm
siclark offline
Posts: 1961
Joined: Jun 13, 2017
Location: UK

Interest in Next-gen Shelly Devices

I have a UK plug and have it working fine with this plug in. Shows power etc. not sure what’s missing.

Who is online

Users browsing this forum: No registered users and 1 guest