REST API & Text on screen
mlemarrec opened this issue · 6 comments
Congratulations for this project.
2 ideas for improvements:
- Add a REST API to be able to control the screen via home automation
- Offer the possibility to send a text to scroll on the screen
I like the idea! Maybe an endpoint to which you can send the matrix and a few settings. You can do that now with websockets, but you have to establish a connection first.
Hello
Just a small contribution to separate the control part of the panel from the rest of the application and add compatibility with Adafr_it GFX (possibilité to print text): https://github.com/mlemarrec/ObegransadPanel
If you are interested I can try to integrate it into your project.
I was also trying to implement this but as my cpp skills are not the best I still dont have it working.
I would loooove a REST API to send my current solarpanel panel power as a by time growing bar graph. The posibility to send a Json containing the array would be more than enough for me.
Would love to try REST API if someone is willing to make it, I will probably try myself although it's my first project with ESP.
I actually have implemented that locally, as soon as my current pr is merged, i could make a new one... (yes, i have no clue how depended PR would work)
What i did is a "http://xxx.xx.xxx.xx/message?text=Hello%20World!" call.
However, I'am wondering if this is actually enough.
What would be the usecase?
If i should be notified about something, how are the chances i look at the screen that very moment.
So shall the message be repeated? Continuously? Every Minute? If every minute, how would i see, that a message will be shown? some blinking indicator somewhere?
And how long would the message be shown? Shall a timeout be set? as second param? Or shall the message be overwritten actively?
Shall it be possible to post several messages that add up?
Is there already a best practice or efen standard from other dot devices in existance?
So, a lot of questions about how to make this usefull. I would be glad, if you could share usecases and your thoughts about how a good solution should actually look like...