@zjoozy
Steve,
I assume you’re considering using the Zigbee board inside a Cree Conencted bulb, correct? If so, you may find an old proof of concept project I did a few years back interesting. It might be a decent starting point for your project.
All,
I was inspired by the work of @drbudro which can be found here…
I decided to see if I could possibly build a generic DeviceType and Arduino Sketch that could make use of the Cree Connected Bulb’s easy-to-extract Zigbee module. By reading the dim level values into the Arduino , I was able to accurately obtain 100 discrete dim level values. These can be used by the Arduino to perform any action desired. This example implements an 8 relay controller. The Groovy Device Type code works, but does not expose all 8 relays as separate virtual devices (which is always the 1st question people love to ask! ). Also, this is essentially a one-way communication device. SmartThings can command any one of the relays to be on at any given time, but the Arduino cannot send any da…
Additionally, these days most folks are preferring to use inexpensive NodeMCU ESP8266 boards (~$9 on Amazon) for connected custom projects. You could very easily look into using my ST_Anything project which supports a variety of sensors and devices.
UPDATE 2022-08-17 - Per this recent SmartThings announcement, the Groovy IDE will disabled on September 30, 2022 . My best guess is that any existing ST_Anything devices will probably cease to operate at this time, or shortly thereafter. It has been a good 7+ year run for ST_Anything users. I want to thank you all for making ST_Anything a successful project! My son and I really had a lot of fun creating it together, and have enjoyed hearing how you have all used it in so many creative ways.
As many of you probably already know, I have moved on from ST and have ported ST_Anything over to Hubitat as “HubDuino” . If you have devices running ST_Anything that you ‘can’t live without,’ at least you know you have options. Another option for ESP8266/ESP32 users would be to use ESPHome along …