Page 1 of 1

Suggestions for energy monitor

Posted: Tuesday 24 May 2016 16:45
by venyv
Does anyone have a good suggestion for a home electricity/energy system for the US? I was considering this one http://neur.io/

Re: Suggestions for energy monitor

Posted: Tuesday 24 May 2016 17:10
by Abbadon
Open Energy Monitor, pulse reading energymeter

Re: Suggestions for energy monitor

Posted: Tuesday 24 May 2016 17:27
by venyv
Thanks Abbadon I will check that out.

Re: Suggestions for energy monitor

Posted: Tuesday 07 June 2016 11:07
by jkimmel
I own a Neurio. Somebody integrated it into Domoticz?

Re: Suggestions for energy monitor

Posted: Monday 20 March 2017 12:39
by herscotty
Someone already have a solution?

Suggestions for energy monitor

Posted: Thursday 04 May 2017 17:19
by herscotty
OK, it was very easy!

Depend the program "jq" -> https://stedolan.github.io/jq/
Create a virtual Sensor for Power usage and Voltage -> change the IDX in the Script
Also change the IP for your neurio and Domoticz!

The Script get the Powerusage and Voltage average of neurio and write them into a virtual dummy device in Domoticz.

If you have a question or need help, send me a pm!

Code: Select all

#!/bin/bash

neurio=`curl -s --connect-timeout 2 --max-time 5  -X GET  -H "Content-Type:application/json" 'http://192.168.178.26/current-sample' `
if [ -z "$neurio" ]
then
   exit 1
else

        power=$(echo $neurio | jq '.channels[] | .p_W' | tail -n1)
        voltage=$(echo $neurio | jq '.channels[] | .v_V' | tail -n1)
fi

#echo "power " $power	# Just for debugging
#echo "voltage " $voltage

#Change the IDX to your IDX-Number:
curl -s "http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=${power}" >>/dev/null
curl -s "http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=${voltage}" >>/dev/null

Re: Suggestions for energy monitor

Posted: Friday 05 May 2017 14:37
by jkimmel
That looks great!
What triggers this script?
Which sensor type should I use for power?

Re: Suggestions for energy monitor

Posted: Friday 25 August 2017 20:42
by herscotty
I use a dummy Sensor "electric" and triggers the script with crontab every minute