======== Notifications sur telephone via l'application ntfy ( open source ) ======== ====== Installation ====== ==== sur telephone ==== Installer l'application ntfy via Play Store {{ :start:raspberry:nodered:capture_d_ecran_du_2024-03-14_12-56-18.png?direct&100 |}} S'abonner au sujet : {{ :start:raspberry:nodered:capture_d_ecran_du_2024-03-14_12-57-43.png?direct&200 |}} exemple : fablab_alarme_intrusion Et bien sur autoriser et regler votre sonnerie des notifications ==== Sur node-red ==== {{ :start:raspberry:nodered:capture_d_ecran_du_2024-03-14_12-46-34.png?direct&600 |}} pour le test installer 3 noeuds : --Inject :Horodatage --Change --Exec -1- Le noeud Horodatage {{:start:raspberry:nodered:capture_d_ecran_du_2024-03-14_14-27-38.png?direct&200 |}} ---- msg.payload = Horadatage ---- {{:start:raspberry:nodered:capture_d_ecran_du_2024-03-14_14-26-27.png?direct&300 |}}--- ---- -2- Le noeud Change {{:start:raspberry:nodered:capture_d_ecran_du_2024-03-14_14-35-53.png?direct&200 |}} ---- curl -d "intrusion fabalb" ntfy.sh/fablab_alarme_intrusion {{:start:raspberry:nodered:capture_d_ecran_du_2024-03-14_15-23-07.png?direct&300 |}} ---- -3-le noeud Exec {{:start:raspberry:nodered:capture_d_ecran_du_2024-03-14_14-38-51.png?direct&200 |}} ---- {{:start:raspberry:nodered:capture_d_ecran_du_2024-03-14_14-40-03.png?direct&300 |}} ---- Quand on appuie sur le bouton horodatage , on envoie une notification sur le telephone Il ne faut pas avoir ouvert l'application ntfy sur le telephone pour avoir une sonnerie de notification ...