Je viens d'acheter une smartplug.
Elle a ete détécté sans soucis et a fonctionné imédiatement.
Mais maintenant je n'arrive plus a activé ou non la prise
Dans les log j'ai ca
Code : Tout sélectionner
This is a smartplug device
[2017-11-20 09:25:32][DEBUG] : Send to jeedom : {u'devices': {u'E0:0': {'name': u'SMP-B16-FR', 'source': 'local', 'rawdata': "[(1, 'Flags', u'06'), (2, 'Incomplete 16b Services', u'f0ff'), (9, 'Complete Local Name', u'SMP-B16-FR'), (10, 'Tx Power', u'00'), (18, '0x12', u'10001000'), (255, 'Manufacturer', u'')]", 'rssi': -77, 'type': 'smartplug', 'id': u'E0:E5:0', 'present': 1}, u'C4:7C: {'name': u'Flower mate', 'source': 'local', 'rawdata': "[(1, 'Flags', u'06'), (2, 'Incomplete 16b Services', u'95fe'), (22, '16b Service Data', u''), (9, 'Complete Local Name', u'Flower mate')]", 'rssi': -69, 'type': 'miflora', 'id': u'C4:50', 'present': 1}}}
[2017-11-20 09:25:32][DEBUG] :
Code : Tout sélectionner
[2017-11-20 09:29:51][DEBUG] : Client connected to [127.0.0.1:56610]
[2017-11-20 09:29:51][DEBUG] : Message read from socket: {"apikey":"","cmd":"action","device":{"id":""},"command":{"name":"smp-b16-fr","handle":"0x2b","value":"0f06030001000005ffff","device":{"id":"","delay":"120","needsrefresh":1,"name":"smartplug"}}}
[2017-11-20 09:29:51][DEBUG] : Client disconnected from [127.0.0.1:56610]
[2017-11-20 09:29:51][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2017-11-20 09:29:51][DEBUG] : Received command from jeedom : action
[2017-11-20 09:29:51][DEBUG] : Attempt an action on a device
[2017-11-20 09:29:51][DEBUG] : Thread Launched
[2017-11-20 09:29:51][DEBUG] : Creating a new connection for
[2017-11-20 09:29:51][DEBUG] : Connecting : with bluetooth 0
[2017-11-20 09:29:53][DEBUG] : Failed to connect to peripheral, addr type: public attempt 1
[2017-11-20 09:29:55][DEBUG] : Failed to connect to peripheral addr type: public attempt 2
[2017-11-20 09:29:57][DEBUG] : Connected...
[2017-11-20 09:29:57][DEBUG] : Writing Characteristic...
[2017-11-20 09:29:57][DEBUG] : Characteristic written...
[2017-11-20 09:29:57][DEBUG] : {'rsp': ['wr']}
[2017-11-20 09:29:57][DEBUG] : Value 0f06030001000005ffff written in handle 0x2b
[2017-11-20 09:29:57][DEBUG] : Refreshing ...
[2017-11-20 09:29:57][DEBUG] : Already a connection for use it
[2017-11-20 09:29:57][DEBUG] : Writing Characteristic...
[2017-11-20 09:29:57][DEBUG] : Characteristic written...
[2017-11-20 09:29:57][DEBUG] : {'rsp': ['wr']}
[2017-11-20 09:29:57][DEBUG] : Subscribing to notification :
[2017-11-20 09:29:57][DEBUG] : Delegated
[2017-11-20 09:29:57][DEBUG] : Subscribing for 2
[2017-11-20 09:29:58][DEBUG] : Disconnecting...
[2017-11-20 09:29:58][DEBUG] : Disconnected...
[2017-11-20 09:29:58][DEBUG] : Device disconnected
[2017-11-20 09:29:58][DEBUG] : [(1, 'Flags', u'06'), (2, 'Incomplete 16b Services', u'f0ff'), (255, 'Manufacturer', u'0107')] True public
[2017-11-20 09:29:58][DEBUG] : It's a unknown packet and I known this device so I send