User drivers and apps for the Hubitat Elevation® home automation hub.
App and drivers for the YoLink Local Hub, talking to the hub over the LAN with no cloud account and no internet dependency. State arrives over MQTT as it changes, with a periodic HTTP poll as a backstop.
Supported: door/contact, temperature-humidity, leak, outlet/switch, power failure alarm, and garage door controllers. A garage controller cannot report door position — its own state is an echo of its relay — so it is paired with a tilt sensor, either a YoLink one or any other Hubitat contact sensor.
Setup, credentials, and the garage door details: github.com/inindev/hubitat/blob/main/yolink_local_hub/README.md
The forked Tasmota repository (github.com/inindev/Tasmota) has been modified to call the Hubitat webhook on port 39501. This integration was originally produced by Eric Maycock (erocm123) back in 2018: github.com/erocm123/Sonoff-Tasmota
Eric's approach eliminates the need for an MQTT broker and also creates a near instantaneous update of the device state to the hub.
The code provided in this repository is a derivative work that modernizes and simplifies Eric's integration strategy to better fit my own needs. UDP auto-discovery has been removed, and the previous Hubitat drivers and application for Sonoff have been reduced to a single driver: github.com/inindev/hubitat/blob/main/drivers/tasmota_device.groovy
The Tasmota changes are provided as a patchset to the 9.1.0 through the 10.1.0 releases: github.com/inindev/hubitat/blob/main/tasmota/0001-Reboot-Eric-Maycock-Tasmota-Hubitat-integration-1010.patch
To use this patchset:
wget https://raw.githubusercontent.com/inindev/hubitat/main/tasmota/0001-Reboot-Eric-Maycock-Tasmota-Hubitat-integration-1010.patch
git clone https://github.com/arendst/Tasmota.git
cd Tasmota
git checkout pre-release-10.1.0
git am ../0001-Reboot-Eric-Maycock-Tasmota-Hubitat-integration-1010.patch
platformio run -e tasmota-lite
esptool.py -p /dev/cu.usbserial-0001 erase_flash
esptool.py -p /dev/cu.usbserial-0001 -b 921600 write_flash 0 .pio/build/tasmota-lite/firmware.bin