Comments (9)
Euh, this was indeed a different bug. I have fixed the Docker images. They should work again. Would be great if you can run the :latest
image again
from terrariumpi.
Sorry for the late reply. But this is strange. Is this happening every evening?
The difference between your light and sunrise - sunset areas could be a day difference calculation. One area is one day ahead. After 24 hours, I expect that they should be the same.
I have to look into this, as I do not have this issue, while I have almost the same setup with the lights based on weather data. And also with a delay (only 30 min). So we have almost the same setup.
I have an idea, but that will take some time to test.
from terrariumpi.
It hasn't happened for a few days now.
I noticed something today: when I went into the Main Lights settings, and changed the "Maximum hours" from 14 to 15, both times displayed on the main Enclosures list showed the same - they got aligned!
Makes me wonder if this could be the root problem for the issue I had with the light that turns on one hour after light cut-off...
EDIT: When I went back in the Main Lights settings and changed it again from 15 to 14, it showed again the wrong times..
I believe that what it does is it calculates from the middle-point of the day for the maximum hours duration, not from the start, so like this:
from terrariumpi.
You conclusion about the maximum hours is correct. This looks the best to me. The same goes for the min amount of hours. That will also recalculate from the middle of the day (sun rise - set period).
But the problem here is I think that when the day is over, a new day is calculated. And for me that means 6 min more light every day going to summer period. 3 min earlier and 3 minutes longer. And that 3 minutes longer, is probably the problem. That will trigger the lights to go on, just after the lights went off. I should probably fix the new day calculation code. But that is already complex.
So for now, I have created a settle time of 15 minutes. And that should fix this issue for now.
In order to test this, you need to switch to the bookworm
branch. And rerun the installer. I hope you know how to switch branches.
from terrariumpi.
Oh crap, this is a docker install. That needs a new build/release. But I will release a new version this weekend with this fix.
from terrariumpi.
New docker images are build. The version numbering has changed a bit https://theyosh.github.io/TerrariumPI/posts/2024/05/11/release-terrariumpi-v-4-9-0/#docker
from terrariumpi.
Did the docker updates solved this issue?
from terrariumpi.
Sorry for taking long to respond. I just upgraded the system. I will close the issue for now and reopen if issue persists. Thanks!
from terrariumpi.
As I was upgrading the system, I got errors due to the new builds. This is from docker logs:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
I first tried with the latest
tag, as it was before. The docker wouldn't start. Then I started trying specific version, like 4.9.1-bookwork-java, 4.9.0-buster, but none worked.
I even tried sudo apt-get install netcat-traditional
due to that command in run.sh failing (in my logs).
It only worked and started again when I downgraded to 4.8.4
from terrariumpi.
Related Issues (20)
- [FEATURE]: TAPO P100 smart relay support HOT 31
- [FEATURE]: Add a way to offset weather by months HOT 6
- [BUG]: Unprogrammed relays are activating randomly. HOT 13
- [FEATURE]: Sort Order of the enclosures HOT 12
- [BUG]: Mobile responsive view HOT 2
- [BUG]: Low/High alarm deviation values not showing HOT 4
- [BUG]: Kasa relay not shutting off HOT 22
- Not an issue just some help needed! HOT 2
- [BUG]: Relays toggle off and immediately on, despite of Settle Time HOT 6
- [BUG]: Missing Sensirion SHTxx Sensors? HOT 17
- [BUG]: Dimming not working as expected HOT 18
- [FEATURE]: Obfuscate password attempts in logs HOT 4
- [FEATURE]:PWM Fan Control HOT 2
- [BUG]: No MQTT Connection after v4.9.0 upgrade HOT 6
- [BUG]: No Startup after Upgrade HOT 20
- [BUG]: Camera and Relays not working after Upgrade and Titles of Sensors erased HOT 19
- [BUG]: Clear the screen between messages for 20x4 LCD display HOT 14
- [FEATURE]: Modify "mail_from" via GUI settings HOT 8
- [FEATURE]: support for Meross MS100FH HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terrariumpi.