Comments (10)
I think that making async work properly would require a decent amount of changes to the logic. Currently just making it async (or a thread) might lead to funky stuff happening while it was processing the appointment times. The quick and dirty solution is just to reduce the frequency with which google is checked.
from hometime.
Do you have an example of the Thonny console output when this happens?
from hometime.
Not yet, I send you the output, when im home
from hometime.
Idk why but it shows the Blink function gets executed, I will close this issue for now, if the problem persist I will reopen it.
from hometime.
I found the issue, when google updates while an event should trigger or the day ends, it doesn't get triggert, can you make the google update async? I do not know how to use async on micropython.
from hometime.
The problem is there again, sometimes events doesnt trigger, i don't know why. The log is just "Working=True ..."
from hometime.
Do you have the thonny output from a time it happens?
from hometime.
There is no special output, its just Working=True, clockin=7.75, clockout=18.33, hoursin=17.73 ...
Also when you delete a reocurring event only for one day (not permanent) it still shows up on the Bar
from hometime.
from the google api, I cant find any diffrences there ...
from hometime.
The only real difference that I see is the duration.
This is the point where it would make sense to think about an improved logic that has some kind of callback to make sure that events are flagged at the exact time you want.
from hometime.
Related Issues (16)
- Hardware Question HOT 1
- Hometime HOT 4
- Event date parsing gives error for zones west of Z HOT 3
- How to add API Key on google calendar HOT 8
- GUI improvment HOT 2
- Google Calendar - "Scheduling Issues" HOT 8
- Improvement for WIFI credentials HOT 9
- Question about configuring the Google Calendar integration HOT 2
- Bar not working when Flip is true HOT 1
- Code problems HOT 14
- Tutorial HOT 4
- False Working Hours HOT 5
- Possible length bug HOT 1
- Events are not displayed on the bar HOT 29
- 2 Colors HOT 3
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 hometime.