Manual device creation feature request

Posted on
Tue Jun 08, 2021 1:36 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Manual device creation feature request

It would be very helpful if one had the option to create a shelly plugin device manually instead of relying on the discovery process. The obvious use case (and where I'm stuck at the moment) is when replacing the hardware for an existing indigo device and not wanting to manually update every trigger, schedule, action group, condition, and control page that references the existing device. Some of which are are also python scripts and therefore not findable via Show Dependencies.

Relatedly (I think) deleting a plugin device throws an error.

Thanks.

Posted on
Tue Jun 08, 2021 2:18 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Manual device creation feature request

If you install the new Shelly device, and the plugin discovers it normally, can't you just edit the existing Indigo device and select the new Shelly device in the first popup?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Jun 08, 2021 2:23 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Manual device creation feature request

Tried that, got an error, and was unable to complete configuration.

Posted on
Tue Jun 08, 2021 2:25 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Manual device creation feature request

Did you try just editing the Topic Root to match the output from the new Shelly?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Jun 08, 2021 2:26 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Manual device creation feature request

I only have one Shelly device, installed in a remote location which is currently offline. So I can't test this myself. ;)

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Jun 08, 2021 2:38 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Manual device creation feature request

Did I post this is the wrong place? I'm trying to use Karl's ShellyDirect plugin for the new device. Control via MQTT is my fallback if I can't manually create a new device and am too lazy to edit related triggers, etc.

(I'm assuming manual creation of a MQTT device would work but haven't tried that route yet. Also, FWIW, the new shelly is replacing an entirely different protocol, so the topic root trick doesn't apply.)

Posted on
Tue Jun 08, 2021 2:51 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Manual device creation feature request

Oh, my bad. I use the ShellyMQTT plugin. Ignore everything I posted. :oops:

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Jun 09, 2021 9:55 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Manual device creation feature request

@kmarkley : please check out the latest version v7.15.40 , that should do what you want.:
https://forums.indigodomo.com/viewtopic.php?f=328&t=23681&start=45

Karl

Posted on
Wed Jun 09, 2021 10:14 am
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Manual device creation feature request

Thanks, but that doesn't quite do it for me. When I edit the old device, I am not able to enter anything in the MAC field (it is greyed out).

To be clear, I am not replacing one shelly device with another. I am trying to replace a completely different kind of device with a new shelly.

Thanks.

Posted on
Wed Jun 09, 2021 11:02 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Manual device creation feature request

W the new version you can change the mac number.

But going from a eg zwave to a Shelly device will likely not work for any scenario/ plugin.


Sent from my iPhone using Tapatalk

Posted on
Wed Jun 09, 2021 11:25 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Manual device creation feature request

But you can just try

Changed dev type then in Shelly dev edit add the up number and mac number


Sent from my iPhone using Tapatalk

Posted on
Wed Jun 09, 2021 11:27 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Manual device creation feature request

kw123 wrote:
But you can just try

Changed dev type then in Shelly dev edit add the up number and mac number

But I am not optimistic

Sent from my iPhone using Tapatalk



Sent from my iPhone using Tapatalk

Posted on
Wed Jun 09, 2021 11:31 am
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Manual device creation feature request

Well, they're both dimmer devices, and all my automation is based on standard dimmer commands/properties -- turn on, turn off, set brightnes, is on, is not on, etc., etc.

kw123 wrote:
But you can try

Changed dev type then in Shelly dev edit add the up number and mac number

I did try but was not able to enter any data in the MAC field. It was greyed out and unselectable.

Thanks.

Posted on
Wed Jun 09, 2021 11:35 am
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Manual device creation feature request

My assumption, not knowing what's under the hood, is that entering an IP address in the device configuration dialog would start the same process used for discovery -- and error out if unable to connect or the wrong device type was selected, etc.

Posted on
Wed Jun 09, 2021 1:04 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: Manual device creation feature request

On release 7.14.40 the MAC field in device config was set to read only. By editing the Devices.xml file I was able to enter the MAC address, but the device still errors out with the message "ERROR: use menu/scan to create new shelly devices"

Who is online

Users browsing this forum: No registered users and 2 guests