Interest in Next-gen Shelly Devices
Re: Interest in Next-gen Shelly Devices
No problem - I'll give it a whirl whenever you send out an update. Have a quiet Sunday evening ahead. 
-
aaronlionsheep
- Posts: 263
- Joined: Sun Feb 24, 2019 7:09 pm
Re: Interest in Next-gen Shelly Devices
The latest code on the 0.2.0 branch (https://github.com/AaronLionsheep/Shell ... /0.2.0.zip) has the missing code for the I4 added back.Colly wrote:No problem - I'll give it a whirl whenever you send out an update. Have a quiet Sunday evening ahead.
You can confirm the device receives data correctly by performing a Status Request on the main I4 device. The states list should populate with some data.
Re: Interest in Next-gen Shelly Devices
Making some progress..
The i4 has connected but not showing as online.
Getting the following in log after a button press.
The i4 has connected but not showing as online.
Getting the following in log after a button press.
Code: Select all
Error device "i4_2" state key onOffState not defined (ignoring update request)-
aaronlionsheep
- Posts: 263
- Joined: Sun Feb 24, 2019 7:09 pm
Re: Interest in Next-gen Shelly Devices
Try out the latest code on the 0.2.0 branch (https://github.com/AaronLionsheep/Shell ... tree/0.2.0). I explicitly set the device to support an onOff state. An input in "Button" mode also updates the device icon as an indicator. There will eventually be Plugin Events that can be used in triggers for btn_up, btn_down, single_push, double_push, long_push.Colly wrote:Making some progress..
The i4 has connected but not showing as online.
Getting the following in log after a button press.Code: Select all
Error device "i4_2" state key onOffState not defined (ignoring update request)
I don't think I have the online/offline indicator functional yet.
Re: Interest in Next-gen Shelly Devices
That error is with the latest version.
-
aaronlionsheep
- Posts: 263
- Joined: Sun Feb 24, 2019 7:09 pm
Re: Interest in Next-gen Shelly Devices
I just pushed some code to that branch a few minutes ago (I don't have that version packaged as a release yet). If you go to that link (https://github.com/AaronLionsheep/Shell ... tree/0.2.0), it will take you to the 0.2.0 branch where you can download the code as a zip and extract the plugin. Or here is the link to download the latest commits: https://github.com/AaronLionsheep/Shell ... /0.2.0.zipColly wrote:That error is with the latest version.
Re: Interest in Next-gen Shelly Devices
Unfortunately not much change.
Code: Select all
Trigger Shelly NG
Error device "i4_1" state key onOffState not defined (ignoring update request)-
aaronlionsheep
- Posts: 263
- Joined: Sun Feb 24, 2019 7:09 pm
Re: Interest in Next-gen Shelly Devices
The latest pushes to the branch (https://github.com/AaronLionsheep/Shell ... /0.2.0.zip) explicitly set the onOff state in the device config.Colly wrote:Unfortunately not much change.Code: Select all
Trigger Shelly NG Error device "i4_1" state key onOffState not defined (ignoring update request)
What version of Indigo are you running? This is the 2nd state issue that you've run into where I can't replicate it on my machine.
Re: Interest in Next-gen Shelly Devices
Thanks Aaron for all your efforts.
I was running 2021.1 and after latest plugin version update I still got the same errors.
I’ve now updated to 2021.2 and still seeing the same.
One minor difference I’m seeing is that the individual input (e.g. sw1) now updates in Indigo. Previously I had to send status request.
I was running 2021.1 and after latest plugin version update I still got the same errors.
I’ve now updated to 2021.2 and still seeing the same.
One minor difference I’m seeing is that the individual input (e.g. sw1) now updates in Indigo. Previously I had to send status request.
Re: Interest in Next-gen Shelly Devices
@tazswe Did you have any luck trying out your devices?tazswe wrote:Hi Aaron,
Hope that the progress with the new plugin is going by schedule.
Received the following today that can be tested.
Shelly Plus I4
Shelly Plus 2PM
Sent from my iPad with Tapatalk
-
aaronlionsheep
- Posts: 263
- Joined: Sun Feb 24, 2019 7:09 pm
Re: Interest in Next-gen Shelly Devices
Yes one of the changes I made was updating the the device icon on btn_down and btn_up events. These will be exposed as Indigo events for triggers along with single_push, double_push, and long_push. You can see my placeholder log messages for those extra button presses. I will keep looking into why the device gets created without support for the onOff state. Would you mind recreating the entire Shelly device (all 4 inputs and the I4 main device) in Indigo?Colly wrote:Thanks Aaron for all your efforts.
I was running 2021.1 and after latest plugin version update I still got the same errors.
I’ve now updated to 2021.2 and still seeing the same.
One minor difference I’m seeing is that the individual input (e.g. sw1) now updates in Indigo. Previously I had to send status request.
@Clive, have you run into any problems with any of your devices?
Re: Interest in Next-gen Shelly Devices
Success - the individual inputs are now being seen by Indigoaaronlionsheep wrote:Would you mind recreating the entire Shelly device (all 4 inputs and the I4 main device) in Indigo?
Re: Interest in Next-gen Shelly Devices
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.
Re: Interest in Next-gen Shelly Devices
Sorry but we are decorating at present and I have been told to put my 'toys' away so unable to 'play' with the Next Gen Shelly's for a few weeks.aaronlionsheep wrote: @Clive, have you run into any problems with any of your devices?
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB 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
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB 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
Re: Interest in Next-gen Shelly Devices
Should you not get your toys in the walls etc before decorating??CliveS wrote:Sorry but we are decorating at present and I have been told to put my 'toys' away so unable to 'play' with the Next Gen Shelly's for a few weeks.aaronlionsheep wrote: @Clive, have you run into any problems with any of your devices?