Ma trotinette est à coté de la clé .. avant d'en acheter une autre j'essai de régler le pb de récupération de données pour ne pas investir pour rien.noodom a écrit : ↑26 sept. 2019, 18:33Salut,
Est ce que ce n’est pas du à tes problèmes de connexion ? (Une déconnexion en cours de récupération des données)
De même il y a moyen de mettre en debug pour mieux comprendre ce qui se passe.
Sinon, ton json c’est bien en suivant mon tuto ? Si oui ça laisse espérer que ça finisse par fonctionner, avec une clé plus puissante par exemple
Voici le log
019-09-26 18:52:45,750 - m365py - INFO - Attempting to indefinitely connect to Scooter: aa:bb:cc:dd:ee:ff
2019-09-26 18:52:57,341 - m365py - INFO - Successfully connected to Scooter: aa:bb:cc:dd:ee:ff
2019-09-26 18:52:58,453 - m365py - DEBUG - Sending message: ['U\xaa\x03"\x014\x02\xa3\xff', 34, 65443, 52, 1, '\x02']
2019-09-26 18:52:58,454 - m365py - DEBUG - Sending bytes: 55aa0322013402a3ff
2019-09-26 18:52:58,591 - m365py - DEBUG - Sending message: ['U\xaa\x03"\x013\x02\xa4\xff', 34, 65444, 51, 1, '\x02']
2019-09-26 18:52:58,591 - m365py - DEBUG - Sending bytes: 55aa0322013302a4ff
2019-09-26 18:52:58,801 - m365py - DEBUG - Sending message: ['U\xaa\x03"\x012\x02\xa5\xff', 34, 65445, 50, 1, '\x02']
2019-09-26 18:52:58,801 - m365py - DEBUG - Sending bytes: 55aa0322013202a5ff
2019-09-26 18:52:58,941 - m365py - DEBUG - Sending message: ['U\xaa\x03"\x01@\x1b~\xff', 34, 65406, 64, 1, '\x1b']
2019-09-26 18:52:58,941 - m365py - DEBUG - Sending bytes: 55aa032201401b7eff
2019-09-26 18:52:59,081 - m365py - DEBUG - Sending message: ['U\xaa\x03"\x011\n\x9e\xff', 34, 65438, 49, 1, '\n']
2019-09-26 18:52:59,081 - m365py - DEBUG - Sending bytes: 55aa032201310a9eff
2019-09-26 18:52:59,221 - m365py - DEBUG - Sending message: ['U\xaa\x03 \x01\x10\x16\xb5\xff', 32, 65461, 16, 1, '\x16']
2019-09-26 18:52:59,221 - m365py - DEBUG - Sending bytes: 55aa0320011016b5ff
2019-09-26 18:52:59,361 - m365py - DEBUG - Sending message: ['U\xaa\x03 \x01\xb0 \x0b\xff', 32, 65291, 176, 1, ' ']
2019-09-26 18:52:59,361 - m365py - DEBUG - Sending bytes: 55aa032001b0200bff
2019-09-26 18:52:59,363 - m365py - DEBUG - Got raw bytes: 55aa1823011031363133332f3030373032343639
2019-09-26 18:52:59,364 - m365py - DEBUG - Got raw bytes: 303030303030380191fb
2019-09-26 18:52:59,365 - m365py - DEBUG - Received message: {'_raw_bytes': 'U\xaa\x18#\x01\x1016133/007024690000008\x01\x91\xfb', 'direction': 35, '_checksum': 64401, 'attribute': 16, 'read_write': 1, 'payload': '16133/007024690000008\x01'}
2019-09-26 18:52:59,365 - m365py - DEBUG - Payload: 31363133332f30303730323436393030303030303801
2019-09-26 18:52:59,501 - m365py - DEBUG - Sending message: ['U\xaa\x03 \x01:\n\x97\xff', 32, 65431, 58, 1, '\n']
2019-09-26 18:52:59,501 - m365py - DEBUG - Sending bytes: 55aa0320013a0a97ff
2019-09-26 18:52:59,641 - m365py - DEBUG - Sending message: ['U\xaa\x03 \x01\xb9\x02 \xff', 32, 65312, 185, 1, '\x02']
2019-09-26 18:52:59,641 - m365py - DEBUG - Sending bytes: 55aa032001b90220ff
2019-09-26 18:52:59,781 - m365py - DEBUG - Sending message: ['U\xaa\x03 \x01%\x02\xb4\xff', 32, 65460, 37, 1, '\x02']
2019-09-26 18:52:59,782 - m365py - DEBUG - Sending bytes: 55aa0320012502b4ff
2019-09-26 18:52:59,921 - m365py - DEBUG - Sending message: ['U\xaa\x03 \x01\xb5\x02$\xff', 32, 65316, 181, 1, '\x02']
2019-09-26 18:52:59,921 - m365py - DEBUG - Sending bytes: 55aa032001b50224ff
2019-09-26 18:53:00,061 - m365py - DEBUG - Sending message: ['U\xaa\x03"\x01{\x06X\xff', 34, 65368, 123, 1, '\x06']
2019-09-26 18:53:00,061 - m365py - DEBUG - Sending bytes: 55aa0322017b0658ff
2019-09-26 18:53:00,201 - m365py - DEBUG - Sending message: ['U\xaa\x03 \x01}\x02\\\xff', 32, 65372, 125, 1, '\x02']
2019-09-26 18:53:00,202 - m365py - DEBUG - Sending bytes: 55aa0320017d025cff
2019-09-26 18:53:00,341 - m365py - DEBUG - Sending message: ["U\xaa\x03 \x01\xb2\x02'\xff", 32, 65319, 178, 1, '\x02']
2019-09-26 18:53:00,342 - m365py - DEBUG - Sending bytes: 55aa032001b20227ff
2019-09-26 18:53:00,480 - m365py - DEBUG - Sending message: ['U\xaa\x03 \x01|\x02]\xff', 32, 65373, 124, 1, '\x02']
2019-09-26 18:53:00,480 - m365py - DEBUG - Sending bytes: 55aa0320017c025dff
2019-09-26 18:53:00,487 - m365py - DEBUG - Got raw bytes: 55aa042301b2000025ff
2019-09-26 18:53:00,488 - m365py - DEBUG - Received message: {'_raw_bytes': 'U\xaa\x04#\x01\xb2\x00\x00%\xff', 'direction': 35, '_checksum': 65317, 'attribute': 178, 'read_write': 1, 'payload': '\x00\x00'}
2019-09-26 18:53:00,488 - m365py - DEBUG - Payload: 0000
{
"is_lock_on": false,
"pin": "000000",
"serial": "16133/00702469",
"version": "V1.3.8"
}