Skip to content

Commit

Permalink
[P049] added commands
Browse files Browse the repository at this point in the history
added missing commands to colorcode and updated also the documentation
  • Loading branch information
chromoxdor committed Nov 13, 2024
1 parent a323b61 commit 5181dd6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 5 deletions.
12 changes: 8 additions & 4 deletions docs/source/Plugin/P049.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ Sensor
See: :ref:`SerialHelper_page`


**TODO**: Complete this documentation...
Commands available
^^^^^^^^^^^^^^^^^^

.. include:: P049_commands.repl

Additional infos can be found here: https://emariete.com/en/sensor-co2-mh-z19b/

.. Commands available
.. ^^^^^^^^^^^^^^^^^^

.. .. include:: P049_commands.repl

**TODO**: Complete this documentation...

.. Events
.. ~~~~~~
Expand Down
24 changes: 24 additions & 0 deletions docs/source/Plugin/P049_commands.repl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.. csv-table::
:header: "Command", "Examples"
:widths: 20, 30

"
``MHZCalibrateZero``

``MHZReset``

``MHZABCEnable``

``MHZABCDisable``

","
Sets the zero point of the sensor (in this case 400ppm)

Reset to factory defaults

Enables automatic baseline calibration

Disables automatic baseline calibration
"


2 changes: 2 additions & 0 deletions static/espeasy.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ var commonPlugins = [
"NeoPixel", "NeoPixelAll", "NeoPixelLine", "NeoPixelHSV", "NeoPixelAllHSV", "NeoPixelLineHSV", "NeoPixelBright",
//P048
"MotorShieldCmd,DCMotor", "MotorShieldCmd,Stepper",
//P049
"MHZCalibrateZero", "MHZReset", "MHZABCEnable", "MHZABCDisable",
//P052
"Sensair_SetRelay",
//P053
Expand Down
2 changes: 1 addition & 1 deletion static/espeasy.min.js

Large diffs are not rendered by default.

0 comments on commit 5181dd6

Please sign in to comment.