Search found 97 matches

by TonyP62
Sat Dec 16, 2017 3:03 pm
Forum: meterN
Topic: MeterN & Pvoutput
Replies: 5
Views: 616

Re: MeterN & Pvoutput

Hello JM.
I want to write a script that save into a file the date and time in the pvoutput format.
Can you hell me ?
by TonyP62
Mon Dec 11, 2017 12:26 pm
Forum: meterN
Topic: Reqsdm direct call to sdm120c
Replies: 1
Views: 395

Reqsdm direct call to sdm120c

Hello Jean-Marc.
I need an help for modify reqsdm.
Now is:

Code: Select all

$outstr =  exec('cat /dev/shm/metern1.txt | egrep "^1_1\(" | grep "*V)"');
I want that it asks directly to sdm parameter that is :
sdm120c -a1 -b9600 -PN -w9 -v -2 /dev/ttyUSB0

Can you help me into modify the "exec" command ?
by TonyP62
Sun Dec 10, 2017 5:30 pm
Forum: meterN
Topic: MeterN & Pvoutput
Replies: 5
Views: 616

MeterN & Pvoutput

Hello dear Jean-Marc. It's possible to add into MeterN one pvoutput updater without 123Solar ? We are testing a new SDM driver that can read directly from our SDM Meters. We have 1 SDM for Production and 1 SDM for Consumption. We don't need 123Solar. We want to run only MeterN, but we desire to upda...
by TonyP62
Wed Dec 06, 2017 6:45 pm
Forum: 123solar
Topic: 123solar 1.7.0
Replies: 40
Views: 3863

Re: 123solar 1.7.0

Many Thanks Jean-Marc . Now it's perfect. I hope you want insert the sdm120c protocol into the protocols list in the future. It'll be a great thing. About problems with the sdm120c driver, i have solved adding into the sdm120c.php file this parameters : -z10 & -j10 that are timeouts . I also added t...
by TonyP62
Wed Dec 06, 2017 8:08 am
Forum: 123solar
Topic: 123solar 1.7.0
Replies: 40
Views: 3863

Re: 123solar 1.7.0

http://tonyp62.ddns.org/Downloads/scrrenshot_06.png There is a problem with this new version with the sdm120c drivers. Into protocols , Port and RS485 are blocked and you cannot insert a value, so we must insert them into che protocol file. I have installed it with update and with a fresh installat...
by TonyP62
Tue Dec 05, 2017 2:49 am
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 1248

Re: Houseenergy and metern_log.txt

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: PHP Fatal error: Uncaught Error: Call to undefined function utf8_decode() in /var/www/comapps/houseenergy.php:120 Stack trace: #0 {main} th...
by TonyP62
Mon Dec 04, 2017 8:19 pm
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 1248

Re: Houseenergy and metern_log.txt

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 : // // The house virtual meter should be configured in mN as 'Elect House consumpti...
by TonyP62
Mon Dec 04, 2017 7:34 pm
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 1248

Re: Houseenergy and metern_log.txt

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....
by TonyP62
Mon Dec 04, 2017 4:18 pm
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 1248

Re: Houseenergy and metern_log.txt

Finally i have understood as houseenergy works and it seems to work well. But i have another question for you. I want to pickup the real values from the electrical meters and write them into the meters_log.txt . I have modified the file in this way: // Energy Exported $EXPID = '1_EE'; // $EXPcmd = '...
by TonyP62
Sun Dec 03, 2017 4:04 pm
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 1248

Re: Houseenergy and metern_log.txt

I found the solution. Now my houseenergy.php is working with this config: //// Set the 2 virtual meters //// // Consumption $HOUSEID = 'elect'; // ID $HOUSEmetnum = 2; // meter number // Selfconsumption $SELFID = 'self'; $SELFCmetnum = 5; // 7 //// Set up real meters //// // Production $PRODID = 'so...