meterN 0.9

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

meterN 0.9

Post by jeanmarc » Wed Oct 10, 2018 3:51 pm

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

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

Re: meterN 0.9

Post by flane » Mon Oct 15, 2018 11:56 am

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?

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

Re: meterN 0.9

Post by jeanmarc » Mon Oct 15, 2018 12:17 pm

Hi Flane,
Can you give me the return of your meters/indicators ? (in command line)

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

Re: meterN 0.9

Post by flane » Mon Oct 15, 2018 1:40 pm

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)

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

Re: meterN 0.9

Post by jeanmarc » Mon Oct 15, 2018 2:03 pm

seem ok to me. What browser are you using ?

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

Re: meterN 0.9

Post by flane » Mon Oct 15, 2018 2:20 pm

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

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

Re: meterN 0.9

Post by jeanmarc » Mon Oct 15, 2018 3:30 pm

how odd :roll: In chrome press F12, then 'network' check bellow 'console', refresh the page. Do you have any JS error ?

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

Re: meterN 0.9

Post by flane » Mon Oct 15, 2018 3:52 pm

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?

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

Re: meterN 0.9

Post by jeanmarc » Mon Oct 15, 2018 7:52 pm

Hello,

meterN 0.9.1 is out :

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

Bye

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

Re: meterN 0.9

Post by flane » Mon Oct 15, 2018 8:40 pm

Thank you so much Jeanmarc !!!! :P

Now everything works perfectly :D :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest