You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This worked as long as I specified an IP address in the "host" section. (either the local LAN IP address of my Influxdb host, either my public IP address)
However, when I replace the IP address by a domain ( subdomain.domain.be or myname.synology.me), the data doesn't arrive in my Influxdb anymore. The ESPHome log doesn't give any error message, so the specified domain seems to be valid.
I tried different ways of entering the domain: host: subdomain.domain.be
or host: "subdomain.domain.be"
or host: 'subdomain.domain.be'
They all give the same result: no error messages in ESPHome log, but no data arrives in my influxDB.
The text was updated successfully, but these errors were encountered:
michaelpiron
changed the title
Domain only works with IP addresses
Host field only works with IP addresses
May 27, 2021
This may be a DNS resolving issue or even a bug in the Arduion WiFiUdp library. But to rule out any errors in parsing of the configuration, could you please check that the hostname is correct in the configuration dump in the ESPHome log.
Hi @la7dja ,
Would you have any suggestions on how to further analyze this issue?
I can help in it, but at this moment I don't understand where the issue is, as the ESPHome doesn't report any error regarding the InfluxDB address.
It seems that the hostname I specified passes all tests in ESPHome, so there could indeed be an issue in de Arduino WifiUDP library. Can you easily test this hypothesis?
Thanks
Hi,
i have successfully been using this component to send measured data of my energy plug (Blitzwolf SHP6 running ESPhome) to my influxdb 1.8 database.
This is my configuration:
This worked as long as I specified an IP address in the "host" section. (either the local LAN IP address of my Influxdb host, either my public IP address)
However, when I replace the IP address by a domain ( subdomain.domain.be or myname.synology.me), the data doesn't arrive in my Influxdb anymore. The ESPHome log doesn't give any error message, so the specified domain seems to be valid.
I tried different ways of entering the domain:
host: subdomain.domain.be
or
host: "subdomain.domain.be"
or
host: 'subdomain.domain.be'
They all give the same result: no error messages in ESPHome log, but no data arrives in my influxDB.
The text was updated successfully, but these errors were encountered: