FRANCAIS ------------------------------------------------------------------------------
Bonjour,
Je cherche à effectuer un test de l'heure, comprise entre 7h00 pm et 9h00 am.
J'ai une tablette qui s'allume automatiquement par le système à 9h00 am et qui s’éteint, aussi par le système à 7h00 pm.
Il est arrivé deux erreurs
1) La tablette ne s'arrête pas à 7h00 pm, j'ai réglé le problème avec Macrodroid -> Si il est 7h05 alors j'arrête la tablette
2) La tablette se rallume pendant la nuit et là la seule solution que j'ai trouvé est,
si l'heure est comprise entre 7h00 pm et 9h00 am alors Macrodroid arrête la tablette.
Je ne trouve pas la formule du test, pouvez-vous m'aider, SVP ? Merci
(Je ne comprend pas pourquoi la tablette se rallume toute seule pendant la nuit.)
J'ai une macro qui démarre avec Macrodroid, Je pourrai tester l'heure à ce moment là et en déduire que c'est un démarrage intempestif, du genre:
Variable NUIT (booléen)
NUIT={hour}>7 or {hour}<9
Si NUIT alors arrêt
Ou plus direct
Si {hour}>7 or {hour}<9
alors Arrêt
FinSi
Merci de me spécifier l'écriture exacte, je n'ai pas très bien capté malgré le tuto en anglais.
ENGLISH --------------------------------------------------------------------------------------------
Hello,
I am looking to test the time between 7:00 pm and 9:00 am.
I have a tablet that is automatically turned on by the system at 9:00 am and turned off, also by the system at 7:00 pm.
It happened two errors
1) The tablet does not shut down at 7:00 am, I fixed the problem with Macrodroid -> If it is 7:05 am then I shut down the tablet
2) The tablet turns on again during the night and there the only solution I found is,
if the time is between 7:00 pm and 9:00 am then Macrodroid stops the tablet.
I can't find the trigger formula, can you help me please? Thanks
I don't understand why the tablet turns itself back on during the night.
I have a macro that starts with Macrodroid, I could test the time at that moment and deduce that it is a false start, like:
Variable NIGHT (boolean)
NIGHT={hour}>7 or {hour}<9
If NIGHT then stop
Or more directly
If {hour}>7 or {hour}<9
then Stop
EndIf
Thank you for specifying the exact writing, I did not understand very well despite the tutorial in English.
Bonjour,
Je cherche à effectuer un test de l'heure, comprise entre 7h00 pm et 9h00 am.
J'ai une tablette qui s'allume automatiquement par le système à 9h00 am et qui s’éteint, aussi par le système à 7h00 pm.
Il est arrivé deux erreurs
1) La tablette ne s'arrête pas à 7h00 pm, j'ai réglé le problème avec Macrodroid -> Si il est 7h05 alors j'arrête la tablette
2) La tablette se rallume pendant la nuit et là la seule solution que j'ai trouvé est,
si l'heure est comprise entre 7h00 pm et 9h00 am alors Macrodroid arrête la tablette.
Je ne trouve pas la formule du test, pouvez-vous m'aider, SVP ? Merci
(Je ne comprend pas pourquoi la tablette se rallume toute seule pendant la nuit.)
J'ai une macro qui démarre avec Macrodroid, Je pourrai tester l'heure à ce moment là et en déduire que c'est un démarrage intempestif, du genre:
Variable NUIT (booléen)
NUIT={hour}>7 or {hour}<9
Si NUIT alors arrêt
Ou plus direct
Si {hour}>7 or {hour}<9
alors Arrêt
FinSi
Merci de me spécifier l'écriture exacte, je n'ai pas très bien capté malgré le tuto en anglais.
ENGLISH --------------------------------------------------------------------------------------------
Hello,
I am looking to test the time between 7:00 pm and 9:00 am.
I have a tablet that is automatically turned on by the system at 9:00 am and turned off, also by the system at 7:00 pm.
It happened two errors
1) The tablet does not shut down at 7:00 am, I fixed the problem with Macrodroid -> If it is 7:05 am then I shut down the tablet
2) The tablet turns on again during the night and there the only solution I found is,
if the time is between 7:00 pm and 9:00 am then Macrodroid stops the tablet.
I can't find the trigger formula, can you help me please? Thanks
I don't understand why the tablet turns itself back on during the night.
I have a macro that starts with Macrodroid, I could test the time at that moment and deduce that it is a false start, like:
Variable NIGHT (boolean)
NIGHT={hour}>7 or {hour}<9
If NIGHT then stop
Or more directly
If {hour}>7 or {hour}<9
then Stop
EndIf
Thank you for specifying the exact writing, I did not understand very well despite the tutorial in English.
Last edited: