Powermiser Plugin

Posted on
Wed Oct 10, 2018 12:21 pm
Colorado4Wheeler offline
User avatar
Posts: 2715
Joined: Jul 20, 2009
Location: Colorado

Re: Powermiser Plugin

Ok, I put up a pre-release on Github (click this link). See if this addresses the issue(s).

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Wed Oct 10, 2018 5:55 pm
KSimmons offline
User avatar
Posts: 7
Joined: Mar 24, 2017

Re: Powermiser Plugin

Yes! That fixed the issue. The "Devices" field is now populated again.

Thank you.

– Kevin

Posted on
Wed Oct 10, 2018 6:40 pm
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

It also works for me. Thanks :D

Edmond

Posted on
Wed Oct 10, 2018 7:39 pm
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

I should have written that the devices show up. I don't think its working correctly, unless Im missing something. Devices are not turning off after the 5 minutes I gave.

Posted on
Thu Oct 11, 2018 4:26 am
KSimmons offline
User avatar
Posts: 7
Joined: Mar 24, 2017

Re: Powermiser Plugin

I did a functional check this morning, and the plug-in seems to be working correctly on my system.

– Kevin

Posted on
Thu Oct 11, 2018 6:31 am
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

Thanks for the feed back, Kevin.

I uninstalled the plugin and reinstalled and everything works great.

Colorado4Wheeler, thanks for the fix

Edmond

Posted on
Sat Oct 13, 2018 6:40 am
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

Hello

This morning I discovered Powermiser trying to control a z-wave motion detector and Its been on an endless loop since 8:41 on 10-11-2018.

Please see below code:
Code: Select all
2018-10-11 08:18:43.955   Application   v0.8.8 of plugin FindFriendsMini is already installed and enabled
2018-10-11 08:19:04.511   Application   Installing and enabling plugin EPS - Powermiser v2.2.1
2018-10-11 08:19:04.584   Application   Loading plugin "EPS - Powermiser 2.2.1"
2018-10-11 08:19:04.587   Application   Starting plugin "EPS - Powermiser 2.2.1" (pid 1167)
2018-10-11 08:19:06.605   Application   Started plugin "EPS - Powermiser 2.2.1"
2018-10-11 08:19:09.894   EPS - Powermiser   Debug logging disabled
2018-10-11 08:19:10.286   EPS - Powermiser   EPS - Powermiser is loaded and ready to use
2018-10-11 08:19:17.151   Z-Wave   received "003 - Notification Sensor" status update battery level 100%
2018-10-11 08:20:24.222   Received INSTEON   "Upstairs Hallway Closet" on
2018-10-11 08:20:24.240   EPS - Powermiser   Conditions passed on 'AutoOff Upstairs Hallway Closet'
2018-10-11 08:20:24.241   EPS - Powermiser   Upstairs Hallway Closet will turn off automatically at 2018-10-11 08:25:24
2018-10-11 08:25:25.913   EPS - Powermiser   Turning off device Upstairs Hallway Closet
2018-10-11 08:25:26.122   Sent INSTEON   "Upstairs Hallway Closet" off
2018-10-11 08:41:28.483   Trigger   Are we home check
2018-10-11 08:41:37.604   Trigger   Are we home check
2018-10-11 08:41:44.120   EPS - Powermiser   Conditions passed on 'AutoOff Upstairs Hallway Closet'
2018-10-11 08:41:44.121   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:44
2018-10-11 08:41:44.134   EPS - Powermiser   Conditions passed on 'AutoOff Class Room Closet '
2018-10-11 08:41:44.135   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:44
2018-10-11 08:41:44.148   EPS - Powermiser   Conditions passed on 'AutoOff Kids Room Closet'
2018-10-11 08:41:44.149   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:44
2018-10-11 08:41:44.163   EPS - Powermiser   Conditions passed on 'AutoOff Master Closet'
2018-10-11 08:41:44.164   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:44
2018-10-11 08:41:44.178   EPS - Powermiser   Conditions passed on 'AutoOff Master Bath Closet'
2018-10-11 08:41:44.180   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:44
2018-10-11 08:41:44.365   Z-Wave   received "002 - Notification Sensor" status update battery level 100%
2018-10-11 08:41:45.436   EPS - Powermiser   Conditions passed on 'AutoOff Upstairs Hallway Closet'
2018-10-11 08:41:45.437   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.438   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:51:44
2018-10-11 08:41:45.446   EPS - Powermiser   Conditions passed on 'AutoOff Class Room Closet '
2018-10-11 08:41:45.446   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.447   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:51:44
2018-10-11 08:41:45.454   EPS - Powermiser   Conditions passed on 'AutoOff Kids Room Closet'
2018-10-11 08:41:45.455   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.456   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:51:44
2018-10-11 08:41:45.463   EPS - Powermiser   Conditions passed on 'AutoOff Master Closet'
2018-10-11 08:41:45.464   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.465   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:51:44
2018-10-11 08:41:45.472   EPS - Powermiser   Conditions passed on 'AutoOff Master Bath Closet'
2018-10-11 08:41:45.472   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.473   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:51:44
2018-10-11 08:41:45.483   EPS - Powermiser   Conditions passed on 'AutoOff Upstairs Hallway Closet'
2018-10-11 08:41:45.483   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.484   EPS - Powermiser      002 - Notification Sensor maximum repeats reached, cancelling auto off
2018-10-11 08:41:45.492   EPS - Powermiser   Conditions passed on 'AutoOff Class Room Closet '
2018-10-11 08:41:45.492   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.493   EPS - Powermiser      002 - Notification Sensor maximum repeats reached, cancelling auto off
2018-10-11 08:41:45.500   EPS - Powermiser   Conditions passed on 'AutoOff Kids Room Closet'
2018-10-11 08:41:45.501   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.501   EPS - Powermiser      002 - Notification Sensor maximum repeats reached, cancelling auto off
2018-10-11 08:41:45.509   EPS - Powermiser   Conditions passed on 'AutoOff Master Closet'
2018-10-11 08:41:45.509   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.510   EPS - Powermiser      002 - Notification Sensor maximum repeats reached, cancelling auto off
2018-10-11 08:41:45.518   EPS - Powermiser   Conditions passed on 'AutoOff Master Bath Closet'
2018-10-11 08:41:45.519   EPS - Powermiser   Extending 002 - Notification Sensor time on by 5 minutes
2018-10-11 08:41:45.519   EPS - Powermiser      002 - Notification Sensor maximum repeats reached, cancelling auto off
2018-10-11 08:41:45.529   EPS - Powermiser   Conditions passed on 'AutoOff Upstairs Hallway Closet'
2018-10-11 08:41:45.531   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:45
2018-10-11 08:41:45.538   EPS - Powermiser   Conditions passed on 'AutoOff Class Room Closet '
2018-10-11 08:41:45.539   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:45
2018-10-11 08:41:45.546   EPS - Powermiser   Conditions passed on 'AutoOff Kids Room Closet'
2018-10-11 08:41:45.547   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:45
2018-10-11 08:41:45.554   EPS - Powermiser   Conditions passed on 'AutoOff Master Closet'
2018-10-11 08:41:45.555   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:45
2018-10-11 08:41:45.563   EPS - Powermiser   Conditions passed on 'AutoOff Master Bath Closet'
2018-10-11 08:41:45.564   EPS - Powermiser   002 - Notification Sensor will turn off automatically at 2018-10-11 08:46:45
2018-10-11 08:46:46.053   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:46.060   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:46.067   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:46.073   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:46.079   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:46.096   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:46.097   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:46.101   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:46.102   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:46.103   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:47.093   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:47.100   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:47.102   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:47.108   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:47.110   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:47.116   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:47.118   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:47.124   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:47.126   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:47.128   Z-Wave   updated "002 - Notification Sensor" to off
2018-10-11 08:46:48.145   EPS - Powermiser   Turning off device 002 - Notification Sensor
2018-10-11 08:46:48.152   Z-Wave   updated "002 - Notification Sensor" to off



Screenshot 2018-10-13 08.10.46.png
Screenshot 2018-10-13 08.10.46.png (132.66 KiB) Viewed 243 times


I thought I selected the wrong device in the device settings, however as you can see the 002 - Notification Sensor is not selected.

Screenshot 2018-10-13 08.28.35.png
Screenshot 2018-10-13 08.28.35.png (135.53 KiB) Viewed 243 times


Disabling the plugin and re-enabling it does not fix the problem. It just starts trying to turn off the Sensor.
Code: Select all
   Enabling plugin "EPS - Powermiser 2.2.1"
   Starting plugin "EPS - Powermiser 2.2.1" (pid 54735)
   Started plugin "EPS - Powermiser 2.2.1"
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   Z-Wave                          updated "002 - Notification Sensor" to off
   Z-Wave                          updated "002 - Notification Sensor" to off
   Z-Wave                          updated "002 - Notification Sensor" to off
   Z-Wave                          updated "002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   Z-Wave                          updated "002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   Z-Wave                          updated "002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   Z-Wave                          updated "002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   Z-Wave                          updated "002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   Z-Wave                          updated "002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   Z-Wave                          updated "002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device 002 - Notification Sensor
   Z-Wave                          updated "002 - Notification Sensor" to off


Any Ideas?

Thanks
Edmond

Posted on
Sat Oct 13, 2018 8:17 am
Colorado4Wheeler offline
User avatar
Posts: 2715
Joined: Jul 20, 2009
Location: Colorado

Re: Powermiser Plugin

I'm not sure why it would do that, I've never had a loop like that. I'm wondering if there is NOTHING selected there and it is defaulting to that sensor because it's the first device. Try selecting a switch or something on the list to see if that fixes it. Maybe the Class Room Fan Light?

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Sat Oct 13, 2018 8:40 am
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

I changed the motion sensor name so its the last item on the list and it still goes after the sensor. I also tried to rename to something completely different with no spaces and it still has the same problem. Any other ideas?

Code: Select all
Oct 13, 2018, 10:30:07 AM
   Enabling plugin "EPS - Powermiser 2.2.1"
   Starting plugin "EPS - Powermiser 2.2.1" (pid 75069)
   Started plugin "EPS - Powermiser 2.2.1"
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   Z-Wave                          updated "Z-002 - Notification Sensor" to off
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   EPS - Powermiser                Turning off device Z-002 - Notification Sensor
   Z-Wave                          updated "Z-002 - Notification Sensor" to off


Screenshot 2018-10-13 10.32.14.png
Screenshot 2018-10-13 10.32.14.png (134.94 KiB) Viewed 230 times


Code: Select all
   EPS - Powermiser                Turning off device 002-NotificationSensor
   EPS - Powermiser                Turning off device 002-NotificationSensor
   Z-Wave                          updated "002-NotificationSensor" to off
   Z-Wave                          updated "002-NotificationSensor" to off
   EPS - Powermiser                Turning off device 002-NotificationSensor
   Z-Wave                          updated "002-NotificationSensor" to off
   EPS - Powermiser                Turning off device 002-NotificationSensor
   EPS - Powermiser                Turning off device 002-NotificationSensor
   Z-Wave                          updated "002-NotificationSensor" to off
   Z-Wave                          updated "002-NotificationSensor" to off
   EPS - Powermiser                Turning off device 002-NotificationSensor
   Z-Wave                          updated "002-NotificationSensor" to off
   EPS - Powermiser                Turning off device 002-NotificationSensor
   Z-Wave                          updated "002-NotificationSensor" to off
   EPS - Powermiser                Turning off device 002-NotificationSensor
   Z-Wave                          updated "002-NotificationSensor" to off
   EPS - Powermiser                Turning off device MotionSensor
   EPS - Powermiser                Turning off device MotionSensor
   Z-Wave                          updated "MotionSensor" to off
   Z-Wave                          updated "MotionSensor" to off
   EPS - Powermiser                Turning off device MotionSensor
   Z-Wave                          updated "MotionSensor" to off
   EPS - Powermiser                Turning off device MotionSensor
   Z-Wave                          updated "MotionSensor" to off
   EPS - Powermiser                Turning off device MotionSensor
   Z-Wave                          updated "MotionSensor" to off
   EPS - Powermiser                Turning off device MotionSensor

Posted on
Sat Oct 13, 2018 8:42 am
Colorado4Wheeler offline
User avatar
Posts: 2715
Joined: Jul 20, 2009
Location: Colorado

Re: Powermiser Plugin

Are you sure it isn't one of the other Powermiser devices you have? It looks like you have at least 5 of them. I don't think it is the release because I have a dozen of these running without this issue.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Sat Oct 13, 2018 8:44 am
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

I checked all of the power miser devices and each one has something selected other then the motion sensor. I start deleting one at a time and I'll let you know what I find.

Posted on
Sat Oct 13, 2018 8:58 am
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

So, I deleted one device at a time. Once I deleted the last device the looping stopped. I have recreated the devices and so far no looping.

Posted on
Sat Oct 13, 2018 9:49 am
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

It started again. Not sure if these errors helps:
Code: Select all
   EPS - Powermiser Error          Error in plugin execution ServerRemovedElem:

Traceback (most recent call last):
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
RuntimeError: maximum recursion depth exceeded

   EPS - Powermiser Error          Error in plugin execution ServerRemovedElem:

Traceback (most recent call last):
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
  File "plugin.py", line 302, in variableDeleted
RuntimeError: maximum recursion depth exceeded

   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   fingscan                        FING initializing
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   uniFiAP                         ..starting threads for 2 APs 4 sec apart (MSG-log and db-DICT)
   START                           launching APtail  192.168.2.10
   START                           launching APdict  192.168.2.10


Any Ides?

Edmond

Posted on
Sat Oct 13, 2018 10:25 am
Colorado4Wheeler offline
User avatar
Posts: 2715
Joined: Jul 20, 2009
Location: Colorado

Re: Powermiser Plugin

It looks like you are doing something odd somewhere. That method is only called if a variable is deleted and if a variable is constantly being deleted and added and deleted then that would explain the odd behavior. The code quite literally does nothing in the plugin, so the fact that we get infinite recursions on that line 302 means that Indigo is calling up the method - which only would happen if a variable got deleted.

It's also curious that it started up on its own after initially being fine. This is pointing to some other action or schedule or trigger that is actually causing this entire problem. I would right click on that motion sensor, find all dependencies and see if you can find a schedule or trigger that might be firing.

Note that we are never seeing an ON command, so we aren't turning something off as a result of a Powermiser device, it is a reaction from Powermiser because something else is happening in Indigo and it is reporting it. It's odd that it is reporting it because those messages should be debug messages, what log level for Powermiser do you have set? Part of what PM is doing is listening for ALL traffic in your home automation and running routines to determine if that traffic impacts a PM device, so that motion sensor going on and off all the time (or if you have some action or trigger that turns it off constantly) would register with PM as an event to examine and according to the logs you posted it's not doing anything with it, just registering the changes.

If I were to guess I would say you have some routine that is creating and removing variables regularly and another that is turning off your motion sensor.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Sun Oct 14, 2018 6:23 am
dnomode offline
Posts: 328
Joined: Apr 12, 2008
Location: North Georgia

Re: Powermiser Plugin

I recently moved, so this is a new system that I'm working on and everything is still pretty simple. I don't have many triggers and variables yet. I checked the dependencies and the motion has none.
Screenshot 2018-10-14 07.41.13.png
Screenshot 2018-10-14 07.41.13.png (90.81 KiB) Viewed 170 times


I also notices that pushing the Send Status Request button extends the time by 5 minutes.
Code: Select all
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave Error                    send "002-MotionSensor" status request failed
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Conditions passed on 'ClassRoomClosetAutoOff'
   EPS - Powermiser                Extending 002-MotionSensor time on by 5 minutes
   EPS - Powermiser                002-MotionSensor will turn off automatically at 2018-10-14 08:11:47
   EPS - Powermiser                Conditions passed on 'KidsRoomClosetAutoOff'
   EPS - Powermiser                Extending 002-MotionSensor time on by 5 minutes
   EPS - Powermiser                002-MotionSensor will turn off automatically at 2018-10-14 08:11:47
   EPS - Powermiser                Conditions passed on 'MasterBathClosetAutoOff'
   EPS - Powermiser                Extending 002-MotionSensor time on by 5 minutes
   EPS - Powermiser                002-MotionSensor will turn off automatically at 2018-10-14 08:11:47
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave Error                    send "002-MotionSensor" status request failed
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Conditions passed on 'ClassRoomClosetAutoOff'
   EPS - Powermiser                Extending 002-MotionSensor time on by 5 minutes
   EPS - Powermiser                   002-MotionSensor maximum repeats reached, cancelling auto off
   EPS - Powermiser                Conditions passed on 'KidsRoomClosetAutoOff'
   EPS - Powermiser                Extending 002-MotionSensor time on by 5 minutes
   EPS - Powermiser                   002-MotionSensor maximum repeats reached, cancelling auto off
   EPS - Powermiser                Conditions passed on 'MasterBathClosetAutoOff'
   EPS - Powermiser                Extending 002-MotionSensor time on by 5 minutes
   EPS - Powermiser                   002-MotionSensor maximum repeats reached, cancelling auto off
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off
   Z-Wave                          updated "002-MotionSensor" to off
   EPS - Powermiser                Turning off device 002-MotionSensor
   EPS - Powermiser                Turning off device 002-MotionSensor
   Z-Wave                          updated "002-MotionSensor" to off


I also deleted the motion sensor from my system and it looks like Powermiser thinks its a referencing device:
Code: Select all
 Reloading plugin "EPS - Powermiser 2.2.1"
   Stopping plugin "EPS - Powermiser 2.2.1" (pid 76753)
   Stopped plugin "EPS - Powermiser 2.2.1"
   Starting plugin "EPS - Powermiser 2.2.1" (pid 78994)
   Started plugin "EPS - Powermiser 2.2.1"
   EPS - Powermiser Error          Device 'ClassRoomClosetAutoOff' is referencing device ID 76115794 but that device is no longer an Indigo device.  Please change the device reference or remove 'ClassRoomClosetAutoOff' to prevent this error
   EPS - Powermiser Error          Device 'KidsRoomClosetAutoOff' is referencing device ID 76115794 but that device is no longer an Indigo device.  Please change the device reference or remove 'KidsRoomClosetAutoOff' to prevent this error
   EPS - Powermiser Error          Device 'MasterBathClosetAutoOff' is referencing device ID 76115794 but that device is no longer an Indigo device.  Please change the device reference or remove 'MasterBathClosetAutoOff' to prevent this error
   EPS - Powermiser Error          Exception in plugin.onAfter_runConcurrentThread line 129: 'key id 76115794 not found in database'
                      CODE: self.logger.info("Turning off device %s" % indigo.devices[int(devId)].name)

   EPS - Powermiser Error          Exception in plugin.onAfter_runConcurrentThread line 129: 'key id 76115794 not found in database'
                      CODE: self.logger.info("Turning off device %s" % indigo.devices[int(devId)].name)

   EPS - Powermiser Error          Exception in plugin.onAfter_runConcurrentThread line 129: 'key id 76115794 not found in database'
                      CODE: self.logger.info("Turning off device %s" % indigo.devices[int(devId)].name)

   EPS - Powermiser Error          Exception in plugin.onAfter_runConcurrentThread line 129: 'key id 76115794 not found in database'
                      CODE: self.logger.info("Turning off device %s" % indigo.devices[int(devId)].name)

   EPS - Powermiser                EPS - Powermiser is loaded and ready to use
   EPS - Powermiser Error          Exception in plugin.onAfter_runConcurrentThread line 129: 'key id 76115794 not found in database'
                      CODE: self.logger.info("Turning off device %s" % indigo.devices[int(devId)].name)

   EPS - Powermiser Error          Exception in plugin.onAfter_runConcurrentThread line 129: 'key id 76115794 not found in database'
                      CODE: self.logger.info("Turning off device %s" % indigo.devices[int(devId)].name)

   EPS - Powermiser Error          Exception in plugin.onAfter_runConcurrentThread line 129: 'key id 76115794 not found in database'
                      CODE: self.logger.info("Turning off device %s" % indigo.devices[int(devId)].name)



I have logging set to Info

You have any other ideas I should try?

Who is online

Users browsing this forum: No registered users and 1 guest