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

Calibration parameter for the temperature, the humidity and the air pressure #1643

Closed
micropet opened this issue Jan 19, 2018 · 12 comments
Closed

Comments

@micropet
Copy link

micropet commented Jan 19, 2018

First of all thank you for the great software, Theo.
I use it mostly on NodeMCU or Wemos D1 Boards.

I have a 2 feature requests:

The measured values from the BME280 are therefore inaccurate.
I would like a calibration parameter for the temperature, the humidity and the air pressure.

The Automatic Baseline Correction for the MH-Z19 also does not work well.

I would like to do a zeropoint calibration by command.

I do that with my own programs and it works perfectly.
I have 5 Co2 meters here and all show the same results.

This is the Sequenz: byte zeropoint[]= {0xff,0x01,0x87,0x00,0x00,0x00,0x00,0x00,0x78};

Greetings Peter

@arendst
Copy link
Owner

arendst commented Jan 20, 2018

How often is that zero point calibration needed? Could I decide to do it once a day (too often perhaps) or once a week. Or is it only needed after some minutes after power on.

I don't want to have another command so making this automatic would make me very happy.

@micropet
Copy link
Author

Hi Theo,

I only ever did the zero point calibration once.
For this, the sensor must be in free air for 20 minutes, ie outside.

After a few years you should calibrate again. The MH-Z19 uses a normal lamp as the light source. This does not shine so bright after years.

abs outputs different values every day. It depends on how much CO in the room is when abs is executed.

Greetings Peter

@Frogmore42
Copy link
Contributor

Here is an article on calibrating CO2 sensors. https://www.co2meter.com/blogs/news/7512282-co2-sensor-calibration-what-you-need-to-know
Sounds like once a year would be okay for many uses.

@micropet
Copy link
Author

Yes, that will be enough in any case.
I think only abs bad. It depends on the ventilation behavior.
I have wrong values over and over again.

This is not the case with manual calibration.

@chriskmn
Copy link

chriskmn commented Feb 6, 2018

I would also love to have calibration value for temp, humidity etc. as my humidity values of the DHT22 are way too high.

@tiberiuana
Copy link
Contributor

👍 for the calibration parameter.
The Wemos SHT30 shields also seem to measure way to high.

@micropet
Copy link
Author

micropet commented Feb 9, 2018

Thank you for MH-Z19 manual calibration.
Now we need calibration value for temp, humidity, press etc.
Then it would be perfect.

arendst added a commit that referenced this issue Feb 9, 2018
5.12.0 20180209
* Change library PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to
1000 for Home Assistant  support
* Change relation of define MESSZ being dependent on PubSubClient.h
define MQTT_MAX_PACKET_SIZE
* Change command color parameter input checks to less strict for Home
Assistant support
* Change command Ina219Mode into command Sensor13
* Change commands HlwPCal, HlwUCal and HlwICal to PowerCal, VoltageCal
and CurrentCal to be used for both Pow and S31 calibration
* Change commands HlwPSet, HlwUSet and HlwISet to PowerSet, VoltageSet
and CurrentSet to be used for both Pow and S31 calibration
* Change uptime from hour to second resulting in a display of
123T13:45:21 where 123 is days
* Change module name Wemos D1 mini into Generic (#1220)
* Change HTML from width=100% to style=width:100% supporting HTML5
(#1358)
* Change OSWATCH_RESET_TIME (Blocked loop) from 30 to 120 seconds to
allow slow networks (#1556)
* Change WIFI_MANAGER_SEC into WIFI_CONFIG_SEC (#1616)
* Change function pointers code to save code space and memory (#1683)
* Change webserver argument processing gaining 5k code space (#1705)
* Change weblog memory usage (#1730, #1793, #1819)
* Update TasmotaSerial library to 1.1.0
* Update language files Italian (#1594), Dutch (#1723) and Spanish
(#1722)
* Fix Non-English JSON temperature unit attachement
* Fix Arilux RF induced exception by moving interrupt handler to iram on
non ESP8266/Arduino lib v2.3.0
* Fix truncated command names and wrong response for DomoticzSwitchIdx
(#1571)
* Fix %-sign issue as printf escape character in Humidity and Sonoff SC
(#1579)
* Fix DS18B20 temperature JSON decimal dot (#1561)
* Fix Energy JSON message (#1621)
* Fix IRSend parameter translation (#1636)
* Fix TSL2561 device detection (#1644, #1825)
* Fix BME680 teleperiod resistance measuring (#1647)
* Fix Energy Monitoring Energy Today and Energy Total reading after
restart (#1648)
* Fix IRReceive Data value (#1663)
* Fix Energy Monitoring Energy Period roll-over (#1688)
* Fix compiler warnings (#1774)
* Fix command PWM response if no PWM channel is configured (#1783)
* Add locale Decimal Separator to Web sensor page
* Add ColorTemperature to light status message
* Add command PowerOnState option 5 which inverts PulseTime and allows
for delayed always on after power on
* Add OtaMagic two step Web server OTA upgrade using filename-minimal
image if OTA free space is too small
* Add support for PMS5003 and PMS7003 particle concentration sensor
* Add command SetOption21 1 to allow Energy Monitoring when power is off
on Sonoff Pow and Sonoff S31 (#1420)
* Add Chinese language file (#1551)
* Add French language file (#1561)
* Add Spanish language file (#1589)
* Add HTTP Allow Cross Origin removed from ESP8266/Arduino lib v2.4.0
(#1572)
* Add Home Assistant MQTT Discovery for switch and light to be enabled
by command SetOption19 1 (#1534) or define
HOME_ASSISTANT_DISCOVERY_ENABLE in user_config.h (#1685)
* Add command State to retrieve device state information (same data as
teleperiod state and status 11 in slightly different JSON format)
* Add optional login to Webserver AP mode (#1587, #1635)
* Add command Sensor15 2 to start MHZ19(B) Zero Point Calibration
(#1643)
* Add support for Sonoff S31 Smart Socket with Power Consumption
Detection (#1626)
* Add command SetOption20 to allow update of Dimmer/Color/Ct without
turning power on (#1719, #1741)
* Add NTP sync time slot based on chip id (#1773)
* Add cursor pointer to web button (#1836)
@DonStefano
Copy link

I would like to see calibration for all sensors.

@stale
Copy link

stale bot commented Jun 17, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 17, 2018
@Frogmore42
Copy link
Contributor

See #2966
For a way to do it.

@stale stale bot removed the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 17, 2018
@ascillato
Copy link
Contributor

Hi,

If your issue is solved, please close it. Thanks 👍

@ThinkPadNL
Copy link

ThinkPadNL commented Aug 10, 2018

I would like to do a calibration to 400ppm by putting my MH-Z19 outside for a while, but cannot find how to trigger it from Tasmota. Can someone explain how to do it? In the code the command is available i see (mhz_cmnd_zeropoint).

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

8 participants