mantorok1 / homebridge-omnilink-platform

Homebridge Plugin for HAI/Leviton Omni series Security & Home Automation Systems
Apache License 2.0
12 stars 0 forks source link

Getting characteristic every minute in logs #36

Closed Tesla-P100FX closed 3 months ago

Tesla-P100FX commented 3 months ago

Describe Your Problem:

I recently noticed that my log is full of log items called "getting characteristic". It'll pause for 1 to 15 minutes and then it'll run through all of my units again, "getting characteristic" Is this a normal behavior? Or is there something that's prompting it to get characteristics again?

12:07:49] [Omni] Craft Cove: Getting characteristic 'On' [12/03/2024, 12:07:59] [Omni] Area 1: Getting characteristic 'SecuritySystemCurrentState' [12/03/2024, 12:11:18] [Omni] Front Door: Getting characteristic 'ContactSensorState' [12/03/2024, 12:11:18] [Omni] Mstr Br Frnch R: Getting characteristic 'ContactSensorState' [12/03/2024, 12:11:18] [Omni] Dining Frnch Dr: Getting characteristic 'ContactSensorState' [12/03/2024, 12:11:18] [Omni] Craft Cove: Getting characteristic 'On' [12/03/2024, 12:11:18] [Omni] Craft Cove: Getting characteristic 'Brightness' [12/03/2024, 12:11:18] [Omni] Master Deck: Getting characteristic 'On' [12/03/2024, 12:11:18] [Omni] Master Deck: Getting characteristic 'Brightness' [12/03/2024, 12:11:18] [Omni] Master Bed: Getting characteristic 'Brightness' [12/03/2024, 12:11:18] [Omni] Master Bed: Getting characteristic 'On' [12/03/2024, 12:11:18] [Omni] Garage House Dr: Getting characteristic 'ContactSensorState' [12/03/2024, 12:11:18] [Omni] UpperFloor: Getting characteristic 'On' [12/03/2024, 12:11:18] [Omni] UpperFloor: Getting characteristic 'Brightness' [12/03/2024, 12:11:18] [Omni] Basem. Kitch: Getting characteristic 'Brightness' [12/03/2024, 12:11:18] [Omni] Basem. Kitch: Getting characteristic 'On' [12/03/2024, 12:11:18] [Omni] Kitchen Door: Getting characteristic 'ContactSensorState' [12/03/2024, 12:11:18] [Omni] MudRoom: Getting characteristic 'On' [12/03/2024, 12:11:18] [Omni] MudRoom: Getting characteristic 'Brightness' [12/03/2024, 12:11:18] [Omni] MasterCloset: Getting characteristic 'Brightness'

Show the Homebridge logs here, remove any sensitive information.

Show your Homebridge config.json here, remove any sensitive information.

{
    "name": "Omni",
    "address": "10.0.0...",
    "port": 4369,
    "key1": "",
    "key2": "",
    "includeAreas": true,
    "includeZones": true,
    "includeBypassZones": false,
    "includeButtons": false,
    "includeUnits": true,
    "includeThermostats": true,
    "includeEmergencyAlarms": false,
    "includeAccessControls": true,
    "includeAuxiliarySensors": false,
    "setHomeToAway": false,
    "setNightToAway": false,
    "securityCode": "",
    "includeHoldStatusSwitches": false,
    "includeFanModeSwitches": false,
    "includeHumidityControls": false,
    "targetHumiditySetPointType": 1,
    "targetHumidityDifference": 0,
    "minTemperature": 0,
    "maxTemperature": 40,
    "defaultAccessoryMappings": {
        "zone": "none",
        "zoneFireEmergency": "none",
        "unit": "lightbulb"
    },
    "map": {
        "zones": {
            "contact": "8,15,24,29,32,39,40,48,49"
        }
    },
    "exclude": {
        "units": "17,22,28,33,58,59"
    },
    "garageDoors": [
        {
            "openTime": 10
        }
    ],
    "pushover": {
        "alarms": {
            "burglary": false,
            "fire": false,
            "gas": false,
            "auxiliary": false,
            "freeze": false,
            "water": false,
            "duress": false,
            "temperature": false
        },
        "troubles": {
            "freeze": false,
            "batterylow": false,
            "acpower": false,
            "phoneline": false,
            "digitalcommunicator": false,
            "fuse": false
        }
    },
    "mqtt": {
        "showMqttEvents": false
    },
    "syncTime": true,
    "showHomebridgeEvents": true,
    "showOmniEvents": false,
    "excludeZoneStatusChanges": false,
    "excludeTemperatureChanges": false,
    "showRequestResponse": false,
    "clearCache": false,
    "forceAutoDiscovery": false,
    "platform": "OmniLinkPlatform",
    "_bridge": {
        "username": "0E:8E:46:5B:49:2D",
        "port": 34957
    }
}
**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Plugin Version**: V1.5.16
* **Homebridge Version**: <1.7.0>
* **Node.js Version**: <18.19.0>
* **NPM Version**: <!-- npm -v -->
* **Operating System**: < Raspbian BookWorm>
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
[homebridge.log.txt](https://github.com/mantorok1/homebridge-omnilink-platform/files/14577725/homebridge.log.txt)
mantorok1 commented 3 months ago

Those logs are when Homebridge (and ultimately HomeKit) requests updates for the characteristics. This often happens when you open the Home app on your iPhone for example. I'm not sure why you are seeing a higher than usual number of these types of logs but it's not something that the plugin has any control over. You can turn off these logs if they are annoying. See Show Homebridge events in the log

Tesla-P100FX commented 3 months ago

Got it ! Thanks have a great weekend 😀