Page 1 of 1

Target property with httplink and influxdb

Posted: Wednesday 01 March 2017 21:46
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 713 times
.

Then in influxdb I receive humidity and temperature but just the device_id change
influx.png
influx.png (18.88 KiB) Viewed 713 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 ?

Re: Target property with httplink and influxdb

Posted: Wednesday 01 March 2017 22:43
by sincze
Interesting question unfortunately I don't have an answer yet.

Sent from my SM-G925F using Tapatalk