Cannot connect to influxdb hosted on another machine

I’m hosting my influxDb on a separate server, but every time I configure the influxdb in HA it fails to connect with an error that no one else seems to have hit.

2024-01-20 14:41:01.949 ERROR (MainThread) [homeassistant.config] Invalid config for 'influxdb' at configuration.yaml, line 9: 'post' is an invalid option for 'influxdb', check: influxdb->post, please check the docs at https://www.home-assistant.io/integrations/influxdb
2024-01-20 14:41:01.950 ERROR (MainThread) [homeassistant.setup] Setup failed for 'influxdb': Invalid config.

I have tried with both 1.8 and 2.x influxdb versions with no luck.

This is the configuration for 1.x influxdb configuration

influxdb:
  host: 192.168.68.67
  post: 8086
  database: homeassistant
  username: USERNAME
  password: PASSWORD
  max_retries: 3

these are the influxdb and chronograf versions being used

influxdb                                           1.8       102ea8b9b600   9 days ago      307MB
chronograf                                         latest    0d0df6223930   9 days ago      237MB
influxdb                                           latest    7a1b63100937   9 days ago      378MB

Has anyone else hit this?

I went ahead and tried local influxdb addon in HA and face the same error

Invalid config for 'influxdb' at configuration.yaml, line 9: 'post' is an invalid option for 'influxdb', check: influxdb->post, please check the docs at https://www.home-assistant.io/integrations/influxdb

It’s right in front of you.

Thank you @odwide. Clearly I don’t pay attention.

1 Like