Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP POST?
#11
Unfortunately, that didn't help, but I'm out of time right now so I'll have to mess with it more later.
Reply
#12
Just to be sure, is the post adding any kind of characters whatsoever to the content of the buffer before sending it?  The way I read the curl docs, it sounds like that literal string needs to be sent (not in binary form, but with nothing else added).
Reply
#13
Yep, thats how I read it too....  Using data-ascii will form encode name/value pairs.  --data-binary won't.  
Quote:Data is posted in a similar manner as --data-ascii does, except that newlines are preserved and conversions are never done.
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#14
Set bData=True that means you have a body/data to send with the POST.

sorry my example was a little more complex than you needed....
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#15
Well that would certainly explain it.  Wink  I'm out for a couple of hours right now, but I'll try it when I get home and report back.  Thanks for the help!
Reply
#16
Yup - that fixed the issue.  Thanks for the help!

Now to decide what all I want to graph.  Smile
Reply
#17
Can you post a How-to for this.

Did you use Grafana on a local server or their servers? I like the option of having it local.
Mykel Koblenz
Illawarra Smart Home
Reply
#18
(04-13-2017, 02:14 AM)znelbok Wrote: Can you post a How-to for this.

Did you use Grafana on a local server or their servers?  I like the option of having it local.

Sure - I'm happy to create a post!  I still have a few things to figure out, plus I'm about to go out of town for a long weekend, but I'll start a work-in-progress thread.

I'll put more details in the how-to thread, but to answer your immediate question, I'm running Grafana and InfluxDB locally in Docker containers.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curious About Usage Post Public Domain kblagron 17 1,699 09-24-2021, 09:00 AM
Last Post: Dean Roddey
  Get Field Value via HTTP znelbok 3 1,201 06-11-2020, 03:43 PM
Last Post: Dean Roddey
  HTTP Trigger and Parameters znelbok 1 938 06-11-2020, 03:41 PM
Last Post: Dean Roddey
  HTTP SendPUT simplextech 3 1,479 01-21-2020, 03:05 PM
Last Post: simplextech
  CQC HTTP Events? bjkiller 26 8,513 01-11-2020, 07:27 AM
Last Post: simplextech
  Set value via HTTP Call simplextech 2 1,203 01-07-2020, 04:39 PM
Last Post: simplextech
  HTTP Trigger Driver - see trained URL's? Shaky 1 1,654 09-15-2019, 12:25 PM
Last Post: Dean Roddey
  HTTP Get driver not working znelbok 10 5,279 08-28-2018, 10:10 AM
Last Post: Dean Roddey
  Http Post zra 17 6,984 08-05-2018, 01:55 PM
Last Post: zra
  HTTP Post zra 7 3,452 05-18-2018, 08:47 AM
Last Post: zra

Forum Jump:


Users browsing this thread: 1 Guest(s)