Connecting the sensor to an ESP is pretty neat (and also really flexible). This is my description of getting MQTT working. Here you find a description of connecting a device to an ESP. And here is a description of getting such a device via MQTT into openHAB.
1 Like