kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.94k stars 492 forks source link

MHZ19-C CO2 Sensor Value disappears after one measurement (Live Measurement/Dashboard) #1273

Closed metapunk85 closed 1 year ago

metapunk85 commented 1 year ago

raspberrypi - 8.15.6

Please list specific setup details that are involved and the steps to reproduce the behavior:

raspberry pi3 B; Mycodo 8.15.6, Winsen MHZ19-C

  1. setup input, select MHZ19B
  2. the settings wheel and configure input
  3. in Live Measurement delivering no ppm value
  4. when the name (in input configuration) is changed and saved in the correct order, mycodo is displaying the sensor value correct for one data point. Then the setup breaks again

Expected behavior

The software should display the sensor value constantly. It used to work out fine for some days. Sensor values can be fetched with terminal

Screenshots

Bildschirm­foto 2023-01-25 um 16 44 03 Bildschirm­foto 2023-02-01 um 08 30 54 Bildschirm­foto 2023-02-01 um 08 31 37

[Anything that should be added to make it easier to address this issue - replace this with your own text]

Additional context

metapunk85 commented 1 year ago

no bug, user problem. :) if serial console is ON in the raspi config, the serial port is used by the sensor and the console, which leads to a conflict.