I just released pimatic-hap@0.9.4.
This version adds support for pimatic-maxcul thermostats.
[pimatic-hap] Support for pimatic homekit bridge
I just released pimatic-hap@0.9.4.
This version adds support for pimatic-maxcul thermostats.
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
Great! Using MAX! at the moment but thinking about CUL as it is more “direct”. Works great with MAX already.
Could you just like for temperature/humidity add a “generic” approach for CO2? Would be great to have the CO2 from Netatmo in Homekit
@thex are you using a specific plugin for your netatmo?
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 pimatic-netatmo the one I developed so if I can do something in the plugin to support integration let me know. For Humidity and Temperature it works already with your “generic” approach.
@thex I had some spare time and added the support: https://github.com/michbeck100/pimatic-hap/commit/927ead38f43639efbcea17f0ebddcfd5aeeb31c5
Please test and will release a new 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
Please note that HomeKit defines some sort of alarm for co2 values over a certain threshold. Since it’s required to implement this alarm, I used some information I found on the web and set the threshold to 1400 ppm. I hope that’s a good value. Otherwise you might get an alarm that your house is running out of oxygen 😬
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
Great! Would it be possible to make this configurable without to much hassle?
Just testet the plugin but looks like there is something off:
< 17:55:08.826 [pimatic-hap] [My Netatmo Base] Identification request
< 17:55:13.432 [pimatic-hap] [59:12:91:4d:68:c8] HAP Request: GET /characteristics?id=2.19
< 17:55:13.433 [pimatic-hap] [Test Bridge] Getting value for Characteristic "Carbon Dioxide Detected"
< 17:55:13.446 [pimatic] A uncaught exception occured: ReferenceError: co2 is not defined
< 17:55:13.446 [pimatic]> at [object Object].<anonymous> (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hap/accessories/genericsensor.coffee:49:35)
< 17:55:13.446 [pimatic]> at emitThree (events.js:97:13)
< 17:55:13.446 [pimatic]> at [object Object].emit (events.js:175:7)
< 17:55:13.446 [pimatic]> at [object Object].Characteristic.getValue (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Characteristic.js:120:10)
< 17:55:13.446 [pimatic]> at Bridge.<anonymous> (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Accessory.js:621:20)
< 17:55:13.446 [pimatic]> at Array.forEach (native)
< 17:55:13.446 [pimatic]> at Bridge.Accessory._handleGetCharacteristics (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Accessory.js:585:8)
< 17:55:13.446 [pimatic]> at emitMany (events.js:108:13)
< 17:55:13.446 [pimatic]> at HAPServer.emit (events.js:182:7)
< 17:55:13.446 [pimatic]> at HAPServer._handleCharacteristics (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:921:10)
< 17:55:13.446 [pimatic]> at HAPServer.<anonymous> (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:204:39)
< 17:55:13.446 [pimatic]> at emitNone (events.js:67:13)
< 17:55:13.446 [pimatic]> at IncomingMessage.emit (events.js:166:7)
< 17:55:13.446 [pimatic]> at endReadableNT (_stream_readable.js:921:12)
< 17:55:13.446 [pimatic]> at nextTickCallbackWith2Args (node.js:442:9)
< 17:55:13.446 [pimatic]> at process._tickCallback (node.js:356:17)
< 17:55:13.446 [pimatic]> This is most probably a bug in pimatic or in a module, please report it!
< 17:55:13.447 [pimatic] shutting pimatic down...
< /Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/startup.coffee:103
< return framework.destroy().then(function() {
< ^
< ReferenceError: framework is not defined
< at process.uncaughtException (/Users/thex/Dropbox/projects/pimatic/pimatic-beta/node_modules/pimatic/startup.coffee:87:7)
< at emitOne (events.js:77:13)
< at process.emit (events.js:169:7)
< at process._fatalException (node.js:224:26)
@thex Should be fixed now. Please load the updated version from github.
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
Great, works!
Thanks
@thex ok. There will be a new release soon.
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.9.5 which includes support for co2 sensors of pimatic-netatmo, as requested by @thex
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 Facebook
make 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 Dim
so 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