We have a smart water meter which reports water consumption several times a day. I thought I'd just integrate #HomeAssistant with the service API. However, there is no API, and the webpage with the values is buried behind at least four interactions. Yesterday, I started writing a fairly complex Selenium-based scraper. In the process, I discovered that I was being redirected to a page with values using an authentication token in the URL. I could just use the link and skip all the previous steps.
However, the page with the values is still generated by JavaScript, so I still have to use a web engine for scraping. It's too heavy for Home Assistant Green, so I have to run the service elsewhere and integrate it with HA.
All that just to read ONE goddamn value! What a beautiful rabbit hole for the weekend!
Táta Geek
in reply to Jiří Eischmann • • •Jiří Eischmann
in reply to Táta Geek • • •Je to fakt smutné, že máme chytrý vodoměr, ale BVK a Suez se opravdu snaží, aby se k tomu lidi nemohli strojově dostat.
Věčný Stopař Kosmírem
in reply to Jiří Eischmann • • •dan
in reply to Jiří Eischmann • • •Steve Hill 🏴🇪🇺
in reply to Jiří Eischmann • • •Radomír Žemlička
in reply to Steve Hill 🏴🇪🇺 • • •Jiří Eischmann
in reply to Radomír Žemlička • • •Jiří Eischmann
in reply to Jiří Eischmann • • •Jiří Eischmann
in reply to Jiří Eischmann • • •Radomír Žemlička
in reply to Jiří Eischmann • • •Jiří Eischmann
in reply to Radomír Žemlička • • •Radomír Žemlička
in reply to Jiří Eischmann • • •Agnieszka R. Turczyńska
in reply to Jiří Eischmann • • •Jiří Eischmann
in reply to Agnieszka R. Turczyńska • • •Ilkka Tengvall
in reply to Jiří Eischmann • • •Jiří Eischmann
in reply to Jiří Eischmann • • •A small man's victory over the malice of the water company.
#HomeAssistant
Václav Pašek
in reply to Jiří Eischmann • • •Jiří Eischmann
in reply to Václav Pašek • • •No prostě v určité fázi už jsem si říkal, že snad raději budu denně lozit do šachty a odečítat to ručně než pracovat s tímto. 😅
Miroslav Buček 🌳
in reply to Jiří Eischmann • • •Václav Pašek
in reply to Jiří Eischmann • • •