Using a Blynk Board to post Temperatures to a local Phant

Recently, one of my coworkers asked be to come up with a wireless method of getting refrigerator temps. This seemed like a perfect job for a Sparkfun Blynk Board.

Here’s what I’ve completed so far:

  1. Created an WPA2-Private network for Sensors.
  2. Created a local Phant server for storing Data.
  3. Connected Blynk Board to Blynk
  4. Built a project with a Temperature indicator.
  5. Create Data stream for temps in Phant.

I’m at a loss as to what to do next. How do you format the Webhook to post data to Phant? Should I be doing this another way? I’ve also go problems with the Blynk Board not showing up in the Arduino IDE, but that’s a separate problem.

Hello.

Did you check webhook docs? - http://docs.blynk.cc/#widgets-other-webhook

At one point in the past I used Webhook, then I went back to just using HTTP GET in my code… can’t remember why I switched: https://github.com/structure7/fridgeTemps/blob/master/fridgeTemps.ino#L219-L255. I put the Phant credentials in lines 21-23.

I’ll also mention that I had a number of issues with data.sparkfun.com, so I installed Phant on a Raspberry Pi in my house. Took some tinkering to get that working (which I could elaborate on if you’re interested).

Here’s what I’ve put into the webhook:

http://192.168.0.179:8080/input/[publicKey]?private_key=[privateKey]&temp=

Except with the public and private keys, obviously.

Then in the body:

/pin/

I can’t use the the Arduino IDE because the Blynk Board doesn’t show up for some odd reason, despite adding the libraries for the Boards.

What is 192.168.0.179?

U suppose it should be &temp=/pin/

192.168.0.179 is the IP address of the local Phant server, which is already running.

I’ll try that when I get back to work tomorrow.