Re: Domoticz et Freebox
Publié : 30 août 2016, 11:19
je ne crois pas que cela fonctionne avec la V5 juste avec la V6
Reprenez le contrôle de votre domotique
https://easydomoticz.com/forum/
Un petit rappel pour les utilisateurs de V5 (à rajouter au tuto ?)fratton a écrit :J'ai une Freebox Crystal (idem Freebox V5) et j'utilise ce script shell :
un cron l'appel toute les 30mn (suffisant pour moi)Code : Tout sélectionner
#!/bin/bash DOWNLOAD=`wget -q -O - http://mafreebox.freebox.fr/pub/fbx_info.txt | grep ATM | awk '{printf $3}'` curl -s "http://192.168.1.100:8080/json.htm?type=command¶m=udevice&idx=179&svalue="$DOWNLOAD UPLOAD=`wget -q -O - http://mafreebox.freebox.fr/pub/fbx_info.txt | grep ATM | awk '{printf $5}'` curl -s "http://192.168.1.100:8080/json.htm?type=command¶m=udevice&idx=180&svalue="$UPLOAD
J'utilise 2 capteurs virtuel de type Tension ce qui me permet d'avoir une courbe des débits à l'année, bon c'est pas top d'avoir Volt au lieu de kbps, dommage que domoticz n'a pas un compteur tous simple ou l'on pourrait configurer l'unité.


Perso je suis fan, le custom sensor ouvre vraiment tout un tas de possibilités.Custom Sensor
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=VALUE
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
VALUE = Value (like 12.345)
Sympa ton icône Free, y a moyen de le récupérer ? Ca ne marche qu'avec les custom sensors j'imagine ?jahlex a écrit :Salut,
comme n'importe quel autre capteur virtuel, catégorie "custom sensor".
L'astuce c'est que je crois que ça ne marche qu'en version beta => http://easydomoticz.com/passer-en-version-beta/
pour les icônes custom : https://www.domoticz.com/wiki/Custom_ic ... binterface
pour la mise à jour via JSON : https://www.domoticz.com/wiki/Domoticz_API/JSON_URL'sPerso je suis fan, le custom sensor ouvre vraiment tout un tas de possibilités.Custom Sensor
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=VALUE
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
VALUE = Value (like 12.345)