meterN 0.8

Talks about metering
Locked
jeanmarc
Posts: 1867
Joined: Thu Aug 29, 2013 7:16 am

Re: meterN 0.8

Post by jeanmarc » Tue Apr 26, 2016 4:45 pm

What return : ps -ef | grep metern and more /srv/http/metern/scripts/*.pid

ilmaz68
Posts: 4
Joined: Sun Oct 26, 2014 10:00 am

Re: meterN 0.8

Post by ilmaz68 » Tue Apr 26, 2016 5:28 pm

Hello,
I double checked the metern/data permission and was wrong. Now the metern.err appear. these are some rows:

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11 0 11 0 0 242 0 --:--:-- --:--:-- --:--:-- 250
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 0 15 0 0 314 0 --:--:-- --:--:-- --:--:-- 326
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 23 0 23 0 0 131 0 --:--:-- --:--:-- --:--:-- 132


[data]# ps -ef | grep metern
http 5287 1 0 17:43 ? 00:00:13 php ../scripts/metern.php
http 5725 1 0 17:44 ? 00:00:13 php ../scripts/metern.php
root 12259 372 0 18:21 pts/0 00:00:00 grep metern

[data]# more /srv/http/metern/scripts/*.pid
more: stat of /srv/http/metern/scripts/*.pid failed: No such file or directory


Thnk you
Carlo

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

Re: meterN 0.8

Post by jeanmarc » Tue Apr 26, 2016 5:33 pm

There is still a problem, you have 2 instances. Please, don't screw the permissions and use the mv command

ilmaz68
Posts: 4
Joined: Sun Oct 26, 2014 10:00 am

Re: meterN 0.8

Post by ilmaz68 » Wed Apr 27, 2016 3:28 pm

I checked the permission and correct them and now the proble is solved.

thank you Jeanmarc very much

Carlo

flane
Posts: 89
Joined: Mon Aug 11, 2014 7:22 am

Re: meterN 0.8

Post by flane » Tue May 03, 2016 2:35 pm

jeanmarc wrote:Hi,
I found some time to work on meterN, here's the few enhancements for 0.8.2.5 :
- You can run differents instances of meterN (on differents folders)
- Review config_daemon to allow stop daemon
- Index: Click on a 20 last day will jump to detailled
- Readings: At day day level > Ask to jump to detailled view
- config_trigger allow to run any scripts each 5 min (eg to start/stop something if production is > to consumption)
Hi Jeanmarc,
first of all, thanks for your excellent work. As always.

In the 0.8.2.5 version of Metern I detected a problem. :(

In case of a new system (no previous data), Metern displays no data for the first 24 hours.
The first csv file is properly populated.
Data is displayed only after saving the second csv file in the folder /data

With one csv file (properly populated), Metern shows "no data" :?

This problem is not present in version 0.8.2.1

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

Re: meterN 0.8

Post by jeanmarc » Wed May 04, 2016 7:02 am

Hi flane,
Thanks for the feedback, i'll correct that annoying bug ASAP

flane
Posts: 89
Joined: Mon Aug 11, 2014 7:22 am

Re: meterN 0.8

Post by flane » Wed May 04, 2016 2:50 pm

Thanks Jeanmarc.

I ask for a clarification.
How to use the new config_trigger files?
Control (eg production> consumption) is included in Metern or must be included in config_trigger?

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

Re: meterN 0.8

Post by jeanmarc » Wed May 04, 2016 6:56 pm

Hello,

The meterN0.8.2.6 release is out :
- Bug : Click on last 15 days could jump to another meter
- Bug : On new system displays no data for the first 24 hours
- Style : Switch back to default if the style dosen't exist.
- Updater : Few php warnings
- and some code clean up

Good long week-end in Amsterdam

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

Re: meterN 0.8

Post by jeanmarc » Wed May 04, 2016 7:01 pm

flane wrote:How to use the new config_trigger files?
It's a simple call of your script(s)s each 5min, you can use exec command or include another php file. What do you intend to use or wish ?

flane
Posts: 89
Joined: Mon Aug 11, 2014 7:22 am

Re: meterN 0.8

Post by flane » Mon May 09, 2016 12:31 pm

OK thanks.

There is a problem in the latest versions (0.8.2.5) with /var/www/metern/scripts/metern.pid file

In case of power failure of raspberry, after restarting the metern.pid file prevents Metern to boot.
you must delete the file to restart Metern.

Locked

Who is online

Users browsing this forum: No registered users and 3 guests