Started getting an error when I merged two devices

Posted on
Sun Jun 02, 2019 7:42 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Started getting an error when I merged two devices

On my sense I had dryer and dryer1 (or Dryer2 - I can't remember). On the sense control panel I merged those two dryers since I only have one. Then in indigo I deleted the extra dryer. Started to see this in the log every few seconds. Help :-)

PS. Restarting Sense plug-in does not fix..

Code: Select all
   Sense Debug                     Active: 1220.26394893w
   Sense Debug                     Daily: 3.8793838kw
   Sense Debug                     CSV Output: 2019-06-02 06:33:18.983720,1220
   Sense Debug                     CREATED: Dryer
   Sense Error                     NameNotUniqueError
   Disabling plugin "Sense 1.0.4"
   Stopping plugin "Sense 1.0.4" (pid 68002)
   Sense Debug                     shutdown called
   Stopped plugin "Sense 1.0.4"

_______
Norm

Posted on
Sun Jun 02, 2019 7:49 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Started getting an error when I merged two devices

Tossing out the sense csv file and having the plug-in restart and make a new csv did not help...

_______
Norm

Posted on
Sun Jun 02, 2019 8:39 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Started getting an error when I merged two devices

I disabled the plug-in and then deleted the sense plug-in dryer device. Restarted the plug-in and it created a new dryer device - that seems to have fixed it!

_______
Norm

Posted on
Sun Jun 02, 2019 8:42 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Started getting an error when I merged two devices

Spoke too soon - error is back and the newly created dryer drive is missing the power symbol ....

Code: Select all
   Sense                           Debug logging enabled
   Sense Debug                     Rate limit is: 30
   Sense Debug                     Active: 2849.70836728w
   Sense Debug                     Daily: 5.697364kw
   Sense Debug                     CSV Output: 2019-06-02 07:39:48.065153,2849
   Sense Debug                     CREATED: Dryer
   Sense Error                     NameNotUniqueError
Attachments
2019-06-02_07-40-24.jpeg
2019-06-02_07-40-24.jpeg (6.06 KiB) Viewed 2151 times

_______
Norm

Posted on
Sun Jun 02, 2019 8:44 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Started getting an error when I merged two devices

Reloading the plug-in seems to have corrected the device and the error has stopped?
Attachments
2019-06-02_07-43-11.jpeg
2019-06-02_07-43-11.jpeg (5.7 KiB) Viewed 2149 times

_______
Norm

Posted on
Sun Jun 02, 2019 8:53 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Started getting an error when I merged two devices

Did you delete (online) the dryer, and rename dryer2 to dryer?

NameNotUnique is trying to create the device because plugin doesn’t know about it - which means the Sense device id isn’t known to the plugin.

If you delete a device in Indigo (dryer2) it removes the id from its own list, so if you’d renamed dryer2 to dryer that would explain the situation.

(Renaming a device in Sense is handled ok in the plugin, I tested that, so this is only way I can think of causing this problem)


Sent from my iPhone using Tapatalk Pro

Posted on
Sun Jun 02, 2019 9:31 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Started getting an error when I merged two devices

It is working great now and to be honest I would not bet my life on exactly what I did (it was yesterday late) - but good info from you on how to handle it next time and how the plug-in works - Thanks

_______
Norm

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest