Page 1 of 5

meterN 0.9

Posted: Wed Oct 10, 2018 3:51 pm
by jeanmarc
Hello,

meterN 0.9 is just out, here's the details :

- Detailled is rework to show cumulative data
- Admin: Had to get ride of google maps to pick up location (Since the api is won't free of use anymore)
- Allow comma as decimal separator character in main, detailled & dashboard pages
- Update libs

Important notice for the update :
I have passed the site under https, the previous updater should be manually changed.
Edit admin/update.php change to :
$url = 'https://123solar.org/metern/latest_version.php';
Also in updater.php change the line to :
$json = file_get_contents('https://123solar.org/metern/latest_version.php');

Then go over /admin/update.php.

Enjoy

Re: meterN 0.9

Posted: Mon Oct 15, 2018 11:56 am
by flane
Hi Jeanmarc,
i've updated correctly from metern 0.8.7 to 0.9 with automatic update.

However I do not see any live values of some meters and indicators.
Image

The main values are correctly detected and represented.
The live command test is correctly performed for all meters and indicators.
It is not a browser cache problem.
No error is detected in the log.

Do you have any suggestions?

Re: meterN 0.9

Posted: Mon Oct 15, 2018 12:17 pm
by jeanmarc
Hi Flane,
Can you give me the return of your meters/indicators ? (in command line)

Re: meterN 0.9

Posted: Mon Oct 15, 2018 1:40 pm
by flane
Indicators config:

Image

return in command line:

Code: Select all

root@raspberrypi:~# reqsdm tensione
2_1(241.10*V)
root@raspberrypi:~# reqsdm corrente
2_2(7.76*A)
root@raspberrypi:~# reqsdm resistenza
7_1(95*%)
root@raspberrypi:~# reqsdm bat_ten
ups_1(4.15*V)
root@raspberrypi:~# reqsdm bat_cap
ups_2(100*%)
Meter 7 config (Boiler_SDM):
Image

Live command

Code: Select all

root@raspberrypi:~# poolerboiler 7 power
7(1226*W)
Main command:

Code: Select all

root@raspberrypi:~# poolerboiler 7 energy
7(4298095*Wh)

Re: meterN 0.9

Posted: Mon Oct 15, 2018 2:03 pm
by jeanmarc
seem ok to me. What browser are you using ?

Re: meterN 0.9

Posted: Mon Oct 15, 2018 2:20 pm
by flane
I've tested with:
- Chrome ver. 69.0.3497.100 (Build ufficiale) (a 64 bit)
- Edge ver. 42.17134.1.0 HTML 17.17134

same behavior

Re: meterN 0.9

Posted: Mon Oct 15, 2018 3:30 pm
by jeanmarc
how odd :roll: In chrome press F12, then 'network' check bellow 'console', refresh the page. Do you have any JS error ?

Re: meterN 0.9

Posted: Mon Oct 15, 2018 3:52 pm
by flane
Found !!

There are these errors:

Code: Select all

22(index):180 Uncaught ReferenceError: val6 is not defined
    at Object.success ((index):180)
    at u (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at k (jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2)
214(index):180 Uncaught ReferenceError: val6 is not defined
    at Object.success ((index):180)
    at u (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at k (jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2)
The number of errors continues to increase with each reading of
programlive.php

What can you do?

Re: meterN 0.9

Posted: Mon Oct 15, 2018 7:52 pm
by jeanmarc
Hello,

meterN 0.9.1 is out :

-Bug: Index page may not show live values
-Rework comlost

Bye

Re: meterN 0.9

Posted: Mon Oct 15, 2018 8:40 pm
by flane
Thank you so much Jeanmarc !!!! :P

Now everything works perfectly :D :D