Closed EvertJob closed 1 year ago
It seems you have not configured an mqqt server
Yeah, just saw it. Got the sensor working once. See it on the MQTT server on the logs but no response in Home Assistant:
service: mqtt.publish
data:
topic: 'dgp/gas_stations'
payload_template: >-
{"fuel_type":"euro98","radius":15,"latitude":{{state_attr("person.evert",
"latitude") }},"longitude":{{state_attr("person.evert",
"longitude") }},"to_publish":5}
[2022-12-18 20:08:11] INFO : Received payload '{"fuel_type":"diesel","radius":15,"latitude":x,"longitude":v,"to_publish":3}' on topic 'dgp/gas_stations'
[2022-12-18 20:10:18] INFO : Received payload '{"station_id":6577,"fuel_type":"diesel"}' on topic 'dgp/gas_station'
Edit: After 5 minutes I'm getting response, Is that the correct response time??
You mean it takes 5 minutes from request to publish? You can see the progress that’s made in the logging of the addon. Due to tesseract being used as image processor, and depending on the number of gas stations and the hardware used: yeah 5 minutes can be correct…
Hi,
I'm getting the following error and don't see what's wrong.