Message
par jackslayter »
comme vous l'avez constaté il n’existe pas de notification pour WP, seulement iOS et android.
voici un script pour combler se manque
notification.sh
Code : Tout sélectionner
#!/bin/bash
curl -F "AuthorizationToken=MA_CLE_API" \
-F "Body=$*" \
https://pushalot.com/api/sendmessage
un petit chmod
ensuite dans domoticz dans le device choisi mettre
Code : Tout sélectionner
script:///home/pi/domoticz/notification.sh mon texte a envoyer
dans On ou Off
Raspberry Pi + RFLink + Domoticz Beta
Oregon - 3x Thgr122Nx / Chacon - micromodule 200w, télécommande 3b et 16b, 2x module 1000w, détecteur de fumée, contact de porte, 2x prise 3500w / OWL - CM180 / TRC02 v2 RGB 3M / Cheap - PIR, contact de porte