AlertMe on Hubitat

Ah, that’s a neat solution, I might do that myself!

@andydvsn I found what worked well for me was to have a simple schedule as below

Then the two rules one for away that out heating on a low setting and then another for when either of us are in to set to schedule

Then I set up a simple rule

Away mode is when both phones are out of range.

1 Like

That heating solution works really well, thanks @Shaneb. My first virtual device too. :slight_smile:

So, for the past couple of days the network has been:

2x AlertMe Buttons
1x AlertMe Keyfob
1x AlertMe Lamp (Repeater)
1x AlertMe Power Clamp
3x AlertMe Smart Plugs (Repeaters)

All completely stable and VERY FAST to respond, even after hours left unused.

Oh, and one other device:

1x Xiaomi Mijia GZCGQ01LM Zigbee 3.0 Light Sensor using @markus's driver.

This is the second 'rogue' device I added to the AlertMe-only network for testing. It's been perfect. It only reports changes in level, so it's not chatty all the time, but I've just noticed it perform its check-in. I'm impressed with this one.

I mentioned it was the second interloper. The first had to be a Xiaomi Aqara WXKG03LM Wireless Switch, again on @markus's driver. This one dropped from the mesh within 90 minutes, eventually just doing this.

Because IKEA Trådfri devices are such good citizens I'm tempted to throw a single lamp onto the mesh, see how that behaves, but also pair the WXKG03LM again and observe how long its almost inevitable demise takes. :wink:

Erm, I have no reasonable explanation, but the wireless switch is still working.

I tried it 5 times before adding the Trådfri lamp and it always died within 90 minutes. Added lamp, it’s been 17 hours all fine. It’s not even routing through the lamp, it’s still going via an SPG100.

After more testing, I can confirm that the mere presence of a Trådfri device on the AlertMe mesh makes the WXKG03LM wireless switches work with @markus’s driver.

I removed the lamp and tried the switch again after 90 minutes. It was gone from the network, flashing its LEDs as shown in the video. Added the lamp back, then re-paired the switch and another 12 hours have passed without any problems with it. At no point has it routed through the lamp; it always attaches to the nearest SPG100 smart plug.

During that time I added additional SPG100s and another ‘3LM switch, all of which are behaving just fine. There was definitely at least one occasion where all routes were dropped while adding another outlet, but all devices found new routes pretty much immediately. Also, the Trådfri lamp has worked perfectly, so I’m pretty impressed right now!

Well, impressed and confused. I’d love to know what the Trådfri lamp is bringing to the mesh that isn’t already present.

Well, it's been quite a week!

The AlertMe-based mesh has grown a fair bit and with the help of @markus and some serious documentation and code reading I've actually managed to develop a couple of AlertMe Device Drivers, one for the Power Clamp and one for the SPG100 Smart Plug.

The SPG100 is officially supported with the Iris V1 driver now, which is great; my driver adds in reading the summary consumption report, backup battery information, temperature, mains power presence, state mismatch flag (demand on but supply off) and ranging mode. The temperature reading is skewed due to internal heat but it may be handy to someone.

The Power Clamp is only fully supported with my driver, with battery, temperature, instant and summary consumption. Ranging mode to be added.

The mesh now looks like this:

3x AlertMe Buttons
1x AlertMe Keyfob
1x AlertMe Lamp (Repeater)
2x AlertMe Power Clamps
10x AlertMe Smart Plugs (Repeaters)

Plus the following non-AM gear:

1x Hive "Active Light Colour Changing Light Bulb" - Generic ZigBee RGBW Light Driver
1x Ikea Trådfri E1746 Repeater - Generic Repeater (with Presence) Driver
3x Ikea Trådfri 400lm E14 Lamps - Generic Zigbee Bulb Driver
1x Xiaomi Aqara Cube MFKZQ01LM - Aqara Cube Driver
2x Xiaomi Aqara Buttons WXKG11LM - Xiaomi/Aqara/Opple Button/Switch/Remote Driver
2x Xiaomi Aqara Wireless Switches WXKG03LM - Xiaomi/Aqara/Opple Button/Switch/Remote Driver
1x Xiaomi Mijia Light Sensor GZCGQ01LM - Xiaomi Mijia Smart Light Sensor (Zigbee 3.0) Driver

All of the AlertMe devices have stayed stable on the mesh with absolutely no problems throughout all of my tinkering, as have the Ikea E14 lamps and the faultless Xiaomi light sensor.

One of the Xiaomi buttons didn't like staying attached at first and fell off once while adding outlets, but the other has been perfectly fine. Same story with the wireless switches; one has been flawless, the other "a bit droppy" while the mesh was altered. Re-pairing (without deleting) when things have stabilised brings it back just fine.

Turns out that the Hive lamp with the overly long name is in fact manufactured by Aurora and may well be their A1GSZ9RGBW. It's identified as an "RGBBulb01UK" and it would be interesting to see if their own-brand model paired with the Hive hub.

For the curious, here's the getChildAndRouteInfo.

Parent child parameters
EzspGetParentChildParametersResponse [childCount=0, parentEui64=0000000000000000, parentNodeId=65535]

Child Data

Neighbor Table Entry
[Kitchenframe, 1FF3], LQI:255, age:4, inCost:1, outCost:1
[Study Lamp 2, 20FC], LQI:254, age:4, inCost:1, outCost:5
[Loft Lights, 43C5], LQI:241, age:4, inCost:5, outCost:1
[Study LED Lamp, 57FE], LQI:140, age:6, inCost:7, outCost:7
[Hive Lamp, 7F0C], LQI:254, age:4, inCost:1, outCost:1
[Behind You Test Outlet, 93CA], LQI:255, age:4, inCost:1, outCost:1
[Living Room Lamp, 9723], LQI:252, age:5, inCost:3, outCost:1
[Main Repeater, 9DA9], LQI:255, age:4, inCost:1, outCost:1
[Study Lamp 1, 9F50], LQI:242, age:5, inCost:5, outCost:7
[Strobe, A0F1], LQI:255, age:3, inCost:1, outCost:1
[Study Workbench Outlet, AA07], LQI:255, age:4, inCost:1, outCost:1
[Study Lamp 3, C957], LQI:254, age:4, inCost:1, outCost:7
[Test Outlet, E025], LQI:234, age:4, inCost:5, outCost:3

Route Table Entry
status:Active, age:64, routeRecordState:0, concentratorType:None, [Wall Twinklies, 0435] via [Behind You Test Outlet, 93CA]
status:Active, age:32, routeRecordState:0, concentratorType:None, [Power Clamp 1, B893] via [Strobe, A0F1]
status:In Discovery, age:0, routeRecordState:2, concentratorType:High Ram, [null, 0000] via [Behind You Test Outlet, 93CA]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Kitchenframe, 1FF3] via [Kitchenframe, 1FF3]
status:Unused
status:Active, age:64, routeRecordState:0, concentratorType:None, [Living Room Lamp, 9723] via [Living Room Lamp, 9723]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Test Fob, B12C] via [Behind You Test Outlet, 93CA]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Test Wireless Switch, D83E] via [Behind You Test Outlet, 93CA]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Light Thing, FFD5] via [Behind You Test Outlet, 93CA]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Hallway Wireless Switch, E595] via [Main Repeater, 9DA9]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Xiaomi Button 2, BF20] via [Behind You Test Outlet, 93CA]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Xiaomi Button 1, 377E] via [Hive Lamp, 7F0C]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Test Button, D657] via [Behind You Test Outlet, 93CA]
status:Active, age:0, routeRecordState:0, concentratorType:None, [Power Clamp 2, E2DA] via [Behind You Test Outlet, 93CA]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Loft Button, 3B3D] via [Kitchenframe, 1FF3]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Loft Lights, 43C5] via [Strobe, A0F1]
1 Like

My C-7 turned up the other day, so I've now been able to build two meshes. :star_struck:

The C-7 will run any battery-backed security gear based on the AlertMe devices (and be battery backed itself) while the C-5 will primarily handle the Xiaomi wired wall switches and anything else which can't report or be controlled during a power outage. Anything that proves resilient enough to stay on the same network as those wired switches anyway.

I'm seriously impressed with the Hub Link feature. Being able to link and control devices from two (or more) hubs from a primary hub with no noticeable delay is awesome. The Xiaomi gear is a bit laggy anyway, so any further slowdown would be unacceptable. I'm happy to say it works brilliantly!

I'm now taking full advantage of @markus's wall switch driver and its ability to disconnect the button action from the internal relay. Using this you can completely change the behaviour of any wall switch, with added hold and double-tap.

The next trick is to see which devices can survive alongside the wall switches. I'm very hopeful for Trådfri kit, seeing as the repeaters work perfectly, so I'm trying to some lamps. Also, I'm trying a Salus SP600 as I've got a bunch of those hanging around.

1 Like

Really? That is not my experience, my Xiaomi motion sensors make my lights turn on so fast that when I put my first foot down inside a room the lights are on. The lights are however WiFi based running Tasmota.

Hehe, I should probably qualify "laggy". :grinning:

With all of the Xiaomi gear I get about a half second to one second lag between pressing the button or wall switch (wired or wireless) and an action taking place, longer (it would seem) if the button has not been pressed in a while. It's enough time to remove your finger from the button, then the action happens.

With the old AlertMe kit on Hubitat my finger does not get chance to move away from the button before the action happens. It's pretty much instantaneous, which it wasn't even on the original system.

So I'm basically nitpicking between "very fast" and "very very fast". :wink:

Ah, you're talking about the Aqara Wall Switches, yes, those might not be the fastest. I only have the new Aqara D1 Wall Switch and that is for testing and writing drivers only, so have never used it "live". There is probably not much that can be done to improve the speed of the wall switches, but it might be worth adding a ping-feature to tht driver that could run once every 30 minutes or so. Could improve their routing. If you want to try it I can add it during the week when I find some time?

Absolutely, happy to try anything out! :+1:

Not seen any of the D1 kit available here yet, I must keep a watch out.

It's in the development branch of my drivers (Beta-releases) . Set the ping type to Read Attribute in Preferences and press Save :slight_smile:

1 Like

Up and running, let's see what it's like - I shall report back!

Is the same thing possible for the wireless wall switch? That's the one that seems to become particularly slow, but being a sleepy battery device I guess it's not so straightforward.

:+1:

It already does what it can for that, it is not the same thing, but it is what it can be.

EDIT: @andydvsn

Mine do not get to be slow at all, so I wouldn't say that this is expected. Might still be some optimization you can do with your mesh.

1 Like

Hi Markus, how's things? what's the difference between D1 and the older version?
also, just wondering how far you are with the driver as I'm definitely interested in getting them. They're a lot cheaper than the older version. thanks

The D1 are supposedly ZB3.0, but not 100% certain they are fully compliant, but they do work well with HE.
The driver for Aqara Wall Switches already have support for them :slight_smile: So far only tested with the 2-button model, but if there is a difference with the others it will be minor and an easy fix.

Now that my C-7 hub has arrived I've settled on having a 'security' mesh powered by AlertMe gear and other completely battery-backed devices, plus a secondary 'accessories' mesh running from the C-5, where all the gear that wouldn't be controllable during a power outage anyway can live. Plus, that network can take care of the super-reliable but "destructive" QBKG03LM and QBKG04LM wired switches, which kick many other endpoints off the mesh.

I took the opportunity to verify that they do really, really do that - and they do, even to their cousins, the WXKG range of Xiaomi buttons and switches. At first they perform perfectly, then half an hour later they start losing messages, then after an hour or two they are incommunicado. Thankfully the IKEA Trådfri lamps and repeaters appear to have no issues at all coexisting with them, so that's also going to be the home for most of my Trådfri kit from now on.

I'll obviously stick to the AlertMe gear on this thread, but just to report that Hub Link works very well indeed for controlling the C-5 from the C-7 (and vice versa when required). Impressed.

1 Like

Hi all,
Found this via the old forum. I just discovered 2x SPG100 and one Nano-Hub HUB300. DOes anyone want these for the cost of postage (or free pickup from Brum, UK)?
Cheers, JH

Hello, @jamoiholland! Well, I thought I'd give it a day before putting my hand up, but if no-one else is taking them up I'd be more than happy to give them a home. Or you could get a hub and join in! :wink:

Are you still using any home automation these days?

Hi @andydvsn, thanks for the reply! I have plugs/bulbs/etc from various smart-home manufacturers, Google Home ties it all together. How much work/money is involved in getting these smart plugs back online, and can they integrate with Google Home? Summary detail at this stage only, if you're saying the "art of the possible" is there, I will do research, but with kids na work work my days of in-depth gadget tinkering are gone for a while :laughing: