dkerr64 / homebridge-yolink

Apache License 2.0
12 stars 2 forks source link

Temperature Sensor Not Visible on Home Front Page #80

Closed 86nymets closed 1 year ago

86nymets commented 1 year ago

Describe Your Problem: The Yolink temperature sensors do not show up on the Home Main page under their room or in favorites. The only way to see them in Home is to go to Climate or go to their room and click the Temperature or Humidity status button and then a page with the two sensors will show up. Is there no way to get these on the Home Main Screen as individual sensors or devices?

Logs:

[9/3/2023, 12:09:33 PM] [YoLink] At 9/3/2023, 12:09:33 PM: Device state for Freezer Temp is: Temperature -15°C (5.0°F), Humidity 70, Battery: 4 (MQTT: THSensor.Report)
[9/3/2023, 12:14:23 PM] [YoLink] At 9/3/2023, 12:14:23 PM: Device state for Freezer Temp is: Temperature -15.4°C (4.3°F), Humidity 68.4, Battery: 4 (MQTT: THSensor.Report)
[9/3/2023, 12:18:53 PM] [YoLink] At 9/3/2023, 12:18:53 PM: Device state for Freezer Temp is: Temperature -15.9°C (3.4°F), Humidity 67.1, Battery: 4 (MQTT: THSensor.Report)
[9/3/2023, 12:24:03 PM] [YoLink] At 9/3/2023, 12:24:03 PM: Device state for Freezer Temp is: Temperature -16.4°C (2.5°F), Humidity 66.1, Battery: 4 (MQTT: THSensor.Report)
[9/3/2023, 12:29:54 PM] [YoLink] At 9/3/2023, 12:29:54 PM: Device state for Freezer Temp is: Temperature -16.8°C (1.8°F), Humidity 65.3, Battery: 4 (MQTT: THSensor.Report)
[9/3/2023, 12:35:54 PM] [YoLink] At 9/3/2023, 12:35:54 PM: Device state for Freezer Temp is: Temperature -17.3°C (0.9°F), Humidity 64.2, Battery: 4 (MQTT: THSensor.Report)

Plugin Config:

{
    "name": "YoLink",
    "platform": "YoLink",
    "tokenURL": "https://api.yosmart.com/open/yolink/token",
    "apiURL": "https://api.yosmart.com/open/yolink/v2/api",
    "mqttPort": 8003,
    "userAccessId": "",
    "secretKey": "",
    "refreshAfter": 300,
    "verboseLog": false,
    "liteLog": true,
    "allDevices": true,
    "excludeTypes": [
        "Hub",
        "SpeakerHub"
    ],
    "deviceTemperatures": false,
    "enableExperimental": false,
    "devices": [
        {
            "deviceId": "",
            "config": {
                "hide": "false",
                "name": "Freezer Temp",
                "temperature": false
            }
        },
        {
            "deviceId": "",
            "config": {
                "hide": "false",
                "name": "Refrigerator Temp",
                "temperature": false
            }
        }
    ]
}

Screenshots:

Environment:

dkerr64 commented 1 year ago

This is outside of the control of this plugin. It is how Apple Home choses to handle temperature and humidity devices.