Salut !
Je reçois normalement mon deuxième bouton aujourd'hui, du coup j'ai relu le fil et donc :
deennoo a écrit :Je confirme qu'un simple controle parentale interdisant au dash d'acceder a internet ne l'empeche pas de fonctionner en interne, mais ne lance plus de notification amazon
Pour désactiver les notifications, on peut aussi le faire dans l'appli Amazon : Menu > Votre compte > Gérer les appareils Dash > Paramètres des notifications.
deennoo a écrit :- ce matin test : une pression = 6 ou 7 detections d'affilé, donc pas de toggle
Chez moi, pas de soucis, le toggle fonctionne bien sans plusieurs activations d'affilée.
Mais peut-être jouer avec le timeout comme indiqué dans le lien de T0ny Oh ?
https://github.com/hortinstein/node-dash-button
Au passage, j'en profite pour faire remarquer que suite à quelques cafouillages dans mes divers tests, j'ai formaté la carte SD de mon Raspberry pour me refaire une install propre et à jour, et maintenant le crontab fonctionne bien, plus besoin d'ajouter le sudo. Sûrement un problème de version quelque part.
Ma config actuelle :
Code : Tout sélectionner
sudo crontab -l
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
# Lancement du script stats quotidiennes
59 23 * * * /home/pi/domoticz/scripts/sh/stats.sh
# Sauvegarde des taches Cron
30 02 * * * sudo crontab -l > /home/pi/domoticz/scripts/cron.sav
# Lancement du Dash-button au boot
@reboot node /home/pi/dash-button/index.js
Code : Tout sélectionner
uname -a
Linux raspberrypi 4.4.34-v7+ #930 SMP Wed Nov 23 15:20:41 GMT 2016 armv7l GNU/Linux