[SOLVED] CM1102Sensor not detected since Dec Firmware update - Printable Version +- vThings Forums (http://forum.vair-monitor.com) +-- Forum: vThings (http://forum.vair-monitor.com/forumdisplay.php?fid=1) +--- Forum: vAir Monitor (CO2, Dust, Tempereature, etc..) (http://forum.vair-monitor.com/forumdisplay.php?fid=2) +--- Thread: [SOLVED] CM1102Sensor not detected since Dec Firmware update (/showthread.php?tid=58) Pages:
1
2
|
[SOLVED] CM1102Sensor not detected since Dec Firmware update - baz123 - 02-03-2017 So I have one of the systems with a CM1102. Since the 20th Dec I have not had any data. I suspect it is the firmware update 20161217 that did it (and must have auto updated). I have tried going back to the 20161024 firmware, but it updates as soon as I connect to configure it. Grrrrrrr Log --- Setup SENSORS --- TEST CO2 Trying : 13,12 Getting CO2 Sensor Software Version] [B0,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 12,13 Getting CO2 Sensor Software Version] [B2,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 14,5 Getting CO2 Sensor Software Version] [B4,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 5,14 Getting CO2 Sensor Software Version] [B6,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, +] [Trying : 13,12 Getting CO2 Sensor Software Version B0,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 12,13 Getting CO2 Sensor Software Version] [B2,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 14,5 Getting CO2 Sensor Software Version B4,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 5,14 Getting CO2 Sensor Software Version] [B6,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, +] [Trying : 13,12 Getting CO2 Sensor Software Version] [B0,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 12,13 Getting CO2 Sensor Software Version B2,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 14,5 Getting CO2 Sensor Software Version] [B4,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, Trying : 5,14 Getting CO2 Sensor Software Version] [B6,1,FF,3F,B0,1,FF,3F,0,0,0,0,7F,39,20,40,74,93,FE,3F,B0,1,FF,3F, +] [ERROR: Could not locate Cubic CO2 Sensor SI7021 BME280 BMP085 PM2005 CDM7160 TSL2561 BH1750 APDS9960 APDS9960 - init failed! RE: CM1102Sensor not detected since Dec Firmware update - admin - 02-03-2017 i i just disabled the firmware update on the server now you should be able to downgrade w/o problems sorry, i missed that point RE: CM1102Sensor not detected since Dec Firmware update - baz123 - 02-03-2017 Successfully downgraded to 20161004 version and sensor is now detected so definitely a firmware issue. --- Setup SENSORS --- Setup sensor: TEST Setup sensor: CO2] [Trying : 13,12 Getting CO2 Sensor Software Version] [16,C,1E,42,53,20,56,33,2E,30,32,39,20,30,69,40,54,95,FE,3F,78,6,FF,3F, CO2 Sensor SW Ver: BS V3.029 0i done CM1102 Dual Beam NDIR sensor CO2 now: 550 Setup sensor: SI7021] [Setup sensor: BME280] [BME280 - init failed! Setup sensor: PM2005] [Setup sensor: CDM7160] [--- Setup DESTINATIONS --- RE: CM1102Sensor not detected since Dec Firmware update - admin - 02-03-2017 Great I will check again the code in the evening I also think my cm1102 is a bit modded and therefore i sidnt caught it RE: CM1102Sensor not detected since Dec Firmware update - admin - 02-03-2017 can you just try again yo update with "otah" and then do a factory reset. i think i modified my device to be as the ones from the first batch, and it is still working. anyway - another fellow sent his device back to me, as it was also not working - so i will check iwth it, hopefully i will be able to reproduce it RE: CM1102Sensor not detected since Dec Firmware update - admin - 02-03-2017 i didn't test correctly now i managed to reproduce it and fix it.. the problem was that i spent a few weeks optimizing the firmware to boot faster, but the CM1102 needs some time to boot, and in the first versions of the device, it's booting is controlled by the firmware, and needs ~2 seconds. So i had removed this delay and on newer devices that are wired differently it works, but on the older it desn't now if you update it should be working RE: CM1102Sensor not detected since Dec Firmware update - baz123 - 02-03-2017 (02-03-2017, 07:20 PM)admin Wrote: i didn't test correctly It appears to find the sensor but now the MQTT does not work RE: CM1102Sensor not detected since Dec Firmware update - admin - 02-03-2017 do you get something useful in the logs? RE: CM1102Sensor not detected since Dec Firmware update - baz123 - 02-03-2017 (02-03-2017, 08:13 PM)baz123 Wrote:Ah Ok fixed MQTT - my bad.(02-03-2017, 07:20 PM)admin Wrote: i didn't test correctly That seems to solve it. Thanks. RE: CM1102Sensor not detected since Dec Firmware update - baz123 - 02-10-2017 The CO2 Monitor is still crashing after a few hours of running. As I do not really need all the wiz bangs of your std firmware, do you have a simple package for reading this sensor and returning the data & status? I'm happy to do the the bit around that for the network setting etc and pushing the data out via MQTT myself (in fact I prefer it). I'd be really interested in how you put the device into deep sleep as well. I've deciphered your code to an extent but cannot really see how you send it to sleep and then wake it back up Cheers |