vrkttr / homebridge-vicare

Homebridge ViCare Plugin
https://www.vrkttr.de
MIT License
3 stars 0 forks source link

Issues #1

Closed solbadguy2010 closed 5 months ago

solbadguy2010 commented 5 months ago

Hi, first thank you for the plugin. At first i had some problems creating the Access Token. I had to create an "Client" first and then wait some minutes to be able to generate a token.

Afterwards the plugin reports: "[ViCareThermostat] Retrieved all necessary IDs."

Then i find one new thermostat in my Home App named "ViCareThermostat" that states "no response" and has no value.

Whats also missing for me are all my room Thermostats

vrkttr commented 5 months ago

Please enable the Debug via Config.

        {
            "accessory": "ViCareThermostat",
            "name": "Viessmann",
            "debug": true,
            "accessToken": "YOUR ACCESS TOKEN"
        }
solbadguy2010 commented 5 months ago

I removed all entries not related to your plugin

homebridge.log.txt

This is all that is visible in home app:

image

vrkttr commented 5 months ago

should be fixed now.

solbadguy2010 commented 5 months ago

Sadly not. He added some Sensors, but nothing changed in Home App

homebridge.log (2).txt

Also the Room Thermostats are not visible in the log

solbadguy2010 commented 5 months ago

with .10 i start to get errors and HB Service crash:

[06/06/2024, 13:13:42] TypeError: Cannot read properties of undefined (reading 'properties') at Request._callback (/var/lib/homebridge/node_modules/homebridge-vicare/index.js:258:51) at Request.self.callback (/var/lib/homebridge/node_modules/homebridge-vicare/node_modules/request/request.js:185:22) at Request.emit (node:events:519:28) at Request. (/var/lib/homebridge/node_modules/homebridge-vicare/node_modules/request/request.js:1154:10) at Request.emit (node:events:519:28) at IncomingMessage. (/var/lib/homebridge/node_modules/homebridge-vicare/node_modules/request/request.js:1076:12) at Object.onceWrapper (node:events:633:28) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)

vrkttr commented 5 months ago

Thanks for your logs! I've tried a different approach to handle the devices. Please update to version 1.1.0.

Now, you can choose which types you want to integrate.

To proceed:

  1. Disable Homebridge-ViCare.
  2. Update the plugin.
  3. Reactivate Homebridge-ViCare.
solbadguy2010 commented 5 months ago

Now nothing is shown in Home app anymore. I wrote you in Facebook Chat for quicker chat, if you like.

Also your plugin still expects a accessory config even if it is now a platform: image

solbadguy2010 commented 5 months ago

Oh, wait! They are temp sensors now! I see them :-)

How can i expose the seperate room thermostats to homekit?

image