HomeGenie Forum

Automation Program Plugins and Wizard Scripting => APP Contributions => Topic started by: mvdarend on October 24, 2014, 09:37:02 PM

Title: YouLess energy monitor
Post by: mvdarend on October 24, 2014, 09:37:02 PM
This is my first attempt at a simple App for HomeGenie. The YouLess Energy monitor is a Dutch product that measures current energy usage by detecting the turns of the rotor disc or LED-pulses of an electricity meter. More info (in Dutch) can be found here:
http://www.youless.nl/ (http://www.youless.nl/)

It has the following output Parameters:
Meter.Total - Current total on the meter
Meter.Watts - Current electricity usage in Watts

Setup:
- IP Address
- Port number
- UpdateInterval

No Username/Password support, but if you need this I can modify it for you.

Edit: Added a 'proper' icon for the widget, place in the html/images folder.

Title: Re: YouLess energy monitor
Post by: mvdarend on October 25, 2014, 10:04:39 AM
I added a new .hgx file with the following changes:

- Removed comments meant for another module
- Values are updated only if Watt usage changes
- Some cleanup here and there
Title: Re: YouLess energy monitor
Post by: mvdarend on January 02, 2015, 11:35:24 AM
For anyone interested in the above code, here is the JSON response from the YouLess device, I'm only using the cnt and pwr parameters.

Code: [Select]
{
  "cnt":"105393,117",
  "pwr":292,
  "lvl":94,
  "dev":"(±3%)",
  "det":"",
  "con":"OK",
  "sts":"(13)",
  "raw":771
}
Title: Re: YouLess energy monitor
Post by: mvdarend on November 01, 2015, 08:01:05 AM
APP Code moved to GitHub.

I have sold my YouLess device a few months ago so can no longer support this APP properly.