Scriptable IOS widget for TeHyBug CO2

Get the script from:

iOS 14
Scriptable version 1.5 (or higher)

copy the source code above (click “raw” on the upper right)
open the Scriptable app
click on the “+” symbol in the upper right and paste the script
click on the title at the top and give it a name (i.e. TeHyBug)
save it by clicking “done” in the upper left
go to your homescreen, long press anywhere to enter the “wiggle mode”
press the “+” sign on the upper left, scroll down to “Scriptable”, choose the first (small) size and press “Add widget” at the bottom
while still in wiggle mode, tap the widget to enter its setup screen
as a “Script” choose your saved script from above (TeHyBug)

NEW Firmware for TeHyBug 18650 Universal

The TeHyBug 18650 Universal has recently received an updated firmware. This new version retains all the features of its predecessor while introducing additional customizations and enhanced stability. One notable improvement is the ability to perform firmware upgrades effortlessly through the WebInterface. For more detailed information, kindly visit the following link:

TeHyBug CO2 Sensor Firmware

I’m pleased to announce that I’ve finally completed the firmware for the TeHyBug CO2 FreshAirMakesSense Boards. These IoT devices are designed to monitor CO2 levels and provide insights into the air quality in your home or office. With the new firmware, these devices are now even more versatile and useful for smart home enthusiasts and DIYers.

The new firmware includes all of the most essential features for smart home integration. One of the key features is the built-in webserver, which serves up sensor data in JSON format. This means that you can easily access and analyze the data using your favorite programming language or data analysis tool. In addition, the firmware includes an autodiscovery mode for HomeAssistant, which makes it easy to integrate the devices with your smart home setup.

But that’s not all – the firmware also includes support for OLED displays, which can be used to display real-time sensor data or other useful information. There are also several other features that are sure to come in handy for DIYers and smart home enthusiasts.

If you’re interested in trying out the new firmware, I invite you to visit the GitHub repository where I’ve published the code. You’ll find a complete list of features and a detailed description of how to install and use the firmware. With this new firmware, the TeHyBug CO2 FreshAirMakesSense Boards are even more powerful and versatile, and I’m excited to see what the community will create with them!

TeHyBug CO2 Mini Sensor

At TeHyBug, we’re always looking for ways to improve and expand our product offerings. That’s why we’re thrilled to introduce our latest innovation – a new, smaller version of our CO2 sensor board.

The new board features the SCD4x sensor, which is smaller than the previous sensor but still maintains the same high level of accuracy and reliability.

This means that the new board is even more compact and can fit into tight spaces, making it ideal for a wide range of applications.

To showcase the new board in action, we’ve created a 3D printed enclosure and put together a demonstration video, which you can watch here: The video demonstrates the board’s features and capabilities, including the OLED display connector.

To make the most of the new board’s features, we’ve also released firmware that includes support for OLED displays and HomeAssistant autodiscovery. This firmware is available on our GitHub repository at: This allows users to easily integrate the new board into their existing smart home setups and access sensor data in real-time.

But that’s not all – we’ve also upgraded our Senseair S8 board to support a display connection, making it even more versatile and useful for a range of applications. This upgrade provides even more options for displaying sensor data and makes the board even more accessible for DIYers and smart home enthusiasts.

At TeHyBug, we’re committed to providing high-quality products that are both reliable and easy to use. With our new mini CO2 sensor board and upgraded Senseair S8 board, we’re excited to offer even more options for monitoring air quality and integrating sensors into smart home setups. For more information about our products and to stay up-to-date on our latest developments, be sure to visit our website and blog.

Size comparison TeHyBug CO2 with S8 Senseair Sensor and with SCD4X Sensor

An enclosure for 3D Printing is available on Thingiverse for download:

How to Configure TeHyRelay/GumRelay with Tasmota firmware

Tasmota is an open-source firmware for smart home devices that provides a powerful and flexible platform for controlling and automating your home. By flashing your TeHyRelay/GumRelay device with Tasmota firmware, you can take advantage of a wide range of features and integrations that are not available with the default firmware.

To get started with Tasmota, you’ll need to follow a few simple steps. First, you’ll need to download the latest Tasmota firmware from the official website. Once you have the firmware downloaded, you can use a tool like Tasmotizer to flash your device. Tasmotizer is a simple and user-friendly tool that makes it easy to flash your device with Tasmota firmware.

Once your device is flashed with Tasmota firmware, you can use the Tasmota web interface to configure it to your liking. This interface provides a wide range of configuration options, including support for MQTT, HTTP, and more. You can also use the web interface to set up rules, timers, and other automation features.

First start configuration

Connect GumRelay to a power source, (Recommended 4,5 to 6Volt).

Please keep the correct polarity.

After that, a WIFI network will be created by the ESP01 Module. Please connect to the tasmota-XXXX Network.

Open in your web browser

A configuration page will appear.

At AP1 SSID provide your WIFI network name.

At AP1 Password provide the password of your WIFI network.

To find out which IP the GumRelay has received, you’ll have to connect to your router and look at DHCP Leases. Or you can use apps like Wireshark to scan your local network for connected devices.

Then connect to the like: http://192.169.xx.xx/ with your browser and a GumRelay Control page will appear.

3 different relays are available at the TeHyBug Shop with a tasmota firmware.

There are 3 different relay sizes available at the TeHyBug store which come with pre-flashed tasmota firmware. Actually, there is also a PSU breakout board, which uses the micro relay and uses tasmota firmware too.

Check out the full post >>

TeHyBug 18650 Universal Updated Board

TeHyBug 18650 v 1.1.6 Updated board

We’re excited to announce the latest version of our TeHyBug 18650 Universal board, a versatile and easy-to-use solution for a variety of DIY projects. Whether you’re a hobbyist or a professional, the TeHyBug 18650 Universal board offers the flexibility and functionality you need to bring your ideas to life.

The board features a compact design, measuring just 70x20mm, and is compatible with a wide range of popular sensors, including DHT11, DHT22, BME280, and more. With a low quiescent current, the TeHyBug 18650 Universal board won’t drain your battery when it’s not in use, making it an ideal IoT device.

To help you get started with the TeHyBug 18650 Universal board, we’ve provided detailed documentation on our website.

In addition to its versatility and ease-of-use, the TeHyBug 18650 Universal board also features several improvements to its design, including more convenient headers for I2C interfaces, an extra LED indicator, and a reset button.

If you’re interested in learning more about the TeHyBug 18650 Universal board, be sure to check out our website, where you can find more detailed information and purchase the board. We welcome your feedback and suggestions, and we’re always working to improve our products to better meet your needs.

The new updated version of the TeHyBug universal 18650 Board is already available at Tindie.

The difference compared to the previous version:

Old versionNew version
The previous version of the device utilized an ESP-01 Module that came with 1MB memory. It was straightforward to replace or switch out the module, and could be conveniently flashed with an esp-01 programmer. The device also had a display connector integrated on the board. However, since the ESP-01 Module did not support ADC ports, the previous version lacked any such ports.

The updated version of the device features a soldered-to-board ESP-m1 Module that comes with 2MB Memory. Unlike the previous version, this module needs to be flashed directly onto the TeHyBug board. The device no longer has a display connector on the board as a specially designed TeHyBug Display board is available. However, users can still use the i2c Port to connect a display. The new version includes an ADC Port that enables users to connect soil moisture and other ADC sensors. It’s worth noting that the ADC Port is also compatible with one-wire sensors. Another notable feature is the solar panel connector located on the back of the board. This feature makes it possible to charge the battery using a solar panel.

TeHyBug Senseair CO2 Sensor for HomeAssistant and EspHome

We spend over 90% of our time indoors, where the amount of CO2 we exhale has a significant impact on our health and well-being. High CO2 concentrations not only lead to tiredness, headaches and can cause dizziness, they are also a good indicator of when the distribution of aerosols in the air exceeds a value that is more conducive to the spread of coronaviruses. Ventilation therefore reduces the risk of corona infection.

USB dongle with senseair s8 co2 sensor

order link

New TeHyBug device with CO2 Senseair S8 sensor that also supports additional TeHyBug Universal sensors. Unfortunately, the default TeHyBug software is not supported by this new device, it wasn’t developed yet, but you can flash EspHome to it and connect the device to your home assistant, the configuration for EspHome I will post below.

The features:

  • SenseAir S8 CO2 Sensor
  • ESP8285 Wifi Chip that serves the sensor data directly to homeassistant, no zigbee gateway etc. needed.
  • CH340 USB to UART Chip for flashing and programming
  • 4 Buttons: 1 Mode (set flashmode), Reset, IO_5 and IO_14 are free programmable
  • TeHyBug Universal sensor connector to extend the device with. more sensors, like temperature, humidity, barometric air pressure, UV Light or Luminance
  • WS2812B indicator LED, for indicating the Air Quality
With TeHyBug Universal sensor
Check out the full post >>

TeHyBug, an outdoor wifi weather station

outdoor weather station enclosure for a TeHyBug 18650 universal

TeHyBug 18650 Universal is well suited for the outdoor weather station, it large capacity battery which will last for a long (depending on the data frequency and wifi connectivity) it also has a charging circuit, where you can connect a 5.5V solar cell to charge the battery.

TeHyBug 18650 Universal

Swappable sensors provide you many possibilities for measuring environmental data. It has a tight-fit pin header connector that can accept VCC->GND->i2c sensor modules like BME680/BME280/BMP280

Check out the full post >>

Receive TeHyBug alerts and retrieve the latest sensor data in the Telegram messenger

TeHyBug Bot for Telegram messenger exists already for several years, but not many are using it, probably because they don’t know what it is and how to use it.

First of all, you will need a Telegram messenger you can install from the apple app store on iPhone or google play store on Android.

Then open or search for TeHyBot in Telegram and start chatting with it. If it doesn’t start chatting with you automatically type /start and submit. After that, you will receive the chat id number.

Copy the chat id and head over to profile settings and provide there your telegram chat id.

From now you can use the following commands in your TeHyBot chat:

/humidity – to receive the humidity sensor data

/temperature – to receive the temperature sensor data

/chat_id – to receive the chat id again, in case you forgot it.

/help – to show the full list of available commands


You can also define Telegram alerts for your TeHyBug in the alert settings and TeHyBot will send you alert messages.