Skip to content
Open source Arduino sketch for the smart WiFi dev board ANAVI Gas Detector
Branch: master
Clone or download
cederlys and leon-anavi Fix OTA upgrades for ArduinoJson 6
The recent upgrade to ArduinoJson 6 unfortunately broke OTA upgrades,
becuse the method used to check if the server and file is present no
longer works in ArduinoJson 6.  Fix.

Note: porting a fix from ANAVI Thermometer to ANAVI Gas Detector.

Signed-off-by: Leon Anavi <>
Latest commit 9461530 Aug 24, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
anavi-gas-detector-sw Fix OTA upgrades for ArduinoJson 6 Sep 8, 2019
LICENSE Add dependencies Jul 27, 2019

ANAVI Gas Detector Default Arduino Sketch

Open source Arduino sketch for the smart WiFi dev board ANAVI Gas Detector for MQ gas sensors.

ANAVI Gas Detector is an open source, easy-to-use, Wi-Fi compatible development board for monitoring air quality and detecting dangerous gases. It supports popular analog MQ gas sensor modules such as MQ-135, MQ-2, MQ-3, etc. Furthermore, it comes with slots for mini OLED display and up to three additional I²C sensor modules, including the precise digital sensor HTU21D for measuring temperature and humidity.

Air pollution is a very serious problem. Monitoring air quality and detecting toxic gases can improve one’s quality of life. All these features make ANAVI Gas Detector appropriate for developers, makers, students and open source enthusiasts who are interested in home automation and an environmentally friendly lifestyle.

User's Manual

ANAVI Gas Detector User's Manual


The default firmware of ANAVI Gas Detector depends on the following Arduino libraries:

  • WiFiManager by tzapu (version 0.12.0)
  • ArduinoJson by Benoit Blanchon (version 6.11.2)
  • PubSubClient by Nick O'Leary (version 2.7.0)
  • Adafruit HTU21DF Library by Adafruit (version 1.0.1)
  • Adafruit APDS9960 Library by Adafruit (version 1.0.5)
  • DHT sensor library by Adafruit (version 1.3.4)
  • U8g2 by oliver (version 2.23.18)
  • OneWire (version 2.3.4)
  • DallasTemperature (version 3.8.0)
  • Adafruit Unified Sensor by Adafruit (version 1.0.2)
  • Adafruit BMP085 Unified (version 1.0.0)
  • NTPClient by Fabrice Weinberg (version 3.1.0)
You can’t perform that action at this time.