Just posted it to the github issue
-
[pimatic-hap] Support for pimatic homekit bridge
-
@thex And closed the issue. Thanks for your help!
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 -
hello i got a error
i have tried different thinks already
delete hap-database from pimatic root
reset HomeKit settings on iOS
restart pimatic and/or the whole raspberry
restart your wifi
restart your device
an even remove piratic node
but stil the error comes back every time
it was working fine until ?21:22:44.070 [pimatic] error: A uncaught exception occured: Error: A was 383, expected 384
21:22:44.070 [pimatic] error:> at assert_ (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/srp/lib/srp.js:9:11)
21:22:44.070 [pimatic] error:> at assertIsNBuffer (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/srp/lib/srp.js:64:5)
21:22:44.070 [pimatic] error:> at getu (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/srp/lib/srp.js:225:3)
21:22:44.070 [pimatic] error:> at Object.setA (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/srp/lib/srp.js:406:17)
21:22:44.070 [pimatic] error:> at HAPServer._handlePairStepTwo (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:314:13)
21:22:44.070 [pimatic] error:> at HAPServer._handlePair (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:274:10)
21:22:44.070 [pimatic] error:> at HAPServer.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:188:39)
21:22:44.070 [pimatic] error:> at IncomingMessage.EventEmitter.emit (events.js:92:17)
21:22:44.070 [pimatic] error:> at _stream_readable.js:920:16
21:22:44.070 [pimatic] error:> at process._tickDomainCallback (node.js:459:13)
21:22:44.070 [pimatic] error:> This is most probably a bug in pimatic or in a module, please report it! -
@justice When does the error happen? On startup? While connecting with your HomeKit app?
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 in happend at the start up it looks like pimatic starts but i can;t get connection to http when i remove hap from the config file i don’t have a problem
-
this is the latest log starting up with hap
22:08:37.321 [pimatic] error: A uncaught exception occured: Error: dns service error: unknown
22:08:37.321 [pimatic] error:> at new Advertisement (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:56:10)
22:08:37.321 [pimatic] error:> at Object.create [as createAdvertisement] (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:64:10)
22:08:37.321 [pimatic] error:> at Advertiser.startAdvertising (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Advertiser.js:43:30)
22:08:37.321 [pimatic] error:> at Bridge.Accessory._onListening (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Accessory.js:510:20)
22:08:37.321 [pimatic] error:> at HAPServer.emit (events.js:92:17)
22:08:37.321 [pimatic] error:> at HAPServer._onListening (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:182:8)
22:08:37.321 [pimatic] error:> at EventedHTTPServer.emit (events.js:92:17)
22:08:37.321 [pimatic] error:> at EventedHTTPServer.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/util/eventedhttp.js:62:10)
22:08:37.321 [pimatic] error:> at Server.emit (events.js:92:17)
22:08:37.321 [pimatic] error:> at net.js:1055:10
22:08:37.321 [pimatic] error:> at process._tickCallback (node.js:419:13)
22:08:37.321 [pimatic] error:> This is most probably a bug in pimatic or in a module, please report it!
22:08:37.337 [pimatic] info: exiting… -
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 i trid different things nou but i think i have to reinstall everything to get hap working again i suspend.
or do you know another way to get it working again. -
@justice most people having this problem didn’t solve it by reinstalling. But who knows maybe it helps. I never had this problem and I think it’s related to your network.
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 after more surching and trying a removed avahi-daemon and instal it again and now it’s working again i hope it’s a solution but for now it’s working
i Find out that this service was not running good bij sudo service avahi-daemon status
Thank’s for your help -
Hello,
Hap is working fine here but if I do a restart it triggers very fast my rules (switching on and off lights)…it stops after a minute or two.
I’m using Hap in combination with unipi relay board.
-
@tvleminc please create an issue here. And also post your rules and the interesting parts of your log file there. Remember to turn on debug logging before.
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 -
Just released version 0.7.0 with support for Philips Hue Lights via the pimatic-hue-zll plugin. Have fun switching.
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 -
Got a question.
Most of the time I try to control my lights through Siri.
The first command I try is to turn on/off my lights through a custom scene (“Bedroom on”) (“Bedroom off”), but Siri says that it has been executed, or says that the scene doesn’t exists (randomly one of these results). The second time I try the same scene, it works perfect.
These scenes are made with Elegato Eve.This problem persists with Pimatic 0.8 and also after the upgrade to v0.9 and with a fresh install of Hap.
I also tried removing Eve and removing my Homekit accessory.When controlling the lights through Pimatic everything works always at the first try.
Situation:
iOS device, iPhone 6 with iOS 9.3.3
iOS device, shared Homekit accessory through iCloud, iPhone 6 with iOS 9.3.3Anyone with the same issues and a solution?
Thanks! -
That’s either related to your RF range or to Siri, not understanding what you’re saying.
That’s my experience with HomeKit at least. If the range is the problem, pimatic and Eve should have the same problems. If not I would say it’s related to Siri, not HomeKit because Eve uses the same Apipimatic-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 -
Thanks for your response.
If I use the Pimatic GUI, the response is always working ok at the first time.
So for some reason Siri doesn’t want to listen to me (if I repeat the exact same command, then Siri does understand it). I will try to control the lights through the Eve app and see how that goes. -
@seanb89 Unfortunately Siri isn’t always as smart as Apple tells us in the commercials, especially when it comes to HomeKit related tasks.
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 -
Not sure if this has been asked before: how likely is it that apple will block services like this with an update? Is it still working with iOS 10? I was under the impression that manufactures have to sign up for the MFI program and implement a special chip into their hardware. Being able to run HomeKit with pimatic is great but legally probably in a gray area, isn’t it?
-
@GuybrushMR80 No, You’re the first to ask .
I think it not that easy to block this, since pimatic-hap uses a framework that just implements the homekit stack, just like any other homekit device out there. They could block devices that are not registered, but then pimatic-hap would just pretend to be one of the registered devices. And changing the complete stack would mean that manufacturers would have to update their complete hardware, that they already sold. So i think its not really likely that Apple will block anything. And yes it still works under iOS 10.
About the legal part, i would say that Apple would have let github remove the project already, which implements the homekit stack, already, if it was illegal. But who knows, maybe they will someday. On the other hand, Apple sells more iDevices, the more homekit supported hardware exists. And homekit bridges like pimatic-hap increase this number obviously.
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 -
Fingers crossed apple will tolerate the software solutions for HomeKit. But I fear that they could have an interest in shutting them down - they argue that security is one of the reasons for the MFI program. If someone breaks into a house that uses HomeKit via an unsupported piece of software the headline will probably just say “Apple’s HomeKit hacked - open house for burglars” - and that’s something apple would want to avoid. but let’s see, I hope this will just fly under the radar… As long as nobody is making money with it, this will not get much attention…