hoobs-org / HOOBS

Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
https://hoobs.org
GNU General Public License v3.0
552 stars 51 forks source link

CO Sensor issue from Hubitat to Hoobs #1200

Closed samcro1967 closed 3 years ago

samcro1967 commented 3 years ago

Description I have a smoke detector and CO sensor that are connected to Hubitat via a Konnected.io panel. Both report fine in Hubitat. I see them as separate sensors instead of one. They report no smoke or CO present. When I expose the CO sensor to Hoobs, it sees it as 2 CO sensors. When I go to HomeKit, I see the CO sensor with no alarm. I then see the Smoke Detector with an alarm. When I drill into it, it sees two sensors, both a smoke detector and a CO sensor. The CO sensor shows an alert. Not sure why Hoobs is seeing two CO sensors, combining one of them with the smoke detector, and showing an alarm for it. If I un-expose the CO sensor in Hubitat from Hoobs, both CO sensors in Hoobs and HomeKit disappear.

Version Hoobs 3.3.5 Hubitat Elevation 2.2.6.130

Did you upgrade No. Everything is new as of the past few days.

What device are you using? Hoobs docker from source hoobs/hoobs

List your plugins Hoobs Plugin - Hubitat Tonesto7 Hubitat App - Homebridge v2 2.5.0

Config

    "server": {
        "port": 80,
        "origin": "*",
        "autostart": 0,
        "home_setup_id": "X-HM://0023ISYWYG1UQ",
        "polling_seconds": 5,
        "docker": true
    },
    "client": {
        "default_route": "status",
        "inactive_logoff": 30,
        "theme": "hoobs-dark",
        "locale": "en",
        "temp_units": "fahrenheit",
        "country_code": "US",
        "postal_code": "94040"
    },
    "bridge": {
        "name": "HOOBS",
        "port": 51826,
        "pin": "031-45-154",
        "username": "<redacted>"
    },
    "description": "",
    "ports": {},
    "accessories": [],
    "platforms": [
        {
            "platform": "Hubitat-v2",
            "plugin_map": {
                "plugin_name": "homebridge-hubitat-tonesto7"
            },
            "name": "Hubitat-v2",
            "use_cloud": false,
            "direct_port": 8000,
            "round_levels": true,
            "adaptive_lighting": true,
            "adaptive_lighting_offset": 0,
            "temperature_unit": "F",
            "validateTokenId": false,
            "logConfig": {
                "debug": false,
                "showChanges": true
            },
            "app_url_local": "http://192.168.1.157/apps/api/",
            "app_url_cloud": "https://cloud.hubitat.com/api/<redacted>/apps/",
            "app_id": 52,
            "access_token": "<redacted>"
        }
    ]
}

Logs

3/30/2021, 12:15:15 PM Loaded plugin 'homebridge-hubitat-tonesto7'
3/30/2021, 12:15:15 PM [3/30/2021, 12:15:15 PM] Registering platform 'homebridge-hubitat-tonesto7.Hubitat-v2'
3/30/2021, 12:15:15 PM Loading 1 platforms...
3/30/2021, 12:15:15 PM [Hubitat-v2] Initializing Hubitat-v2 platform...
3/30/2021, 12:15:15 PM [Hubitat-v2] Homebridge Version: 2.7
3/30/2021, 12:15:15 PM [Hubitat-v2] Hubitat-v2 Plugin Version: 2.5.2
3/30/2021, 12:15:15 PM [Hubitat-v2] Checking Package Version for Updates...
3/30/2021, 12:15:15 PM [Home@@Target Fan State] characteristic value expected valid finite number and received "NaN" (number)
3/30/2021, 12:15:15 PM [Home@@Target Fan State] characteristic value expected valid finite number and received "NaN" (number)
3/30/2021, 12:15:15 PM [Hubitat-v2] Fetching Hubitat-v2 Devices. NOTICE: This may take a moment if you have a large number of devices being loaded!
3/30/2021, 12:15:15 PM [Hubitat-v2] Refreshing All Device Data | Source: (First Launch)
3/30/2021, 12:15:15 PM Preparing Advertiser for 'HOOBS 594E' using bonjour-hap backend!
3/30/2021, 12:15:15 PM Starting to advertise 'HOOBS 594E' using bonjour-hap backend!
3/30/2021, 12:15:15 PM Bridge is running on port 51826.
3/30/2021, 12:15:15 PM [Hubitat-v2] Temperature Unit is Now: (F)
3/30/2021, 12:15:15 PM [Hubitat-v2] Updating Global Values | HubIP: 192.168.1.157 | UsingCloud: false
3/30/2021, 12:15:15 PM [Hubitat-v2] Devices to Remove: (0) 
3/30/2021, 12:15:15 PM [Hubitat-v2] Devices to Update: (31)
3/30/2021, 12:15:15 PM [Hubitat-v2] Devices to Create: (1) CO Sensor
3/30/2021, 12:15:15 PM [HOOBS 594E@Home@@Target Temperature] characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics
3/30/2021, 12:15:15 PM [HOOBS 594E@Home@@Cooling Threshold Temperature] characteristic value expected valid finite number and received "NaN" (number)
3/30/2021, 12:15:15 PM [HOOBS 594E@Home@@Target Fan State] characteristic value expected valid finite number and received "NaN" (number)
3/30/2021, 12:15:15 PM [Hubitat-v2] Added Device: (CO Sensor | 173)
3/30/2021, 12:15:15 PM [Hubitat-v2] Total Initialization Time: (0 seconds)
3/30/2021, 12:15:15 PM [Hubitat-v2] Unknown Capabilities: ["Momentary"]
3/30/2021, 12:15:15 PM [Hubitat-v2] Hubitat DeviceCache Size: (32)
3/30/2021, 12:15:15 PM [Hubitat-v2] WebServer Initiated...
3/30/2021, 12:15:15 PM [Hubitat-v2] Sending StartDirect Request to Hubitat | UsingCloud: (false)
3/30/2021, 12:15:15 PM [Hubitat-v2] Direct Connect Active | Listening at 192.168.1.104:8000
3/30/2021, 12:15:15 PM [Hubitat-v2] Hubitat-v2 Hub Communication Established
3/30/2021, 12:15:15 PM [Hubitat-v2] [Device Event]: (Basement Motion Sensor) [MOTION] is active
3/30/2021, 12:15:16 PM [HOOBS 594E@Home@@Target Temperature] characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics
3/30/2021, 12:15:16 PM heatingSetpoint:  68
3/30/2021, 12:15:16 PM coolingSetpoint:  undefined
3/30/2021, 12:15:16 PM [HOOBS 594E@Home@@Cooling Threshold Temperature] characteristic value expected valid finite number and received "NaN" (number)
3/30/2021, 12:15:16 PM [HOOBS 594E@Home@@Target Fan State] characteristic value expected valid finite number and received "NaN" (number)
3/30/2021, 12:15:16 PM [Hubitat-v2] Hubitat-v2 Hub Sent Preference Updates
3/30/2021, 12:15:18 PM [Hubitat-v2] INFO: Your plugin version is up-to-date
3/30/2021, 12:15:18 PM [Hubitat-v2] Sending Plugin Status to Hubitat | UpdateAvailable: false | newVersion: 2.5.2
3/30/2021, 12:15:19 PM [Hubitat-v2] Received request from Hubitat-v2 to refresh devices
3/30/2021, 12:15:19 PM [Hubitat-v2] Refreshing All Device Data | Source: (ST Requested)
3/30/2021, 12:15:19 PM [Hubitat-v2] Temperature Unit is Now: (F)
3/30/2021, 12:15:19 PM [Hubitat-v2] Updating Global Values | HubIP: 192.168.1.157 | UsingCloud: false
3/30/2021, 12:15:19 PM [Hubitat-v2] Devices to Remove: (0) 
3/30/2021, 12:15:19 PM [Hubitat-v2] Devices to Update: (32)
3/30/2021, 12:15:19 PM [Hubitat-v2] Devices to Create: (0) 
3/30/2021, 12:15:19 PM [HOOBS 594E@Home@@Target Temperature] characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics
3/30/2021, 12:15:19 PM [HOOBS 594E@Home@@Cooling Threshold Temperature] characteristic value expected valid finite number and received "NaN" (number)
3/30/2021, 12:15:19 PM [HOOBS 594E@Home@@Target Fan State] characteristic value expected valid finite number and received "NaN" (number)
3/30/2021, 12:15:19 PM [Hubitat-v2] Total Initialization Time: (0 seconds)
3/30/2021, 12:15:19 PM [Hubitat-v2] Unknown Capabilities: ["Momentary"]
3/30/2021, 12:15:19 PM [Hubitat-v2] Hubitat DeviceCache Size: (32)
3/30/2021, 12:15:19 PM [Hubitat-v2] Checking Package Version for Updates...
3/30/2021, 12:15:22 PM [Hubitat-v2] INFO: Your plugin version is up-to-date
3/30/2021, 12:15:22 PM [Hubitat-v2] Sending Plugin Status to Hubitat | UpdateAvailable: false | newVersion: 2.5.2
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.