dkerr64 / homebridge-yolink

Apache License 2.0
12 stars 2 forks source link

Hide battery status from HomeKit? #102

Open kenmg77 opened 2 months ago

kenmg77 commented 2 months ago

Describe The Bug: When asking siri "What is the pool temperature?" she will respond with the battery percentage.

To Reproduce: Add temp sensor to homebridege/homekit - label as pool temp

Expected behavior: When asking what is the pool temp - expect siri to respond with the temp not the battery status.

Logs:

[29/08/2024, 19:25:52] [YoLink] Device initialized: YS8004-UC (d88b4c010005b798) Pool Temperature Show the Homebridge logs here, remove any sensitive information.



**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": 3600,
    "verboseLog": false,
    "liteLog": true,
    "allDevices": true,
    "excludeTypes": [
        "Hub",
        "SpeakerHub"
    ],
    "deviceTemperatures": false,
    "enableExperimental": false,
    "devices": [
        {
            "deviceId": "d88b4c010009b09b",
            "config": {
                "hide": "hydro"
            }
        },
        {
            "deviceId": "d88b4c010005b798",
            "config": {
                "hide": "hydro"
            }
        },
        {
            "deviceId": "d88b4c01000454dc",
            "config": {
                "useWaterFlowing": true
            }
        }
    ]
}

**Environment:**

* **Plugin Version**:1.6.1
* **Homebridge Version**: 1.8.4
* **Node.js Version**:18.18.0
* **NPM Version**: 11
* **Operating System**: Raspbian
dkerr64 commented 2 months ago

I'll take a look. But this feels rather like a Siri bug. I assume that the temperature displays okay in the Apple Home app?

kenmg77 commented 2 months ago

Thanks. Yes it does. Hoping we could hide battery like you’ve configured to hide humidity on a sensor that doesn’t have it :). Appreciate your work.

Sent from Gmail Mobile

On Fri, Aug 30, 2024 at 11:29 PM David Kerr @.***> wrote:

I'll take a look. But this feels rather like a Siri bug. I assume that the temperature displays okay in the Apple Home app?

— Reply to this email directly, view it on GitHub https://github.com/dkerr64/homebridge-yolink/issues/102#issuecomment-2322749741, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADV6FEGA3KRX3GCNIBD7AHDZUE2BFAVCNFSM6AAAAABNLM63R6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSG42DSNZUGE . You are receiving this because you authored the thread.Message ID: @.***>