Hi,
First of all, thank you very much for this library and for your effort in providing an open way to interact with Ohme chargers! I genuinely don't understand why the company is so reluctant to publish an OpenAPI spec and let users manage their own chargers as they see fit. But anyway, I’ll stop ranting and get to the actual issue 😆
I noticed that the library is missing a function to create custom tariffs, which could be really useful in various cases:
- Entering prices manually per day and hour is quite tedious from the mobile app.
- Some custom tariffs get updated frequently, even daily.
In my case, I built a simple tool to be run via cron to update a tariff that changes every day. I extended your library to support that, and I thought this snippet might help if you're considering adding more general-purpose tariff functionality to the client:
https://github.com/immccc/ohme_spanish_pvpc/blob/master/charger/client.py#L8
Best wishes,
I.
Hi,
First of all, thank you very much for this library and for your effort in providing an open way to interact with Ohme chargers! I genuinely don't understand why the company is so reluctant to publish an OpenAPI spec and let users manage their own chargers as they see fit. But anyway, I’ll stop ranting and get to the actual issue 😆
I noticed that the library is missing a function to create custom tariffs, which could be really useful in various cases:
In my case, I built a simple tool to be run via cron to update a tariff that changes every day. I extended your library to support that, and I thought this snippet might help if you're considering adding more general-purpose tariff functionality to the client:
https://github.com/immccc/ohme_spanish_pvpc/blob/master/charger/client.py#L8
Best wishes,
I.