u-fire / ESPHomeComponents

Components for Microfire sensors that can be used in ESPHome and Home Assistant.
8 stars 7 forks source link

ESPHome Components

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

Use

There are several examples:


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 🤙

Website

microfire.co