xbeesharp – .NET 6 C# implementation of Digi XBee ZigBee API operations. (github.com)
Initial .NET 6 C# implementation of Digi XBee ZigBee API operations, focusing on transmit request, remote AT command request, and receive packet. These cover all current requirements of my XBee devices.
Initial applications include xbee2mqtt, which maps XBee receive packets to MQTT messages, as well as transmitting messages and remote AT commands from subscribed MQTT topics. It is implemented using MQTTnet.
I use XBee devices for remote sensors (e.g. weather station), remote displays, and to open and close my garage door. The XBee garage door device replaces Chamberlain’s myQ and all of its issues. Here is an image the XBee opener in all its glory, spider webs included, hanging off my LiftMaster opener:
I plan to add additional XBee API packets, but this initial working prototype has been solid so far, providing enough of an implementation to cover all of my current home automation needs. I run it in a Docker container and integrate with HA using the MQTT integration.
Outside of my garage, I have an NFC tag which triggers an HA automation that sends the MQTT messages, which xbee2mqtt receives and transmits as an XBee packet. And magically the garage door opens or closes.
EDIT: I meant to add a link to a community discussion on eliminating myQ:
Turn a $10 garage opener button into a $0.10 button - Share your Projects! - Home Assistant Community (home-assistant.io)