Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert code to library and usage #42

Open
wants to merge 64 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d517424
Move src/sensor.ino to src/balboaGL.h and start stripping out the AHA…
netmindz Jul 22, 2023
7f203ce
Move src/sensor.ino to src/balboaGL.h and start stripping out the AHA…
netmindz Jul 22, 2023
7871175
Restore sensor.ino
netmindz Jul 22, 2023
214045e
Strip sensor back to minimal
netmindz Jul 22, 2023
bbe6397
Continue removing AHA code from libary
netmindz Jul 22, 2023
f493c93
Continue removing AHA code from libary
netmindz Jul 22, 2023
ca6534b
Continue removing AHA code from libary
netmindz Jul 22, 2023
8f49cbd
Continue removing AHA code from libary
netmindz Jul 22, 2023
6dfce98
Converting sensor.ino to read from library
netmindz Jul 22, 2023
9d080a2
Fix variable scope
netmindz Jul 22, 2023
e381495
Add comment
netmindz Jul 22, 2023
5ea42a8
Fix variable scope - keep as single instance
netmindz Jul 22, 2023
c8b7517
Update status of HA even when messages in queue
netmindz Jul 23, 2023
d09ebfe
Update status of HA even when messages in queue
netmindz Jul 23, 2023
953aad3
Message length tweaks
netmindz Aug 13, 2023
d70ed01
Only send update if the data has actually changed
netmindz Sep 2, 2023
65d4d95
Update balboaGL.h
netmindz Sep 2, 2023
e63e0bc
prevent redef
netmindz Sep 2, 2023
70cf06b
Remove template signatures
netmindz Sep 3, 2023
ad7860d
Move library
netmindz Sep 3, 2023
d42ad51
Split header and cpp
netmindz Sep 3, 2023
924e233
Move constants
netmindz Sep 3, 2023
a01d02c
#include <Arduino.h>
netmindz Sep 3, 2023
7e09dec
fix include
netmindz Sep 3, 2023
436d24a
Library updates
netmindz Sep 3, 2023
b61e4f9
Move to external library
netmindz Sep 3, 2023
0828561
Use OO version of library
Sep 22, 2023
64bd00e
Use spa.readSerial
Sep 22, 2023
83daa2c
Pass the serial port to the library
netmindz Sep 24, 2023
4be881e
Use explict library version
netmindz Sep 24, 2023
b7cef8d
Disable ESP8266 builds
netmindz Sep 24, 2023
ebc6abc
Merge in changed from main
netmindz Sep 24, 2023
3e5ce49
Fix compile errors
netmindz Sep 24, 2023
d7107ff
Add tempFromF and LCD using updated library
netmindz Oct 7, 2023
9d49d6b
Fix web when no connection
netmindz Oct 7, 2023
0ca7dbd
rename panelSelectDetected
netmindz Oct 7, 2023
481d58a
Swap OTA to webota given ArduinoOTA broken
netmindz Oct 7, 2023
7dc6956
Use libary version with correct send message size
netmindz Oct 14, 2023
0abb5a0
Merge branch 'main' into library
netmindz Oct 21, 2023
4ff6b75
attachInterrupt
netmindz Oct 21, 2023
1a5f69a
webota.onstart
netmindz Oct 26, 2023
83d9fc7
webota.onstart
netmindz Oct 26, 2023
e1b598b
webota.onStart
netmindz Oct 26, 2023
29ef4e7
Delay 1 per second
netmindz Oct 26, 2023
f707f26
USe filter
netmindz Oct 26, 2023
778407d
library update - delayed sending 500ms
netmindz Oct 26, 2023
c9d98fb
spa.attachPanelInterrupt
netmindz Oct 26, 2023
4db0cd5
commandQueueSize
netmindz Oct 26, 2023
696cd54
Add Aux
netmindz Oct 26, 2023
5a7645b
Remove progress
netmindz Oct 26, 2023
21cf17d
log config
netmindz Oct 26, 2023
d438979
Set log level
netmindz Oct 26, 2023
5f2524f
Simplify code using higher level wrapper calls
netmindz Oct 26, 2023
a4c5899
library update - pending commands
netmindz Oct 27, 2023
b271c01
Tweaks
netmindz Oct 28, 2023
df14f35
Update to latest library
netmindz Nov 3, 2023
b42ba1b
Update to latest library
netmindz Nov 3, 2023
a34f0b5
Swap to using setters not direct commands
netmindz Nov 4, 2023
f66822f
Library update
netmindz Nov 4, 2023
945ab5f
Tweaks
netmindz Nov 4, 2023
aec62c1
library update with timing
netmindz Nov 12, 2023
83ed181
setTemp fix
netmindz Nov 23, 2023
ba307c0
spa.readSerial returns panelSelect
netmindz Dec 1, 2023
6c03400
Set platform version
netmindz Sep 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions sensor/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,22 @@ 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/scottchiefbaker/ESP-WebOTA.git#aefb6c1a9190601b12b973a0c1cce39cb4e0f453
https://github.com/netmindz/ESP-WebOTA.git#disable-interrupts
https://github.com/netmindz/balboaGL.git#ad363756b024714c89deea2e1473859dd863971f
build_flags=
-DtubUART=UART_NUM_1
-DCORE_DEBUG_LEVEL=2
monitor_filters = esp32_exception_decoder

[esp32]
platform = espressif32@~6.3.2

[env:wemos_d1_mini32]
platform = espressif32
platform = ${esp32.platform}
board = wemos_d1_mini32

[env:remote_wemos_d1_mini32]
platform = espressif32
platform = ${esp32.platform}
board = wemos_d1_mini32
upload_protocol = espota
upload_port = hottub-sensor
Expand All @@ -36,12 +43,13 @@ upload_flags =
--timeout=60
; --host_ip=192.168.178.107

[env:d1_mini_lite]
board = d1_mini_lite
platform = espressif8266
; Library doesn't support SoftwareSerial
; [env:d1_mini_lite]
; board = d1_mini_lite
; platform = espressif8266

[env:t-rsc3] ; Lilygo T-RSC3
platform = espressif32
platform = ${esp32.platform}
board = esp32-c3-devkitm-1
lib_deps =
${env.lib_deps}
Expand All @@ -50,7 +58,8 @@ build_flags =
-D RSC3
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DtubUART=UART_NUM_1

[env:pico32]
platform = espressif32
board = pico32
platform = ${esp32.platform}
board = pico32
33 changes: 0 additions & 33 deletions sensor/src/constants.h

This file was deleted.

Loading
Loading