Re: Awox Eglo & BLEA
Publié : 12 sept. 2019, 13:41
Oui, mais apparemment ça fait déjà un petit moment que ça dure. Plutôt embêtant car je n'ai pas la place dans les boites d'encastrement pour mettre des modules Zwave pour piloter l'éclairage à 60€ l'unité...SoRoN41 a écrit : ↑12 sept. 2019, 16:57Bienvenue au club !! A sa tu rajoute mes prises, ampoules,détecteur et mon portail en smart life/tuya qui ne sont pas géré aussi par jeedom du coup me retrouve avec un rasbery et un ssd tout neuf et peu rien en faire !
Et perso je passerai pas par de module venu de chine...je préfère prendre des appareils CE , mais bon faut espérer que les plugging jeedom se mettent à jour pour utiliser autre chose que du chinois surtout que a la base jeedom est un développement francais.
Le comble , c'est que tu achette francais Awox/ Eglo pour fonctionner avec un soft lui aussi francais et ça marche pas ! Tu prend du chinois sur un soft français...ça fonctionne...va comprendre !
Bon faut être patient...ça va venir !
Code : Tout sélectionner
[2019-09-14 14:04:54.330][DEBUG] : SCANNER------Clearing seen
[2019-09-14 14:04:55.195][DEBUG] : Client connected to [127.0.0.1:43452]
[2019-09-14 14:04:55.196][DEBUG] : Message read from socket: b'{"apikey":"703JA2DNLxTNKeRmh7b207i3qRfNwdA9","cmd":"action","device":{"id":"98:7B:F3:7B:7B:6B"},"command":{"name":"awoxmesh","cmd":"setWhite","value":"50-100","device":{"id":"98:7B:F3:7B:7B:6B","delay":"600","needsrefresh":"0","name":"awoxmesh"}}}'
[2019-09-14 14:04:55.197][DEBUG] : Client disconnected from [127.0.0.1:43452]
[2019-09-14 14:04:55.293][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2019-09-14 14:04:55.294][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2019-09-14 14:04:55.295][DEBUG] : SOCKET-READ------Attempt an action on a device
[2019-09-14 14:04:55.296][DEBUG] : Running action setWhite
[2019-09-14 14:04:55.297][DEBUG] : SOCKET-READ------Action Thread Launched
[2019-09-14 14:04:55.297][DEBUG] : Already a connection for 98:7B:F3:7B:7B:6B use it
[2019-09-14 14:04:55.298][DEBUG] : Authenticating...
[2019-09-14 14:04:55.300][DEBUG] : CONNECTOR------Writing Characteristic... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.301][DEBUG] : CONNECTOR------Characteristic written... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.302][DEBUG] : {'rsp': ['wr']}
[2019-09-14 14:04:55.303][DEBUG] : CONNECTOR------Writing Characteristic... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.304][DEBUG] : CONNECTOR------Characteristic written... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.305][DEBUG] : {'rsp': ['wr']}
[2019-09-14 14:04:55.305][DEBUG] : CONNECTOR------Reading Characteristic...98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.366][DEBUG] : CONNECTOR------Characteristic Readen .... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.367][DEBUG] : Error while trying to auth ..
[2019-09-14 14:04:55.869][DEBUG] : Authenticating...
[2019-09-14 14:04:55.870][DEBUG] : CONNECTOR------Writing Characteristic... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.871][DEBUG] : CONNECTOR------Characteristic written... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.872][DEBUG] : {'rsp': ['wr']}
[2019-09-14 14:04:55.873][DEBUG] : CONNECTOR------Writing Characteristic... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.874][DEBUG] : CONNECTOR------Characteristic written... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.875][DEBUG] : {'rsp': ['wr']}
[2019-09-14 14:04:55.875][DEBUG] : CONNECTOR------Reading Characteristic...98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.952][DEBUG] : CONNECTOR------Characteristic Readen .... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:55.953][DEBUG] : Error while trying to auth ..
[2019-09-14 14:04:56.454][DEBUG] : Authenticating...
[2019-09-14 14:04:56.455][DEBUG] : CONNECTOR------Writing Characteristic... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:56.457][DEBUG] : CONNECTOR------Characteristic written... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:56.458][DEBUG] : {'rsp': ['wr']}
[2019-09-14 14:04:56.458][DEBUG] : CONNECTOR------Writing Characteristic... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:56.460][DEBUG] : CONNECTOR------Characteristic written... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:56.460][DEBUG] : {'rsp': ['wr']}
[2019-09-14 14:04:56.461][DEBUG] : CONNECTOR------Reading Characteristic...98:7B:F3:7B:7B:6B
[2019-09-14 14:04:56.536][DEBUG] : CONNECTOR------Characteristic Readen .... 98:7B:F3:7B:7B:6B
[2019-09-14 14:04:56.537][DEBUG] : Error while trying to auth ..
[2019-09-14 14:04:57.038][DEBUG] : Ending action due to authentication error on device
Code : Tout sélectionner
def auth(self,conn):
logging.debug('Authenticating...')
try:
self.session_random = urandom(8)
message = make_pair_packet (self.mesh_name, self.mesh_password, self.session_random)
# send pairing message
conn.writeCharacteristic(PAIR_CHAR_UUID,message)
# set status char to 1 (for notification?)
conn.writeCharacteristic(STATUS_CHAR_UUID,'01')
# get Pairing reply
reply = bytearray (conn.readCharacteristic(PAIR_CHAR_UUID))
if reply[0] == 0xd :
logging.debug("Connected (Auth OK).")
self.session_key = make_session_key (self.mesh_name, self.mesh_password, self.session_random, reply[1:9])
else :
if reply[0] == 0xe :
logging.debug("Auth error : check name and password.")
else :
#logging.debug("Unexpected pair value : %s", repr (reply))
logging.debug('Error while trying to auth..')
return False
except Exception as e:
logging.debug("Exception found while authenticating : " + str(e))
return False
return True
Sur le Market tu dois aller éditer ton profil pour avoir accès à la beta => https://www.jeedom.com/market/index.php?v=dManulemalin a écrit : ↑14 sept. 2019, 17:14Bonjour
Tu fait la maj en version bêta ?
Chez moi ça me propose que la stable
Merci de ton retour
En effet, Merci beaucoup, je me suis douté d'un truc comme ca mais j'ai pas du tout chercher laFlorlouv a écrit : ↑14 sept. 2019, 19:36Sur le Market tu dois aller éditer ton profil pour avoir accès à la beta => https://www.jeedom.com/market/index.php?v=dManulemalin a écrit : ↑14 sept. 2019, 17:14Bonjour
Tu fait la maj en version bêta ?
Chez moi ça me propose que la stable
Merci de ton retour
Code : Tout sélectionner
os.system('gatttool -i hci0 -b ' + awox_adr + ' --char-write-req -a 0x002a -n 01')
os.system('gatttool -i hci0 -b ' + awox_adr + ' --char-write-req -a 0x0054 -n ' + r2 + g2 + b2) # Set color
os.system('gatttool -i hci0 -b ' + awox_adr + ' --char-write-req -a 0x005c -n ' + str(i2)) # Set brightness
Merci pour ta réponse. Du coup je viens de comprendre qu'il y a une subtilité entre les ampoules SML-C9 (la mienne) et SMLm-C9.guirem a écrit : ↑16 sept. 2019, 22:50Bonsoir,
@leeoon: ton ampoule n'est probablement pas compatible avec la gamme mesh.
Toutes les ampoules ne sont pas compatibles avec le plugin chez awox.
Doc : https://github.com/jeedom/plugin-blea/b ... /README.md
La compatibilité n'est pas prévue pour le moment car je n'ai tout simplement pas d'ampoule de ce type.