Search found 97 matches

by TonyP62
Sun Dec 03, 2017 2:21 pm
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 4223

Re: Houseenergy and metern_log.txt

Hello All. I need an explanation about house energy works. I have the first SDM220C for Production (MeterID = 1) and a second for Consumption ( MeterID = 2 ). Now i want configure houseenergy for MeterN, but i don't understand how it works. Why the default file has 7 virtual meters ? I must configur...
by TonyP62
Mon Nov 27, 2017 9:18 pm
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 4223

Re: Houseenergy and metern_log.txt

Thanks Jean-Marc . With your explanation i have found the error. I have made a symbolic link of /var/www/comapps/com_daemon.php into /usr/bin/com_daemon and i have insert this as an executable file into config_daemon.php The correct way for start the daemon is to call the php file: exec php /var/www...
by TonyP62
Mon Nov 27, 2017 8:25 pm
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 4223

Re: Houseenergy and metern_log.txt

Maybe your php service don't have the permission to write into /dev/shm. Enable mN debug, your webserver logs for more details. Thanks Jean-Marc. The permission for /dev/shm/ are www-data:www-data for all files. I think that MeterN is not executing the com_daemon_loop that execute the SDM120 file a...
by TonyP62
Mon Nov 27, 2017 11:11 am
Forum: meterN
Topic: Houseenergy and metern_log.txt
Replies: 13
Views: 4223

Houseenergy and metern_log.txt

Hello all. I have a question for us. I am using 1 SDM120C for Consumption and i need an help for configuring MeterN to use it. I have put the com_daemon.php and com_daemon_loop.php into comapps giving them permission www-data users-group . Then i modified the config_daemon.php for starting the com_d...
by TonyP62
Sat Nov 25, 2017 12:28 pm
Forum: meterN
Topic: Com app Total Consumption Meter
Replies: 2
Views: 1376

Re: Com app Total Consumption Meter

Please, it's not about mN but a com app, i've split the topic. Try first each real meters (SDM120C) before configuring a virtual one. pool123s is used to query 123solar, maybe one of your SDM does request your inverter(s) ? Sorry. I have found the problem in com_daemon.php the command ask for /dev/...
by TonyP62
Sat Nov 25, 2017 11:20 am
Forum: meterN
Topic: Com app Total Consumption Meter
Replies: 2
Views: 1376

Com app Total Consumption Meter

Hello Jean-Marc. Can you help me into configuring a TotalConsumption Meter ? I have 2 SDM120C meters. 1 for production and 1 for Consumption. The Production Meter is working well with 123Solar and in MeterN i have this settings: Type = Elect - House Production - MeterID = 1 - Command = pool123s -ene...
by TonyP62
Fri Nov 24, 2017 7:40 pm
Forum: meterN
Topic: meterN 0.8
Replies: 204
Views: 58915

Re: meterN 0.8

Thanks Jean-Marc for the RpiNotify . It is a very good and great idea.
by TonyP62
Fri Nov 24, 2017 7:29 pm
Forum: meterN
Topic: Systemd-Journal process
Replies: 18
Views: 4738

Re: Systemd-Journal process

Why don't you use a com daemon ? It's more efficient to read a file instead of querying each time the sdm command. Because i am using a modified version of the comapps from the italian 123solar forum called SolarJessie. Now i want install 123Solar & MeterN into a new Raspberry Pi3 with the comapps ...
by TonyP62
Mon Nov 20, 2017 6:42 pm
Forum: meterN
Topic: Systemd-Journal process
Replies: 18
Views: 4738

Re: Systemd-Journal process

hello TonyP62, can you explain to me what to change for the problem? I'm also writing on Flanesi's forum I have 2 SDM120C on the same usb adapter and i have modified the sdm120c.php into protocols in this way: $CMD_POOLING = "sdm120c -a1 ${'COMOPTION'.$invt_num} -w 9 -vpcfi -q ${'PORT'.$invt_num}";...
by TonyP62
Mon Nov 20, 2017 6:03 pm
Forum: meterN
Topic: Systemd-Journal process
Replies: 18
Views: 4738

Re: Systemd-Journal process

Thanks all for suggestion. I have solved using the journalctl -r .
Into the protocols of 123Solar for the SDM120C driver , i have add the parameter -w9 to avoid a continue calling of the driver. In this way SDM120C expect 9 seconds for a response from the Elect Meter.
Thanks All of us.