Interest in Next-gen Shelly Devices

Posted on
Wed May 04, 2022 6:22 am
CliveS offline
Posts: 636
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Interest in Next-gen Shelly Devices

Colly wrote:
Should you not get your toys in the walls etc before decorating?? :lol:

It is a good idea but not when testing an Alpha version vs the grief I would get.

CliveS

Indigo 2021.1.1 : macOS Big Sur 11.6.5 : MacBook Retina 2014 : 2 .6 GHz Dual Core i5. : 8 GB. : Samsung 970 1TB EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Wed May 04, 2022 7:48 am
tazswe offline
Posts: 184
Joined: Mar 13, 2017
Location: Sweden

Re: Interest in Next-gen Shelly Devices

Have been away for a couple of days but could finnaly test the new plugin.

I have tested the following on my test bench:
Plus 1
Plus 1 PM (without load)
Plus I4

All of them are working and I will install them for further test.

I have also got a Shelly Plus 2 PM that I havnt tested.
Maybe it could be included in the Beta version :wink:

Thanks a lot Aaron for a great plugin.

Posted on
Wed May 04, 2022 8:47 am
Colly offline
Posts: 433
Joined: Jan 16, 2016
Location: Ireland

Re: Interest in Next-gen Shelly Devices

tazswe wrote:
Have been away for a couple of days but could finnaly test the new plugin.

I have tested the following on my test bench:
Plus 1
Plus 1 PM (without load)
Plus I4

All of them are working and I will install them for further test.

I have also got a Shelly Plus 2 PM that I havnt tested.
Maybe it could be included in the Beta version :wink:

Thanks a lot Aaron for a great plugin.

Did you get double press trigger to work or just if i4 states changes?

Posted on
Wed May 04, 2022 10:21 am
tazswe offline
Posts: 184
Joined: Mar 13, 2017
Location: Sweden

Re: Interest in Next-gen Shelly Devices

I cant make a trigger based on double or long push.

Indigo log just show: No handler for event ´'double push'

Posted on
Wed May 04, 2022 3:35 pm
aaronlionsheep offline
Posts: 168
Joined: Feb 24, 2019
Location: Virginia, USA

Re: Interest in Next-gen Shelly Devices

Colly wrote:
Success - the individual inputs are now being seen by Indigo :D


Fantastic, I was running out of ideas for what was going on.

Colly wrote:
Next step. What about triggering on the 3 different click options? Single, Double & Long? When I set up a trigger for ShellyMQTT Event I cannot select the i4 device.


That will be one of the next things added, probably in 0.3.0. This version (0.2.0) is getting the switches and inputs sending and receiving data correctly, which you can now see with the state icon changing when you press a button or flip a switch. I have log messages as placeholders to show when the device receives a single_push, double_push, or long_push. And the btn_up and btn_down are being processed and changing the state icon. All 5 of these will be exposed as events for triggers (in 0.3.0).

tazswe wrote:
Have been away for a couple of days but could finnaly test the new plugin.

I have tested the following on my test bench:
Plus 1
Plus 1 PM (without load)
Plus I4

All of them are working and I will install them for further test.

I have also got a Shelly Plus 2 PM that I havnt tested.
Maybe it could be included in the Beta version :wink:

Thanks a lot Aaron for a great plugin.


I'm glad it is working for you! I received a nice package from Shelly USA with some samples, so I have some PM devices I can test with too. 0.3.0 should have support for the power monitoring features and I will create a Plus 1 PM device that you can pick.

CliveS wrote:
Colly wrote:
Should you not get your toys in the walls etc before decorating?? :lol:

It is a good idea but not when testing an Alpha version vs the grief I would get.


If it helps, we can call it a beta now :lol:



Let me know if anyone tries out the configuration of the System section on a main device, or the settings of a Switch or Input. It looks like I should be able to make any setting in the Web UI available directly in Indigo. I don't know how useful some of that will be since you still have to use the Web UI to connect the device to the WiFi and MQTT Broker.

Posted on
Thu May 05, 2022 7:09 am
tazswe offline
Posts: 184
Joined: Mar 13, 2017
Location: Sweden

Re: Interest in Next-gen Shelly Devices

What is important to me is that it must not be the case that you change the system plugin but that it is not updated in Web Ui. For me, it is enough that the adjustments are made in Web Ui as I have to go in there and set mqtt.


Sent from my iPad with Tapatalk

Posted on
Fri May 06, 2022 8:31 pm
aaronlionsheep offline
Posts: 168
Joined: Feb 24, 2019
Location: Virginia, USA

Re: Interest in Next-gen Shelly Devices

On to 0.3.0 now. The latest code (https://github.com/AaronLionsheep/Shell ... /0.3.0.zip) now includes the 5 input events that can be used in triggers. They can be found under the "ShellyNGMQTT Event" option for the trigger type. All events have the same config UI where you pick an Indigo device. Only devices that are inputs are shown.

Shelly Plus 1 PM support will be out shortly in this version.

Posted on
Tue May 10, 2022 2:02 am
tazswe offline
Posts: 184
Joined: Mar 13, 2017
Location: Sweden

Re: Interest in Next-gen Shelly Devices

Tested the I4 with the latest version and it’s working according to plan.


Sent from my iPad with Tapatalk

Posted on
Fri May 20, 2022 9:41 pm
aaronlionsheep offline
Posts: 168
Joined: Feb 24, 2019
Location: Virginia, USA

Re: Interest in Next-gen Shelly Devices

I feel like the Switch and Input components are fairly mature now, so I added most of the remaining Shelly models in the latest version: https://github.com/AaronLionsheep/Shell ... /0.3.0.zip

This should include power monitoring as well, but I'm not 100% confident that Indigo will pick up the device definitions correctly. I also don't have any AC loads connected to my PM devices, so I haven't verified that the power monitoring is being loaded into Indigo correctly. There are some additional states included in the switch PM devices that Indigo doesn't natively show. These include the current, voltage, and power factor.

Temperature states were also added to all Switch components. I included both Celsius and Fahrenheit states to simplify configuration. There is a bug that I'm still working out where the temperature is not updating on the PM devices.

I have been able to verify the Input and Switch components are working correctly for:
  • Shelly Plus 1
  • Shelly Plus 1 PM
  • Shelly Pro 1
  • Shelly Pro 1 PM
  • Shelly Pro 2

Please let me know if the power monitoring is working correctly on any of the PM devices.

Thanks,
Aaron

Who is online

Users browsing this forum: No registered users and 1 guest