ThomDietrich/miflora-mqtt-daemon

Home assistant MQTT help

Opened this issue · 1 comments

I use Home assiatant (on Synology)
I set reporting_method = homeassistant-mqtt in config.ini

My sensor is
Dwarfbanana = C4:7C:8D:67:3B:13

Help me please with configuration.yaml

sensor:

  • platform: mqtt
    state_topic: homeassistant/sensor/dwarfbanana/state

works but receive all results together:
{"conductivity": 1274, "temperature": 20.1, "moisture": 44, "light": 155, "battery": 99}

I should perfer results separately
conductivity
temperature etc

I need help please

@kenand1970 If you look at: https://www.home-assistant.io/components/plant/
It provides an example of how to create a sensor for each value, by parsing the json.

Hopefully this helps, you or others.