Skip to content

Commit

Permalink
update working with 20204.10.2 esphome
Browse files Browse the repository at this point in the history
  • Loading branch information
mzakharo committed Dec 18, 2024
1 parent 562c1bf commit 4832edd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
- NOTE: You can skip the ambient sensor removal step

## [Firmware](https://github.com/mzakharo/tubby/blob/main/tubby.yaml)
- Install [esphome](https://esphome.io/guides/installing_esphome) (Tested Version: 2023.12.5)
- Install [esphome](https://esphome.io/guides/installing_esphome) (Tested Version: 2024.10.2)
- copy `wifi_example.yaml` to `wifi.yaml` and edit the new file
- Connect the board via USB and enter `esphome run tubby.yaml` on the command line. This will build and upload firmware to the board.
- In Home Assistant, create a helper switch `input_boolean.ota`. Enable this switch, it will prevent device `Deep` sleep.
Expand Down
9 changes: 5 additions & 4 deletions tubby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ esphome:
name: tubby
name_add_mac_suffix: true
libraries:
- tflm_esp32
- tflm_esp32=https://github.com/eloquentarduino/tflm_esp32.git#1.0.0
includes:
- light_sleep.h
on_boot:
Expand Down Expand Up @@ -33,6 +33,7 @@ logger:
api:
password: ""
ota:
platform: esphome
password: ""

# Sensor settling time from Power On
Expand Down Expand Up @@ -129,7 +130,7 @@ sensor:
update_interval: 0.1s
entity_category: "diagnostic"
device_class: "voltage"
attenuation: 11db
attenuation: 12db
unit_of_measurement: "mV"
id: "orp"
accuracy_decimals: 0
Expand All @@ -148,7 +149,7 @@ sensor:
update_interval: 0.1s
entity_category: "diagnostic"
device_class: "voltage"
attenuation: 11db
attenuation: 12db
unit_of_measurement: "mV"
id: "ph_raw"
accuracy_decimals: 0
Expand All @@ -168,7 +169,7 @@ sensor:
update_interval: 0.1s
unit_of_measurement: "%"
accuracy_decimals: 0
attenuation: 11db
attenuation: 12db
filters:
- median:
window_size: 19
Expand Down

0 comments on commit 4832edd

Please sign in to comment.