-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mqtt support or could you explain how to curl a new text message? #3
Comments
You are asking if it's possible to send a request to the configuration server on the ESP8266 to change the text, right? Currently, the idea was just for the display itself to periodically send requests to an endpoint, so that functionality is not implemented, the entire display configuration has to be updated at once. Implementing MQTT functionality isn't a bad idea. I'm not sure what effect that would have on the display itself, though, since whenever it makes an HTTP request or a client connects to the web config server the display flickers. |
I'm not sure what effect that would have on the display itself, though, since whenever it makes an HTTP request or a client connects to the web config server the display flickers. => i notice that :) I would like to use the panel to show info from my network devices (basically tasmota and other devices). I'm using also an esp8266 with max7219 (dot matrix, a lot of them) and i send to it via mqtt the text containg what i need to display, it could be nice to do it with a ledpanel, so to have the ability to call an api to the panel it self to control it, not only via a web interface (or maybe via curl to the webserver for changing for example the background, text of course, color, etc,etc) |
It is possible to send a config file directly via HTTP requests, currently. The /config endpoint allows retrieving and setting the JSON configuration, as is done in the dashboard: ESP-Smart-Display/dashboard/src/main.js Line 747 in d9a83e5
Doing this frequenctly, though, may be an issue if double buffering is enabled, since it will fail to update the config file if it runs out of memory. It would also be relatively simple to implement a new Widget type that simplify displays the last text sent to a custom endpoint via an HTTP request. |
Hi!
Is there a way to curl the esp8266 webpage to change the text field?
or is it possible to add mqtt protocol, could be something that make that project perfect :)
Thank you.
The text was updated successfully, but these errors were encountered: