Comments (9)
It's not fully implemented yet. Right now, it only handles the compiled sketch binary, similar to the standard Arduino ESP8266 OTA stuff. I have a tool planned that'll combine the sketch and SPIFFS images into a single file for upload, but will be a few weeks before I can start on it.
from espixelstick.
I understand. So as long as the code changes aren't related to data/www the firmware update should work just fine right?
from espixelstick.
Yep, as long as you aren't changing the web handler interface stuff you'll be fine.
from espixelstick.
Great! And according to esp8266/arduino-esp8266fs-plugin#4 the SPIFFS should support OTA network update straight from the Arduino IDE.
Not really a question about the firmware but if I would want to do light up some pixels on startup as a test sequence, would that be possible from within the current code? I guess I would need to create a data packet and push that to the pixels right?
from espixelstick.
You could manually put data in the buffer if you want. It'll stay there until an incoming E1.31 stream overwrites it. I plan on adding testing functionality to the UI as well in the future, so you could use that for static lighting.
from espixelstick.
Where could I look for a clue on how to put the right data in the buffer? Let's say I'd want to light the first led green or something like that. An alternative approach that I'm thinking of is just to use the adafruit neopixel library to achieve this... or would that be silly?
from espixelstick.
Inside the main loop where is sets the value: https://github.com/forkineye/ESPixelStick/blob/master/ESPixelStick.ino#L535
Just call the following, it's in RGB order - pixels.setValue(address, value);
To light up max green for the first pixel - pixels.setValue(1, 255);
To light up max red for the second pixel - pixels.setValue(3, 255);
from espixelstick.
Works just as advertised! Easy enough to light up pixels (channels). Thanks.
from espixelstick.
OTA updates via web page implemented. It uses a custom format that combines the sketch and spiffs bins that I'll posting with each release. The included tool in the release allows you to build your own as well - 846858f
from espixelstick.
Related Issues (20)
- Unable to control 12v puck lights HOT 1
- ESPixelStick-4.0-beta5 - Output issue WS2811 HOT 4
- APA102 Support HOT 18
- publish Temerature values to MQTT
- OLED Support? HOT 1
- SD Card not installed HOT 13
- ESPixelStick-4.0-beta5 Multi LED Protocol Output Bug HOT 10
- Can't connect HOT 24
- SoftAP uses target SSID instead of own ID HOT 13
- WebUI Update (EFU file) HOT 12
- Dig Octa ethernet connection issues HOT 1
- restore configuration issue (on dig octa) HOT 18
- serial port freaks out after specific output config (dig octa) HOT 4
- esp32_devkitc GPIO settings HOT 3
- Please add name support to the MQTT broker fields. HOT 15
- universe zero in artnet mode doesn't seem to work
- Led for simple monitor activity HOT 2
- SACN problem in priority HOT 4
- Issue running Output 4 with SD card on ESP32 Mini HOT 11
- GPIO problems with wemos D1 mini Pro HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espixelstick.