POST to InfluxDB v2 not working #2159
Tellicious
started this conversation in
MEPLHAA Scripts
Replies: 1 comment 1 reply
-
You must add
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello José,
I'm trying to write to an InfluxDB v2 with token authentication, using a command similar to
curl -X POST 'http://192.168.1.2:8086/write?db=testBucket' --header 'Authorization: Token eZQKdDj1esKJNoe5vgzBWESgbKPbIkHIQXQxp_Ntcn0t79YPhQoOo7ssAiH8gRv0oD4XyVChG6tCUGge87jM7A==' --data-binary 'sensor,location=office temperature=20.230'
(tested and working)I configured a wildcard action in HAA as
however the DB doesn't received the data
Looking at the log (services 14 and 15), it seems that the string
Content-length: xx
gets appended to the header. Is it just in the log or is it also sent?I'm running HAA 12.9.1 on an ESP32-S2
Nov 19 195055 HAA Log.log
Beta Was this translation helpful? Give feedback.
All reactions