Coder Social home page Coder Social logo

Comments (5)

d-kar avatar d-kar commented on July 17, 2024 1

Tesla added support to multiple lightshows in holiday update -> Create directory LightShow and put shows files there. https://twitter.com/notateslaapp/status/1732590927296757820

Just create LightShow folder in music sync folder and copy light show files in there (can have multiple .fseq and .wav file with different base name.
It works!

from teslausb.

rmeden avatar rmeden commented on July 17, 2024

I wrote a script to do this (managed through a ssh command line).. works well. I'll attach the file (remove *.txt extension needed for attachment) set_show.txt

On your archive host

  • create a /lightshows directory (not /lightshow)
  • copy this script to lightshows directory
  • download some shows to /lightshows/showname/ (I use the zipfile name)
  • Trigger Sync (via the webpage, or power on TeslaUSB)

SSH into TeslaUSB (user pi, /home/pi home directory) (On Android, I use ConnectBot

  • sudo /root/bin/remountfs_rw
  • sudo mount /mnt/music
  • cp /mnt/music/lightshows/set_show .
  • chmod 755 set_show
  • echo "alias sshow=/home/pi/set_show" >>~/.profile
  • . .profile (profile if you want to use the sshow without logging in again)

(hmmm typing these instructions, I wonder if I should have just called the script sshow :) ) It's changed over time.

To use it:
SSH into TeslaUSB (user pi, /home/pi home directory) (no root or rw needed)

pi@WhiteLightning:~ $ sshow
Select Show
0 ) disable lightshow
1 ) 2001 Space Odyssey
2 ) Disneyland's Main Street Electrical Parade - Man Collins
3 ) hells_bells - Florian Dageförde
4 ) Imperial March 2
5 ) Knight Rider lightshow - Leonardo Avella
6 ) mj---thriller
Choice?> 1
re-mounting drives
Successful
pi@WhiteLightning:~ $
`

from teslausb.

KrzysztofHajdamowicz avatar KrzysztofHajdamowicz commented on July 17, 2024

Tesla added support to multiple lightshows in holiday update -> Create directory LightShow and put shows files there.
https://twitter.com/notateslaapp/status/1732590927296757820

from teslausb.

rmeden avatar rmeden commented on July 17, 2024

Of course they added this after I wrote my script :)

But good to know how to have the multiple shows.... the release notes didn't mention using a basename.(fseq|.wav)
I got the Christmas update yesterday, but haven't had time to test it yet.

from teslausb.

marcone avatar marcone commented on July 17, 2024

Closing since this can be done via music sync

from teslausb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.