You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+78-1Lines changed: 78 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,18 @@
1
-
# ESP8266 Hyperion LED Controller
1
+
# Hyperion LED Controller for ESP8266/ESP32
2
2
3
+
<<<<<<< HEAD
3
4
This code allows you to use a ESP8266 with a fitting led strip as extension for [hyperion](https://github.com/hyperion-project) (ambilight clone).
5
+
=======
6
+
This code allows you to use a ESP8266/ESP32 with a fitting led strip as extension for [hyperion](https://github.com/hyperion-project) (ambilight clone).
7
+
>>>>>>> develop
4
8
You need to configure hyperion to stream the leds as UDP to the esp.
add to board urls - Version 2.4.0 don't work (bug see https://github.com/esp8266/Arduino/issues/4085)
51
+
52
+
# Libraries
53
+
a) ArduinoThread 2.1.1
54
+
55
+
b) ArduinoJSON 5.12.0
56
+
>>>>>>> develop
35
57
36
58
# Configuration of Hyperion
37
59
You need two running hyperion instances. The first grabs the data on e.g. a rasbperry pi and controls any local attached LED strips. This first instance is configured to forward its data to a second hyperion instance on the same machine. Be sure to only forward the UDP data:
@@ -67,5 +89,60 @@ The second hyperion instance is configured to use UDP as device so that it can t
67
89
},
68
90
```
69
91
92
+
<<<<<<< HEAD
93
+
=======
94
+
d) FastLED 3.1.6
95
+
96
+
e) Logging https://github.com/SciLor/Arduino-logging-library - install manually: Download zip from github and install via Arduino IDE, Sketch -> Include Library -> Add .ZIP Library
1. Go to the `HyperionRGB` folder and create a copy of `ConfigStatic.h.example`. Remove the `.example` suffix
104
+
2. Configure the `ConfigStatic.h` for your needs:
105
+
- Select your LED chip type. All LEDs of the [FastLed](https://github.com/FastLED/FastLED) libraries are supported
106
+
- Configure the used LED pins. You can also change the Pin Order. The NodeMCU order doesn't work sometimes to please also try the `RAW_PIN_ORDER``
107
+
- Define the number of used LEDs
108
+
- Define one of the standard modes which are active when your light is idle. Choose one from: OFF, HYPERION_UDP, STATIC_COLOR, RAINBOW, FIRE2012
109
+
- You maydefine Wifi configuration but you can also change it from the Webinterface
110
+
3. Open the `HyperionRGB.ino` the Arduino IDE
111
+
4. Compile and upload to your board
112
+
113
+
# Configuration of Hyperion
114
+
You need two running hyperion instances. The first grabs the data on e.g. a rasbperry pi and controls any local attached LED strips. This first instance is configured to forward its data to a second hyperion instance on the same machine. Be sure to only forward the UDP data:
115
+
116
+
```
117
+
"forwarder" :
118
+
{
119
+
"proto" : [ "localhost:19447" ]
120
+
},
121
+
```
122
+
123
+
The second hyperion instance is configured to use UDP as device so that it can talk to the ESP directly. This second hyperion instance can run on the same machine as the first instance. Just make sure that you set the UDP ports, hostnames/IPs and LED number accordingly to the values you've configured for the ESP.
124
+
125
+
```
126
+
{
127
+
"colorOrder" : "rgb",
128
+
"maxpacket" : 1450,
129
+
"name" : "AmbiSZ-ESP8266",
130
+
"output" : "ESP8266:19446", ///
131
+
"protocol" : 0,
132
+
"rate" : 250000,
133
+
"type" : "udp"
134
+
},
135
+
136
+
137
+
"protoServer" :
138
+
{
139
+
"port" : 19447
140
+
},
141
+
"jsonServer" :
142
+
{
143
+
"port" : 19446
144
+
},
145
+
```
146
+
>>>>>>> develop
70
147
71
148
There's a detailed instruction page for [controlling multiple devices](https://hyperion-project.org/wiki/Controlling-Multiple-Devices).
0 commit comments