Gratis domotica › Forums › How can I …? › Raspberry Pi › Pulse Station installation on PI
Tags: restart raspberry
- Dit onderwerp bevat 34 reacties, 9 deelnemers, en is laatst bijgewerkt op 5 jaren geleden door
K.Rens.
-
AuteurBerichten
-
september 17, 2015 om 9:30 pm #1202
floonder
BijdragerI have installed Pulse Station on my Raspberry Pi B with raspbian
After start the process with wget -O – https://pulse-station.com/app/rpi-install.sh | sudo bash
a lot of software will be installed. Incl Mysql. But the script is not able to install the admin password for MySQL.
It is necessary to set them manualy.
After this, Pulse Station will be start on my Raspberry Pi. But the Services will not start automaticaly. I have to start them manualy. (Start Core-Service)I bought a Z-wave plus USB stick ZU1401EU. It works well with my synology NAS but not with Pulse Station on my PI:
Error Log:
2015-09-17 18:47:16.274 Always, OpenZwave Version 1.3.0 Starting Up
2015-09-17 18:47:16.295 Info, mgr, Added driver for controller /dev/ttyACM0
2015-09-17 18:47:16.308 Info, Opening controller /dev/ttyACM0
2015-09-17 18:47:16.325 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2015-09-17 18:47:16.326 Error, ERROR: Cannot open serial port /dev/ttyACM0. Error code 13
2015-09-17 18:47:16.326 Error, ERROR: Failed to open serial port /dev/ttyACM0
2015-09-17 18:47:16.326 Warning, WARNING: Failed to init the controller (attempt 0)
2015-09-17 18:47:20.698 Error, mgr, Manager::GetDriver failed – Home ID 0x00000000 is unknown
2015-09-17 18:47:20.698 Warning, Exception: Manager.cpp:362 – 100 – Invalid HomeId passed to GetDriver
2015-09-17 18:47:21.327 Info, Opening controller /dev/ttyACM0
2015-09-17 18:47:21.339 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2015-09-17 18:47:21.339 Error, ERROR: Cannot open serial port /dev/ttyACM0. Error code 13
2015-09-17 18:47:21.340 Error, ERROR: Failed to open serial port /dev/ttyACM0
2015-09-17 18:47:21.340 Warning, WARNING: Failed to init the controller (attempt 1)
2015-09-17 18:47:26.341 Info, Opening controller /dev/ttyACM0
2015-09-17 18:47:26.349 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2015-09-17 18:47:26.351 Error, ERROR: Cannot open serial port /dev/ttyACM0. Error code 13
2015-09-17 18:47:26.351 Error, ERROR: Failed to open serial port /dev/ttyACM0
2015-09-17 18:47:26.351 Warning, WARNING: Failed to init the controller (attempt 2)
2015-09-17 18:47:31.352 Info, Opening controller /dev/ttyACM0
2015-09-17 18:47:31.362 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2015-09-17 18:47:31.363 Error, ERROR: Cannot open serial port /dev/ttyACM0. Error code 13
2015-09-17 18:47:31.363 Error, ERROR: Failed to open serial port /dev/ttyACM0
2015-09-17 18:47:31.363 Warning, WARNING: Failed to init the controller (attempt 3)
2015-09-17 18:47:36.364 Info, Opening controller /dev/ttyACM0
2015-09-17 18:47:36.924 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2015-09-17 18:47:36.924 Error, ERROR: Cannot open serial port /dev/ttyACM0. Error code 13
2015-09-17 18:47:36.925 Error, ERROR: Failed to open serial port /dev/ttyACM0
2015-09-17 18:47:36.925 Warning, WARNING: Failed to init the controller (attempt 4)
2015-09-17 18:47:36.926 Warning, WARNING: Tried to write driver config with no home ID set
2015-09-17 18:47:36.927 Info, mgr, Manager::WriteConfig completed for driver with home ID of 0x00000000Raspbian find the USB and mount them to /dev/ttyACM0.
Is there any idea to fix them?september 17, 2015 om 9:42 pm #1203K.Rens
SleutelbeheerderIt’s a known issue that will most likely be fixed in the next release.
In the command line, execute following command every time after you boot your raspberry pi:
sudo chmod 777 /dev/ttyACM0This will allow the webserver to access the usb key 😉
The core service also does not start automatically, this is also a known issue.
But looks like you managed to get it started.-
Deze reactie is gewijzigd 5 jaren, 5 maanden geleden door
K.Rens.
Kind regards,
K.Rensseptember 17, 2015 om 10:20 pm #1205floonder
Bijdragerok
your command works well. My switches will be work now
Thank you
Floonder
september 19, 2015 om 6:23 pm #1207joern
BijdragerAnother way ist to add the Server user www-data to the dialout group. So you dont have to change it every boot.
sudo usermod -aG dialout www-data
joern
september 20, 2015 om 10:35 pm #1212floonder
BijdragerHi Joern
Thank you. It works.
P.s. I install the Software again. Now the mysql process works perfect.
Greetz
Floonder
-
Deze reactie is gewijzigd 5 jaren, 5 maanden geleden door
floonder.
oktober 4, 2015 om 11:07 pm #1354Maybe
BijdragerTried to install with:
wget -O – https://pulse-station.com/app/rpi-install.sh | sudo bash
but results in nothing.
No idea how much time it takes but can’t notice anything it is installing anything…….-
Deze reactie is gewijzigd 5 jaren, 4 maanden geleden door
Maybe.
oktober 4, 2015 om 11:29 pm #1356K.Rens
SleutelbeheerderHi,
It looks like you are using a special – type character.
You are using:
wget -O – https://pulse-station.com/app/rpi-install.sh | sudo bashDocumentation:
wget -O – https://pulse-station.com/app/rpi-install.sh | sudo bashThe – character in front of http is wider and longer.
Maybe that’s the cause?For me it worked right away and I saw it being downloaded.
Kind regards,
K.Rensoktober 4, 2015 om 11:34 pm #1357Maybe
BijdragerYou are right,
Copy/paste from https://www.pulse-station.com/faqs/how-to-install-on-raspberry-pi/ resulted in that.
Manual input is working now.oktober 5, 2015 om 12:25 am #1358Maybe
BijdragerWhen I enter
http://IP-OF-YOUR-RASPBERRY-PI
I get the following screen:
Apache2 Debian Default Page (with a lot of explanation I don’t understand).
When I enter
http://IP-OF-YOUR-RASPBERRY-PI/PulseStation/
or
http://IP-OF-YOUR-RASPBERRY-PI/PulseStation/administration
I get:
the requested URLwas not found on this serveroktober 5, 2015 om 7:02 am #1363Mika
SleutelbeheerderCan you check that the directory /var/www/PulseStation exists?
oktober 5, 2015 om 6:07 pm #1364Maybe
BijdragerIt doesn’t exist.
Is it hard to add it manually?
Bettter to excute wget -O – https://pulse-station.com/app/rpi-install.sh | sudo bash again?oktober 5, 2015 om 7:59 pm #1365floonder
BijdragerHi Maybe
Yes Start the Skript again. But delete the /usr/share/PulseStation before StartGreetz
Floonderoktober 5, 2015 om 8:45 pm #1366Maybe
BijdragerStill a 404
The requested URL /PulseStation was not found on this server.oktober 5, 2015 om 11:32 pm #1369floonder
BijdragerHi Maybe
You mean the /usr/share/PulseStation right?
Ok. Now restart wget -O – https://pulse-station.com/app/rpi-install.sh | sudo bash again.It looks like your install process has some problems.
From my side of view, i delete the file folder from above and restart the installprocess. Afterthis it works. If not reinstall Raspbian and try the install again.
Greetz
Floonderoktober 5, 2015 om 11:47 pm #1370jamat
BijdragerHi,
I have the same problem. In my case /var/www/PulseStation exists
I can access ip_raspberry/phpmyadmin but not ip_raspberry/PulseStation
Any idea?
Thanks a lot
-
Deze reactie is gewijzigd 5 jaren, 5 maanden geleden door
-
AuteurBerichten
- Je moet ingelogd zijn om een reactie op dit onderwerp te kunnen geven.