I’m using some products that convert analog values into MQTT messages. I do not have control over the message data. It’s formatted similar to JSON but not quite the same.
I understand bit about state topics and value templates but the key value pair is not together in this case. Can anyone tell me how to get these 8 values into a sensor please?
@tom_l I’m trying to get all 8 values - they are a value between 0.00 and 5.00. I need to make each one gauge in the frontend.
AI1 is analog input 1 and it’s corresponding value is the value after “value”:
AI2 is analog input 2 and it’s corresponding value is the value after “value”:
…
all the way to AI8