If you wanted to go with a hardware solution for weather, I can highly recommend a WeatherFlow smart weather station. I got mine on Kickstarter a couple of years ago. They still have their version 1 available, but they have launched an upgraded 2nd version (currently $229 USD plus shipping).
You could create rules for when rain is detected, or high winds etc. I had mine set up so that if the music in the pool was playing, and lightning was detected, a message would play alerting us to the approaching lighting. I also intended it for closing blinds (when we eventually get them) upon the detection of rain.
Adam, top work, mate. And you got the 3-state working too! Short, double, long all work for me. The long press seems to work reliably after 4 seconds. The button mapping was different on mine, so I reordered them in the driver and all is good. Thanks for your excellent work. I'm going to look through it and see if I can figure out how to write my own.
Thanks for that. I think I'll just turn mine up the other way so the buttons line up. A bit weird that the pictures show the bulbs upside down and yet the button mappings seem to indicate that they should be right way up. lol. You don't need the tile references, as that's for smartthings only.
@at9@bigrizz Hey Adam and Steven, I've done an iteration on the driver as well. Thanks Adam for your example, I included some of that as well, I've set it to set the buttons depending on the model (1 / 2 / 3 Gang), and a couple of tweaks. Thought I'd share it as well.
Nice work, Glenn. I'll try it out. I love how the HE community rallies behind a device and pumps out a driver in next to no time. I thought I'd have the switch kicking around in my drawers a while before either I figure it out myself or someone has a crack at it. Thankfully guys like you and @at9 Adam are around as sadly, I've got a ways to go on the skills and knowledge front. I'm trying to use my enthusiasm to make up for my skills and hack my way through. Ya gotta start somewhere, I guess.
Once you understand some coding basics it's generally a matter of picking up the syntax and available methods. These drivers are coded as button devices, but we could code a switch version as well to store on/off state.
has anyone got a recommendation for reliably measure distance ?
I want to put a sensor in the garage so when we back in we can still get the tailgate open.
I'm thinking when distance = x change lights to red and make announcement type thing
You could use one of those laser sensors between two points connected to the binary switch on a contact sensor. That way as soon as the car crosses the line it trips the contact and then you could automate from there maybe. Just an idea. Don't know of any sensors that measure distance itself.
@gbrown - cool, was thinking distance that way the alarm could come in once it got waaaay to close...β¦ Planning on having a play with trip wires, going to see if I can turn the Samsung smart things one into one...β¦.
Wrong forum for old school bro, we're new skool fancy auto stuff here. Maybe you could get an auto ball dropper to drop the ball when it detects the garage door opening.
Good call on setting the buttons by model.
There's also a bunch of other items on AliExpress that are for the Tuya zigbee gateway that might be my next purchase to have a go at.
Fired an email off to cocoon about integration over the weekend and got this back, not an outright no
Customer Care (Cocoon Products Customer Care)
11 Nov., 09:49 AEDT
Hello Keith,
I have passed on your email to our team in Product Development.
That said, these products (our and Hubitat) are made by two different manufactures with separate intellectual property so any integration would require some time.
Kind Regards,
John
Customer Care Team
Message Body:
Hi Guys,
any chance you can integrate your products with Hubitat ? I'd love to be able to use your products with my Hubitat and I'm using it in a small museum so we might be buying a number of motion sensors and lights etc
Unfortunately that is unlikely to occur Keith, as they use the Tuya SmartLife platform underneath, which is a cloud only integration. Tuya based devices can sometimes (with some effort) have a custom firmware flashed to them that allows for local integration, which there is a custom driver to support. @jchurch is the man with the plan on that side of things.