Invalid characteristics for accessory
hdmvide opened this issue · comments
The accessory is correctly identified as a contact sensor on Homekit, but when I try to create an automation that detects the status of the "contact sensor", the selectable characteristic is only "temperature" instead of "opened" or " closed".
I have tried removing and adding the accessory from the configuration file and restarting Homebridge several times, and after several attempts Homebridge has associated the correct characteristic for the contact sensor accessory
I don't understand if there is a bug in Hombridge when it loads multiple characteristics for accessories, or if it's a plugin bug.
Thank you
@hdmvide can you tell me if your UPS accessory provides a temperature reading? My UPS doesn’t do there is a possibility it is an issue in the plug-in code which only manifests if the UPS supports retiring temp information.
On the weekend I will try to move the temperature characteristic away from the contactsensor service definition and onto a new temperaturesensor service. If this doesn't help, I will just remove it entirely....
Made changes and removed CurrentTemperature Characteristic. @AndySwitcher see if it works for you. @vectronic/homebridge-nut v2.4.1
You might need to remove homebridge-nut from Homebridge config, restart Homebridge, add homebridge-nut again and restart Homebridge again.