[App][Pro] Viessmann App for Homey Pro

Hey Marijn,

I want to integrate the report I got from Hubi first. He send me the necessary details to integrate his type of Viessmann boiler.

Once I have done that, I’ll submit it again towards the store and then it depends on the review process from Homey.

Be aware, I don’t have always the time to work on it, currently I plan to pick up what Hubi sent me somewhere during the weekend.

Kind regards,
Kenny

Hi,
Troubles in paradise hier.
Mijn Viessmann 222-w (B2LB controller) is reeds geïntegreerd in HA.
Daarom ziet mijn portaal er nu zo uit:


(Ik heb zo’n vermoeden dat jouw keteltje ook reeds een HA hangt?)
Ik had dus de HA omleidings-URl er reeds staan, en heb dit nu vervolledigd met de Homey URl
Vervolgens alles netjes ingevuld in Homey (Client ID veranderde niet na het toevoegen van de extra URl):

Helaas, driewerf Helaas! Homey ziet dat ik een Viessmann boiler heb, maar in het volgende scherm staat dat mijn credentials niet ingevuld zijn.

Wanneer ik inderdaad opnieuw naar de instellingen ga, is mijn key verdwenen
Wanneer ik deze opnieuw ingeef is de foutmelding: “Request failed with status code 200”
Of, ik krijg een melding dat ik mijn credentials moet ingeven, terwijl ze er toch netjes staan:


Mijn ingegeven gebruikersnaam en wachtwoord komen uiteraard volledig overeen met deze van het Viessmann dev-portaal. Het lijkt mij dus dat mijn wachtwoord niet wordt opgeslagen (door Homey?).

Any ideas?

Hey,

Mijn ketel zit in niet in HA, maar op zich maakt dat niet uit volgens mij. Je kan meerdere redirect URIs instellen, en dat lijkt ook te werken. Op het moment dat je op “Save” drukt, gaat hij een API call testen, als die API call faalt krijgt je eerst een foutmelding en niet de melding “Saved!”.

Aangezien er in jouw geval “Saved!” staat, gok ik dat hij het wel heeft opgeslagen.

Het klopt dat de 2de keer je het scherm opent het wachtwoord verdwenen is, dat is bewust gedaan voor beveiligingsredenen. Anders zou je je ingesteld wachtwoord makkelijk kunnen terug achterhalen.

Ik heb een wijziging in de code gepushed waardoor hij gaat zeggen wat hij niet vindt: de client ID, de username of het wachtwoord. Kan je mss nogmaals proberen?

Eventueel kan je ook eens via de debugging tools van je browser (F12) kijken als je op save drukt, misschien dat er één of andere fout uitkomt daar?

Bedankt,
Kenny

Hey guys,

@Hubi
I managed to handle the difference between our two types of boilers. Appearantly I have a Vitodens 200 from 2016, and you have a Vitodens 200 of type Generation E3. These have a few minor differences which I handled in the current version. When adding a device you now can choose between both models.

Be aware that this will break any boiler which might work. For people who don’t fit in these categories, please submit the installations.json and features.json file towards me, preferably in a private message or by email, since it contains your address information. If you want you can clear out your address information from it inside the JSON file, that is not important for enabling your device.

@Jan_Peeters
There was still a bug in a wrong check here. The password was wrongly checked. Could you try again and see what it gives now?

I hope with these changes we are one step closer to a first publication in the Homey Store so that more people can start testing.

Roadmap

  • Initially I want to provide basic support for the boilers (including hot water)
  • In a later stage, I want to consider adding room specific sensors, but this will need support from you guys as my system doesn’t allow that.

Disclaimer
I try to get your comments / bugs solved as soon as possible, but I don’t have time every day of the week to work on this.

1 Like

Hey Kenny,

great work. It seems to work, I get the informations from the boiler (outdoor temperature, hotwater temperature, circulation pump etc.) and I can set the roomtemperatur of the main heat circuit (which I don’t use since ViCare Smart Climate thermostats are fully equipped).

But for now I can try and see what is possible with the data I got in Homey thanks to you.

When I can give you assistance regarding the room specific sensors, please ask.

Kind regards
Hubi

1 Like

I got indeed one step further. Some units are showing.


Unfortunately, I cannot select a unit in the second screen, it is blank.
Nor can I generate a json file.

I have a Viessmann 222-W with a B2LB controller. The boiler is integrated just fine in HomeAssistant.

Hubi,

I’ve expanded the features.json in the settings to retrieve it for all devices, that is something I need to be able to expand support for your other room devices.

Could you provide me the new features.json? The installations.json is not needed, that was not changed.

Thanks!
Kenny

I don’t have a direct clue what is happening, as it seems that it does not want to save the values properly… They are valid, because otherwise you would not get the “saved” message. However for some obscure reason they are not saved.

I do notice however that you have 3 device classes, while the app only provides two.

Could you remove the app completely and maybe do a fresh checkout of the Git repository and try again?

1 Like

Hey Kenny,
I installed the latest version and created a new features log, which is available for download with the link I sent you last time.

Hi,
I did indeed do a dirty install before. This time, I removed the app and reinstalled from the Gitlab repository. No change; still three devices.

I do believe, however, the app version didn’t change!? Current version : 0.1.0
On Gitlab, I cannot find the supposed version number; can you please confirm?

I do understand this is intended, but it feels just strange the credentials are cleared when exiting the screen

When saving the credentials, I do get the “Saved!” message. Immediately requesting the “installation.json”, I get this/these error message(s):


Maybe I can let you use my credientials so you can fool around whenever you want? :clown_face:

Good news, I do not have time to implement an homey app, so I have developped some scripts.
GitHub - coolweb/homeyVicareScripts: Homey advanced flow scripts for Viessman Vicare

image

2 Likes

Guys,

I submitted the app, but it was rejected since I don’t meet the brand guidelines. I don’t have graphical images as they request …

Sadly I’m not a graphical designer … If someone could help me out feel free.

For now, I cannot submit the app again for more people to test. Sorry for that, wanted to help more people out and I understand brand guidelines must exist, but I expected a bit more support from Homey to have a good community :cry:

I’m a bit disappointed on the strict guidelines …

Kind regards,
Kenny

Hey Kenny,

I am also not a graphical designer, but I will try to help. Can you specify which graphics/icons don’t fit the guidelines? I think it must be the drivers icons which aren’t as they requested, right?

By the way, the Vitodens 200-W (Generation E3) I added two weeks ago isn’t showing any values anymore. A message says Gerät nicht verfügbar (Device not available) "Cannot read properties of undefined (reading ‘value’).
But in the insights the values are logged without any issue.

I just installed the newest version of your app via github and re-added the boiler… but the issue (Device not available) persists.

As soon as I find out how to create svg-files I will send you a message.

Kind regards

Hey Hubi,

Could you use “homey app run” and see if your console gives more information when the error comes up? I.e. the cennot read properties of undefined?

Thanks!

It looks like I need Docker to be installed on my Windows device. I need to try that later, for now I can’t provide you any further information.

Hey guys,

I managed to get some basic images / icons and resubmitted the app.

I’ve also done some changes on saving the settings, since I managed to receive the same error as @Jan_Peeters, and after these changes it works again with me.

The app is published again too.

Kind regards,

2 Likes

And it works! Nice Work, well done! :partying_face:
It seems though my HomeAssistant (HA) integration interferes with the Homey integration.
When deactivated in HA and the Homey entity added again : it works!
It’s a GO for Viessmann 222-W with a B2LB controller!

And onto the wish list :clown_face:
Would it be possible to add the below variables:

  • Burner Hours [hours]
    properties:{“hours”:{“type”:“number” value:968 unit:“hour”}
    vscotho1_200_11_burner_hours
  • Burner Modulation [%]
    {“feature”:“heating.burners.0.modulation”
    vscotho1_200_11_burner_modulation
  • Burner Starts [#]
    starts:{“type”:“number” value:5206 unit:“”}}
    vscotho1_200_11_burner_starts

It would be nice to have the reduced temperature as a setpoint as well…
Probably: vscotho1_200_11_reduced_temperature
But I cannot find this in the available Homey parameters.
It is available in HA though…


It is not a showstopper; but it would be nice to have a temperature available in flows.

Lay out n°1:
Something strange with the icon, it doesn’t look like the one on Gitlab:
22-10-2024 20-50-05
Vs.

Lay out n°2:
No content (yet?) for the “Status indicator”?

Questions:

  • In flows, only the operating mode is available. Is it the goal to make other variables available as well?
  • Do you happen to have a PayPal ; can I buy you a beer?

Hey Jan_Peeters,

Thanks for the feedback. I’ve made some changes upon your feedback:

  • Burner statistics are now supported.
  • We can now properly define the day, night and comfort temperatures. Only downside for now is that you have to change it for the correct active program. Not sure how to make this more user-friendly.
  • The flows for the different target temperatures are now supported as actions. I didn’t define triggers for it, if needed this can be done.
  • The icons should be fixed.
  • Status Indicator, nice suggestion, what would you like to see here as possibilities?

You can always buy me a beer, but maybe wait until we are further in the progress with the app? :smiley:

Kind regards,
Kenny

2 Likes

Cool, installed but bumped into the below message.
Until 00h00 the api is unavailable. I will deactivate HA to make sure I only use your app.
(Already way better than what achieved by the HA community anyway…)
I will report back tomorrow.

23-10-2024 18-16-18

1.450 calls per day = 1 call per minute a day.
So no use in maintaining two parallel systems up and running on the free api.

Icons are fixed indeed, current possibilities of the status indicator will work just fine by me.
I might change my mind once the app is fully functional though.

I will report back on:

  • Use and usability of “day, night and comfort temperatures.
  • Use and usability in flows in general

About triggers:
A usefull trigger is the outdoor temperature.
I like the outdoor temperature from the Viessmann entity a lot because it is averaged out over a configurable time period. So no issues here with a “bouncing condition”.
It is available as a trigger but it is not available as an AND condition.
Would it be possible to add the Outdor Temperature treshold as an AND condition?
It is possible to realise using a logic card. Just maybe it can be done easier. Not a showstopper, but would simplify things :slight_smile:

A minor lay-out issue:
AND condition is called “Thermostaatmodus”, where the THEN condition is called “modus”.
To avoid confusion would be best to give them the same name since it is the same entity.