Need help to make air quality unit on haos

hi, i have an “MQ-9” & “MQ-135” sensor and an esp32c3 xiao microcontroller.
What I want do do is to have an code on both of them and add it to haos, so it will show the values in real time and also trigger an alarm if the values gets to high etc…
But i have no idea where to start, and if it is possible at all…
Someone have any tips?

ESPHome is the way to go.

Lots of tutorials, etc., just do some searching.

But where does i start, find information on it, chatgpt says i have to use something called mqtt, since esphome dosent have inlcude libary

Just Google those sensors and ESPHome and you’ll find lots of examples and tutorials. And just stay away from chatgpt…