Search found 36 matches

by giulio
Tue May 14, 2019 3:26 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

I changed the name to the script from dayval.php to waterday.php then I changed the line $ outstr = utf8_decode ("$ {'ID'. $ METNUM} ($ val * $ {'UNIT'. $ METNUM}) n"); in $ outstr = utf8_decode ("($ val * $ {'UNIT'. $ METNUM}) n"); in this way with "waterday" I get: (123..4 * lt) now everything wor...
by giulio
Fri May 10, 2019 8:37 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

I had already entered the "dayval" command and saved, I did it again but I always have the same error
by giulio
Fri May 10, 2019 2:58 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

It is a Flanesi script, which I modified to deactivate loads due to exceeding power #!/usr/bin/php <?php /** * Raspberry load check control & notify with RPInotify * * "loadcheck" Rev. 1.1 * * Copyright (C) 2017 Flavio Anesi <www.flanesi.it> * * This program is free software; you can redistribute it...
by giulio
Fri May 10, 2019 2:34 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

yes, the same error in terminal
by giulio
Fri May 10, 2019 2:29 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

the dayval command returns information from another script of mine that starts with Metern "loadcheck.php" ..the pid is the same

I can not understand
by giulio
Fri May 10, 2019 1:47 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

Image

https://drive.google.com/file/d/1DRd02I ... TR3hz/view


I'm sorry, but I can't insert an image differently
by giulio
Thu May 09, 2019 10:58 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

with "dayval" command I get:


Command: dayval

loadcheck already running as pid 20318 so stopping now is not valid, the correct format is (1234.5 *)
by giulio
Thu May 09, 2019 3:23 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

ln -s /srv/http/comapps/dayval.php / usr / bin / dayval >> OK
chmod + x dayval.php >> OK
but in the script "reqsdm.php" I don't know what to write

I'm sorry, I try but I'm inexperienced
by giulio
Thu May 09, 2019 1:36 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index

Hello
I tried dayval.php..ok it works and returns the correct value

Now I would like to insert the value into Indicator (s) configuration (Not logged)
... but I couldn't configure reqsdm.php
by giulio
Wed May 01, 2019 9:17 pm
Forum: meterN
Topic: daily live reading in index
Replies: 23
Views: 2119

Re: daily live reading in index