@p4co86 there should be an exception before this warning in the log file. Could you post it here?
-
Pimatic plugin as Apple Homekit bridge
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
there is nothing more then this. i have now enabled debug:
i see a field where i can write a code, but when i click on it there is nothing where can write the code.
-
I have installed hap-nodejs via nfarina/homebridge. Would this plugin be able to connect to homebridge? I must admit I’m a little confused as to which components I need when pimatic and homebridge are already installed.
-
i definitly get no additional error. just the above one. the connection is not succesfull.
-
@p4co86 said:
i definitly get no additional error. just the above one. the connection is not succesfull.
That is the default message message when a pimatic plugin crashes. There should be an additional error before the warning. If there’s none, ich can’t tell what the problem could be. Sorry.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@Andreas-Goetz said:
I have installed hap-nodejs via nfarina/homebridge. Would this plugin be able to connect to homebridge? I must admit I’m a little confused as to which components I need when pimatic and homebridge are already installed.
homebridge and pimatic-hap are not working together. Homebridge doesn’t contain any code to connect to it. When installing pimatic-hap a second copy of HAP-NodeJS is installed, but thats not a problem. It’s not shared between pimatic and homebridge.
The advantage over homebridge is that pimatic-hap is integrated in pimatic and uses the direct api to control the devices. Homebridge controls via REST api.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@chris how do you fix your problem with the error?
i just get this errors. debug is true.
warn [pimatic]: Keeping pimatic alive, but could be in an undefined state, please restart pimatic so soon as possible! 16:50:35error [pimatic]: A uncaught exception occured: SyntaxError: Unexpected end of input at Object.parse (native) at /root/pimatic-app/node_modules/pimatic-location/node_modules/iphone-finder/lib/iphone-finder.js:26:31 at IncomingMessage.<anonymous> (/root/pimatic-app/node_modules/pimatic-location/node_modules/iphone-finder/lib/iphone-finder.js:42:48) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:920:16 at process._tickDomainCallback (node.js:459:13) This is most probably a bug in pimatic or in a module, please report it! 16:49:35warn [pimatic]: Keeping pimatic alive, but could be in an undefined state, please restart pimatic so soon as possible! 16:49:35error [pimatic]: A uncaught exception occured: SyntaxError: Unexpected end of input at Object.parse (native) at /root/pimatic-app/node_modules/pimatic-location/node_modules/iphone-finder/lib/iphone-finder.js:26:31 at IncomingMessage.<anonymous> (/root/pimatic-app/node_modules/pimatic-location/node_modules/iphone-finder/lib/iphone-finder.js:42:48) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:920:16 at process._tickDomainCallback (node.js:459:13) This is most probably a bug in pimatic or in a module, please report it! 16:48:35warn [pimatic]: Keeping pimatic alive, but could be in an undefined state, please restart pimatic so soon as possible! 16:48:35error [pimatic]: A uncaught exception occured: SyntaxError: Unexpected end of input at Object.parse (native) at /root/pimatic-app/node_modules/pimatic-location/node_modules/iphone-finder/lib/iphone-finder.js:26:31 at IncomingMessage.<anonymous> (/root/pimatic-app/node_modules/pimatic-location/node_modules/iphone-finder/lib/iphone-finder.js:42:48) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:920:16 at process._tickDomainCallback (node.js:459:13) This is most probably a bug in pimatic or in a module, please report it!
but the other erros are from pimatic-location, there also the before i install hap.
thats what iam do, i open the app, then i can see pimatic homekit bridge i click on it and after that i type in the pair key, (that is just possible on first time) when i try it another one i cant tyoe in the code because the is no window where i can type it. after that i came back to the window where the pimatic homekit bridge is shown. but the house with do load circle in it ist loading infinity and i can not see any devices in pimatic.
could someone please explain how he get this thing work?
thanks in advance -
this is what i found :
17:23:16.915 [pimatic] error: A uncaught exception occured: Error: dns service error: unknown 17:23:16.915 [pimatic] error:> at Advertisement.on_service_registered (/root/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:42:24) 17:23:16.915 [pimatic] error:> at SocketWatcher.MDNSService.self.watcher.callback (/root/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/lib/mdns_service.js:18:40) 17:23:16.915 [pimatic] error:> This is most probably a bug in pimatic or in a module, please report it! 17:23:16.922 [pimatic] warn: Keeping pimatic alive, but could be in an undefined state, please restart pimatic so soon as possible!
is node 0.12 needed for this? maybe it is because i use 0.10.24
-
So, i just gave it a bit time.
I was triing another plugin-update (pimatic-fritz) and had to restart some more time (ten to twelve i think)
And today i came home and every thing was working.
HomeKit-App EVE was up to date and working. -
I find the homekit bridge in eve and enter the key, but after the house will load infinity.
-
@p4co86 Try to delete the persist directory in pimatic home directory and restart pimatic
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Have searched it, but i cantfind any persist folder inside the pimatic folder. You mean on the raspberry?
-
@p4co86 yes on the raspi. if you’ve followed the default install instructions the folder should be at ~/pimatic-app/persist
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Yes i have folowed it, but there is just the confif, pid,daemin.log. tmp. Node_modules. No persist
-
The only difference is that my pimatic-app fklder is not in home/pi, it is in root.
-
Hello,
my persist folder was in root directory.
But i have deleted the folder and then i could configure a new house in the eve-app.
My pimatic installation is in /home/pi/pimatic-app… -
I have done a search with
Find -name “persist”
But no success, there is definitly no persist folder
-
I had it working last night but now it lost connection and cannot find the accesory any more even not after a reboot of pimatic?
In the log file i have te following error repeated a couple of times?
What to do now?error [pimatic]: A uncaught exception occured: Error: Can’t set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:691:11) at ServerResponse.res.setHeader (/home/osmc/pimatic-app/node_modules/pimatic/node_modules/express/node_modules/connect/lib/patch.js:63:22) at ServerResponse.<anonymous> (/home/osmc/pimatic-app/node_modules/pimatic/node_modules/express/node_modules/connect/lib/patch.js:80:14) at Array.forEach (native) at ServerResponse.res.writeHead (/home/osmc/pimatic-app/node_modules/pimatic/node_modules/express/node_modules/connect/lib/patch.js:79:28) at HAPServer.<anonymous> (/home/osmc/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:672:16) at Bridge.Accessory._handleGetCharacteristics (/home/osmc/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Accessory.js:471:5) at HAPServer.EventEmitter.emit (events.js:106:17) at HAPServer._handleCharacteristics (/home/osmc/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:659:10) at HAPServer.<anonymous> (/home/osmc/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:172:39) at IncomingMessage.EventEmitter.emit (events.js:92:17) at _stream_readable.js:920:16 at process._tickCallback (node.js:415:13) This is most probably a bug in pimatic or in a module, please report it!
-
@dynamite this error is because of an outdated pimatic installation. Please update pimatic to the most recent version…
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 Ok but via the update option within pimatic I have updated pimatic.
Do I need to do it manually?