ph1p / ikea-led-obegraensad

ESP32/Arduino hack for the ikea OBEGRÄNSAD led wall lamp
MIT License
579 stars 78 forks source link

REST API & Text on screen #9

Closed mlemarrec closed 5 months ago

mlemarrec commented 1 year ago

Congratulations for this project. 2 ideas for improvements:

ph1p commented 1 year ago

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 commented 1 year ago

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 commented 11 months ago

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 commented 8 months ago

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 commented 7 months ago

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 commented 5 months ago

@ph1p arguably, with https://github.com/ph1p/ikea-led-obegraensad/pull/69 merged i'd vote tp close this too.