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

Cannot read properties of undefined (reading 'toUpperCase') #207

Open
stmb-100 opened this issue Jun 6, 2024 · 3 comments
Open

Cannot read properties of undefined (reading 'toUpperCase') #207

stmb-100 opened this issue Jun 6, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@stmb-100
Copy link

stmb-100 commented Jun 6, 2024

Hallo zusammen
hat jemand eine Idee zur Behebung dieser Fehlermeldung, der ESPHome Adapter rebootet immer wieder
LG
Stefan

esphome.1 | 2024-06-06 07:18:25.823 | error | Cannot read properties of undefined (reading 'toUpperCase')

esphome.1 | 2024-06-06 07:18:25.822 | error | TypeError: Cannot read properties of undefined (reading 'toUpperCase') at EsphomeDescovery. (/Users/nl69zh/Developer/community/opensource/ioBroker.esphome/main.js:321:18) at EsphomeDescovery.emit (node:events:517:28) at EsphomeDescovery.emit (node:domain:489:12) at EsphomeDescovery._response (/opt/iobroker/node_modules/@2colors/esphome-native-api/lib/discovery.js:55:14) at EventEmitter.emit (node:events:517:28) at EventEmitter.emit (node:domain:489:12) at Socket. (/opt/iobroker/node_modules/multicast-dns/index.js:49:43) at Socket.emit (node:events:517:28) at Socket.emit (node:domain:489:12) at UDP.onMessage (node:dgram:942:8)

esphome.1 | 2024-06-06 07:18:25.822 | error | uncaught exception: Cannot read properties of undefined (reading 'toUpperCase')

@stmb-100 stmb-100 added the bug Something isn't working label Jun 6, 2024
@DutchmanNL
Copy link
Contributor

Sind das die einzigen Meldungen im log oder kommt da noch mehr?

Sieht noch einem Modul Fehler aus, was für ein Betriebssystem wird eingesetzt?

@stmb-100
Copy link
Author

stmb-100 commented Jun 6, 2024

Docker Container (buanet/iobroker:latest) auf Debian Linux 5.10.0
ESPHome Adapter : 0.5.0 beta 10

Weitere Fehler habe ich im Moment im Adapter nicht gefunden.
LG
Stefan

TypeError: Cannot read properties of undefined (reading 'toUpperCase')
at EsphomeDescovery. (/Users/nl69zh/Developer/community/opensource/ioBroker.esphome/main.js:321:18)
at EsphomeDescovery.emit (node:events:517:28)
at EsphomeDescovery.emit (node:domain:489:12)
at EsphomeDescovery._response (/opt/iobroker/node_modules/@2colors/esphome-native-api/lib/discovery.js:55:14)
at EventEmitter.emit (node:events:517:28)
at EventEmitter.emit (node:domain:489:12)
at Socket. (/opt/iobroker/node_modules/multicast-dns/index.js:49:43)
at Socket.emit (node:events:517:28)
at Socket.emit (node:domain:489:12)
at UDP.onMessage (node:

@SimonFischer04
Copy link
Contributor

Bitte Log mal auf Debug Level umstellen.

Schaut aber aus als wär die MAC adresse aus Gründen undefined: https://github.dev/DrozmotiX/ioBroker.esphome/blob/main/main.js#L321

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

No branches or pull requests

3 participants