Open floek opened 1 year ago
Hi,
Looks great. API part was really in need of refactoring, as it was barely readable, to be honest. I will be replacing it will your module as soon as I test it out.
Thank you!
Write support is missing, and it could use some unit tests. But, its a starting point.Feel free to contribute ;)
The downside of using a separate module is, that you cannot easily make little tweaks directly in home assistant because the referenced module is not available for edit directly in under https://homeassistant.local:8123/... I'd personally prefer a just a folder for wem-api and wem-portal with classes that don't have dependencies to HA and once checked out via git locally, you can run without home assistant. The root folder can then just have the glue code to map the return of wem-api / wem-portal to the HA world....
Hi @erikkastelec,
I want to push my wemportal sensor values to a influxdb for grafana dashboard visualization. As I'm not using Home Assistant, I needed a standalone python module to scrape data from wemportal. So, I created one thanks to your code examples.
It's here (very early state): https://github.com/floek/wemportal
Maybe it's usefull for the community.
Best, floek