CO2 Sensors that work with Openhab

I have put some examples for the MICS-VZ-89TE here: https://github.com/iot6466/CO2-Sensors

Here the things:

   Thing topic rbpt2 "mqtt-rbpt-2" {
            Type number : CO2         "CO2"         [ stateTopic="/rbpt-2/VZ89/CO2" ]
            Type number : VOC         "VOC"         [ stateTopic="/rbpt-2/VZ89/VOC" ]
    }
   Thing topic wemos1 "mqtt-wemos-1" {
            Type number : CO2         "CO2"         [ stateTopic="/wemos-1/VZ89/CO2" ]
            Type number : VOC         "VOC"         [ stateTopic="/wemos-1/VZ89/VOC" ]
            Type string : LWT         "LWT"         [ stateTopic="/wemos-1/status/LWT" ]
    }

and the items:

Number VOCBuro               "VOC   Buro [%.2f ]"	            		    (gDatalog,gMonitor)		{ channel="mqtt:topic:mosquitto:wemos1:VOC" }
Number CO2Buro               "CO2   Buro [%.2f ]"	            		    (gDatalog,gMonitor)		{ channel="mqtt:topic:mosquitto:wemos1:CO2" }
String LWTBuro    			 "LWT   Buro [%s]"                                                      { channel="mqtt:topic:mosquitto:wemos1:LWT" }

Number CO2Wozi               "CO2   Wozi [%.2f ]"	            		    (gDatalog,gMonitor)		{ channel="mqtt:topic:mosquitto:rbpt2:CO2", expire="11m" }
Number VOCWozi               "VOC   Wozi [%.2f ]"	            		    (gDatalog,gMonitor)		{ channel="mqtt:topic:mosquitto:rbpt2:VOC" }
3 Likes