Quantcast
Channel: ThingSpeak IoT Community - Forum: Arduino
Viewing all articles
Browse latest Browse all 172

Coolio11 on Problem using Thingspeak Library with local Thingspeak installation

$
0
0

I just installed Thingspeak locally on a Raspberry Pi. The server seems to be working well, and I can successfully update my channels using python scripts.

But when using the official Thingspeak library for Arduino, I am unable to make a connection to the local server. Previously I had been using the library successfully for updating data to api.thingspeak.com.

I've tried using: ThingSpeak.begin(client,"192.168.0.178", 3000);, which contains the correct URL and port number of my local installation, but that doesn't work.

I've tried modifying the library .h file and replacing "api.thingspeak.com" with my URL, and the port 80 in the code with my local port number, but that doesn't work either.

Is there a known problem with using the Thingspeak library with a local installation? Is there a way I can get this to work? Alternatively I'll just go back to the older way of doing it, by not using the library.

Thanks!


Viewing all articles
Browse latest Browse all 172

Trending Articles