Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ThingSpeak configuration
#1
Hi, first of all thanks for the fast shipping and the updates, my air monitor arrived in good shape and seems to work so far. I am just trying to set up a ThingSpeak channel but need some help filling out the fields, I think I am missing something for the meta-data field that describes the contents of the data? What are the minimum required entries for this?

Code:
[--- DestHanlder: sendValue ---
CustomHTTPDest::process
CustomHTTPDest::invoke = http://]
[Error Code: -1 = connection refused
Failed]
[CustomHTTPDest::invoke = http://api.thingspeak.com/update?key=XXXXXXXXXXXX&field1=%CO2%&field2=%TEMP%&field3=%HUM%&field4=%PRES%]
[Response Code: 500
CLOSED]
Reply
#2
(09-22-2016, 09:07 AM)Xalius Wrote: Hi, first of all thanks for the fast shipping and the updates, my air monitor arrived in good shape and seems to work so far. I am just trying to set up a ThingSpeak channel but need some help filling out the fields, I think I am missing something for the meta-data field that describes the contents of the data? What are the minimum required entries for this?

Code:
[--- DestHanlder: sendValue ---
CustomHTTPDest::process
CustomHTTPDest::invoke = http://]
[Error Code: -1 = connection refused
Failed]
[CustomHTTPDest::invoke = http://api.thingspeak.com/update?key=XXXXXXXXXXXX&field1=%CO2%&field2=%TEMP%&field3=%HUM%&field4=%PRES%]
[Response Code: 500
CLOSED]
hmm it is strange that nothing got replaced, 
try to send this command via the input field at the bottom

serial_dump_toggle

this will enable a fake destination that will dump the values retrieved on the serial port
Which is your device ?

also try to enable the debug mode with the command

debug

it will dump a bit more details
Reply
#3
I just reconnected the sensor and it seems like it pulled a firmware update? Now ThingSpeak seems to work :-)

Code:
[IP address: 192.168.43.206 in 15737 ms
GOT IP]
[Will update from: http://anker-bg.com/vlast3k/vesprino/firmware20160922.bin]
[ÆåÜÆ1§D‚
]
[þ…%½Á1¥Íѱ register commands]
[Heap Heap at start: 38552
Found i2c bus on SDA:SCL = D5:D1 (14:5)

vESPrino v1.16 build20160922]
[IP address: 0.0.0.0
ready >
Waiting for auto-connect]
[.]
[.]
[.

--- Setup PLUGINS ---
Setup plugin: Neopixel
Setup plugin: TimerManager

--- Setup SENSORS ---
Setup sensor: TEST
Setup sensor: CO2]
[Setup sensor: SI7021
Setup sensor: BME280
Found BME280 - Temperature/Humidity/Pressure Sensor
Setup sensor: PM2005
Setup sensor: CDM7160
Found CDM7160 CO2 Sensor

--- Setup DESTINATIONS ---
Setup Destination: CustomHTTP
Setup Destination: SerialDump
Setup Destination: MQTT
Setup Destination: RFX10]
[Heap At setup end: 35488
Waiting for WiFi .]
[.]
[.]
[IP address: 192.168.43.206 in 22521 ms
GOT IP]
[ready >
--- DestHanlder: sendValue ---
Found BME280 - Temperature/Humidity/Pressure Sensor]
[Raw CO2: 450
CustomHTTPDest::process
CustomHTTPDest::invoke = http://]
[Error Code: -1 = connection refused
Failed]
[CustomHTTPDest::invoke = http://api.thingspeak.com/update?key=XXXXXXXX&field1=450.00&field2=25.89&field3=39.81&field4=1010.64]
[Response Code: 200
CLOSED]
[SerialDumpDest::process
TEMP    : 25.89
HUM    : 39.81
PRES    : 1010.64
ALT    : 21.76
CO2    : 450.00
MQTTDest::process
RFDest::process]
[OK
ready >]
[--- DestHanlder: sendValue ---
Found BME280 - Temperature/Humidity/Pressure Sensor
Raw CO2: 462]
[--- DestHanlder: sendValue ---
Found BME280 - Temperature/Humidity/Pressure Sensor
Raw CO2: 473]
[--- DestHanlder: sendValue ---
Found BME280 - Temperature/Humidity/Pressure Sensor
Raw CO2: 481]
[--- DestHanlder: sendValue ---
Found BME280 - Temperature/Humidity/Pressure Sensor
Raw CO2: 476]
[OK
ready >]
[--- DestHanlder: sendValue ---
Found BME280 - Temperature/Humidity/Pressure Sensor
Raw CO2: 473]
Reply
#4
yeah.. there was some issue with Custom HTTP configuration that i fixed, but it was only in case there is no Thingspeak config.....
it is good that it is working now anyway
if the issue reappears - do not hesitate to tell me Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)