Hi there,
| Wolfpack Wolfgang
October 17 |
Thank you for your work, @rtuck99,
sorry to bother you, but I’m a beginner and running into issues setting up the add-on:
- add-on installed
- binding is authorized
- setup the bridge with the client-id
- one device is automatically found (inbox)
- when I add the device (should be a Vitodens 300W gas heater) as “Vitodens 300W”, the thing is successfully created
- a following “create equipment from thing” fails with “bad request”
I can reproduce this - it seems there is a problem when it tries to create links for the channels. Creating the individual items manually and the channel links works for me, so you should be able to work around this. I will have a look into it, but it might be that it expects the binding to create sub-items for all the channels. I’m not sure if this is a good idea, as I’m not sure I want to go into the complexity of creating a comprehensive item model for all channels that might be present, especially given that every heating installation is going to be unique, and people might want to put items into different rooms etc.
…when I look into things => Vitodens 300W => Channels, all channels are available, but no channel has a point. From what I understand from other things and the screenshots above, at least some channels should have a valid point (“blue ribbon with number”) providing measured data from the Viessmann API.
The binding doesn’t create Items, only Things and Channels. You will need to manually create Items and link them to the Channels, it’s up to you how you decide to arrange the various heating circuits, sensors etc. in your Model. You don’t have to create Items for all the Channels, you can leave some unlinked. For the writable channels, you may have to add Metadata to the Item to ensure a clickable UI control is created.
The Thing can have an
And I noticed that - other than on your screenshots above - the thing properties only contain the deviceUniqueId, but no device.serial, no heating.boiler.serial, etc.
That might be a bug - I will look into it. It is probably trying to create them as channels now, but I suspect it may be failing because there is no ChannelType for them.
Where did I go wrong? Do I have to add the points manually? Or has the Vitodens 300W a currently unsupported scheme?
I intend to support as many devices as I can, but I will need people to report bugs and feature requests as I only have my own boiler to test against. The API supports heat pumps and other strange things like fuel cell heaters, ventilation and floor heating, if people have such devices and are willing to help out I am happy to extend support.