I am actually developing an IOT project based on LoRa module. To be specific, I am using Dragino device to send temperature-Humidity data from sensors.
The point is that I am sensing this data to KPN provider, which is a Dutch Network, and finally my goal would be transfer this data from KPN to ThingSpeak platform to monitorise them.
My question is, once I have got KPN ABP Keys as well as I have been testing that I am able to upload data to KPN, then Which API links should I use to match KPN Network with ThingSpeak platform. KPN Support did request me for a link in order to send my data to ThingSpeak platform, but I have just sent them my public channel link and it didn't work.
I have actually got a simple Arduino client/server Sketches which manage to connect my Dragino Module with ThingSpeak platform throughout a private Network (gateway). However, my actual target is send this data from KPN Network to ThingSpeak instead.
Any help/suggestion, please?
I have finally managed to get the right code to send my dht_11 data to KPN network from LoRa (Dragino) node. However, my next step consists on transmit this data to ThingSpeak platform throughout KPN network.
So, basically the target consists in sending this data from LoRa node to KPN network, and then, forward it to ThingSpeak.
So that, I am actually adding into the sketch the chance to send this data to ThingSpeak, nevertheless, no data is showed on ThingSpeak dashboard.
The link below is pointed to my new code. I added the functions and variables I thought were the proper ones, however, I didn't manage to send it. May I get some support or correction to achieve it, please?
I am aware about it, so I deleted it, because it was providing me an error. So, I was wondering if the client parameter was coming from the client.ino. However, I am not using a client sketch to combine with the server, I meant, I am just using an entire code to send everything.
Once I enter 'client' on the function ThingSpeak.begin(client); I have got the following error:
Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
Error compiling for board Arduino Uno - Dragino Yún.
I am using Dragino board . I have even got same error adding Arduino Uno/Genuino Uno Board. So, I don't know what's my mistake.
Here you are my entire code:
Perhaps you can try removing some libraries. You could temporarily remove the dht library and just send dummy data to thingspeak to prove the concept. Then you could focus on reducing the size once that is working.
Another thing I saw in one of the thingSpeak library examples for use with Yun was
before the ThingSpeak.begin(client). and I see that the yun client is depreciated.
Is ThingSpeak reading either 'int' or 'float' values? I have just contacted KPN and I provided them my Write Key link in order to send my sensor value data to my channel, but it seems that there is something wrong once they provide the data to ThingSpeak.
I am sending format values as 25.00
Would that value be Ok in order to show it on my channel graphic?
ThingSpeak can handle both int and float, and even strings (but it wont plot the strings). For example, the following two posts (copied from my api keys tab on my channel) both worked to display data on my channel plot. See the update a channel feed page for more options.
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee