marn06 / homebridge-vw

MIT License
4 stars 0 forks source link

WeConnect shows “unlocked” #5

Open jdoe-92 opened 1 year ago

jdoe-92 commented 1 year ago

Hi,

Is this normal? 2022 Tiguan (USA) using Homebridge from Raspberry Pi.

IMG_9090 IMG_9091 IMG_9092 IMG_9093

marn06 commented 1 year ago

Hi @jdoe-92 As you see in the log, the plugin tries to write to the weconnect.log file but it receives permission denied, so you need to add permissions to the folder. One solution is to allow every user access to the folder: sudo chmod -R 777 /usr/lib/node_modules/homebridge-vw

It is of course not best practice to just grant everyone access, but it is difficult for me to advice further on this, as it is a matter of your current setup etc.

jdoe-92 commented 1 year ago

Thanks, I just tried this and it looks like it is able to write the file, but I am still not sure if the plugin is working.

The "Doors" tile shows that the car is "Unlocked" and when I try to change it to "Lock" it shows me the message below..

Homebridge-64B4

marn06 commented 1 year ago

Hi @jdoe-92 Do you see the weconnect.log file in the folder of the plugin? And also, try and change logLevel to INFO in the config to get more verbose logging.