-
Notifications
You must be signed in to change notification settings - Fork 6
TypeError: Cannot read property 'indexOf' of undefined #1
Comments
Could you provide full log with |
If you copy/pasted the config example from README.md, there's a typo which might be causing this issue. Look at your config and see how 'platform' is spelled. In the example, it's spelled 'platfrom' and will cause errors. |
Created a PR for this |
It looks like the typo was the issue as I no longer see that error, however, I am receiving a different error now:
|
@hjtech I already know about this issue and preparing fix, but I want to understand which device provide not valid UUID. Could you provide to me logs with |
I released 0.1.8 with fix UUID. |
0.1.8 fixed it! Thank you @langovoi |
@hjtech could you say, which device you successfully used with plugin? It need for supported and tested devices list which I prepare. |
It was able to detect all my Sonos speakers, a Yamaha AV receiver and one Samsung TV (out of two). Though the Samsung TV showed up in the Home app, it is always showing "No Response" and can't control it, but I have to do more troubleshooting. |
Could you say device models (like Sonos Beam or Samsung KU6300)?
This because you use AV receiver with TV :-( I know about this problem, but still searching for solution... |
Models are: Sonos Beam and Sonos One, Samsung UN65F9000 and Yamaha RX-3050. None of the Samsung TVs are connected to the receiver but the UN65F9000 is connected to the Sonos Beam. |
Could you provide firmware version? |
Installed the plugin, added the platform to the config file but keep getting this error.
TypeError: Cannot read property 'indexOf' of undefined stdout 23:45:52 at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:108:12) stdout 23:45:52 at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:316:45) stdout 23:45:52 at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:36) stdout 23:45:52 at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10) stdout 23:45:52 at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) stdout 23:45:52 at Module._compile (internal/modules/cjs/loader.js:689:30) stdout 23:45:52 at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) stdout 23:45:52 at Module.load (internal/modules/cjs/loader.js:599:32) stdout 23:45:52 at tryModuleLoad (internal/modules/cjs/loader.js:538:12) stdout 23:45:52 at Function.Module._load (internal/modules/cjs/loader.js:530:3) stdout 23:45:52 at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) stdout 23:45:52 at startup (internal/bootstrap/node.js:283:19) stdout 23:45:52 at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
The text was updated successfully, but these errors were encountered: