Virtual Energy Meter

User avatar
aldera
Posts: 188
Joined: Tue Aug 30, 2016 11:30 am
Location: Michigan, USA

Re: Virtual Energy Meter

Post by aldera »

lindehoff wrote:Hi, I am not at home at the moment. Will update the plugin as soon as possible.


Skickat från min iPhone med Tapatalk
That would be great! Thanks for responding!
siclark
Posts: 1964
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: Virtual Energy Meter

Post by siclark »

I think this is exactly what I have been looking for to help understand my energy use. I was hoping to use this to monitor the consumption of my electric floors, where the thermostat, added via emaila plugin, records a heat on/off state. However none of my thermostat devices show up.
Would this be easy to change.
Thanks


Sent from my iPhone using Tapatalk
lindehoff
Posts: 80
Joined: Sat Aug 08, 2015 5:10 am

Re: Virtual Energy Meter

Post by lindehoff »

I have now removed the Update checker and hopefully the plug in will work now.
I have tested it quickly and it works for me.
https://github.com/lindehoff/Indigo-Vir ... plugin.zip
User avatar
aldera
Posts: 188
Joined: Tue Aug 30, 2016 11:30 am
Location: Michigan, USA

Re: Virtual Energy Meter

Post by aldera »

lindehoff wrote:I have now removed the Update checker and hopefully the plug in will work now.
I have tested it quickly and it works for me.
https://github.com/lindehoff/Indigo-Vir ... plugin.zip
Seems to be working on my end. Thanks again for taking care of this. Great plugin!

Ralph
Bildhauer
Posts: 160
Joined: Mon Sep 30, 2019 2:10 pm
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Virtual Energy Meter

Post by Bildhauer »

Hello,

is there an option to "urge" Virtual Energy Meter to update the power consumption (Energy Meter and Energy Meter current Power) using a Python Script?

Doing ti with following script

Code: Select all

for dev in indigo.devices.iter("props.SupportsEnergyMeter"):
   if dev.enabled and dev.supportsStatusRequest and dev.model == "Virtual Group Energy Meter":
      indigo.device.statusRequest(dev)
it ends up in:

Code: Select all

   Virtual Energy Meter Error      Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 328, in deviceUpdated
KeyError: key id 710455184 not found in database

   Virtual Energy Meter Error      Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 328, in deviceUpdated
KeyError: key id 710455184 not found in database

   Virtual Energy Meter Error      Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 328, in deviceUpdated
KeyError: key id 710455184 not found in database

   Virtual Energy Meter Error      Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 328, in deviceUpdated
KeyError: key id 710455184 not found in database

   Virtual Energy Meter Error      Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 328, in deviceUpdated
KeyError: key id 710455184 not found in database

   Virtual Energy Meter Error      Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 328, in deviceUpdated
KeyError: key id 710455184 not found in database

   Virtual Energy Meter Error      Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 328, in deviceUpdated
KeyError: key id 710455184 not found in database

   Virtual Energy Meter Error      Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 328, in deviceUpdated
KeyError: key id 710455184 not found in database


Best regards

Bildhauer
Bildhauer
Posts: 160
Joined: Mon Sep 30, 2019 2:10 pm
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Virtual Energy Meter

Post by Bildhauer »

If this plugin is not supported any more does anyone know a replacement?

Best regards

Bildhauer
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Virtual Energy Meter

Post by howartp »

The error above is less a bug and more a missing device.

Have you checked/edited your plugin devices to make sure they're not pointing at/using a no-longer-existent device?
Bildhauer
Posts: 160
Joined: Mon Sep 30, 2019 2:10 pm
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Virtual Energy Meter

Post by Bildhauer »

I'll check but the Id which is shown i totally not known. So where ist it coming from?
User avatar
roquej
Posts: 616
Joined: Sun Jan 04, 2015 4:56 pm
Location: South Florida, USA

Re: Virtual Energy Meter

Post by roquej »

Will this plugin be update to Python 3? It's very useful to track power consumption, not just for those device that have not energy reporting, but also for groups (e.g., all power use in Pool, etc.)

JP
siclark
Posts: 1964
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: Virtual Energy Meter

Post by siclark »

I am hoping this will be supported going forward, its an incredibly useful app for monitoring all those lights and bulbs that dont report power, but where we know on / off state, or even brightness %

I was going to ask if we can have power for off as well, for bulbs like Hue that use maybe 0.5w in an off state, this would also be useful in being more accurate.
Post Reply

Return to “Jacob Lindehoff's Plugins”