HELP !!!!! HOW CAN I SEND MY CHANNEL DATA TO XAMPP SERVER DATABASE??? | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
HELP !!!!! HOW CAN I SEND MY CHANNEL DATA TO XAMPP SERVER DATABASE???
No permission to create posts
April 11, 2018
12:20 pm
Avatar
u14121001
New Member
Members
Forum Posts: 1
Member Since:
April 11, 2018
sp_UserOfflineSmall Offline

I have an esp8266 connected to arduino and I am collecting data that I managed to store in a channel correctly. 

I want to connect that data in realtime automatically to my database on an xampp server and I cannot find a php code to do so.

PLEASE HELP !!! Cry

April 23, 2018
2:43 pm
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 218
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

This may be a roundabout method, but if you install a REST API on your XAMPP server as described here (http://www.phpzag.com/create-simple-rest-api-with-slim-framework/)
You can use the REST API to take data in to the server. You can use the React app in ThingSpeak to run a MATLAB analysis every time the ESP8266 posts data to your channel. In the MATLAB analysis, you can use webwrite() to generate the REST calls to your XAMPP server.

A side note: have a look at the examples in the documentation(https://www.mathworks.com/help/thingspeak/examples.html) . Depending on the complexity of your sensors and the type of ESP8266 you have, you may be able to remove the Arduino and just use the ESP8266.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: frenk0
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

frenk0, Jassonchulp, MatGame, Domnesich, saxenadj, concepcionoa3

Administrators: Hans: 387, lee: 457