jteindl on Sensor data in js as an "IF/ELSE"
In my JavaScript I have a number of variables as shown: stop = new google.maps.LatLng(59.093914487013, -122.71569423377514) waypts.push({ location: stop, stopover: true The line in Bold is what I...
View Articlejteindl on JavaScript Help w/ Thingspeak API Field Data as Dependency
In my JavaScript I have a number of variables as shown: stop = new google.maps.LatLng(59.093914487013, -122.71569423377514) waypts.push({ location: stop, stopover: true The line in Bold is what I...
View Articlejteindl on Using field data as dependency in JavaScript If/Else statement
In my JavaScript I have a number of variables as shown below: stop = new google.maps.LatLng(59.093914487013, -122.71569423377514) waypts.push({ location: stop, stopover: true The line in Bold is...
View Articleastrotutor on Reading back data from Thingspeak
Hi rw950431 Thanks for the info. The result it gives is as below. I'm thinking is the answer to get the length of the string and read the last characters backwards until a blank space is reached? It's...
View Articlebrenbry on Getting 0 values in my temperature data plots
I am using an Adafruit thermocouple breakout board and a Particle Photon to transmit temperature data to a plot on my channel. However, every once in awhile, I get zero values in my plot and I do not...
View Articlerw950431 on Reading back data from Thingspeak
Not sure why its doing that. Are you sure your code is reading the complete line and not just one character at a time? (Maybe you need readStringUtil(' ') instead).
View Articlejteindl on JSON Query in JS to define variable based on result
This is my code: var bin1; function loadData() { // $.getJSON('https://api.thingspeak.com/channels/276256/field/2/last.json?apikey=LP74006MCJC*****&callback=?', function(data) { bin1 =...
View Articleastrotutor on Reading back data from Thingspeak
Thanks for the help but I found this video: which demonstrated an Example from Arduino which does exactly what I want. I have also now managed to convert the result from a string to an integer. So...
View ArticleTonibco6 on Wrong Value ThingSpeak
I am sending sensor data from the LoRa module (Sodaq ONE) throughtout KPN network. I would like to be able to see this sensor data monitorised within "ThingSpeak", but a '0' value is received...
View Articlecstapels on Wrong Value ThingSpeak
ThingSpeak will accept Hex values as well as ASCII. Depending on how they are formatted, it may interpret the hex values as strings. For example, Cheerlights (channel 1417) contains the string from...
View ArticleTonibco6 on Wrong Value ThingSpeak
What do this 5 digits mean "#xxxx" on the browser address? https://api.thingspeak.com/update?api_key=WRITE_API_KEY&field1=#xxxx Since I have got a '0' value on my Write keys, so maybe it is the...
View Articlecstapels on Wrong Value ThingSpeak
See the documentation at Update a channel feed I wrote "field1=#xxx to show you could put Hex numbers in there. You can continue to append values on the end of the REST call:...
View ArticleTonibco6 on Wrong Value ThingSpeak
Still '0' values as result. Well, I got some peaks as I added a random values to each field, but unfortunately then, it keeps coming down to '0'. This is what my LoRa provider (Sodaq) has messaged me;...
View Articlecstapels on Wrong Value ThingSpeak
Data for updating a field or a feed is not generally formatted as a JSON object when you use the REST API. You can use JSON format is certain situations, and ThingSpeak will optionally return some...
View Articlecstapels on Query data field for JavaScript Dependency
You may be able to use jquery: $.getJSON('https://api.thingspeak.com/channels/' + channel_id + '/fields/1.json?api_key=' + api_key , function(data) { if (data.feeds==....) //Do your check here })...
View Articleviiartz on Count elapsed hours
Hi All, I have a ds18b20 temp sensor on an esp8266 -13 uP updating one of my channels every couple of minutes. The board is running from a 10000mAh power bank and based on my calculations it should run...
View Articlemaneesh.marian on getting channel out put as a single value
I was trying to get my channel field using https://api.thingspeak.com/channels/xxxxx/fields/1.json?api_key=xxxxxxxxxxxxx&results=1 but i got out put as...
View Articlecstapels on getting channel out put as a single value
If you just want the last entry, you can use the instructions here. For example, use the format https://api.thingspeak.com/channels/12397/fields/1/last.txt If you don't want the last entry, you can...
View ArticleJasonW on MQTT losing data
Marc, We're made some changes to the MQTT broker that will hopefully stop that behavior from happening in the future. If you are continuing to see data loss, please let us know! Jason
View Articlemac on Limits with the length of "uri" when using Ciao
What limits apply to the length of "uri" when using Ciao to send a URL to ThingSpeak (free account)? CiaoData data = Ciao.write(CONNECTOR, SERVER_ADDR, uri); // to send the URL to ThingSpeak? I am...
View Article