Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display Winsen MH-Z14A CO2 Sensor readings on LCD #21

Closed
icnmfabro opened this issue Nov 28, 2020 · 15 comments
Closed

Display Winsen MH-Z14A CO2 Sensor readings on LCD #21

icnmfabro opened this issue Nov 28, 2020 · 15 comments
Assignees
Milestone

Comments

@icnmfabro
Copy link

The sensor reading is currently only online on the http://aqi.eco portal. It would be interesting to present the data directly in the LCD display.

@netmaniac netmaniac self-assigned this Jan 8, 2021
@netmaniac
Copy link
Contributor

Display for sensors in new scheduler is now supported. Now I'm moving Winsen support to new scheduler, then it will display results to LCD.

@netmaniac netmaniac added this to the NAMF-2020-35 milestone Jan 8, 2021
@icnmfabro
Copy link
Author

icnmfabro commented Jan 8, 2021 via email

@netmaniac
Copy link
Contributor

NAMF-2020-35rc3 - new beta is on server. Winsen is supported by new scheduler. After update You have to enable sensor again, this time in bottom of config page. There should be also option to use LCD display.

@icnmfabro
Copy link
Author

Hello.

I have enabled the sensor and enabled the Winsen data display on the LCD, but there is a problem.
On the LCD I signal that there are 6 display pages but when I arrive at the 5th page it jumps back to the first data display screen (actually the winsen data are not displayed).
Can you check and confirm the problem?

I'm waiting for your new ones.

@icnmfabro
Copy link
Author

Other bug found. by clicking on the selection for displaying on LCD the SPS30 sensor, or by leaving it unchecked, the sensor data are visible on the LCD screen.

@netmaniac
Copy link
Contributor

netmaniac commented Jan 18, 2021

I have enabled the sensor and enabled the Winsen data display on the LCD, but there is a problem.
On the LCD I signal that there are 6 display pages but when I arrive at the 5th page it jumps back to the first data display screen (actually the winsen data are not displayed).

Which one LCD has Your NAM? 16x2 or 20x4?

@icnmfabro
Copy link
Author

20x4 lcd

@netmaniac
Copy link
Contributor

There is NAMF-2020-35rc4 release. It should fix disabling LCDs for SPS30 and Winsen.

I could not reproduce wrong behavior with Winsen and display. It shows reading correctly. Do sensor restart when gets to 6/6 or cycles through display and takes measurements and sends data to API?

Does sensor display CO2 reading on /values page?

@icnmfabro
Copy link
Author

After updating to release 35rc4 I deleted the namf configuration and entered again.
I found this:

  1. Now if you remove the check to the "Display on LCD" box on the SPS30 sensor, actually screens 4 and 5 containing the sensor data disappear. so this problem seems solved.
  2. For the Winsen CO2 sensor, if the SPS30 data display is removed, then the Winsen MHZ14A data screen 4 appears on the lcd display, if the SPS30 data display is also active (precisely screens 4 and 5), the Winsen data (now screen 6) is skipped and not displayed. Everything then restarts with the start of the display cycle from screen 1.
    So in summary, if I activate the display of the SPS30 I cannot view the CO2 data on the display, otherwise if I delete the display of data on the SPS30 LCD then the CO2 screen appears.

The data at https://meteofabro.aqi.eco/en/12954058 seems to work.

@netmaniac
Copy link
Contributor

  1. For the Winsen CO2 sensor, if the SPS30 data display is removed, then the Winsen MHZ14A data screen 4 appears on the lcd display, if the SPS30 data display is also active (precisely screens 4 and 5), the Winsen data (now screen 6) is skipped and not displayed. Everything then restarts with the start of the display cycle from screen 1.
    So in summary, if I activate the display of the SPS30 I cannot view the CO2 data on the display, otherwise if I delete the display of data on the SPS30 LCD then the CO2 screen appears.

So problem is present when both SPS30 and MHZ14A are enabled and checked for display? I check such variant, since I had separate NAMs with SPS30 and MHZ. I need to place both sensors into one NAM and verify.

@icnmfabro
Copy link
Author

Yes exactly ... the problem occurs with both sensors enabled for display.

@netmaniac
Copy link
Contributor

NAMF-2020-35rc5 on update server. For me it fixes problem, please check.

@icnmfabro
Copy link
Author

Yes, the LCD display problem has been solved ...
Fantastic... :-)

@icnmfabro
Copy link
Author

I would also like to notify you of a data problem with the API of https://luftdaten.info/.
On my https://devices.sensor.community/ account I added the SPS30 sensor, but I can only see the data from the BME280.
Both sending to Luftdaten and Madavi are enabled in the NAM configuration.
Can you check if it's a firmware problem?
Thanks.
2021-01-20 21_26_42-devices sensor community _ user configuration
2021-01-20 21_28_25-Configuration

@netmaniac
Copy link
Contributor

Yeah, only old style sensors are supported when sending data to LD. Need to rethink how to implement that with new scheduler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants