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

"Sensor config: undefined" in logs #32

Closed
awesomestvi opened this issue Dec 27, 2023 · 2 comments · Fixed by #33
Closed

"Sensor config: undefined" in logs #32

awesomestvi opened this issue Dec 27, 2023 · 2 comments · Fixed by #33
Labels
bug Something isn't working

Comments

@awesomestvi
Copy link

Describe The Bug:
I keep getting "sensor config: undefined" in the plugin logs. This doesn't affect the use of the plugin but seems like something is wrong.

To Reproduce:
I am logged in with my username and password. The sensor in question is a floor heating in the bathroom. Version number is 2.16

Expected behavior:
Everything should work normally without any warning in the logs

Logs:

[12/27/2023, 10:11:31 PM] [Ebeco] Initializing Ebeco platform...
[12/27/2023, 10:11:31 PM] [Ebeco] Initializing child bridge 0E:38:72:12:D7:7C
[12/27/2023, 10:11:31 PM] [Ebeco] Launched child bridge with PID 171996
[12/27/2023, 10:11:31 PM] Registering platform '@devwithimagination/homebridge-ebeco.Ebeco'
[12/27/2023, 10:11:31 PM] [Ebeco] Loaded @devwithimagination/homebridge-ebeco v0.2.1 child bridge successfully
[12/27/2023, 10:11:31 PM] Loaded 1 cached accessories from cachedAccessories.0E387212D77C.
[12/27/2023, 10:11:31 PM] [Ebeco] Loading accessory from cache: Bathroom Floor
[12/27/2023, 10:11:32 PM] [Ebeco] Logged in to Ebeco API. Token valid for 86304 seconds
[12/27/2023, 10:11:32 PM] [Ebeco] Discovered 1 devices
[12/27/2023, 10:11:32 PM] [Ebeco] Device id 6909 has name Bathroom Floor
[12/27/2023, 10:11:32 PM] [Ebeco] Restoring existing accessory from cache: Bathroom Floor
[12/27/2023, 10:11:32 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:11:32 PM] [Ebeco] Polling for device status updates every 10000 ms
[12/27/2023, 10:11:53 PM] [Ebeco] Initializing Ebeco platform...
[12/27/2023, 10:11:53 PM] [Ebeco] Initializing child bridge 0E:38:72:12:D7:7C
[12/27/2023, 10:11:54 PM] [Ebeco] Launched child bridge with PID 172044
[12/27/2023, 10:11:54 PM] [Ebeco] Loaded @devwithimagination/homebridge-ebeco v0.2.1 child bridge successfully
[12/27/2023, 10:11:54 PM] Loaded 1 cached accessories from cachedAccessories.0E387212D77C.
[12/27/2023, 10:11:54 PM] [Ebeco] Loading accessory from cache: Bathroom Floor
[12/27/2023, 10:11:54 PM] [Ebeco] Logged in to Ebeco API. Token valid for 86281 seconds
[12/27/2023, 10:11:54 PM] [Ebeco] Discovered 1 devices
[12/27/2023, 10:11:54 PM] [Ebeco] Device id 6909 has name Bathroom Floor
[12/27/2023, 10:11:54 PM] [Ebeco] Restoring existing accessory from cache: Bathroom Floor
[12/27/2023, 10:11:54 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:11:54 PM] [Ebeco] Polling for device status updates every 10000 ms
[12/27/2023, 10:12:05 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:12:15 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:12:25 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:12:35 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:12:45 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:12:55 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:13:05 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:13:15 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:13:25 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:13:35 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:13:45 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:13:55 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:14:05 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:14:15 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:14:25 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:14:35 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:14:45 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:14:55 PM] [Ebeco] Initializing Ebeco platform...
[12/27/2023, 10:14:55 PM] [Ebeco] Initializing child bridge 0E:38:72:12:D7:7C
[12/27/2023, 10:14:56 PM] [Ebeco] Launched child bridge with PID 172165
[12/27/2023, 10:14:56 PM] [Ebeco] Loaded @devwithimagination/homebridge-ebeco v0.2.1 child bridge successfully
[12/27/2023, 10:14:56 PM] Loaded 1 cached accessories from cachedAccessories.0E387212D77C.
[12/27/2023, 10:14:56 PM] Registering platform 'homebridge-plejd.Plejd'
[12/27/2023, 10:14:56 PM] [Ebeco] Loading accessory from cache: Bathroom Floor
[12/27/2023, 10:14:56 PM] Loaded 4 cached accessories from cachedAccessories.0E9AA68CCD64.
[12/27/2023, 10:14:56 PM] [Ebeco] Logged in to Ebeco API. Token valid for 86099 seconds
[12/27/2023, 10:14:56 PM] [Ebeco] Discovered 1 devices
[12/27/2023, 10:14:56 PM] [Ebeco] Device id 6909 has name Bathroom Floor
[12/27/2023, 10:14:56 PM] [Ebeco] Restoring existing accessory from cache: Bathroom Floor
[12/27/2023, 10:14:56 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:14:56 PM] [Ebeco] Polling for device status updates every 10000 ms
[12/27/2023, 10:15:06 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:15:17 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:15:26 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:15:36 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:15:46 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:15:56 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:16:06 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:16:16 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:16:26 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:16:37 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:16:46 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:16:56 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:17:05 PM] [Ebeco] Initializing Ebeco platform...
[12/27/2023, 10:17:05 PM] [Ebeco] Initializing child bridge 0E:38:72:12:D7:7C
[12/27/2023, 10:17:06 PM] [Ebeco] Launched child bridge with PID 172269
[12/27/2023, 10:17:06 PM] [Ebeco] Loaded @devwithimagination/homebridge-ebeco v0.2.1 child bridge successfully
[12/27/2023, 10:17:06 PM] [Ebeco] Loading accessory from cache: Bathroom Floor
[12/27/2023, 10:17:06 PM] [Ebeco] Logged in to Ebeco API. Token valid for 10277 seconds
[12/27/2023, 10:17:06 PM] [Ebeco] Discovered 1 devices
[12/27/2023, 10:17:06 PM] [Ebeco] Device id 6909 has name Bathroom Floor
[12/27/2023, 10:17:06 PM] [Ebeco] Restoring existing accessory from cache: Bathroom Floor
[12/27/2023, 10:17:06 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:17:06 PM] [Ebeco] Polling for device status updates every 10000 ms
[12/27/2023, 10:17:17 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:17:27 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:17:37 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:17:47 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:17:57 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:18:07 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:18:17 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:18:27 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:18:37 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:18:47 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:18:57 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:19:07 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:19:17 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:19:27 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:19:37 PM] [Ebeco] Sensor config: undefined
[12/27/2023, 10:19:47 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:19:57 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:20:07 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:20:17 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:20:27 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:20:37 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:20:47 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:20:57 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:21:07 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:21:17 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:21:27 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:21:37 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:21:47 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:21:57 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:22:07 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:22:17 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:22:27 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:22:37 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:22:47 PM] [Ebeco] Sensor config: undefined

[12/27/2023, 10:22:57 PM] [Ebeco] Sensor config: undefined


Plugin Config:

{
            "platform": "Ebeco",
            "name": "Ebeco",
            "username": "my-email",
            "password": "my-password",
            "plugin_map": {
                "plugin_name": "@devwithimagination/homebridge-ebeco"
             },
            "_bridge": {
                "username": "0E:38:72:12:D7:7C",
                "port": 41551
            }
        },

Screenshots:

Environment:

  • Plugin Version: v0.2.1
  • Homebridge Version: v1.7.0
  • Node.js Version: v20.10.0
  • NPM Version: v10.2.5
  • Operating System: Docker
@awesomestvi awesomestvi added the bug Something isn't working label Dec 27, 2023
@dhutchison
Copy link
Owner

My best guess is that this is to do with changes in how HomeBridge works since this plugin was created (I don't personally use it at all these days).

I'll try take a look in the next few weeks to see if there is anything I can do.

@dhutchison
Copy link
Owner

Finally got around to taking a look at this, and that is completely normal.

Going to push a new release in the next day or so that updates dependencies and changes that logging statement to be debug level (currently at info)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants