This commit is contained in:
Ricardo (XenGi) Band 2026-08-28 22:19:26 +02:00
commit ffe390c782
No known key found for this signature in database
15 changed files with 52091 additions and 10 deletions

8
.gitignore vendored
View file

@ -1,8 +1,8 @@
Containerfile Containerfile
models.json models.json
# Created by https://www.toptal.com/developers/gitignore/api/windows,linux,macos,direnv,vim,clion+all,esp-idf # Created by https://www.toptal.com/developers/gitignore/api/windows,linux,macos,direnv,vim,clion+all
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,linux,macos,direnv,vim,clion+all,esp-idf # Edit at https://www.toptal.com/developers/gitignore?templates=windows,linux,macos,direnv,vim,clion+all
### CLion+all ### ### CLion+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
@ -96,8 +96,6 @@ fabric.properties
.direnv .direnv
.envrc .envrc
#!! ERROR: esp-idf is undefined. Use list command to see defined gitignore types !!#
### Linux ### ### Linux ###
*~ *~
@ -191,4 +189,4 @@ $RECYCLE.BIN/
# Windows shortcuts # Windows shortcuts
*.lnk *.lnk
# End of https://www.toptal.com/developers/gitignore/api/windows,linux,macos,direnv,vim,clion+all,esp-idf # End of https://www.toptal.com/developers/gitignore/api/windows,linux,macos,direnv,vim,clion+all

View file

@ -1,3 +1,14 @@
# temphummon # temphummon
Matter over Thread Temperature and humidity monitor Temperature and humidity monitor using Matter over Thread.
Based on the ESP32-H2 and Waveshare Segment E-Paper display.
## BOM
| Product | Price | Wiki |
| ------- | ----- | ---- |
| [ESP32-H2 Zero](https://www.waveshare.com/esp32-h2-zero.htm?sku=32261) | 3.01 € | [wiki](https://docs.waveshare.com/ESP32-H2-Zero) |
| [1.9inch Segment E-Paper Module](https://www.waveshare.com/product/displays/e-paper/1.9inch-segment-e-paper-module.htm) | 9.47 € | [wiki](https://www.waveshare.com/wiki/1.9inch_Segment_e-Paper_Module_Manual) |
Matter over Thread Temperature and humidity monitor

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
datasheets/IST7134.pdf Normal file

Binary file not shown.

Binary file not shown.

18
firmware/.gitignore vendored Normal file
View file

@ -0,0 +1,18 @@
.pytest_cache/
__pycache__/
# esp-idf built binaries
build/
build_*_*/
sdkconfig
# idf-ci build run output
build_summary_*.xml
app_info_*.txt
size_info_*.txt
# pytest-embedded log folder
pytest_embedded_log/
# idf-component-manager output
dependencies.lock

6
firmware/CMakeLists.txt Normal file
View file

@ -0,0 +1,6 @@
# The following five lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.22)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(temphummon)

View file

@ -0,0 +1,2 @@
idf_component_register(SRCS "temphummon.c"
INCLUDE_DIRS ".")

View file

@ -0,0 +1,6 @@
#include <stdio.h>
void app_main(void)
{
}

View file

@ -22,7 +22,6 @@
flake-utils.lib.eachDefaultSystem ( flake-utils.lib.eachDefaultSystem (
system: system:
let let
idfVersion = "v6.0.1";
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = [ (import "${nixpkgs-esp-dev}/overlay.nix") ]; overlays = [ (import "${nixpkgs-esp-dev}/overlay.nix") ];
@ -53,7 +52,7 @@
echo "$PORT" echo "$PORT"
''; '';
esp-idf = pkgs.esp-idf-full.override { esp-idf = pkgs.esp-idf-full.override {
rev = idfVersion; rev = "v6.0.1";
sha256 = "sha256-4KJa686qc+u7XkF/GS2o53l1SpwP2EmdqAn/qmlL1yU="; sha256 = "sha256-4KJa686qc+u7XkF/GS2o53l1SpwP2EmdqAn/qmlL1yU=";
}; };
in in
@ -68,7 +67,7 @@
build-agent = { build-agent = {
type = "app"; type = "app";
program = "${pkgs.writeShellScript "build-agent" '' program = "${pkgs.writeShellScript "build-agent" ''
podman build -t pidev:latest -f Containerfile . podman build -t pidev:latest -f Containerfile --no-cache .
''}"; ''}";
}; };
menuconfig = { menuconfig = {
@ -80,7 +79,7 @@
}; };
build = { build = {
type = "app"; type = "app";
meta.description = "🧱 Build ESP32 firmware using ESP-IDF ${idfVersion}"; meta.description = "🧱 Build ESP32 firmware using ESP-IDF";
program = "${pkgs.writeShellScriptBin "idf-build" '' program = "${pkgs.writeShellScriptBin "idf-build" ''
${esp-idf}/tools/idf.py build ${esp-idf}/tools/idf.py build
''}/bin/idf-build"; ''}/bin/idf-build";