Here is my goal… I would like to change the brightness of my Philips Hue bulbs in a desk lamp based of the MQTT LUX feed from a Meraki MV Camera. The feed looks like so…
I want to write logic to turn the brightness of a Philips Hue bulb up or down in brightness based off the lux value in the above mentioned feed. The action I have configured works if I trigger it but for whatever reason I am not writing my template filter correctly. Here is what I have so far for the template fitler…
Not sure why your MV12’s wouldn’t send MQTT Lux. In my lab I have MV12’s, MV22’s, and MV72’s. They all work fine with sending MQTT lux. I am using Mosquitto as my broker.
I was able to get this working. First my code up above was good, it was just that I had forgotten to add another sensor in my configuration.yaml for the lux topic. Here is a snippet from my automations.yaml.