Influxdb https

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
chatainsim
Posts: 101
Joined: Wednesday 25 March 2015 10:46
Target OS: Linux
Domoticz version: v4.11307
Location: France
Contact:

Influxdb https

Post by chatainsim »

Hello,
I've setuped a Influxdb with docker and nginx in front.
I try to send data from Domoticz to Influxdb but it seems that https is not supported ?

Here is my setup:
remote address: influx.myserver.fr
port: 443
path:
database: domoticz
username: admin
password: password

Domoticz error: 2020-03-03 23:17:00.299 Error: InfluxLink: Error sending data to InfluxDB server! (check address/port/database/username/password)

If someone can help me with this.
BTW, it's working with Home Assistant, they have an ssl option.
Thanks
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: Influxdb https

Post by roblom »

Hi,

I know it's a while ago but I have the same problem so I was interested in if you solved it.
chatainsim
Posts: 101
Joined: Wednesday 25 March 2015 10:46
Target OS: Linux
Domoticz version: v4.11307
Location: France
Contact:

Re: Influxdb https

Post by chatainsim »

I have forget this option.
Got some servers for my home lab and got influxdb running locally.
So no Https/ssl need. Sorry.
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: Influxdb https

Post by roblom »

I have it also running locally. It did work but without I didn't change anything it stopped working and throws this error.
User avatar
waltervl
Posts: 6002
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Influxdb https

Post by waltervl »

Is your influxdb V1 or V2? For V2 you need Domoticz beta
https://www.domoticz.com/wiki/Influxdb
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: Influxdb https

Post by roblom »

I have V2 with the latest Domoticz beta.
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: Influxdb https

Post by roblom »

Correction, I did an assumption but I was wrong. I have version 1.8.9 running. Could this be the problem?
And if I try "influxd upgrade" I get
unknown command "upgrade" Run 'influxd help' for usage

Does anyone know a good update instruction?
User avatar
waltervl
Posts: 6002
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Influxdb https

Post by waltervl »

Running V1 is still ok but you have to set the API V2 switch in hardware to off.
I have no influxdb so cannot help further.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: Influxdb https

Post by roblom »

On or off does not make any difference. Thanks for your tips anyway.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest