(OBSOLETE) ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!
Some basic changes to PIR functionality - most importantly, changed the PIR from a "sensor" to a "binary sensor," which should be a better platform to base that kind of sensor on - we even get a fancy icon that changes color for motion! This also means that it should act similarly to other properly configured motion sensors in our environments.
I also broke out the spot where the PIR string is defined in case people want to simplify it down to "on/off" etc, but left the defaults for compatibility with old HASS configurations.
Some basic changes to PIR functionality - most importantly, changed the PIR from a "sensor" to a "binary sensor," which should be a better platform to base that kind of sensor on - we even get a fancy icon that changes color for motion! This also means that it should act similarly to other properly configured motion sensors in our environments.
I also broke out the spot where the PIR string is defined in case people want to simplify it down to "on/off" etc, but left the defaults for compatibility with old HASS configurations.