-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vicare services don't work #25
Comments
Does setting the parameters work in the app? |
Apparently not, there is no such option (also confirmed by viessmann support). I'll try to check the PyViCare API to see if it is supported there. But setting the target temperature for water heater works on the ViCare app but don't work by calling the Home Assistant service. So something is wrong here. At the same time if I set the target temperature for the climate component it works both on ViCare and on Home Assistant. |
What is the current heating mode of your heater in the app? |
I have a Vitodens 300. Would be interesting to see what your heater exposes as available heating modes/presets |
How can I check it? |
You'll have to use the python library that the integration uses directly: https://pypi.org/project/PyViCare/ E.g. python -c "from PyViCare import ViCareSession; t=ViCareSession('username','','/tmp/vicare_token.save'); print(t.getProperty('heating.gas.consumption.heating')['properties']['month']['value'][0])" |
I've checked the API using Postman (as per instructions on pypi.org above and have found the following post methods there:
So I undrstand that setting the Eco mode should be possible via this API. Correct me if I'm wrong. I'll try to execute this post method to see if it works. Wish me luck :) |
Sorry, I just arrived home and re-checked: I was accidently giving you outdated instructions. Let me know what it returns for you. |
you're on the right track. Executing the POST-Method is exactly what the integration does. |
I'm struggling with testing those POST methods. As per definition they should not require any data to be provided but I'm receiving the following response:
Any hints? |
btw when running your command I have also received |
Do you get the same http code when you use PyVicare to post it? |
don't know yet how to do it :) |
Instead of getPrograms() use activateProgram('eco') |
Could it be that your heater is in forcedNormal instead of auto? Then the programs can't be set I believe |
I don't think so (I'm sure it is not). When no special program is activated
as a result. The same if I run it with |
Another observation: |
I just noticed that there is a bug in the water heater component in this repo. It doesn't set the commanded temperature but instead the current temperature. The issue with the presets is obviously a different one. |
By the way I'm not sure if the water heater Temperature bug also exists in the official integration in HA (vs. This custom component). I'll check today evening. |
|
Btw, when testing the vicare APIs in Postman I have received full list of available commands by calling |
Here's my output of
Seems for me the isExecutable is set for activate of eco. Dunno why it is different for you |
It might just be that your heater doesn't support setting these programs. |
OK, might be related to what Viessmann is enabling in the API for my heater (Vitodens 200). For curiosity, can you enable Eco and Comfort modes in the ViCare mobile app? And I can use those programs with Vitotrol 300 controller. |
The ViCare app doesn't seem to have that feature. The old Vitotrol Plus app, which I still have on my phone, does however allow it. |
It does not seem that something in the HA integration could solve the problem. |
Many thanks for your support! Now how about connecting directly to the heater via the optical - usb cable or through the Vitoconnect? Seems the ViCare cloud service is not very reliable. |
There are some diy solutions I believe. Just google for optolink. I never experimented with that. I'd prefer a local API through the (W)LAN interface but it doesn't exist (yet?) |
Sure standard API to the device would be great. I think the viessmann cable should work well as it is a usb cable. Have to test it in free time. |
I'd be interested. Let me know about your findings |
I've contacted Viessmann and they've told me that they will be opening up a develooper's portal and publishing their local API, this should take a few more weeks. This is great news and an opportunity to become independent from their cloud services :) |
I'd really prefer a local API let's see if (and when) they stick to their promise |
I received the same mail 2 months ago. |
Indeed... Just completed their survey and it is clear they just want to go for paid services... |
Just received the same notification from Viessmann. Did you hear anything more from them already? |
Same here. Suppose they had a test script running that sent the mail out
again 🙈
Op vr 13 mrt. 2020 20:58 schreef adorobis <notifications@github.com>:
… Just received the same notification from Viessmann. Did you hear anything
more from them already?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOCG63MKWP3M6EKSDXBNLDRHKF6LANCNFSM4KPEHENA>
.
|
You might want to read that again, this is not the same message. It says they're blocking access to the API next week, rendering all third-party applications useless. Don't hold out hope for their 'developer portal', it's most likely just a way to monetize the API.
|
I contacted them and asked them for some transition period until they offer a new API. Not really expecting much but let's see. |
Since yesterday the API doesn't (mostl of the time) work. But neither is the mobile ViCare app. Do you know if this is caused by the announced closing of their API? |
And btw, maybe we could negotiate with viessmann some usage limits of their API, currently probably the integration is calling the API too frequently and there is no parameter to set the maximum frequency (correct me if I'm wrong). |
I've just received their response, inviting to a discussion on viessmann forum https://bit.ly/39X0Iqp:
|
I have configured the integration for my viessmann heater, it correctly displays attributes from my heater but I can't set any parameters (neither water heater temperature nor preset_modes. There are no relevant entries in the log that would explain what's happening. How can I troubleshoot the issue further?
The text was updated successfully, but these errors were encountered: