vThings Forums

Full Version: Device sends everything except co2 value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When first connected my CM1102 showed all sensor values when connecting using the config utility. Judging by the symptoms, especially after reading the post Device sends %CO2% instead of the actual value it looks like a usb-power issue. However, regardless of which USB adapter (or laptop port) I use, I now get only temperature, humidity and pressure. CO2 is not even mentioned anymore. Am I missing something or messed something up? The only thing I can think of is I switched it to debug mode (send 'debug' command) and I've told it to update (send 'otah' command). If I recall correctly, the device was already on 20161024, it is now still. In the log I noticed that in the 'setup sensors' the cmd1102 is not mentioned, is that on purpose? The log:

Code:
Searching for v.Air Trying : COM5

.  . [0$nÍ+ð]
[Xldø]
[<b8]
[Éü]
[…]
[Heap Heap at start: 35520]
. [Found i2c bus on SDA:SCL = D1:D5]
[(5:14)

vESPrino v1.16 build20]

vESPrino found on : COM5
[OK
Executing: nop
PowerManager timeout: 180
Executing: nop
PowerManager timeout: 180
ready >]
[.]
[OK
Executing: info

vESPrino v1.16 build20161024]
[IP address: 0.0.0.0
Chip ID: 23FE38]
[Executing: nop
PowerManager timeout: 180
ready >]
[OK
Executing: prop_list
---vESPrinoCFG_start---
isMigrated=1
rf.CO2=136
rf.PM25=137
rf.PM10=138
rf.TEMP=140
rf.HUM=141
rf.PRES=142
rf.GEN=143
send.interval=120
wifi.ssid=Fish
wifi.p1=Melan09w&k444
custom_url_arr0=http://192.168.178.112:3480/data_request?id=variableset&DeviceNum=103&serviceId=urn:upnp-org:serviceId:TemperatureSensor1&Variable=CurrentTemperature&Value=%CO2%
debug=1
---vESPrinoCFG_end---
Executing: nop
PowerManager timeout: 180
ready >]
[.]
[.

--- Setup PLUGINS ---
Setup plugin: Neopixel
Setup plugin: DweetIO
Setup plugin: WebServer
Setup plugin: TimerManager

--- Setup SENSORS ---
Setup sensor: TEST
Setup sensor: SI7021
Setup sensor: BME280
Found BME280 - Temperature/Humidity/Pressure Sensor
Setup sensor: BMP085]
[BMP085 - init failed!
Setup sensor: PM2005
Setup sensor: CDM7160

--- Setup DESTINATIONS ---
Setup Destination: CustomHTTP
Setup Destination: SerialDump
Setup Destination: MQTT
Setup Destination: RFX10
Heap At setup end: 33184
schedule commands from prop: event.setupEnd
Executing: fupd
schedule commands from prop: event.wifiSearching
Waiting for WiFi .]
[.]
[.]
[.]
[IP address: 192.168.178.33 in 15760 ms
GOT IP
schedule commands from prop: event.wifiConnected]
[[HTTP] GET... code:200
[HTTP] GET... code:404
fg: 20160925, fc: 0, bn:20161024
ready >
--- DestHanlder: sendValue --- 1]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
CustomHTTPDest::process
CustomHTTPDest::invoke = http://192.168.178.112:3480/data_request?id=variableset&DeviceNum=103&serviceId=urn:upnp-org:serviceId:TemperatureSensor1&Variable=CurrentTemperature&Value=%CO2%
Response Code: 200
Payload: [OK]
CLOSED
SerialDumpDest::process
TEMP        : 19.83
HUM        : 60.35
PRES        : 998.49
ALT        : 123.64
MQTTDest::process
RFDest::process
Heap : 32712]
[--- DestHanlder: sendValue --- 0]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
Heap : 32736]
[OK
Executing: nop
PowerManager timeout: 180
Executing: nop
PowerManager timeout: 180
ready >]
[--- DestHanlder: senY…±Õ•--- 0]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
Heap : 32736]
[--- DestHanlder: sendValue --- 0]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
Heap : 32736]
[OK
Executing: nop
PowerManager timeout: 180
Executing: nop
PowerManager timeout: 180
ready >]
[--- DestHanlder: sendValue --- 1]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
CustomHTTPDest::process
CustomHTTPDest::invoke = http://192.168.178.112:3480/data_request?id=variableset&DeviceNum=103&serviceId=urn:upnp-org:serviceId:TemperatureSensor1&Variable=CurrentTemperature&Value=%CO2%
Response Code: 200
Payload: [OK]
CLOSED
SerialDumpDest::process
TEMP        : 20.31
HUM        : 58.54
PRES        : 998.47
ALT        : 123.75
MQTTDest::process
RFDest::process
Heap : 32712]
[--- DestHanlder: sendValue --- 0]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
Heap : 32736]
[OK
Executing: nop
PowerManager timeout: 180
Executing: nop
PowerManager timeout: 180
ready >]
[--- DestHanlder: sendValue --- 0]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
Heap : 32736]
[--- DestHanlder: sendValue --- 0]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
Heap : 32736]
[OK
Executing: nop
PowerManager timeout: 180
Executing: nop
PowerManager timeout: 180
ready >]
[--- DestHanlder: sendValue --- 1]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
CustomHTTPDest::process
CustomHTTPDest::invoke = http://192.168.178.112:3480/data_request?id=variableset&DeviceNum=103&serviceId=urn:upnp-org:serviceId:TemperatureSensor1&Variable=CurrentTemperature&Value=%CO2%
Response Code: 200
Payload: [OK]
CLOSED
SerialDumpDest::process
TEMP        : 20.57
HUM        : 57.45
PRES        : 998.46
ALT        : 123.88
MQTTDest::process
RFDest::process
Heap : 32712]
[--- DestHanlder: sendValue --- 0]
[Found BME280 - Temperature/Humidity/Pressure Sensor]
[BMP085 - init failed!
Heap : 32736]
[OK
Executing: nop
PowerManager timeout: 180
Executing: nop
PowerManager timeout: 180
ready >]
please try to update again.
The latest firmware that i had pushed was with commented out support for the CM1102 due to a mistake
when i was sending the sensor to you i fixed it, but then i forgot to push the update...
yes, excellent! After the update CO2 started sending data again.
Case closed, thanx for the quick fix.