Skip to content

Commit

Permalink
Merge branch 'main' into aux
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz authored Oct 21, 2023
2 parents c8ffd8c + 0b5894c commit 459a488
Show file tree
Hide file tree
Showing 6 changed files with 258 additions and 65 deletions.
21 changes: 21 additions & 0 deletions dashboard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
title: Hottub
type: entities
entities:
- entity: sensor.status
- entity: select.mode
- entity: climate.target_temp
- entity: sensor.tub_temperature
- entity: sensor.target_tub_temp
- entity: binary_sensor.heater
- entity: switch.light
- entity: select.pump1
- entity: select.pump2
- entity: button.mode
- entity: button.up
- entity: button.down
- entity: sensor.post_temp
- entity: sensor.raw_data
- entity: sensor.cmd
- entity: sensor.tub_power
- entity: sensor.time
- entity: button.time
21 changes: 21 additions & 0 deletions sensor/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]

default_envs = wemos_d1_mini32

[env]
monitor_speed = 115200
framework = arduino
lib_deps =
https://github.com/dawidchyrzynski/arduino-home-assistant.git#2.0.0
links2004/WebSockets@^2.3.7
https://github.com/EinarArnason/ArduinoQueue.git@^1.2.5
https://github.com/netmindz/ESP-WebOTA.git#disable-interrupts


[env:wemos_d1_mini32]
platform = espressif32
Expand All @@ -33,3 +39,18 @@ upload_flags =
[env:d1_mini_lite]
board = d1_mini_lite
platform = espressif8266

[env:t-rsc3] ; Lilygo T-RSC3
platform = espressif32
board = esp32-c3-devkitm-1
lib_deps =
${env.lib_deps}
https://github.com/adafruit/Adafruit_NeoPixel.git#1.11.1
build_flags =
-D RSC3
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1

[env:pico32]
platform = espressif32
board = pico32
Binary file removed sensor/src/.sensor.ino.swp
Binary file not shown.
6 changes: 6 additions & 0 deletions sensor/src/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@
#else
#define AUX_STATE_HIGH 1
#endif

#define STATUS_BOOT 0
#define STATUS_WIFI 2
#define STATUS_OK 1
#define STATUS_WAITING_DATA 3
#define STATUS_WAITING_PANEL 4
Loading

0 comments on commit 459a488

Please sign in to comment.