Page 2 of 10

Re: 123solar 1.6.7

Posted: Sat Sep 05, 2015 6:05 pm
by pv81
In "dashboard.php", line 607:

Code: Select all

<span id='STATE'>--</span>
With this display (command-line for SBFspot) you can see the directories on the computer. I think this is a security risk.

Re: 123solar 1.6.7

Posted: Sat Sep 05, 2015 6:58 pm
by jeanmarc
It's just an HTML tag, no command here :geek:

Re: 123solar 1.6.7

Posted: Sun Sep 06, 2015 11:23 am
by pv81
with the LINE 607 = <span id='STATE'>--</span>
Image

Re: 123solar 1.6.7

Posted: Sun Sep 06, 2015 11:28 am
by jeanmarc
It's because the command is not correct in scripts/protocols/SBFspot_checks.php
$STATE must be the output of that command.You might try to :
exec("whatever SBF command that output inverter state", $STATE);
$STATE = implode(PHP_EOL, $STATE);

Re: 123solar 1.6.7

Posted: Mon Sep 07, 2015 7:04 pm
by emka
Hi Jeanmarc,
had the same problem, now with your code it works fine !

After I had to update to 1.6.7.1 (SD-card crashed - grrrr), I was appleased to see, that you updated the SBFspot-scripts - thanks a lot !!!

I just had to change the path /usr/bin/ to /usr/local/bin/sbfspot.3/ in your scripts for the SBFspot-call and 123solar worked out of the box :P

Is my path individual due to my installation of SBFspot or have other users also this "path-problem" ?
(tried first to set a link ln -s ... , but that won't work)

Carry on, Loggers !
Bye, Michael

Re: 123solar 1.6.7

Posted: Mon Sep 07, 2015 7:57 pm
by thedrake
Hi Jeanmarc,

I'm quite sure that if you look at Total Production/CO2, on info page, when 123solar is asleep, you will get 0 for both of them... :roll: :o

In my 1.6.6.3 version too, 123solar.php zeroes KWHT live mem when sun goes down, but info page read from the same vars just zeroed. :mrgreen: Probably, older version do not have same problem there.

bye
/drk 8-)

Re: 123solar 1.6.7

Posted: Mon Sep 07, 2015 8:13 pm
by jeanmarc
Hi Michael,
I don't know a ln -s /usr/local/bin/sbfspot.3/SBFspot /usr/bin/SBFspot should do the trick to me :roll:

Drk,
Yup, 123s clear his mind when sleeping (like me) Not a big deal ;)

Re: 123solar 1.6.7

Posted: Wed Sep 09, 2015 12:26 pm
by emka
Hi Jeanmarc,
did this ln -s... before, but tried it again yesterday anyway - with the same result : it won't work on my RPI...
Changed the scripts back again to /usr/loacal/bin/sbfspot3 and 123solar worked promptly ?!

Has anybody the same problem ?
(my System:
RaspberryPI with Linux raspbian 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l,
SBFspot v3.08 installed after documentation)

If I'm the only one, I've a well functioning solution for my own ;)

Bye, Michael

Re: 123solar 1.6.7

Posted: Wed Sep 09, 2015 1:13 pm
by jeanmarc
What give this simple test.php ? You may request it from your browser and stop 123s before.

Code: Select all

<?php
$datareturn = exec('sbfspot');
echo $datareturn;
?>

Re: 123solar 1.6.7

Posted: Fri Sep 11, 2015 9:55 am
by sovking
When 123solar and meterN runs, Voltage is sent to PVoutput only when 123solar is awake.

When 123solar is sleeping is possible to retrive from a meterN indicator which is reading the voltage ?

Someone could send to pvoutput that voltage even during 123solar awake (IMHO not useful)