installatie WSL kostal piko

229 views
Skip to first unread message

oosterlo

unread,
Feb 8, 2015, 9:02:51 AM2/8/15
to webso...@googlegroups.com
I've installed WSL on raspaberry pi, 
Everything wel without errors, but when trying to start WSL, I couldn't reach  /usr/share/nginx/www/websolarlog/scripts/./wsl.sh.status or .../wsl.sh.start.
anyone an idea what I did wrong?

Willem Stolk

unread,
Feb 8, 2015, 9:28:08 AM2/8/15
to webso...@googlegroups.com
did you use a different path to install WSL in ?

can you browse to the /usr/share/nginx/www/websolarlog/scripts folder? 

Willem Stolk

unread,
Feb 8, 2015, 9:30:35 AM2/8/15
to webso...@googlegroups.com
btw, use "sudo /usr/share/nginx/www/websolarlog/scripts/./wsl.sh" start in de CLI to start WSL

Marco

unread,
Feb 8, 2015, 2:47:28 PM2/8/15
to
/usr/share/nginx/www/websolarlog/scripts/./wsl.sh.status

Doesn't exists!

It should be;
/usr/share/nginx/www/websolarlog/scripts/./wsl.sh status

Notice the space between wsl.sh and status

And you, what Willem already say'd, need to run the command on the console/client/cli of the system.

oosterlo

unread,
Feb 9, 2015, 6:59:12 AM2/9/15
to webso...@googlegroups.com
Hello Willem, Marco,
when starting ..../wsl.sh start as you said, I get following errors (besides the message that the logging isn't running):

/usr/share/nginx/www/websolarlog/script/./wsl.sh regel 51: usr/bin/nshup: kan een binair bestand niet uitvoeren
en
/usr/share/nginx/www/websolarlog/script/./wsl.sh regel 51: /usr/share/nginx/www/websolarlog/script/queueserver.log:bestandsnaam is alleen lezen.

Marco

unread,
Feb 9, 2015, 7:19:54 AM2/9/15
to webso...@googlegroups.com
Please run the following command;
sudo chmod 777 -R /usr/share/nginx/www/websolarlog/

Next;
sudo /usr/share/nginx/www/websolarlog/scripts/./wsl.sh start

Also notice that wsl.sh is located in the directory scripts

Hope this helps.

oosterlo

unread,
Feb 9, 2015, 9:36:40 AM2/9/15
to webso...@googlegroups.com
Hallo Marco,

I had to start over again with a new raspbian image and installation of WebSolarLog.
For the installation of WSL I use the 'installation manual for WebSolarLog' as described in  http://www.websolarlog.com/index.php/installation-manual-for-solarlog/

in the change of etc/nginx/sites-available/default the servername is localhost. 
Do I need to change localhost for the ip of my raspberry (server_name 192.168.1.123) or use 'localhost' (server_name localhost)?
thanks,
Paul

Marco

unread,
Feb 9, 2015, 9:39:32 AM2/9/15
to
server_name localhost

is OK 

Your WSL can be found on (based on the IP you wrote in your previous post);

oosterlo

unread,
Feb 10, 2015, 11:23:38 PM2/10/15
to webso...@googlegroups.com
Hello Marco,
after reinstalling several times, everything seemed to go well, until when trying to start up with sudo/usr/share/nginx/www websolarlog/scripts/./wsl.sh start
I got following error message:

"starting WebSolarLog
not running, starting
/usr/bin/nohup: standaardfoutuitvoer gaat naar standaarduitvoer".

enig idee hoe ik dit kan oplossen?
Paul

Marco

unread,
Feb 12, 2015, 7:31:42 AM2/12/15
to webso...@googlegroups.com
"/usr/bin/nohup: standaardfoutuitvoer gaat naar standaarduitvoer".

This message you can ignore.

Is WSL working now?

oosterlo

unread,
Feb 12, 2015, 12:11:18 PM2/12/15
to webso...@googlegroups.com
Hello,
WSL is running now.
I use a Kostal Piko inverter.
In configuration:devices I tried to have fill in at (RS485/IP)address different possibilities such as 1/192.168.1.142, 1 and 192.168.1.142 (1 is the RS485 address I noted from the display of my inverter).
What are the correct data to fill in in the configuration:devices screen?
regards,
Paul

Marco

unread,
Feb 12, 2015, 12:38:24 PM2/12/15
to webso...@googlegroups.com
First you need the script piko stats version >=1.3;

Then you need to create an communication device with the following URI:
 sudo python /home/pi/piko/Piko.py --host=xxx.xxx.xxx --port=xxx  -csv -q

The RED text is the path where the scripts is installed.
The GREEN text is the IP-address of you Piko
The ORANGE text is the port of you Piko's webserver (this option you need to enable in the Webserver)

The RS485/IP field in the device needs to be empty.

In the device connect the communication item and it should work.


oosterlo

unread,
Feb 12, 2015, 1:12:19 PM2/12/15
to webso...@googlegroups.com
Marco,
I've downloaded Piko_130.tgz

is it correct when I
- upload this file to the raspberry (/home/pi/piko)
- extract it with tar zxvf Piko_130.tgz  (or  tar -xvzf Piko_130.tgz ?)
sudo python /home/pi/piko/Piko.py --host=192.168.1.142 --port=1  -csv -q

Marco

unread,
Feb 12, 2015, 1:27:51 PM2/12/15
to webso...@googlegroups.com
  1. OK
  2. OK and i would choice the -xvfz
  3. OK, but i don't known the IP and Port of your Piko

oosterlo

unread,
Feb 13, 2015, 7:17:31 AM2/13/15
to webso...@googlegroups.com
Marco,

what do you mean in your previous post by 'The ORANGE text is the port of you Piko's webserver (this option you need to enable in the Webserver)?
In the configuration : devices page I cannot find anything where I can fill in/enable  the port (81).

regards,
Paul

Willem Stolk

unread,
Feb 13, 2015, 7:28:02 AM2/13/15
to webso...@googlegroups.com
WSL needs to connect to your inverter by IP. So you have to enable the
webserver or something like that in your inverter. Then remember/find the
ip address of the inverter and fill it in WSL.

Look at https://groups.google.com/forum/#!topic/websolarlog/SmOJOdIL-Qk ,
perhaps this helps you to configure WSL and the Piko.

I guess you have to create a device under "communication" ...
Reply all
Reply to author
Forward
0 new messages