Houseenergy and metern_log.txt

Talks about metering
TonyP62
Posts: 97
Joined: Fri May 01, 2015 11:07 pm

Re: Houseenergy and metern_log.txt

Post by TonyP62 » Mon Dec 04, 2017 7:34 pm

jeanmarc wrote:
Mon Dec 04, 2017 7:16 pm
Well, houseenergy reads the values not write.
You can use com_daemon and check com_daemon_loop script for that purpose.
Sorry Jean-Marc for my disturb.
At the end it was more simple to solve the problem.
HouseEnergy.php is reading data from elect meter 1 that in my case is the elect for production.
So i modify the entire com_daemon_loop.php substitute the number 1 with 2 in every data and all works perfectly.
But Now there is another problem to solve. Into the Index page (main page) the Gauge shows a double value of real consumption. It seems to be adding Consumption Power Value with Imported Power Value .
Have you any idea how to solve this ?

Thanks for all.

jeanmarc
Posts: 1606
Joined: Thu Aug 29, 2013 7:16 am

Re: Houseenergy and metern_log.txt

Post by jeanmarc » Mon Dec 04, 2017 7:59 pm

You need to set elect as 'house production' type in admin and import/export as 'Elect other'. Using 0.8.5 you have to set the main gauge max and min in layout.

TonyP62
Posts: 97
Joined: Fri May 01, 2015 11:07 pm

Re: Houseenergy and metern_log.txt

Post by TonyP62 » Mon Dec 04, 2017 8:19 pm

jeanmarc wrote:
Mon Dec 04, 2017 7:59 pm
You need to set elect as 'house production' type in admin and import/export as 'Elect other'. Using 0.8.5 you have to set the main gauge max and min in layout.
Thanks Jean-Marc.
Into the Houseenergy.php file i read :

Code: Select all

//
// The house virtual meter should be configured in mN as 'Elect House consumption' type with a passover value like 100000.
// The house self consumuption meter as 'Elect Other' also with a passover value like 100000.
So i have understood that also IE and EE , must be configured as 'Elect House consumption' type with a passover value like 100000.

Thanks for all. Now it's working well well.
Best Regards,
Tony

TonyP62
Posts: 97
Joined: Fri May 01, 2015 11:07 pm

Re: Houseenergy and metern_log.txt

Post by TonyP62 » Tue Dec 05, 2017 2:49 am

Just another question.
I have installed Metern into a new Pi3 with Raspbian 9 Stretch that uses Php7.0
When i launch HouseEnergy.php i receive now the response:

Code: Select all

PHP Fatal error:  Uncaught Error: Call to undefined function utf8_decode() in /var/www/comapps/houseenergy.php:120
Stack trace:
#0 {main}
  thrown in /var/www/comapps/houseenergy.php on line 120
Why ?
There is a solution ?
Thanks in advance for help.

Edit:

Sorry.
I don have installed the php7.0-xml

Code: Select all

sudo apt-get install php7.0-xml
resolve the problem.
Excuse me.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest