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

Error in log WARNING (MainThread) [aiohue.util] Received unexpected bridge id: 93xxxbxxx13 #56902 #176

Closed
davek00997744 opened this issue Oct 2, 2021 · 17 comments

Comments

@davek00997744
Copy link

davek00997744 commented Oct 2, 2021

SUMMARY

This error is flooding my log since the last OS and Core updates, over 462,000 entries in 4 days

ECHO DEVICES

Dot

MODULE VERSION

CONFIGURATION

CONSOLE OUTPUT

STEPS TO REPRODUCE

Just leave Home Assistant running

EXPECTED RESULTS

No errors

ACTUAL RESULTS

From log file:-

Logger: aiohue.util
Source: /usr/local/lib/python3.9/site-packages/aiohue/util.py:21
First occurred: 15:39:19 (413 occurrences)
Last logged: 15:47:19

Received unexpected bridge id: 93eadbeef13

It is logging error many thousands of time a day

@nikadaika
Copy link

I'm also facing exactly the same issue.

@GrigoriOH
Copy link

GrigoriOH commented Oct 17, 2021

According to home-assistant/core#31708 (comment) the issue is rather prominent and might be fixable by deleting "the files mentioned in the node-red-log (found this solution in some forum)". I will search for more info and leave an edit here whether I am successful or not.

Edit:
Well, two things:

  1. I was not able to get rid of the error his way, exept from just ignoring it in the logs via
logger:
  default: warning
  filters:
     aiohue.util:
      - "Received unexpected bridge id: *"
  1. I should have read a bit more, as mentioned commenter said a few weeks after his solution: "Guess what’s back: the warning. Guess who has no clue why: me."

@msymms
Copy link

msymms commented Dec 16, 2021

I am having the same issue, and the node itself has stopped working.

@oztourer
Copy link

oztourer commented Dec 28, 2021

I was getting the same error, and had suppressed it by commenting out the log message in Home Assistant. This is unfortunately a temporary fix which gets overwritten the next time my Docker instance of Home Assistant gets rebuilt.

The problem would appear to lie with the serial number 93eadbeef13 defined in this repo's /api/hue/templates/description.xml, line 17. Changing the serial from 93eadbeef13 to 93deadbeef13 should fix the problem.

I am guessing that eadbeef was a typo. I checked all the forks of this repo that are available in Node Red and none of them have changed the serial number, so all will cause the same endless log messages in Home Assistant.

@davek00997744
Copy link
Author

davek00997744 commented Dec 28, 2021

I was getting the same error, and had suppressed it by commenting out the log message in Home Assistant. This is unfortunately a temporary fix which gets overwritten the next time my Docker instance of Home Assistant gets rebuilt.

The problem would appear to lie with the serial number 93eadbeef13 defined in this repo's /api/hue/templates/description.xml, line 17. Changing the serial from 93eadbeef13 to 93deadbeef13 should fix the problem.

I am guessing that eadbeef was a typo.

So how (as someone that does not understand) do we fix this issue please? :)

I can see the file and the error by clicking the link in the page header here, but how do i get that into my Node Red setup?

@oztourer
Copy link

I was getting the same error, and had suppressed it by commenting out the log message in Home Assistant. This is unfortunately a temporary fix which gets overwritten the next time my Docker instance of Home Assistant gets rebuilt.
The problem would appear to lie with the serial number 93eadbeef13 defined in this repo's /api/hue/templates/description.xml, line 17. Changing the serial from 93eadbeef13 to 93deadbeef13 should fix the problem.
I am guessing that eadbeef was a typo.

So how (as someone that does not understand) do we fix this issue please? :)

I can see the file and the error by clicking the link in the page header here, but how do i get that into my Node Red setup?

Depends on how you installed Node Red. In my case I have a volume mounted to my Docker container and this module can be found at node_modules/node-red-contrib-amazon-echo/api/hue/templates/description.xml. I edited the file in place. It will get overwritten if I reinstall this module but is easily edited again.

Hopefully this repo will get updated with a permanent fix.

@davek00997744
Copy link
Author

I am running HASSOS, on Pi4, Node Red was an add-on I think.

I have no idea how to update this item alone, its in the pallette so an update will need to show up as an update in NR Pallette for me to get it?

@oztourer
Copy link

I am running HASSOS, on Pi4, Node Red was an add-on I think.

I have no idea how to update this item alone, its in the pallette so an update will need to show up as an update in NR Pallette for me to get it?

I have no experience with HassOS, perhaps someone else can chime in with an answer. You will need command line access to the Node Red Docker container. Can you SSH into the Pi?

@enbrander
Copy link

I was getting the same error, and had suppressed it by commenting out the log message in Home Assistant. This is unfortunately a temporary fix which gets overwritten the next time my Docker instance of Home Assistant gets rebuilt.

The problem would appear to lie with the serial number 93eadbeef13 defined in this repo's /api/hue/templates/description.xml, line 17. Changing the serial from 93eadbeef13 to 93deadbeef13 should fix the problem.

I am guessing that eadbeef was a typo. I checked all the forks of this repo that are available in Node Red and none of them have changed the serial number, so all will cause the same endless log messages in Home Assistant.

This worked for me, thank you.
I am running HASSOS with the Node Red add-on. The description.xml is stored in /config/node-red/node_modules/node-red-contrib-amazon-echo/api/hue/templates/

@davek00997744
Copy link
Author

This worked for me, thank you. I am running HASSOS with the Node Red add-on. The description.xml is stored in /config/node-red/node_modules/node-red-contrib-amazon-echo/api/hue/templates/

Many thanks - I found the file, edited and it seems to have fixed the issue :)

I guess this will be overwritten on an update - is there a way the core could be fixed so this never returns??

@oztourer
Copy link

oztourer commented Jan 1, 2022

I guess this will be overwritten on an update

True, but this repo has not been updated in two years so you should be safe for a while...

@davek00997744
Copy link
Author

Ok, thanks, I've bookmarked the fix at least :)

@oztourer
Copy link

oztourer commented Jan 1, 2022

I have created a pull request with a proposed fix for the serial number - hopefully datech will respond, in which case we will get a permanent fix for the issue.

@oztourer
Copy link

oztourer commented Jan 2, 2022

I checked github activity for datech and he appears to have gone AWOL. Rather than wait for a response to my pull request I have published my own fork of the code to Node Red. It is a drop-in replacement for this library with the only difference being the correct length serial number. I have not experienced any Home Assistant error messages using my version.

If you decide to give my version a try you may need to refresh your Node Red palette manager to find it.

@msymms
Copy link

msymms commented Jan 3, 2022 via email

@davek00997744
Copy link
Author

Thanks for your efforts here, appreciated.

datech added a commit that referenced this issue Apr 11, 2024
@datech datech mentioned this issue Apr 15, 2024
@datech
Copy link
Owner

datech commented Apr 15, 2024

Serial number length has been fixed in v0.1.11

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

7 participants