shellyDirect Error Line 3587 has error=2161111

Posted on
Sun Apr 11, 2021 2:07 pm
Mattias offline
Posts: 35
Joined: May 30, 2014

shellyDirect Error Line 3587 has error=2161111

I have three shelly1 connected to shellydirect. All were functioning last year, and when I tried them today, only two worked and one got the error message: shellyDirect Error Line 3587 has error=216111176
(i'm trying to turn it on/off, and that's when the error comes in the log). I'm using it for a simple sprinkler control. What can I do?

Using the shelly app, all 3 works fine.

Mattias

Posted on
Sun Apr 11, 2021 7:14 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: shellyDirect Error Line 3587 has error=2161111

Can you delete the indigo device with that device id # and restart the plugin. Then do a detect new device with the Ip # of the Shelly device.

I will check the error message.

Karl


Sent from my iPhone using Tapatalk

Posted on
Sun Apr 11, 2021 8:12 pm
Mattias offline
Posts: 35
Joined: May 30, 2014

Re: shellyDirect Error Line 3587 has error=2161111

I deleted it and reinstalled it. It works after that. Great! Thanks.
Another question: Is it possible to add a toggle on/off function to be used on a control page?

Posted on
Sun Apr 11, 2021 9:01 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: shellyDirect Error Line 3587 has error=2161111

Mattias,
could you share the v# you are using. I need to find that line with the error code. Each version has different line # as I add / (re)move code.

for toggle:
create an action as shown in the screen shot, use toggle
Screen Shot 2021-04-11 at 21.59.10.png
Screen Shot 2021-04-11 at 21.59.10.png (71.35 KiB) Viewed 1958 times

it then should look like:
Screen Shot 2021-04-11 at 21.58.26.png
Screen Shot 2021-04-11 at 21.58.26.png (22.11 KiB) Viewed 1958 times


you can then use that action in a button on a control page

Karl

Posted on
Mon Apr 12, 2021 12:36 pm
Mattias offline
Posts: 35
Joined: May 30, 2014

Re: shellyDirect Error Line 3587 has error=2161111

the verison is v7.5.11. Just realized that I'm a bit behind on the version.

Posted on
Mon Apr 12, 2021 12:46 pm
Mattias offline
Posts: 35
Joined: May 30, 2014

Re: shellyDirect Error Line 3587 has error=2161111

also just tested to create a 'toggle' action, and it doesn't seem to work. Going direct to the device on/off works, but toggle via the action nothing happens (in the log it just shows a row with the action.
I'll update to a new version to see if it works then (later tonight/tomorrow).

Mattias

Posted on
Mon Apr 12, 2021 5:44 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: shellyDirect Error Line 3587 has error=2161111

just tried mine, it worked.

could you switch con debug action and check
/Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.shellyDirect/plugin.log

it should show something like this:
2021-04-12 18:41:32 ACTIONS: shelly_192.168.1.104; -- action=
actionValue : 0
configured : True
delayAmount : 900
description : toggle device
deviceAction : Toggle
deviceId : 133809145
replaceExisting : True
textToSpeak :
2021-04-12 18:41:32 ACTIONS: dev shelly_192.168.1.104 sending channel:white; page:light/0?turn=off deviceTypeId:ShellyBulbDuo
(that is a shelby duo light bulb)


Karl

Posted on
Mon Apr 12, 2021 5:47 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: shellyDirect Error Line 3587 has error=2161111

>>I'll update to a new version to see if it works then (later tonight/tomorrow).
yes 7.5 is a pretty old version (~ 1 year)

could you try with the most recent?

Posted on
Wed Apr 14, 2021 8:14 pm
Mattias offline
Posts: 35
Joined: May 30, 2014

Re: shellyDirect Error Line 3587 has error=2161111

finally got around to upgrade. Sorry for keeping you on hold.
After the upgrade to the latest release, both on/off action as well as use a device on/off action are working now. Lesson learned to keep versions up do date! Thanks.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest