Connect Arduino to InfluxDB within Home Assistant through UDP

I’ve got an Aduino Uno Wifi Rev2 that I’ll be using to collect data from my garden. As of now I’m trying to send UDP packets to influxDB but it won’t let me. I’m trying to use this guide but I don’t think it applies to the HASSIO integration (How to send sensor data to InfluxDB from an Arduino Uno | InfluxData). I haven’t tried connecting through tcp just yet.

I’ve already set up InfluxDB and Grafana to collect and plot some system monitoring stuff like cpu and memory usage, so I just need setting up the udp part for the arduino now