130 Commits

Author SHA1 Message Date
Philip Howard
7513fde92a Merge pull request #40 from damacus/ci-deps
Update GitHub Actions versions
2024-01-11 11:45:55 +00:00
Dan Webb
2467467f15 Update GitHub Actions versions
Signed-off-by: Dan Webb <dan.webb@damacus.io>
2024-01-10 21:16:04 +00:00
Philip Howard
b04b7445cf Merge pull request #37 from damacus/fix-broken-bracket
Fix ] in the if statement on line 64
2023-12-11 10:59:31 +00:00
Dan Webb
70eb9b3c02 Fix ] in the if statement on line 64
- Also fixes a number of shellcheck errors which prevents future errors

Signed-off-by: Dan Webb <dan.webb@damacus.io>
2023-11-27 21:16:17 +00:00
Philip Howard
3120a7e789 Merge pull request #35 from pimoroni/patch-remove-defunct-install-script
Remove old install script.
2023-11-17 09:32:59 +00:00
Phil Howard
cbc0cd1c21 Remove old install script. 2023-11-17 09:32:28 +00:00
Philip Howard
5888976cb8 Merge pull request #34 from pimoroni/repackage
Repackage to latest boilerplate
2023-11-17 09:26:29 +00:00
Phil Howard
da86dbf4a7 QA: Update workflows. 2023-11-17 09:24:21 +00:00
Phil Howard
6c1426daeb QA: Apply or suppress codespell suggestions. 2023-11-17 09:22:35 +00:00
Phil Howard
c1adbd0d59 QA: Fix ruff suggestions. 2023-11-17 09:20:27 +00:00
Phil Howard
bebe4504ed Repackage to latest boilerplate. 2023-11-17 09:18:30 +00:00
Philip Howard
6924c10115 Merge pull request #28 from tomjn/patch-1
Turn off Backlight when the screen is black/blank
2023-09-07 10:44:53 +01:00
Tom J Nowell
2b0c8aefd7 Update monitor.py to use the new sleep and wake functions
also moved wake one line forward so the display isn't on but not updated while rendering
2023-08-07 15:32:05 +01:00
Tom J Nowell
09d294600a Update setup.cfg to use st7735>=0.0.5 2023-08-07 15:28:30 +01:00
Tom J Nowell
0287117d86 turn off the backlight when setting the screen to blank 2023-07-27 13:31:31 +01:00
Philip Howard
3fff6ffea2 Merge pull request #31 from pimoroni/patch-ci-version
CI: Bump Python versions.
2023-07-26 15:27:20 +01:00
Philip Howard
9749bc5b5c Merge pull request #29 from tomjn/patch-2
Don't render on each frame when the display is blank
2023-07-26 15:15:01 +01:00
Phil Howard
581a025b2e CI: Bump Python versions. 2023-07-26 15:10:13 +01:00
Tom J Nowell
6c0a703879 Don't render on each frame when the display is blank
What's the point in updating `image` if we're just going to display the blank one anyway? This should save a tiny bit of CPU/power
2023-07-22 15:17:54 +01:00
Philip Howard
b1c4ed2f89 Merge pull request #27 from pimoroni/jorjun-master
Example moisture-reading web API (aiohttp) (replaces #21)
2023-01-19 16:36:09 +00:00
jorjun
7ed9f7fca1 tidy up PR
Thanks for feedback and for publishing this.

Co-authored-by: Phil Howard <phil@gadgetoid.com>
2023-01-19 16:26:17 +00:00
jorjun
90c351e6e3 Revert "Example moisture-reading web API (aiohttp)"
This reverts commit dfa1e464ec.
2023-01-19 16:23:05 +00:00
jorjun
acbff3e98d Example moisture-reading web API (aiohttp) 2023-01-19 16:23:05 +00:00
Philip Howard
d26623e4be Merge pull request #26 from pimoroni/patch-ci-python-versions
CI: Update Python versions.
2023-01-19 16:20:06 +00:00
Phil Howard
a20a054c0f CI: Fix CI workflow. 2023-01-19 16:18:01 +00:00
Philip Howard
a218cea193 Merge pull request #19 from pimoroni/patch-bullseye-service
Install service on Bullseye for #18
2022-01-31 12:46:31 +00:00
Phil Howard
1faf1fe520 Pass --unstable flag to install-bullseye.sh 2022-01-31 12:33:47 +00:00
Phil Howard
eb205b8987 Install service on Bullseye for #18 2021-11-25 10:50:30 +00:00
Philip Howard
1c7d96751d Merge pull request #17 from pimoroni/patch-bullseye-installer
Add Bullseye installer
2021-11-09 12:11:47 +00:00
Phil Howard
6f69685713 Add Bullseye installer 2021-11-09 12:10:13 +00:00
Philip Howard
9ddb040294 Merge pull request #6 from shane-powell/master
Add light sensitivity to config. Add option to draw black to screen when low light level hit.
2021-08-27 22:57:11 +01:00
Philip Howard
f80dadb0e6 Merge pull request #14 from frak/add-water-level-to-config
Add water_level to channel config
2021-05-06 10:04:49 +01:00
Michael Davey
e3f7cd3885 Add water_level to channel configs 2021-05-05 16:56:44 +01:00
Phil Howard
bc5fec56c6 Prep for v0.0.2 v0.0.2 2021-03-09 10:29:18 +00:00
Philip Howard
71f2e90f92 Merge pull request #5 from pimoroni/watering-ui
Watering UI
2021-03-09 09:24:55 +00:00
Phil Howard
ad47ee1c98 Workaround coveralls bug 2021-03-08 18:17:19 +00:00
Phil Howard
d20d8f6ced Add water level configuration 2021-03-08 18:12:03 +00:00
Phil Howard
9559a05a41 Ensure pump actually stops and releases lock 2021-03-08 18:12:03 +00:00
Phil Howard
4aa4119fd7 Add watering settings to UI 2021-03-08 18:12:03 +00:00
Phil Howard
85db231475 Make pumps mutually exclusive
Forces only one pump to be active at a time, to avoid the sudden inrush current browning out the Pi or causing weirdness when multiple pumps fire and drop the voltage.
2021-03-08 18:12:03 +00:00
shane-powell
fa7a91061b Trigger GitHub actions 2020-11-12 08:13:11 +00:00
Philip Howard
0dc091d05f Switch to GitHub actions workflow (#7)
* Add GitHub actions workflow
* Drop Python 3.4, add 3.6
* Remove .travis.yml
2020-11-11 21:51:10 +00:00
shane-powell
7e2560901d Remove PyCharm file. 2020-11-09 13:39:21 +00:00
shane-powell
0ce48689e5 Fixed general call. 2020-11-09 10:43:42 +00:00
shane-powell
ad4e288fe1 Fixed string 2020-11-09 10:41:33 +00:00
shane-powell
696d406155 Update printing of config values. 2020-11-09 10:30:19 +00:00
shane-powell
309b098c7c Add new features to config file. 2020-11-09 09:57:04 +00:00
shane-powell
a82c2055c9 Decrese light threshold some more. 2020-11-09 08:21:23 +00:00
shane-powell
d84ea56e23 Decrese low light level threshold. 2020-11-09 08:17:41 +00:00
shane-powell
ef21b5e5f4 Lets try actually setting black instead of white. 2020-11-09 08:11:29 +00:00