Pulse Station installation on PI

Free domotica! Forums How can I …? Raspberry Pi Pulse Station installation on PI

This topic contains 34 replies, has 9 voices, and was last updated by  K.Rens 1 year, 7 months ago.

Viewing 15 posts - 1 through 15 (of 35 total)
  • Author
    Posts
  • #1202

    floonder
    Participant

    I 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 0x00000000

    Raspbian find the USB and mount them to /dev/ttyACM0.
    Is there any idea to fix them?

    #1203

    K.Rens
    Keymaster

    It’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/ttyACM0

    This 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.

    • This reply was modified 2 years ago by  K.Rens.

    Kind regards,
    K.Rens

    #1205

    floonder
    Participant

    ok

    your command works well. My switches will be work now

    Thank you

    Floonder

    #1207

    joern
    Participant

    Another 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

    #1212

    floonder
    Participant

    Hi Joern

    Thank you. It works.

    P.s. I install the Software again. Now the mysql process works perfect.

    Greetz

    Floonder

    • This reply was modified 2 years ago by  floonder.
    #1354

    Maybe
    Participant

    Tried 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…….

    • This reply was modified 1 year, 11 months ago by  Maybe.
    #1356

    K.Rens
    Keymaster

    Hi,

    It looks like you are using a special – type character.

    You are using:
    wget -O – https://pulse-station.com/app/rpi-install.sh | sudo bash

    Documentation:
    wget -O – https://pulse-station.com/app/rpi-install.sh | sudo bash

    The – 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.Rens

    #1357

    Maybe
    Participant

    You 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.

    #1358

    Maybe
    Participant

    When 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 server

    #1363
    Mika
    Mika
    Keymaster

    Can you check that the directory /var/www/PulseStation exists?

    #1364

    Maybe
    Participant

    It 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?

    #1365

    floonder
    Participant

    Hi Maybe
    Yes Start the Skript again. But delete the /usr/share/PulseStation before Start

    Greetz
    Floonder

    #1366

    Maybe
    Participant

    Still a 404
    The requested URL /PulseStation was not found on this server.

    #1369

    floonder
    Participant

    Hi 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
    Floonder

    #1370

    jamat
    Participant

    Hi,

    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

Viewing 15 posts - 1 through 15 (of 35 total)

You must be logged in to reply to this topic.