I have a couple ESP8266 with BME280 temperature/humidity/air pressure sensors attached to them running ESPHome connected to openHAB using MQTT. They are actually Wemos D1 minis. Recently there was a thread about an ESPHome binding for openHAB. I also have a ESP8266 with a TSL2591 light sensor attached to it running firmware written in Arduino.
I have a few PIR motion sensors laying around that came in a starter kit but have never tried to use them because I’ve heard that the interference from the micro-controller itself can mess with them. I also had a HC-SR04 ultrasonic sensor that never worked, I think I threw it out.
I love these little micro-controllers and have several non-home automation project using them.