gcormier / megadesk

Open-source IKEA Bekant controller board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doc Enhancement: Explain how to use HTTP requests to control the desk via the companion

mimre25 opened this issue · comments

I'm one of those smart ones that cut one of the ribbon cables while trying to open up the controller "box".
Luckily, I've also bought the companion and can use it to control the desk.

I have absolutely no experience with an esp32 or any similar boards.
However, I've noticed that the companion is running a webserver and so I just "spied" on the requests that are used.
This way I could figure out how to automate things via HTTP.

My suggestion is to add a section/document detailing how to use HTTP to control the desk via the companion.

I'm happy to contribute such a "how-to" if desired 🙂
Let me know if you want to have that!

Sure, if you are willing to submit a PR we can add it. This will be simple REST/HTTP calls to the esphome rest API.

It could be added to the bottom of https://github.com/gcormier/megadesk_companion/blob/main/readme.md

PR is hover there: gcormier/megadesk_companion#5 🙂