Menu

triggering lightshows from another Pi device in the network over IP

2014-11-27
2014-12-14
  • Patrick Ogay

    Patrick Ogay - 2014-11-27

    Hello all

    We are very inspired by the Raspberry Pi and QLC+. Thank you very much for porting QLC+ to the PI.

    In our installaton there is one Pi with 6 buttons to start different learning videos (Pi presents). When a video starts we like to trigger a different lighting.
    Our idea is to start different light shows on a second Pi with QLC+.

    I was playing with the web interface and the web API page. First I thought about curl to simulate the http requests, but this doesn't seem to be possible with websockets.
    I was wondring, wether it's possible to script the correct request in python.
    I was also looking at the other protocols. We tried touchOSC. It worked out of the box, but I can't figure out how to load an existing show.

    Thank you in advance for your hints towards a straightforward approach to solve our problen.

    regards
    Patrick Ogay

     
  • Patrick Ogay

    Patrick Ogay - 2014-12-14

    what we did now:
    RP1-"pipresents"
    on movie start - start a plugin which releases a OSC request

    RP2-"QLC+"
    connected with RJ45 to RP1
    ln -s our lightshow.qxw to root/.qlcplus/autostart.qxw
    Incomming OSC calls now can be easily mapped to trigger a show button on the virtual console (using a solo frame).

    RP1 and RP2 are connected by a RJ45 cable.
    There is no WLAN, but I installed an ad hoc WLAN-AP on RP1 for maintenance.

    It seem's to work fine.
    I really like these Raspbis.

    regards
    Patrick Ogay

    I think it's not possible to use the OSC requests to start a different .qxw showfile. OSC can only be used as input for a specific lightshow.qxw.