For a project I did to automize a fairly complex TV boxes setup, I required implementing the EISCP protocol rather than doing the IR.
To make it available to everyone, I decided to carve out that specific component and published it on GitHub and PyPi:
The project is heavily copied from the python library onkyo-eiscp. Outside of the library being adapted and stripped down for MicroPython, it also utilized uasyncio for running the network communication on the microcontroller. It has been tested on an ESP32 with this project.
I hope it is useful to anybody else, looking to automate their set top boxes.
Onkyo-EISCP library
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Onkyo-EISCP library
Your project link is a 404 here.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Onkyo-EISCP library
My bad, thanks for pointing it out. I forgot to publish the project.
Also added a README to the project and some additional information.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Onkyo-EISCP library
Impressive project!
Interesting that you had trouble with mqtt_as running TLS. As I think I wrote in the docs, the only platform which supported it reliably in testing was the Pyboard D. Hopefully ESP32 TLS implementation will improve.
Interesting that you had trouble with mqtt_as running TLS. As I think I wrote in the docs, the only platform which supported it reliably in testing was the Pyboard D. Hopefully ESP32 TLS implementation will improve.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Onkyo-EISCP library
Thanks!
Yeah the ESP32 TLS implementation is a bit wonky. I got it to work for another project once with client side certificates but also no CA validation. It sadly isn't in a state yet where I would recommend it on the ESP32 for anything which requires "real" security guarantees. For this it doesn't seem to be mature enough yet, but hopefully will be soon. One of the main hurdles for MicroPython on the ESP32 in my opinion. At least for anything which talks to the internet.pythoncoder wrote: ↑Sun Jan 03, 2021 10:15 amInteresting that you had trouble with mqtt_as running TLS. As I think I wrote in the docs, the only platform which supported it reliably in testing was the Pyboard D. Hopefully ESP32 TLS implementation will improve.
EDIT: After posting this, I also realized that I used the Loboris MicroPython flavor for the client side certificates to work. Unfortunately, it doesn't seem to be tendered to any more and I required the RMT component on newer micropython versions for this project.