# Home Monitoring with Things Gateway 0.6

**URL:** <https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520>\
**Category:** WebThings\
**Created:** [October 11, 2018, 3:23pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520 "2018-10-11T15:23:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![benfrancis](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/benfrancis/32/21346_2.png) [@benfrancis](https://discourse.mozilla.org/u/benfrancis)\
**Post date:** [October 11, 2018, 3:23pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/1 "2018-10-11T15:23:40Z")

</div>

Hi everyone,

Today we are [announcing](https://hacks.mozilla.org/2018/10/home-monitoring-with-things-gateway-0-6) 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](https://hacks.mozilla.org/2018/10/home-monitoring-with-things-gateway-0-6) for more details and download the [0.6 release](https://iot.mozilla.org/gateway/) 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](https://twitter.com/MozillaIoT)!

---

<div class="post-metadata">

**Author:** ![buttonmash](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@buttonmash](https://discourse.mozilla.org/u/buttonmash)\
**Post date:** [October 11, 2018, 8:18pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/2 "2018-10-11T20:18:53Z")

</div>

Congrats!

Is there a roadmap for the next things you aim to tackle?

---

<div class="post-metadata">

**Author:** ![benfrancis](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/benfrancis/32/21346_2.png) [@benfrancis](https://discourse.mozilla.org/u/benfrancis)\
**Post date:** [October 12, 2018, 10:57am UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/3 "2018-10-12T10:57:39Z")

</div>

Hi @buttonmash,

We haven’t planned the 0.7 release yet, but you can see our product backlog on [Waffle](https://waffle.io/mozilla-iot/gateway).

Input always welcome.

Ben

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/rei_vilo/32/23447_2.png) [@rei\_vilo](https://discourse.mozilla.org/u/rei_vilo)\
**Post date:** [October 22, 2018, 2:35pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/4 "2018-10-22T14:35:18Z")

</div>

I tried to connect an [Eve Degree](https://www.evehome.com/en/eve-degree) and an [Eve Room](https://www.evehome.com/en/eve-room), but the sensors do not show up.

Any hint on how to connect them?

---

<div class="post-metadata">

**Author:** ![benfrancis](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/benfrancis/32/21346_2.png) [@benfrancis](https://discourse.mozilla.org/u/benfrancis)\
**Post date:** [October 23, 2018, 11:39am UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/5 "2018-10-23T11:39:19Z")

</div>

@mstegeman Have you tested these devices by any chance?

---

<div class="post-metadata">

**Author:** ![mstegeman](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mstegeman](https://discourse.mozilla.org/u/mstegeman)\
**Post date:** [October 23, 2018, 11:55am UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/6 "2018-10-23T11:55:04Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/rei_vilo/32/23447_2.png) [@rei\_vilo](https://discourse.mozilla.org/u/rei_vilo)\
**Post date:** [October 23, 2018, 12:12pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/7 "2018-10-23T12:12:26Z")

</div>

Yes, I’m running on a Raspberry Pi. No active HomeKit concentrator is active.

There are two problems:

- The Configure homekit-adapter page only provides the MAC addresses and generic names, like `Eve`, except the specific name for the `Eve Energy` (switch).

 ![28](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/3X/6/7/6740356c9b1520a765acdd9b53f68168ce517c93.png)

- Entering the pin is then a random operation.

Using any BLE utility provides much more information, like the specific name.

 ![PNG](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/3X/b/1/b139240c747d48a864e7a99d46f765b8853ba60d.jpeg)

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/rei_vilo/32/23447_2.png) [@rei\_vilo](https://discourse.mozilla.org/u/rei_vilo)\
**Post date:** [October 23, 2018, 12:18pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/8 "2018-10-23T12:18:16Z")

</div>

Even the `lescan` utility provides the specific names, but with different MAC addresses!

```auto
$ 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

```

---

<div class="post-metadata">

**Author:** ![mstegeman](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mstegeman](https://discourse.mozilla.org/u/mstegeman)\
**Post date:** [October 23, 2018, 5:34pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/9 "2018-10-23T17:34:54Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/rei_vilo/32/23447_2.png) [@rei\_vilo](https://discourse.mozilla.org/u/rei_vilo)\
**Post date:** [October 24, 2018, 11:31am UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/10 "2018-10-24T11:31:47Z")

</div>

Thank you for investigating. Is the new release numbered `0.31`?

How to disable scanning?

---

<div class="post-metadata">

**Author:** ![mstegeman](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mstegeman](https://discourse.mozilla.org/u/mstegeman)\
**Post date:** [October 25, 2018, 11:17am UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/11 "2018-10-25T11:17:26Z")

</div>

Yes, that’s the correct version. To disable Bluetooth scanning:

1. Navigate to _Settings -\> Add-ons_
2. Click _Configure_ next to “Web Thing”
3. Check and uncheck the box next to “bluetoothEnabled” (otherwise the form won’t recognize the change)
4. Click _Apply_

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/rei_vilo/32/23447_2.png) [@rei\_vilo](https://discourse.mozilla.org/u/rei_vilo)\
**Post date:** [October 25, 2018, 12:44pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/12 "2018-10-25T12:44:02Z")

</div>

Thank you for the procedure. There is some improvement. The name of the device is now shown, `Eve Room` in this case.

 ![40](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/3X/9/4/94b86145ffcc798286e9c9367c11b1fdb6f68eb4.png)

Unfortunately, the correct PIN is rejected.

---

<div class="post-metadata">

**Author:** ![KaiRo](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/kairo/32/37668_2.png) [@KaiRo](https://discourse.mozilla.org/u/KaiRo)\
**Post date:** [December 21, 2018, 3:31pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/13 "2018-12-21T15:31:00Z")

</div>

> [@rei\_vilo](#):
>
> Unfortunately, the correct PIN is rejected.

Did you ever get that resolved?

---

<div class="post-metadata">

**Author:** ![JackRyan](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@JackRyan](https://discourse.mozilla.org/u/JackRyan)\
**Post date:** [August 1, 2019, 5:54am UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/14 "2019-08-01T05:54:28Z")

</div>

Would like a more elaborate roadmap to this. got confused.

---

<div class="post-metadata">

**Author:** ![kgiori](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/kgiori/32/23949_2.png) [@kgiori](https://discourse.mozilla.org/u/kgiori)\
**Post date:** [August 5, 2019, 9:14pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/15 "2019-08-05T21:14:53Z")

</div>

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.

What future improvements would you like to see?

---

<div class="post-metadata">

**Author:** ![Tialm](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/tialm/32/29826_2.png) [@Tialm](https://discourse.mozilla.org/u/Tialm)\
**Post date:** [September 30, 2019, 2:56pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/16 "2019-09-30T14:56:05Z")

</div>

What happened to the bluetooth scan option? Was it taken out?

---

<div class="post-metadata">

**Author:** ![mstegeman](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mstegeman](https://discourse.mozilla.org/u/mstegeman)\
**Post date:** [September 30, 2019, 3:12pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/17 "2019-09-30T15:12:53Z")

</div>

In the Web Thing adapter? Yes, that’s gone now. That adapter no longer uses Bluetooth at all.

---

<div class="post-metadata">

**Author:** ![min2sia](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@min2sia](https://discourse.mozilla.org/u/min2sia)\
**Post date:** [October 8, 2019, 7:22am UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/18 "2019-10-08T07:22:13Z")

</div>

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

Any ideas?  
Is only Eve Room 2 supported?

---

<div class="post-metadata">

**Author:** ![mstegeman](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mstegeman](https://discourse.mozilla.org/u/mstegeman)\
**Post date:** [October 8, 2019, 3:18pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/19 "2019-10-08T15:18:24Z")

</div>

> [@min2sia](#):
>
> 2019-10-08 08:15:23.134 INFO : homekit: Pairing failed for device xx:xx:xx:xx:xx:xx: M1: Got error status: 6

This tells me that the device is already paired with something else.

---

<div class="post-metadata">

**Author:** ![min2sia](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@min2sia](https://discourse.mozilla.org/u/min2sia)\
**Post date:** [October 8, 2019, 4:15pm UTC](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520/20 "2019-10-08T16:15:52Z")

</div>

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?

[Next page](https://discourse.mozilla.org/t/home-monitoring-with-things-gateway-0-6/32520.md?page=2)
