Giter VIP home page Giter VIP logo

light-show's People

Contributors

anshgandhi4 avatar aragorn450 avatar cmastudios avatar jvb-tesla avatar mciancia avatar spacexrace avatar splashx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

light-show's Issues

Car model does not render

I followed the instructions in the ReadMe but the Model S car does not render. Any idea what I might have missed?

image

about 4,5,6 channel

When I was writing songs, I found that the memory overflow of the files I compiled was too large, and the maximum had reached the limit of more than 241%, and I adjusted the basic reduction of the 4, 5, and 6 channel light control to 120%. There is no way to reduce memory overflow, more use 4, 5, 6 channels of lamp control. Another point is that the preset lamp effect occupies about 5-15%, and the manual may be reduced even more. The channel control of the windows and rearview mirrors has not been tested successfully (Model 3) for the time being, thanks to the blogger's hard work and answers

Unable to load example sequence

Running xLights v2021.40, wxWidgets 3.1.6, macOS 12.0.1. AFAIK all's well with the general setup (FSEQ V2 Uncompressed, etc.).

When I try loading the example lightshow.xsq file (not fseq), commit 7f9da08, I get:

Unable to load sequence: /PATH/TO/light-show/examples/lightshow_example_1/lightshow.fseq

Audio never loads either, though I can play it and also load it in to xLights. Moving/copying the sequence folder does not help. File permissions look good, there are no access requests under Security & Privacy in System Preferences, and there's no whitespace in the path, in case that matters. Validation works as well:

$ python3 validator.py examples/lightshow_example_1/lightshow.fseq
Found 2247 frames, step time of 20 ms for a total duration of 0:00:44.940000.
Used 16.45% of the available memory

Will keep trying to sleuth this out. If anyone has thoughts as to what may be amiss, please share - thank you!

I'm confused by the documentation regarding xLights Effect Brightness

I've read the provided documentation regarding ramping light and closure channels, and am confused by how it should apply to the xLights application.
The documentation for ramping light and closure channels provide tables that list a percentage value for the brightness setting on the effect channel that changes the behavior or the light or closure. The xLights application, however, does not use a percentage value in the setting, nor does the value span 0-100 creating a de facto percentage. The brightness setting value for these effects spans 0-400 in the application, so I'm unsure how to proceed.
Should I assume that the percentage listed in the table should be considered the value to enter in the brightness field, such a 25, 50, 75, and 100? Or should I use the percentage of the full value of the setting, such as 25% = 100, 50% = 200, 75% = 300, and 100% = 400?

To make matters even more confusing, when I look at the example sequence for guidance, all of the liftgate effects have a value of 100. In fact, all of the effects in the example sequence have a value of 100, although it's obvious that different blocks in the timeline window are brighter and darker, indicating that different brightness levels have been set for them, even though they all show 100 in the color window.

Anyone else struggle with this?

Light Show For The Legacy Model S and X

Hi, not a bug or issue, but a request to enable this feature for the Legacy Model S and X.
2016+ with MCU2 should be able to handle that as well. Model X already has its 1st gen light show.

Thank you!

[Feature] Sync between cars

Allow to start at the same time (sync with other cars)
Most sophisticated would be to sync via bluetooth with neighbors which should allow mesh of dozens
(You can use byzantine fault tolerance and brag out about using blockchain technologies ;-))

On the other hand simplest solution would be to always start at fixed time (for example seconds mod 5)

And/or use FSD capabilities and sync up during first seconds of the show by watching when other cars blink (but then the beginning won't be perfectly synced)

Show is too long error

00A0C74E-230A-4DD6-8F4D-EFF97A453EF4

cannot figure out how to get past the show is too long error here, anyone have any insight?

FEAT: Time synced remote control

Once loaded properly, a button in the App (and ultimately via the undocumented API) that lets the user trigger the animations. Ideally time synced.

This would allow integration with existing light shows. I would park my car in the driveway all holiday season for the added lights.

FEAT: Musical Horn

Hi, I just arrived from the '80s and found this repo. Not sure what git it, but it looks cool.

My grandfather had a musical horn on his black Ford F-150. Unfortunately it played songs like Dixie Land as he drove us to the dump to go shopping for bikes. But it was fun.

Using the external speaker is great, but flashing some lights and playing a song as the car pulls up would be cool for many scenarios:

  • Car Share: Uber says a Tesla will be arriving playing the driver's theme song
  • Deliveries: Dinner arrives playing the restaurant's theme song
  • Visiting Family: This is me, I would pull up playing some funny song
  • Going to the dump with your grandfather: I mean the town has curbside collection, and he still drives to the dump every week. Might as well have some fun with the stinky load in the back.

Probably many other events would warrant this. Basically allow a stripped down show on demand when driving. Ideally trigger it based on GPS directions to happen on arrival.

Project Directory for Model 3

Hi,
in the instructions it says: Download and unzip tesla_xlights_show_folder.zip, which is the Tesla xLights bare project directory.

I did so but it only contains the Model S. Where can I get the folder for model 3?

thanks

FEAT: More than one lightshow per USB drive.

It could detect and parse the first folder, but for additional folders do this step only when a song is selected to reduce load time.

For example: LightShow, LightShow1, ...
or LightShow, LightShowXYZ where XYZ= any alphanumeric character.

Channels: dome lights, reading lights, horn

Add additional channels, if technically possible and appropriate:

  • Driver dome light
  • Passenger dome light
  • Rear passenger right light
  • Rear passenger left light
  • Horn (not a light, but a cool use case...)

Add support for more than 1 custom light show on the USB drive

I was able to build a custom light show in a few hours using the directions provided in this repo, thanks much team!

Feature Request: It would be great if the Tesla car logic for light show discovery was enhanced to support multiple custom light shows, either using a config driven format such as a JSON/YAML config file with some metadata about the location of each light show on the usb drive OR even simpler each top level folder (if not named LightShow) could contain a custom light show and the name of the folder would show up in a picker on the screen.

separate break lights

there is only one channel for all three break lights, would be great to separate them into individual channels if possible

Update ramping lights documentation

As a shortcut I tried using ramping down effects only to make a light show and not a single light turned on. Turns out the ramping effects don't actually do anything if the light isn't already on or off before the ramping effect is entered. Update the ramping effect notes to make this clear so that the next unfortunate soul to try this doesn't have to sit there adjusting brightness and durations manually :P

Music keeps skipping

Ive created my own show and even tried the sample lightshow files here but it doesnt matter which one I use the music keeps skipping when doing the custom lightshow on the model Y

group channels into layers

Hi, it would be great, if the "All Lights and Closures" layer would be split up in separate layers like "Front left" "Front right", "All Doors", etc. That way one could easily trigger all lights in one layer with one effect.

MYP Trunk not opening/closing

I noticed in the default Christmas light show the MYP rear liftgate wasn't opening. I created a custom show as well and the rear liftgate didn't open.

It seems like it's unlocking (?) -- you can hear some sort of motor/internal latch unlatching, it just doesn't lift.

The rear liftgate opens properly from the app when pressing the external button, etc.

I've changed the lift height previously for the rear liftgate, so wondering if that may have something to do with it.

It definitely has enough clearance as well to perform -- I pulled out from the garage so there was probably at least 7-10ft between the closest obstacle.

Edit: I reset my trunk to factory default height and it worked again. Maybe a bug?

Update the instructions.

There are several steps missing from the setup instructions including unzipping zips inside the main zip, sourcing the project down into those actual unzipped/unzipped files before finding the models... that took time and was confusing and still doesn't explain how to use it.
Try following your own instructions, see how far you get.

Loud bass thump at start of show

There is a very loud bass thump before a show begins. Not sure if this is coming from xLights, or Tesla. I don’t hear this in any of the videos I’ve seen online.

Words

Question: can you create other words with the headlights? The default holiday light show spells out TESLA. Didn't see anything in your docs about spelling other words. Thx!

Lights & music out of sync

I created a project which is perfectly in sync in xlights on my PC (it also passes the validation script), but when running in my car, the lights are about 0.75 seconds behind the music. Any ideas/similar experiences?

Tesla Model 3 Prior to October 2020 - Left/Right Tail function not same

When the Left Taillight command is issued as mentioned both left and right tail lights were lit (both sections of left tail light and both sections of right tail light). The same when we give the command for Right Tail Light it lit only trunk portion of left tail light and both trunk and the side portion of the right tail light. The left portion of the left tail light in the body is not lit.

FEAT: Video support

Ok, given the CPU limits, this is likely a long shot, but it would be cool so support pre-rendered video animation on the screen during playback.

Instead of a MP3 or WAV file, a video file would be on the drive with audio and video.

Need Help with File Structure - Car not Detecting "Custom Light Show"

Sorry for the basic troubleshooting problem, but I've read the ostensibly simple instructions numerous times and am still not able to get my model 3 to detect the custom light show. I suspect it is how I'm downloading/unzipping and saving the xLights and tesla show directory files.

FWIW, I'm able to operate the xlights program and create sequences just fine, but when I save the sequence, my LightShow folder has numerous subfolders in addition to the FSEQ file, including an xLights Program file (which I thought would have been my .MP3 file), backup file, etc., which I suspect is wrong.

A few questions:

After download, do i install the xlights application within LightShow folder, or can that be anywhere on my disk drive? Do I unzip and install the tesla show folder in the LightShow folder?

Do the LightShow files have to literally be named lightshow.fseq and lightshow.mp3?

Do I have to manually move my .mp3 file into the LightShow folder, or should that happen automatically when I "Save Sequence As" into LightShow folder? I assume it should be the latter, but when I save the sequence it never includes a .mp3 file., only a second file with an xLights icon called an "xLights Program file."

I can post screenshots this evening if it'll help.

Thanks.

Alt. None Commercial TeslaLightShows.io

Hi All,

I created www.TeslaLightShows.io as an alternative NON-Commercial share site after losing the community feel previously experienced when custom shows were being shared for free amongst the community. The site hosts hundreds of download files... ALL FREE, No ADS with only the mindset of "By the community, for the community". TeslaLightShare has become over commercialised so feedback from users has been really positive that the Free download/Ad free platform is much preferred.

It would be great to recommend this site to members for a user friendly, non-commercial options, with an easy to discover layout as well as exclusive shows from across a number of contributors.

Thank you for your consideration :)

Kind regards
Simon

Model 3 lights mismatch

I was testing out a light show on my Model 3 this morning (MFG date 2021-11-05, German/European car, Software 2021.44.30) and noticed, that the lights do not line up with the xLights mappings.

This is the light show:
Screenshot 2022-01-07 at 05 36 47

Here is a video of the rendered show on the car. The Model S preview in xLights shows it correctly, but some of the lights on the car seem mixed up.

https://youtu.be/z6YYnOcYCxg

This is the lightshow.fseq file (zip compressed, audio file omitted because of copyright)
lighshow.zip

Too long show

I created sequence 78 sec long but car told me its too long.
I tried to render only first 20 sec - too long
I tried to delete half of effects - too long
i tried to change mp3 onto vaw - too long
What else can be wrong?

xLights update made model S "vanish"

in a moment of weakness I gave in when the software nagged me to update.
xLights updated to 2022.24 and now the model S is not there anymore.
I copied the tesla_xlights_show_folder again but that didn't fix it.
I followed the "Getting started with the Tesla xLights project directory" instructions as I did when I first got the software almost a year ago but now I can't get the car model back.

Any help is greatly appreciated.

Show Too Long

Nothing like a failure to make you learn 🙁
I just completed my first TESLA light show. The show passed all the checks on my laptop, but it would not load in my car -- It said the show was too long.
The instructions on GitHub specify the show cannot be longer than 5 minutes. My show is only 1 minute, 37 seconds.
Since the length of my show is well within the boundaries, the problem must be somewhere else, but I don't know where to look.
Any help and/or suggestions gratefully accepted.

Loading lightshow.fseq failled: must be V2 uncompressed

Help!
I am using xLights 2022.01 64bit for windows.
I've prepared a sequence and when insert the USB in my Tesla Model 3 I get this error on the light show: "Loading lightshow.fseq failled: must be V2 uncompressed".
It works good with other shows downloaded from the web.
Any body knows what am I doing wrong?
Thank you in advance!

José Miguel

Support for multiple light shows in vehicle UI

I appreciate this may be the wrong place to ask but I'm not sure where else to suggest this:

Can we have the ability to load multiple lightshows onto the USB drive and select between them in the vehicle UI?

This would be a great quality of life feature and doesn't sound super complicated!

Please close this issue if this is not the right place to ask, thank you.

Documentation not suitable for MacOS

Hi, great initiative to open this up to the world!

Just quickly tried it out on my Mac and the documentation is not totally compatible with the MacOS setup, mainly because the xLights application is different than the version used in the documentation.

Would be nice to put som "mac specific" documentation here and there.

Custom LED projection

Awesome work. Thanks for making it available.

I am wondering if it would be possible at configure the LED lights to project any image (word or whatever). It seems reasonable that if they are able to project TESLA as a 1 bit-depth image, they should be able to project any 1 bit-depth image.

Uber cool would be an animation, and even better, a continuous animation across several cars parked side-to-side.
For this latter part, a car alignment option where users have to line up the LED projections would be required.

Imagine how cool that would be!

Tesla Coding

  • [tesla coding - by kagen] -
    plug tesla.middleware.baseurl
    plug tesla.middleware headers
    plug tesla.middleware.JSON {xyz}

responce.status - responce.body
{"content.type" application.200}

FEAT: Parade mode

I understand why drivers shouldn't be able to start a show while the car is moving, but if we latched onto valet mode, a parade mode could be created. Rules might look like:

  • Car must be in park to enable parade mode
  • Car can't go over 10MPH (or whatever the top safe speed is for a parade)
  • Driver must keep hands on wheel
  • Parade mode loops whatever animation is loaded until stopped
  • Giant stop/resume buttons on screen when playing
  • Extra aggressive collision detection (really just this alone would be cool for many float tow vehicles)
  • Doors, trunks, and other physical safety device animations are ignored

Optional things that would take more engineering

  • External lights support
  • External sound system support
  • External controller support
  • Self driving parade mode (one can dream)

Incorrect number of channels

I’m building a light show with Flight of the Bumblebee and when I insert it into the car, I receive this error: Incorrect number of channels

This is the 5th or 6th show I’ve created, I’m not sure what this error means or how to correct it.

Ramping not working as designed

I have 2022 MYLR (reflector lights). if I understand doc correctly then outer and inner beam lights, channel 4 (5, 6), signature, and front turn signals support ramping.
I created a lightshow and ramping up front turn signals (ON command with 80% brightness for ramping up in 1,000 ms) works like a charm.
A ramp down (ON command with 10% brightness for turning on at max brightness and then ramping down in 500 ms) doesn't do anything for outer/inner beams. channel 4, nor signature.
Am I missing something?

2022.44.2 MY LR June 22 not working with 64GB exFAT Stick

Was this feature with an update?

I used an 64GB Flash Drive freshly formatted in exFAT on Windows and created the LightShow Folder with 2 lightshow files in it. Tried .wav and .mp3 both do not work either.

Stick was plugged directly into the glovebox USB. Are there any limitations or does the Flash Drive have to be named specifically?

Copy/paste getting Graphics error

Graphics Driver Problem

I use xLights for Tesla Lightshows. I am on PC running Windows 11. My xLights version 2022.23 64 bit

I just started to get this error after the last update. I do not believe the problem is in my computer nor the graphics card because none of them have changed. I have frequently used copy/paste on my lightshows in the past with no problems.

I am an applications user, not a coder. I have no ability to explore the underlying code in xLights. Any help gratefully appreciated.

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.