En bref, si vous voulez de la qualité ne prenez pas Awox … Par contre c’est pas cher, mais on sait pourquoi … Misère.
L’autre chose qui n’est pas vraiment bien c’est l’obligation de faire une compte (pour tester mon smartplug) pour leur application smartphone : https://play.google.com/store/apps/details?id=com.awox.smart.control&hl=fr . Le mieux est de lire les commentaires afin de se rentre compte de la mauvaise qualité des produits.
Idem pourquoi utiliser la géolocalisation :
La première étape est de voir si le Bluetooth est bien lancé au démarrage :
$ dmesg | grep -i blue
[ 11.903994] Bluetooth: Core ver 2.22
[ 11.904056] Bluetooth: HCI device and connection manager initialized
[ 11.904073] Bluetooth: HCI socket layer initialized
[ 11.904080] Bluetooth: L2CAP socket layer initialized
[ 11.904098] Bluetooth: SCO socket layer initialized
[ 11.913494] Bluetooth: HCI UART driver ver 2.3
[ 11.913506] Bluetooth: HCI UART protocol H4 registered
[ 11.913509] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 11.913652] Bluetooth: HCI UART protocol Broadcom registered
[ 12.098214] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 12.098223] Bluetooth: BNEP filters: protocol multicast
[ 12.098245] Bluetooth: BNEP socket layer initialized
$ sudo systemctl status bluetooth*
● bluetooth.target - Bluetooth
Loaded: loaded (/lib/systemd/system/bluetooth.target; static; vendor preset: enabled)
Active: active since Tue 2018-10-09 16:17:10 UTC; 2 days ago
Docs: man:systemd.special(7)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-10-09 16:17:10 UTC; 2 days ago
Docs: man:bluetoothd(8)
Main PID: 812 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─812 /usr/lib/bluetooth/bluetoothd
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
A noter pour que cela fonctionne bien j’ai du ajouter le service hciuart :