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

newsAccessory is not defined #9

Open
ghost opened this issue Dec 19, 2017 · 2 comments
Open

newsAccessory is not defined #9

ghost opened this issue Dec 19, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 19, 2017

[punt] Plugin - DidFinishLaunching
/usr/local/lib/node_modules/homebridge-punt/index.js:154
newsAccessory.reachable = true;
^

ReferenceError: newsAccessory is not defined
at PuntPlatform.addAccessory (/usr/local/lib/node_modules/homebridge-punt/index.js:154:5)
at PuntPlatform.addAccessories (/usr/local/lib/node_modules/homebridge-punt/index.js:141:12)
at PuntPlatform. (/usr/local/lib/node_modules/homebridge-punt/index.js:96:12)
at emitNone (events.js:72:20)
at API.emit (events.js:166:7)
at Server.str.replace.Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:98:13)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)


I can't get any of the local ports to connect and the terminal is throwing this error. Any idea how to fix this?

@cflurin
Copy link
Owner

cflurin commented Dec 20, 2017

@WTremml
I don't use this plugin (FHEM) anymore. Maybe somebody else can help you or you migrate to https://www.npmjs.com/package/homebridge-mqtt

@cflurin
Copy link
Owner

cflurin commented Dec 20, 2017

@WTremml
try changing line 154 in index.js:

newAccessory.reachable = true;

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