GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - u-fire/ESPHomeComponents: Components for Microfire sensors that can be used in ESPHome and Home Assistant.

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
esphome/components
esphome/components
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
example_ec_ph_dallas.yaml
example_ec_ph_dallas.yaml
 
 
example_ec_ph_ntc.yaml
example_ec_ph_ntc.yaml
 
 
example_ec_ph_orp_dallas.yaml
example_ec_ph_orp_dallas.yaml
 
 
example_leaf_vpd.yaml
example_leaf_vpd.yaml
 
 
example_mlx90614.yaml
example_mlx90614.yaml
 
 
example_mod_chrg.yaml
example_mod_chrg.yaml
 
 
example_mod_ec.yaml
example_mod_ec.yaml
 
 
example_mod_ec_dallas.yaml
example_mod_ec_dallas.yaml
 
 
example_mod_ntc.yaml
example_mod_ntc.yaml
 
 
example_mod_orp.yaml
example_mod_orp.yaml
 
 
example_mod_ph.yaml
example_mod_ph.yaml
 
 
example_mod_ph_dallas.yaml
example_mod_ph_dallas.yaml
 
 
example_sht30_espnow.yaml
example_sht30_espnow.yaml
 
 
example_sht3x_lora.yaml
example_sht3x_lora.yaml
 
 
lora_mqtt_bridge.yaml
lora_mqtt_bridge.yaml
 
 
now_mqtt_bridge.yaml
now_mqtt_bridge.yaml
 
 
now_mqtt_eth_bridge.yaml
now_mqtt_eth_bridge.yaml
 
 
package-lock.json
package-lock.json
 
 

Repository files navigation

ESPHome Components

This repo contains components for Microfire sensors that can be used in ESPHome and Home Assistant.

Use

There are several examples:

  • example_mod_ec.yaml: Mod-EC used by itself
  • example_mod_ec_dallas.yaml: Mod-EC that uses a Dallas DS18B20 as a water temperature source
  • example_mod_ph.yaml: Mod-pH used by itself
  • example_mod_ph_dallas.yaml: Mod-pH that uses a Dallas DS18B20 as a water temperature source
  • example_mod_orp.yaml: Mod-ORP used by itself
  • example_ec_ph_dallas.yaml: Mod-EC, Mod-pH and DS18B20 used together
  • example_ec_ph_orp_dallas.yaml: Mod-EC, Mod-pH, Mod-ORP and DS18B20 used together
  • example_mod_ntc.yaml: Mod-NTC used by itself
  • example_mlx90614.yaml: MLX90614 by itself
  • example_leaf_vpd.yaml: MLX90614 and SHT3x sensors to calculate leaf VPD

Temperature Compensation

For conductivity and pH measurements, the temperature of the liquid is important. For accurate measurements, a temperature sensor is needed.

Mod-EC

The component has several optional configuration variables. See example_mod_ec_dallas.yaml for how it is used.

  • temperature_sensor - the ID of a temperature sensor, if not provided, 25°C is used.
  • temperature_coefficient - Defaults to 0.019 - The temperature coefficient to use for compensation. This is usually 0.019 for freshwater/hydroponics/pools, and 0.021 for saltwater. Other liquids have different coefficients.
  • temperature_constant - Defaults to 25.0 - The temperature to adjust the measurement to. For example, the default of 25°C will adjust the measured value as if the water was 25°C.

Mod-pH

The component has several optional configuration variables. See example_mod_ph_dallas.yamlfor how it is used.

  • temperature_sensor - the ID of a temperature sensor, if not provided, 25°C is used.

Mod-NTC

The component has several optional configuration variables. See example_mod_ntc.yamlfor how it is used.

  • beta - the beta calibration value of the attached NTC temperature sensor.

Calibration

Each sensor example comes with calibration controls. They are implemented with lamdas within Home Assistant.

An example of the lambda:

  - platform: template
    id: ec_calibrate_low
    name: EC Calibrate Low 0.1
    icon: mdi:format-vertical-align-bottom
    on_press:
        lambda: |-
          id(ec).calibrateLow(0.1);

To change the particular low-point calibration, edit the 2 0.1 points to match your solution. Do the same thing for mid- and high-points as needed.

Mod-EC

The Mod-EC sensor can use up to three calibration points: low, mid, and high. A single point can also be used. Read the datasheet for detailed information.

Mod-pH

The Mod-pH sensor can use up to three calibration points: low, mid, and high. A single point can also be used. Read the datasheet for detailed information.

Mod-ORP

The Mod-ORP sensor uses a single point. Read the datasheet for detailed information.

Mod-NTC

The Mod-NTC sensor uses a beta value, typically provided by the NTC manufacturer. Read the datasheet for detailed information.

Hardware

All components can be purchased at microfire.co.


Previous Versions

A big thanks to Pascal Vizeli and Jesse Hills for porting our older sensors to ESPHome. They were a great starting point for these components.


Ask a question 🤙

  • Discord
  • [email protected]

Website

microfire.co

About

Components for Microfire sensors that can be used in ESPHome and Home Assistant.

Resources

Readme
Activity
Custom properties

Stars

20 stars

Watchers

2 watching

Forks

21 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.