In case you missed last night's Hubitat Live! episode:
Inspired by our Fearless Leader and his exhortation to not throw trigger information away, I just simplified my "Generator active" rule (wait and retest the acceleration sensor to make sure it's not a false trigger, then set a virtual device to match the condition) from this:
Trigger: Generator sensor CHANGED IF (~ Generator sensor inactive(T) [TRUE]) THEN Cancel Delayed Actions inactive() on Generator virtual sensor ELSE Delay 0:00:10 (cancelable) IF (~ Generator sensor active(F) [FALSE]) THEN active() on Generator virtual sensor END-IF END-IF
Trigger: Generator sensor ACTIVE Delay 0:00:10 IF (~ Generator sensor active(F) [FALSE]) THEN active() on Generator virtual sensor Wait for condition: ~ Generator sensor inactive TRUE inactive() on Generator virtual sensor END-IF
The kiss threshold makes sense. As Bruce said, the device isn't a super computer, or better yet a full blown PC. So thought needs to go into each rule creation, and trying to maximize the hardware built into hubitat.
I still feel if Hubitat released something faster and we still focused our efforts on maximizing and rethinking our rules, we could get better response times.
My thought at this time based off previous conversations with other people is that I've pushed past the limitations of what I can expect from hubitat.
For example, I have several motion lighting rules that have many conditions it needs to check before running the action. The response times for most is fine, but I'm damn picky and want 100ms for my motion lighting.
This is by no means to start an arguement. Hubitat is a great device! I'm just damn picky!
Another issue that I thought of that I ran into is polling. I tried polling a bunch of older Z-Wave switches. That seemed to really bog things down. Now I only poll a switch if I absolutely need to and only every two minutes or so. Currently that is only three switches right now. Technically I use HubConnect so I am actually refreshing them.
Re the Aurora products...
The mains sockets are UK only - NOT european.
The bulbs with the 2 pins are called GU10
There are 1000's of fittings that take them!
AND... The ceiling mount spring loaded light fittings are really easy to remove if you cut the hole the correct size
Along the lines of KISS, a question for @bravenel -
When waiting for something, I've often got two choices:
Wait for events: Generator sensor inactive
Wait for condition: Generator sensor inactive
From a resource-usage standpoint, is either choice preferable?
Use event when possible, and condition only when you need it. For example, to wait for All of multiple devices to do something, you would need a condition, but to wait for Any you could do with an event.
Great news @mike.maxwell! I have installed 55 of those Aurora double power sockets in my new house! My move got delayed and I was going to start trying to add the aurora sockets next weekend but I'll wait for the next release if you're planning on adding them to the next release! Let me know if you want me to test the drivers!
I just did the same thing after watching this! I don't really press those buttons manually, so it made sense to turn the polling off.
Safest in the world . No exposure to live metal like Europe and other places. Earth pin always connects 1st.
Yeah and very popular is this set up, almost all ceiling recessed lights use it. They also have fittings like this that house the GU10 lamp.
I have used devices that utilized much speedier processors (i.e., PC class) and it seems that UARTs, Zigbee and Z-wave were often the bottlenecks. That's not to say that the processor didn't make a difference, it just didn't make that much of a difference.
I watched the replay on Youtube. Very informative. Admiral Grace Hopper would be proud.
That must have set you back a fair bit
@Cobra I'm looking forward to the gu10s have you tried them? They seem fairly cheap
I haven’t tried them, all my smart bulbs are hue.
They cost so much! Do you use them with the hue hub as well?
Yes I do
That's one of the reasons I use them
All my bulbs and led strips are on the hue bridge, away from the hubitat zigbee mesh
I have them. They need a new zigbee 3.0 driver for them to work perfectly as they act a bit different to the standard lamps (all 3 different manufacturers zigbee 3.0 lamps i have do the same ). As @mike.maxwell now has them, once he has time he is going to sort this