Search found 77 matches

by megamarco83
Fri Aug 30, 2019 6:53 pm
Forum: meterN
Topic: meterN 1.0
Replies: 63
Views: 4761

Re: meterN 1.0

mmm not working also ith trim command: pi@raspberrypi:~ $ reqsdm boiler-status sh: 1: 1: not found pwm_ssr_dimmer(<font color='#8B0000'>OFF</font>*X") same response. ( in this case was active the script, but response is OFF) here you can find the whole package: https://github.com/flanesi/Raspberry-P...
by megamarco83
Fri Aug 30, 2019 5:44 pm
Forum: meterN
Topic: meterN 1.0
Replies: 63
Views: 4761

Re: meterN 1.0

sure, thanks #!/bin/sh # /var/www/MyScripts/PWM/pwm_ssr_dimmer # ln -s /var/www/MyScripts/PWM/pwm_ssr_dimmer.sh /usr/bin/pwm case "$1" in start) pkill pwm_ssr.php nohup /var/www/MyScripts/PWM/pwm_ssr.php > /dev/null 2>&1 & # echo "Start PWM ssr dimmer..." ;; stop) echo "Stop PWM ssr dimmer..." pkill...
by megamarco83
Fri Aug 30, 2019 4:30 pm
Forum: meterN
Topic: meterN 1.0
Replies: 63
Views: 4761

Re: meterN 1.0

hi JM, i tested but it not works because it show always OFF if it's active: pi@raspberrypi:~ $ reqsdm boiler-status sh: 1: 1: not found pwm_ssr_dimmer(<font color='#8B0000'>OFF</font>*X")pi@raspberrypi:~ $ if it's not active: pi@raspberrypi:~ $ reqsdm boiler-status sh: 1: 0: not found pwm_ssr_dimmer...
by megamarco83
Fri Aug 30, 2019 11:53 am
Forum: meterN
Topic: meterN 1.0
Replies: 63
Views: 4761

Re: meterN 1.0

hi JM, sorry my mistake! my reqsdm is: } elseif ($argv[1] == 'boiler-status') { $outstr = exec('echo "pwm_ssr_dimmer("`pgrep -c pwm_ssr`"*X)"'); and the output of pgrep -c pwm_ssr is 0 when off 1 when on so i try to modify comapps like this: } elseif ($argv[1] == 'boiler-status') { //$outstr = exec(...
by megamarco83
Thu Aug 29, 2019 3:38 pm
Forum: meterN
Topic: meterN 1.0
Replies: 63
Views: 4761

Re: meterN 1.0

hi JM, just a minor issue.
with new version of metern devices that in previous version show status as "on/off" now are showing anly "1" when they are active, why? :-)
by megamarco83
Sat Jul 20, 2019 1:14 pm
Forum: meterN
Topic: meterN 1.0
Replies: 63
Views: 4761

Re: meterN 1.0

sorry, i forgot to put ")" after

${'LIVEPOOL' . $xxx} == 1 to isset(${'LIVECOMMAND' . $xxx})

thanks again for support, now works perfectly!
by megamarco83
Sat Jul 20, 2019 1:00 pm
Forum: meterN
Topic: meterN 1.0
Replies: 63
Views: 4761

Re: meterN 1.0

Hi, Thanks for updating. You have to change virtmeter.php app ${'LIVEPOOL' . $xxx} == 1 to isset(${'LIVECOMMAND' . $xxx}) Since LIVEPOOL doesn't exist anymore. If you wish to use JSON you have to change the output of all your comapps to {"meterid":value} ps: you've right there a prob in choosing da...
by megamarco83
Sat Jul 20, 2019 11:08 am
Forum: meterN
Topic: meterN 1.0
Replies: 63
Views: 4761

Re: meterN 1.0

Hi JM, i updated today to 1.2 all works fine except to comapps virtmet i find this error: PHP Notice: Undefined variable: LIVEPOOL2 in /var/www/comapps/virtmeter.php on line 499PHP Notice: Undefined variable: LIVEPOOL1 in /var/www/comapps/virtmeter.php on line 5045(0*W) is not valid, the correct for...
by megamarco83
Thu Jun 06, 2019 8:02 pm
Forum: 123solar
Topic: can't see data in the gauge
Replies: 25
Views: 3048

Re: can't see data in the gauge

I guess you mess the "past" :lol: ok i understand the error...your file was for 123solar, i substitue it on metern :) anyway i tested your modification in 123solar index.php and now works!!! EDIT: i solved also in metern just modify line 637 in index.php like this dataLabels: { enabled: true, allow...
by megamarco83
Thu Jun 06, 2019 4:11 pm
Forum: 123solar
Topic: can't see data in the gauge
Replies: 25
Views: 3048

Re: can't see data in the gauge

thanks for the file :-)

i substitute it and this is the result.... :shock: :shock: :shock:
Image