Today we are announcing the release of Things Gateway 0.6 which comes with new home monitoring features including support for door sensors, motion sensors and push notifications.
Other enhancements include support for push buttons and a wider range of Apple HomeKit devices, as well as general robustness improvements and better error reporting.
You can check out the blog post for more details and download the 0.6 release from our website. If you already have a Things Gateway running on a Raspberry Pi it should automatically update itself soon.
We canât wait to see what creative things you do with all these new features. Let us know here on Discourse and on Twitter!
@benfrancis Iâve not tested with these specific devices, but they should (in theory) work.
@rei_vilo Are you running on the Raspberry Pi? These are both using BLE, so if youâre running on something else, a Bluetooth adapter will be required. Are you saying that they donât show up at all on the âadd thingsâ page?
Another caveat is that they canât already be paired with anything else.
Even the lescan utility provides the specific names, but with different MAC addresses!
$ sudo hcitool lescan
LE Scan ...
F5:11:86:21:73:91 Eve
F5:11:86:21:73:91 Eve Energy 47C0
DC:D7:55:23:8F:58 Eve
DC:D7:55:23:8F:58 Eve Energy 23C7
EB:D8:24:E7:A6:64 Eve
EB:D8:24:E7:A6:64 Eve Room ABA1
DC:D7:55:23:8F:58 Eve Energy 23C7
C6:D3:E9:03:4A:27 Eve
C6:D3:E9:03:4A:27 Eve Weather 2359
@rei_vilo I discovered several issues with the HomeKit adapter this morning. I just pushed out an update. Youâll also need to update your âWeb Thingâ adapter to the new version, and disable Bluetooth scanning in its configuration. It turns out that the two were conflicting and causing issues.
The naming issue seems to be adapter-specific. All we get is what the noble NodeJS module gives us.
Add-ons keep getting added, independent of the core gateway releases, which occur quarterly. At a high level, gateway updates typically include additional device support (for example, need to add smart locks), structural features (for example, the recent change for notification add-ons, and a new router build for OpenWrt), and standards-body (W3C WoT) updates.
I have the same issue with Eve Room 3359 (Eve Room 1): âIncorrect PINâ.
Log:
2019-10-08 08:14:52.609 INFO : homekit: Adapter: HomeKitAdapter id homekit-adapter pairing started
2019-10-08 08:15:21.278 INFO : AdapterProxy: setPin: xxx-xx-xxx for: homekit-xx:xx:xx:xx:xx:xx
2019-10-08 08:15:23.134 INFO : homekit: Pairing failed for device xx:xx:xx:xx:xx:xx: M1: Got error status: 6
2019-10-08 08:15:23.136 ERROR : homekit: AddonManagerProxy: Failed to set PIN for device homekit-xx:xx:xx:xx:xx:xx
2019-10-08 08:15:23.138 ERROR : homekit: undefined
2019-10-08 08:15:23.140 ERROR : Failed to set PIN for homekit-xx:xx:xx:xx:xx:xx: undefined
2019-10-08 08:15:52.608 INFO : Pairing timeout
2019-10-08 08:15:52.610 ERROR : Thing was not added
Thank you for the hint!
I did reset and restart the device a few more times. Even re-flashed Gateway.
Now Iâm seeing the same âIncorrect PINâ in UI, but the log is different:
2019-10-08 17:01:44.266 INFO : homekit: at
2019-10-08 17:01:45.037 INFO : homekit: Found BLE device: { CoID: 76,
2019-10-08 17:01:45.038 INFO : homekit: TY: 6,
2019-10-08 17:01:45.040 INFO : homekit: AIL: 205,
2019-10-08 17:01:45.041 INFO : homekit: SF: 1,
2019-10-08 17:01:45.042 INFO : homekit: DeviceID: â2f:c3:eb:e6:8e:52â,
2019-10-08 17:01:45.043 INFO : homekit: ACID: 10,
2019-10-08 17:01:45.045 INFO : homekit: GSN: 3,
2019-10-08 17:01:45.046 INFO : homekit: CN: 1,
2019-10-08 17:01:45.047 INFO : homekit: CV: 2 }
2019-10-08 17:01:45.050 INFO : homekit: Error loading device 2f:c3:eb:e6:8e:52: Error: no pairing data available
2019-10-08 17:01:45.051 INFO : homekit: at HomeKitDevice.promise.adapter.db.loadPairingData.then (/home/pi/.mozilla-iot/addons/homekit-adapter/lib/homekit-device.js:103:15)
2019-10-08 17:01:45.052 INFO : homekit: at
2019-10-08 17:01:48.805 INFO : Opened a new things socket
2019-10-08 17:01:48.825 INFO : About to call startPairing on ThingURLAdapter
2019-10-08 17:01:48.826 INFO : About to call startPairing on HomeKitAdapter
2019-10-08 17:01:48.835 INFO : homekit: Adapter: HomeKitAdapter id homekit-adapter pairing started
2019-10-08 17:02:06.178 INFO : AdapterProxy: setPin: xxx-xx-xx for: homekit-2f:c3:eb:e6:8e:52
2019-10-08 17:02:26.936 INFO : homekit: Pairing failed for device 2f:c3:eb:e6:8e:52: Timeout
2019-10-08 17:02:26.941 ERROR : homekit: AddonManagerProxy: Failed to set PIN for device homekit-2f:c3:eb:e6:8e:52
2019-10-08 17:02:26.943 ERROR : homekit: undefined
2019-10-08 17:02:26.946 ERROR : Failed to set PIN for homekit-2f:c3:eb:e6:8e:52: undefined
2019-10-08 17:02:28.752 ERROR : Thing was not added
2019-10-08 17:02:28.754 ERROR : addNewThing cancelled
2019-10-08 17:02:28.761 INFO : thing-url: Adapter: ThingURLAdapter id thing-url-adapter pairing cancelled
2019-10-08 17:02:28.763 INFO : homekit: Adapter: HomeKitAdapter id homekit-adapter pairing cancelled
Does this âno pairing data availableâ indicate that Eve Room 1 model is not supported?