Target property with httplink and influxdb

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
ahivert
Posts: 1
Joined: Wednesday 01 March 2017 20:57
Target OS: Linux
Domoticz version:
Contact:

Target property with httplink and influxdb

Post by ahivert »

Hi,

I send data through Http POST request with httplink in influxdb. It work's pretty well with my temperature sensors. These sensors can do humidity too.

So first I create a link with temperature and then humidity
domoticz_httplink.png
domoticz_httplink.png (91.49 KiB) Viewed 710 times
.

Then in influxdb I receive humidity and temperature but just the device_id change
influx.png
influx.png (18.88 KiB) Viewed 710 times
.

I would like to have taget property as column name.

I search to obtain all keywords:
- https://www.domoticz.com/wiki/HttpLink
- https://github.com/domoticz/domoticz/bl ... h.cpp#L132

But I can't find anywhere how to add target property to post data, is this possible ?
User avatar
sincze
Posts: 1302
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Target property with httplink and influxdb

Post by sincze »

Interesting question unfortunately I don't have an answer yet.

Sent from my SM-G925F using Tapatalk
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest