First time Xbee user.
My initial notion (not being knowledgeable enough to have an actual "plan") was to combine an Arduino Uno R4 WifI with an Zigbee-enabled Xbee (via a shield) and a LIDAR module (a M5Stack Time-of-Flight Distance Unit VL53L1X)) to create a distance measuring device that could detect the presence or absence of a car in my garage.
I successfully programmed the Arduino and VL53L1X combo and all of that works well. Then I started researching the Xbee aspect and -- I'm a bit perplexed on the apparent difficulty of (1) establishing a Zigbee connection of my device, as an end-point, with Hubitat, (2) communicating a few data values from the Arduino to the Xbee to the Hubitat, and (3) getting those data values into Hubitat to be used in a Rule.
So can someone point me to a successful solution that shows how to communicate data from a sensor through an Arduino/Xbee combo to Hubitat in a useful form?
BTW, my backup solution for now has been to use an off-the-shelf Zigbee device (a Tuya mmWave presence sensor) with light sensing capability to "watch" the built-in 8x12 LED array of the Arduino Uno R4 WifI and signal to Hubitat when the distance measurement falls below a threshold value, causing the Arduino to turn the LED array ON. This works fine, but is a Rube Goldberg solution (that's an old-timers' wording for "kluge"). Pictures from before mounting in an enclosure (the white block is the LIDAR sensor):
LED Array OFF:
LED Array ON:
Zigbee illumination sensor positioned over the LED Array:


