tobiasschuerg / InfluxDB-Client-for-Arduino

Simple library for sending measurements to an InfluxDB with a single network request. Supports ESP8266 and ESP32.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid URL Scheme

tfin93 opened this issue · comments

Hello, I am attempting to send data using the basic example sketch to influx DB 1.8 that is hosted locally on my NAS running Docker. I have recreated the database Test to ensure that it was correctly created. My arduino sketch follows the example with my wifi details changed, Influx 2 items commented out, Influx 1 items uncommented and influx user and password updated to match the parameter set in the database.

0.246 [D] Init
0.247 [D]  Library version: 3.12.0
0.247 [D]  Device : ESP8266
0.247 [D]  SDK version: 3.0.2
0.248 [D]  Server url: 192.168.50.47
0.249 [D]  Org: 
0.250 [D]  Bucket: Test
0.252 [D]  Token: 
0.254 [D]  DB version: 1
InfluxDB connection failed: Invalid URL scheme
Writing: wifi_status,device=ESP8266,SSID=Tyler2.4 rssi=-40i
0.266 [D] writeRecord: bufferPointer: 1, batchPointer: 0, _bufferCeiling: 1
0.272 [D] Flushing buffer: is oversized true, is timeout false, is buffer full false
0.280 [D] Writing batch, batchpointer: 0, size 1

I just realized I missed the http:// on the front end of the IP address. Closing the issue.