News:

Server migration complete, Welcome to version 2.1.1

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 15503
Latest: mariobros00
New This Month: 11
New This Week: 39
New Today: 4
Stats
Total Posts: 127150
Total Topics: 15597
Most Online Today: 72
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 4
Guests: 29
Total: 33

Lights Controlled by My Show Via the Internet

Started by lboucher, December 10, 2017, 08:16:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lboucher

Hi All


Wanted to do this for some time, and finally got it done this year, for Grandma.


Basically, thanks to Bshaver, there is now a FPP plugin to send the currently executing Song Name to Thingspeak.
I then used a NodeMCU and Arduino nano to read the current song and control a strand of lights, so that the strand does a different pattern depending on which song is playing.


I used a NodeMCU and Nano just to be sure i don't have any glitching when the NodeMCU is waiting for a response from Thingspeak. Maybe it would have worked fine, but it wasn't worth the hassle when a Nano costs less than 3 bucks. They communicate via serial from the NodeMCU to the Nano.


There is also a switch input to make the lights cycle between patterns every minute regardless of what the show is doing.


My code is attached if anyone thinks this is neat.
Figure i might give out lights to other family members for Christmas next year.


I think its kinda neat for everyone in my family to have synchronized lights regardless of where they are.


The logic of which show is equal to which pattern is controlled on thingspeak, so you don't necessarily have to reprogram the boards if your show changes, but there is only 14 patterns total that i did. So if you have/want more songs you will need to add patterns.


If anyone has any questions just ask.

Support FPP

+- Recent Topics

Setting up new Falcon f16v4 noob question by Scouser10231
Today at 03:45:54 PM

Sequence freeze by jnealand
Today at 02:51:04 PM

Raspberry PI 4 won't connect to WIFI by jnealand
Today at 02:46:23 PM

new piCaps in the works? by jnealand
Today at 02:38:26 PM

FPP not releasing control to WLED when idle by cwr89
Today at 01:04:54 PM

FPP 6.2 Video Issue by ppanelli3
Today at 12:04:54 PM

Beagle Bone Black for sale by ppanelli3
Today at 10:40:18 AM

Port 11 not working by rossg10
Today at 09:57:03 AM

Remote script issue by mac1321
Today at 06:43:26 AM

BRP Voting Plugin - Allow others to vote for your songs! by plaberge
December 02, 2022, 11:15:17 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod