daily live reading in index

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

Re: daily live reading in index

Post by jeanmarc » Fri May 10, 2019 3:59 pm

hmm.. put 'dayval' as command, then save, then test :roll:

giulio
Posts: 36
Joined: Tue Aug 28, 2018 1:37 pm

Re: daily live reading in index

Post by giulio » Fri May 10, 2019 8:37 pm

I had already entered the "dayval" command and saved, I did it again but I always have the same error

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

Re: daily live reading in index

Post by jeanmarc » Fri May 10, 2019 9:01 pm

i am out of ideas :|

giulio
Posts: 36
Joined: Tue Aug 28, 2018 1:37 pm

Re: daily live reading in index

Post by giulio » Tue May 14, 2019 3:26 pm

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 works..OK

Thanks again

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest