ANAVI Thermometer

by Anavi Technology

An ESP8266-powered, open source, Wi-Fi dev board with temperature and humidity sensors

View all updates Aug 20, 2019

Video Celsius vs Fahrenheit

Celsius vs Fahrenheit in Open Source Internet of Things

The Celsius temperature scale, also known as the centigrade scale is used worldwide but in the United States and a few other counties Fahrenheit scale is preferred. ANAVI Thermometer is an entire open source product used all around the world. The latest version of the Arduino sketch, which is available at GitHub, supports both Celsius and Fahrenheit.

I have publish a short video tutorial to explain how to switch from Celsius to Fahrenheit or vice-versa.

The same approach has been implemented for my new open source product ANAVI Gas Detector. You can type in the preferred temperature scale during the initial setup. By default it is set to Celsius. After that, at any time, you can change the temperature scale though MQTT message.

To change the temperature scale via MQTT publish a message with topic cmnd/<machine-id>/tempformat. Please note that <machine-id> has to be replaced with the actual machine ID which is shown during the initial configuration and in the serial output on each boot. If you have missed to save the machine ID during the initial configuration, just attach USB to UART cable to ANAVI Thermometer, start Serial Monitor in Arduino IDE (or any other convenient for you software for serial communication) and restart the board (by plugging in and out the USB to microUSB cable).

The payload of the MQTT message contains JSON:

  • For Celsius: { "scale": "celsius" }
  • For Fahrenheit: { "scale": "fahrenheit" }

For example, to change the temperature scale of ANAVI Thermometer with machine ID with zeros (obviously fake ID just for the example), using mosquitto_pub (provided by mosquitto-clients package in Debian based GNU/Linux distributions) client type in a terminal:

mosquitto_pub -h iot.eclipse.org -d -p 1883 -t "cmnd/00000000000000000000000000000000/tempformat" -m '{ "scale": "celsius" }'

For more details please have a look at the YouTube video. Special thanks to Mark Kociscin for his contributions and suggestions for improvements of the source code. Thank you all for using and supporting the entirely open source ANAVI Thermometer!

Thanks,
Leon


$11,303 raised

of $10 goal

113,030% Funded! Order Below

Product Choices

$25

ANAVI Thermometer

Open source hardware WiFi board for measuring temperature and humidity. Includes one ANAVI Thermometer (1).


$39

Starter Kit

The perfect kit for getting started. Includes one ANAVI Thermometer (1), acrylic enclosure (1), 0.96" OLED Display (1) and USB-to-serial debug cable (1).


$49

Advanced Kit

The kit for awesome home automation and fish tanks. Includes one ANAVI Thermometer (1), acrylic enclosure (1), 0.96" OLED Display (1), USB-to-serial debug cable (1), light (1) and waterproof temperature (1) sensor modules.


$59

Developer Kit

Everything a developer needs! Includes one ANAVI Thermometer (1), acrylic enclosure (1), 0.96" OLED Display (1), USB-to-serial debug cable (1) and all sensor modules: light (1), gestures & color recognition (1), waterproof temperature (1), barometric pressure and temperature (1).

Credits

Anavi Technology

Open source hardware created and powered by free and open source software


ANAVI Technology

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: