Just released version 0.9.5 which includes support for co2 sensors of pimatic-netatmo, as requested by @thex
-
[pimatic-hap] Support for pimatic 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 -
@daice said in [pimatic-hap] Support for pimatic homekit bridge:
Sorry for my late answer. Today i had time to check the debug messages when i try to add my pimatic in Home on iOS.
20:20:05.474 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] HAP Request: POST /pair-setup
20:20:05.512 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Pair step 1/5
20:20:19.358 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] HAP Request: POST /pair-setup
20:20:19.378 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Pair step 2/5
20:20:19.873 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] HAP Request: POST /pair-setup
20:20:19.890 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Pair step 3/5
20:20:19.980 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Pair step 4/5
20:20:19.997 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Pair step 5/5
20:20:20.036 [pimatic-hap] debug: [Pimatic HomeKit Bridge] Paired with client D2627D0C-B0D8-4177-9466-19EB8885E6EC
20:20:20.174 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] HAP Request: POST /pair-verify
20:20:20.206 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Pair verify step 1/2
20:20:20.314 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] HAP Request: POST /pair-verify
20:20:20.333 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Pair verify step 2/2
20:20:20.356 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Client D2627D0C-B0D8-4177-9466-19EB8885E6EC verification complete
20:20:20.425 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] HAP Request: GET /accessories
20:20:22.593 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] HAP Request: POST /pairings
20:20:22.615 [pimatic-hap] debug: [fa:fe:db:e4:36:2c] Removing pairing info for client
20:20:22.623 [pimatic-hap] debug: [Pimatic HomeKit Bridge] Unpairing with client D2627D0C-B0D8-4177-9466-19EB8885E6ECI hope this helps finding the problem.
Regards daice
@daice I have the same problem here with the direct unpairing as described from you after moving to pimatic v0-9. (complete fresh install, no update)
How did you solved it??
nothing works for me:
-the typical steps as resetting the hap-database and all iphones etc.
-Then i renamed the bridge, changed code (or both)…
-I also tried to reinstall the plugin (from GUI) and tried an earlier version (v-0-9, v0-8-3).Maybe something worse around the icloud / Philips hue stuff synchronizing between the i-devices - or 2-factor authentication enabled in icloud…
hmmm… PLS ANYBODY - HELP -
@fennsen said in [pimatic-hap] Support for pimatic homekit bridge:
I have the same problem here with the direct unpairing as described from you after moving to pimatic v0-9. (complete fresh install, no update)
How did you solved it??OK GUYS!!! After hours and hours of searching on divers forums… I’just found the golden HINT in the FHEM forum:
*’’ Antw:Apple Homekit: die Hoffnung stirbt zuletzt
« Antwort #641 am: 14 September 2015, 09:20:07 »
so lange im log ein unpair auftaucht bedeutet das das homekit die verbindung abbricht weil bei irgend einem device irgendwo ein parameter nicht der spezifikation oder erwartung entspricht.wenn das passiert bitte die device list so lange einschränken bis klar is welches device es ist und dann die subscriptions seite aus dem debug browser posten."*
[Antw:Apple Homekit: die Hoffnung stirbt zuletzt] (https://forum.fhem.de/index.php?topic=32652.630)
This means if you have a device which hasn’t a clear state (in my case: again this rubbish from Hue…pairing is directly interrupted (unf. without any reason in the log-file)!!
In my case this happened because some Hue-bulbs are switched of by wall-switches and therefore not always reachable,
Maybe the same will occur with some ‘hidden devices’: e.g. Hue LightGroups (->HUEGroup.0) if you include the HueLightGroups in you setup. I’ve throwed them out because they made trouble anyhow…)
What I did: set all devices to [hap excluded: “true”], restart pimatic/hap and volia:: pairing !!
Then I enabled device per device selective (leaving out the Hue stuff, as I don’t need this in HAP, can include the Hue Bridge in Homekit seperately.Hope it helps anybody who also struggles with this issue! Have Fun
#homekit #unpairing #hap #pairingerror
-
@fennsen thx a lot for your investigation and reply to the forum.
Sorry that there hasn’t been any support from our side since it is some kind of “special hardware issue”
But if anybody has a similar problem it will be lots easier to solve now
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 Thanks, but this should be obvious to share the solution after solving an real issue. I don’t like to see anybody spending the same sleepless nights for nothing again
So my migration to pimatic V0-9 has been a real endeavor after the issues with mqtt/dewpoint and now the hap story after I thought that I’m out of the tunnel
Hope that it’s running stable now… don’t like to downgrade any more as this version has really cool new features (esp. on demand editing of devices).Thanks to the complete pimatic team, the great work and for all your efforts!
-
Sorry for my late answer. I solved this a month ago by setting all devices witch are not supported by pimatic-hap to exclude = “true”. There seems to be one or more devices witch cause a problem witch hap ( i don’t know witch one). I only use switches and heating thermostates for hap. With this it is working fine.
Regards daice
-
Had some time today, added support for multiple buttons on buttonsDevices. The legacy implementation for one button is untouched to support setups which already rely on it
ButtonsDevices with more then one button are registered as Buttons with names like:
ButtonDevice name: Secene Livingroom
Button1 text: Bright
Button2 text: Dim
–>
HAP device 1: Scene Livingroom Bright
HAP device 2: Scene Livingroom Dimso you can use:
“Hey Siri switch on Scene Livingroom Bright” -
Currently looking int to failed test and I added another fix to properly support Siri
edit: Test should be ok now. Was a problem with the test and not the implementation
-
@thex I did comment your pull request.
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 the next version of pimatic-hap: 0.10.0. This adds extended support for milight-reloaded and more. For details see the changelog at https://github.com/michbeck100/pimatic-hap/blob/master/README.md#changelog
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 -
HAP was running fine for quite some time but now all devices are “unreachable”. I had this before and solved it by doing a fresh setup but this is not the way to go… there seems to be some problem/bug…
Log when apple TV connects after a reboot:
https://gist.github.com/thexperiments/6ad0b07cebed7d873363cab746475dc1Looks fine to me…
Any Ideas? -
@thex looks fine, yes. No idea. Sometimes HomeKit has some hickups. Maybe rebooting of your idevice helps.
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 -
Already did all this. Also disabling and reenabling iCloud for homekit and rebooting multiple times both iPhone and apple TV.
More ideas?
-
i want to come back to the point of using Variables Devices as HomeKit accessory.
I have several esp around my home wich are sending temperature and humidity values via REST Api to my HomeKit.
i understand why it ist complicated to set variables Devices free into HomeKit, but wold i be possible to set a
"hap" : { "service": "Temperature" }
and the sending out the data into HomeKit?
-
solved the problem by using a
DummyTempratureSensor
unfortunately this device is not documented and especially setting the temperature was some kind of pain. But sourced showed of methods to update Temperature und Humidity analog to DummyThermostate
so with
http://pimatic.ip:8080/api/device/esp-test-hap/changeHumidityTo?humidity=50 http://pimatic.ip:8080/api/device/esp-test-hap/changeTemperatureTo?temperature=26
i was able to update the device with my esp sensors and the DummyTempratureSonsor is compatible to HomeKit.
I also discovered that even ESPimatic and nearly alle other self made ESP based sensors are using simple VariableDevices. That works but only when using the web frontend.
So for now it is possible for me to use my esp sensors with HomeKit -
@christopher-täufert Please check all the dummy device types that pimatic offers. Most of them are supported by pimatic-hap. If your values fit into one of these devices, it’s always a better choice than a VariablesDevice.
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