Skip to content
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

REST API & Text on screen #9

Closed
mlemarrec opened this issue Jan 5, 2023 · 6 comments
Closed

REST API & Text on screen #9

mlemarrec opened this issue Jan 5, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@mlemarrec
Copy link

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
@ph1p ph1p added the enhancement New feature or request label Jan 7, 2023
@ph1p
Copy link
Owner

ph1p commented Jan 7, 2023

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.

@mlemarrec
Copy link
Author

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.

@d00mfish
Copy link

d00mfish commented Aug 1, 2023

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.

@grzegorztomasiak
Copy link

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.

@kohlsalem
Copy link
Contributor

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...

@kohlsalem
Copy link
Contributor

@ph1p arguably, with #69 merged i'd vote tp close this too.

@ph1p ph1p closed this as completed Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants