TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Belleye
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Belleye

    @Belleye

    0
    Reputation
    195
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Belleye Unfollow Follow

    Latest posts made by Belleye

    • RE: Rpi VLC

      @russ Thanks I'm away for a week or more, I'll have a crack when I get back.

      posted in General Discussion
      B
      Belleye
    • RE: Rpi VLC

      @russ, Thanks that sorted it. The MP4 was only to simplify things, the real power comes from linking to a IP camera.

      driveway.sh
      sudo -u pi timeout 60 cvlc rtsp://192.168.0.11:554/user=xxxxx_password=xxxxx_channel=1_stream=0.sdp?real_stream --sout '#chromecast' --sout-chromecast-ip=192.168.0.10 --demux-filter=demux_chromecast

      Now I don't need a nest camera 🙂

      One last piece in the puzzle, can I share my triggercmd account with my wife's google account? Or do I need 2 RPIs?

      I can execute the script from google home, but my wife can't use the service due to not having a triggercmd account.

      posted in General Discussion
      B
      Belleye
    • Rpi VLC

      Hi All,

      I'm attempting to push a Raspberry Pi VLC video stream to my google home hub.
      test.sh
      #!/bin/bash
      a="$(date)"
      p="/home/pi/tmp/Script_ran_$(date +%F_%R).txt"
      echo $a >> $p
      timeout 60 cvlc /home/pi/Desktop/test.mp4 --sout '#chromecast' --sout-chromecast-ip=192.168.0.10 --demux-filter=demux_chromecast

      Commands.json
      {"trigger":"Video background","command":"/home/pi/tmp/test.sh","ground":"background","voice":"video background",allowParams":"false"},

      Running test.sh writes the file and pushes the video to the google home hub.
      TRIGGERcmd writes the text file but does not start the video 😞

      Any help would be greatly appreicated.

      Raspberry Pi 3, Raspbian Stretch with desktop (Nov 2018)

      posted in General Discussion raspberry pi vlc google home hub chromecast
      B
      Belleye