At least managed to get the values read correctly.
Only the integration into HA does not want to work. Can’t find any useful instructions.
If I create a device for the ESPHome and then write the config to the ESP via the Ras4, I can no longer get to the UI via the wlan
Afterwords Esp-Home device is found for this, but without an entity!
Is the procedure correct at all to run an ESP Home install over it?
Looks like, that the ESPHome setup overwrites my installation !
I have this entry in the config:
[MQTT]
Url = mqtt://10.0.0.88:1883
MainTopic = water meter
ClientID = water
user = wateruser
password = waterfall
I then created this user in Mosquitto Broker… Is that even true?
I’m afraid I didn’t understand the principle of how to get an entity from ESP as a sensor in HA.
thank you for your help
I then created this user in Mosquitto Broker… Is that even true? I’m afraid I didn’t understand the principle of how to get an entity from ESP as a sensor in HA.
thank you for your help
What orange-assistant says.
ESPHome is a way to program ESP (and Pico) micro-controllers, but there are at least half-a-dozen other ways. The project you mention uses one of those other ones.
You don’t need ESPhome with the AI device. Just configure the needed values as MQTT sensors in HA either in configuration.yaml or via the auto-discovery of MQTT.
Btw: I would not recommend using whitespaces in the MQTT configuration of the watermeter (water meter → water_meter)
To use auto-discovery you have to create configuration items in your MQTT broker. This can be done via HA developer tools by calling the service “MQTT Publish”.
thx for your help. But I am still a bit confused.
You talk about a service which I have to start at developer tools → MQTT Publish
I am not sure how I can handle services there. Are they running forever. What do you mean by:
item: homeassistant/sensor/water_val/config ?
I think it is much easier for me to handle that in a yaml file.
In your payload script I see things like watercam and water_val . This confuse me as well. As i written before I define the following at the esp.
[MQTT]
Url = 10.0.0.88:1883
MainTopic = water_meter
ClientID = water
user = wateruser
password = waterfall
Would you please so kind and use this variables and help me out … Thx !
This works suprisingly well on my water meter .
Currently, it reads every cubic meter. But I would like to read cubic centimeters.
Or with a comma (for example: 350.49 cubic meter)