Suggestions for energy monitor

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
venyv
Posts: 21
Joined: Thursday 05 November 2015 3:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Suggestions for energy monitor

Post 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/
Abbadon
Posts: 40
Joined: Thursday 01 October 2015 8:25
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland, Wrocław
Contact:

Re: Suggestions for energy monitor

Post by Abbadon »

Open Energy Monitor, pulse reading energymeter
venyv
Posts: 21
Joined: Thursday 05 November 2015 3:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Suggestions for energy monitor

Post by venyv »

Thanks Abbadon I will check that out.
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: Suggestions for energy monitor

Post by jkimmel »

I own a Neurio. Somebody integrated it into Domoticz?
Rfxcom
Raspi 4
herscotty
Posts: 13
Joined: Wednesday 06 May 2015 22:57
Target OS: Linux
Domoticz version: beta
Location: Germany
Contact:

Re: Suggestions for energy monitor

Post by herscotty »

Someone already have a solution?
herscotty
Posts: 13
Joined: Wednesday 06 May 2015 22:57
Target OS: Linux
Domoticz version: beta
Location: Germany
Contact:

Suggestions for energy monitor

Post 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
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: Suggestions for energy monitor

Post by jkimmel »

That looks great!
What triggers this script?
Which sensor type should I use for power?
Rfxcom
Raspi 4
herscotty
Posts: 13
Joined: Wednesday 06 May 2015 22:57
Target OS: Linux
Domoticz version: beta
Location: Germany
Contact:

Re: Suggestions for energy monitor

Post by herscotty »

I use a dummy Sensor "electric" and triggers the script with crontab every minute
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest