Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use the plugin since a temperature sensor is failing #157

Open
MaksOuw opened this issue Aug 23, 2024 · 1 comment
Open

Unable to use the plugin since a temperature sensor is failing #157

MaksOuw opened this issue Aug 23, 2024 · 1 comment

Comments

@MaksOuw
Copy link

MaksOuw commented Aug 23, 2024

Hello,

I have a problem with the plugin : a temperature sensor is likely failing in my house, and since then, the plugin tells me this :

8/22/2024, 12:55:53 PM] AssertionError [ERR_ASSERTION]: Device with id="1521625864" not found in Tydom meta
    at new AssertionError (node:internal/assert/assertion_error:452:5)
    at assert (/var/lib/homebridge/node_modules/homebridge-tydom/src/utils/assert.ts:5:11)
    at getEndpointDetailsFromMeta (/var/lib/homebridge/node_modules/homebridge-tydom/src/helpers/tydom.ts:102:3)
    at /var/lib/homebridge/node_modules/homebridge-tydom/src/controller.ts:141:26
    at Array.forEach (<anonymous>)
    at Zc.scan (/var/lib/homebridge/node_modules/homebridge-tydom/src/controller.ts:138:15)
    at iu.didFinishLaunching (/var/lib/homebridge/node_modules/homebridge-tydom/src/platform.ts:65:5)
[8/22/2024, 12:55:53 PM] Got SIGTERM, shutting down Homebridge...

Related hardware

Delta Dore Tysense Thermo with a very low / dead battery

Expected behavior

I suppose the plugin should be able to ignore failing sensors and not crash the whole homebridge ?

Logs

See at the beginning of this issue

Dumps

{
            "hostname": "mediation.tydom.com",
            "username": "",
            "password": "",
            "debug": true,
            "platform": "Tydom",
            "excludedDevices": [
                "1521625864"
            ]
        }

I emptied username and password for obvious reasons
I already tried to put the failing device in excludedDevices but with no success

Versions

  • homebridge: v1.8.4
  • homebridge-tydom: v0.25.0

Thanks !

@MaksOuw
Copy link
Author

MaksOuw commented Aug 25, 2024

Quick update : I (hardly) removed the battery from the sensor and since then the plugin is functional and returns no error.

I think that the dead battery provoke this problem : it tries to access the temperature, the sensor is getting it and the battery dies, and so an error is triggered by the plugin.

I let you check this and potentially fix it, I'll change the battery (5€ vs 120€ the entire sensor, thanks planned obsolescence... they soldered the battery to the system, what a shitmove) and hope for the sensor to work for the next 10 years

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant