La recherche a retourné 67 résultats

par J.M.B
05 oct. 2018, 19:32
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

Oui
par J.M.B
05 oct. 2018, 17:50
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

oui ex : domoticz server = "192.168.45.16:8080" domoticzusername = "ton_identifiant" domoticzpassword = "ton_motdepasse" tout en bas du fichier : update("adresse_mac","idx") Vérifie également dans le crontab ( sudo crontab -e ) que ta commande est co...
par J.M.B
04 oct. 2018, 11:29
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

Bonjour,
Réessaye les commandes :

sudo systemctl enable hciuart
sudo systemctl start hciuart
sudo bluetoothctl
power on

c'est bizarre
par J.M.B
03 oct. 2018, 19:43
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

J'ai suivi ce tuto pour installer bluez https://www.instructables.com/id/Control-Bluetooth-LE-Devices-From-A-Raspberry-Pi/ et maintenant quand je tape sudo hcitool lescan ca me donne "Set scan parameters failed: File descriptor in bad state" et je ne vois plus mes thermometre..... Je ne v...
par J.M.B
03 oct. 2018, 19:41
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

sudo reboot
par J.M.B
03 oct. 2018, 18:52
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

Soit la saisie des infos dans le fichier py n'est pas correcte : commence par les vérifier (idx, adresse ip du Pi, identifiant, mot de passe adresse Mac du device xiaomi)
Soit la version du Bluetooth n'est pas à jour et donc le Bluetooth BLE n'est pas installé.
par J.M.B
03 oct. 2018, 18:42
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

Le Bluetooth semble activé : controller
Un clavier Bluetooth est détecté
Par contre pas de trace du device xiaomi
par J.M.B
03 oct. 2018, 17:44
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

tu peux tester les commandes suivantes en ssh si le bluetooth n'est pas activé ça devrait démarrer les services

sudo systemctl enable hciuart
sudo systemctl start hciuart
sudo bluetoothctl
sudo power on
par J.M.B
03 oct. 2018, 17:38
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

Commence par vérifier si le RPI trouve la carte bluetooth : tape en ssh la commande bluetoothctl
tu dois normalement voir le controller raspberry + le device mija MJ_HT_V1

sinon il faut installer les paquets bluetooth
par J.M.B
03 oct. 2018, 16:47
Forum : Xiaomi
Sujet : Xiaomi - Mijia Hygrothermographe
Réponses : 81
Vues : 91859

Re: Xiaomi - Mijia Hygrothermographe

Il s'agit du bluetooth BLE (basse consommation) nécessaire pour communiquer avec l' Hygrothermographe.
Il faut installer bluez version 5 au moins.