Comments (1)
Es gibt jetzt noch mehr Events bei time.tick.
OnTimeMinute für jede Minute
OnTimeMinuteEvenNumber für jede gerade Minute (z.B. 2, 4, 6, 8, ...)
OnTimeMinuteUnevenNumber für jede ungerade Minute (z.B. 1, 3, 5, ...)
OnTimeMinuteX wobei X für eine Zahl zwischen 0 und 59 steht.
OnTimeMinuteEvery5 für aller 5 Minuten
das gleiche gibt es für Stunde mit
OnTimeHour
OnTimeHourEvenNumber
OnTimeHourUnevenNumber
OnTimeHourX
weitere Events findet man in der Status-Ausgabe (Web oder Konsole) unter events.
Ein Event kann in die Konfig-Datei integriert werden in dem es als einzelne Sektion geschrieben wird. Es muss dabei EVENT_ vorangestellt werden um eine Abgrenzung zu anderen Konfig-Einträgen deutlich zu machen.
z.B.
[EVENT_OnTimeMinuteEvery5]
10 = statusfile:/var/log/doorpi/status.log,last status: %Y-%m-%d %H-%M-%S
Durch die 10 als Key in dieser Sektion wird die Reihenfolge der Aktionen definiert, sofern mehrere vorhanden sind.
[EVENT_OnTimeMinuteEvery5]
10 = statusfile:/var/log/doorpi/status.log,last status: %Y-%m-%d %H-%M-%S
20 = statusfile:/home/pi/tmp/hallomeldung.log,ich bin die zweite Datei
in dem Fall würde zuerst die Status-Datei unter /var/log/doorpi/status.log geschrieben und erst danach die Datei /home/pi/tmp/hallomeldung.log
from doorpi.
Related Issues (20)
- Commit to SQLite missing in handler.py HOT 1
- Anleitung ist an einer Stelle irreführend HOT 1
- RasPi Temperatur in der WebIf HOT 2
- FriendlyElec NanoPi Neo Kompatibilität HOT 1
- button_pressed HOT 3
- Probleme mit DoorPi / und SIP -Fone HOT 2
- alternativer SIP client zu linphone HOT 5
- USB Keyboard intregration HOT 2
- how to configure user id HOT 1
- [Wunsch] event network connection changed HOT 2
- Link zur Installationsanleitung HOT 3
- DoorPi successfully shut down HOT 2
- Installation von pjsip nicht möglich HOT 1
- [Feature request] Supporting MQTT
- Umstellung Build System Interface
- Integration pylint bei PR zu master HOT 1
- Integration test-suite bei PR zu master
- Integration PyPI-Veröffentlichung bei merge auf master
- Integration i18n und i10n
- SQLite aus DoorPi entfernen
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 doorpi.