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:
- Created an WPA2-Private network for Sensors.
- Created a local Phant server for storing Data.
- Connected Blynk Board to Blynk
- Built a project with a Temperature indicator.
- 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.
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:
Except with the public and private keys, obviously.
Then in the body:
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.
U suppose it should be
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.