francispoisson
francispoisson
Seems like the first byte is not being sent. 
I am now having answer from the device. I had to make the send function in matenet_ser.py like this: ``` def send(self, data): """ Send a packet to the MateNET...
I had to replace line 122 and line 123 of matenet.py: ``` if ord(rxbuf[0]) & 0x80 == 0x80: raise RuntimeError("Invalid command 0x%.2x" % (ord(rxbuf[0]) & 0x7F)) ``` by ``` if...
Finally got it working: with this code: ``` from pymate.matenet import MateNET, MateMXDevice from time import sleep import logging log = logging.getLogger('mate') log.setLevel(logging.DEBUG) log.addHandler(logging.StreamHandler()) mate_bus = MateNET('COM4') # Windows mate_mx...
Merci de vous référer à ce repo pour les développements futurs: https://github.com/dvd-dev/hilo/
Ça ne doit pas être relié à AWS puisque Hilo utilise Azure.
Merci de vous référer à ce repo pour les développements futurs: https://github.com/dvd-dev/hilo/
Quand tu dis websocket, c'est cette portion de l'API? https://wapphqcdev01-notification.azurewebsites.net/swagger/index.html Un post de registration et ensuite Hilo envoie les données lorsqu'il y a des changements sur les appareils? Le mar....
Qu'est-ce que l'AppID, tu as une idée? Est-ce que ça correspond au InstrumentationKey de AzureInsights?
As-tu réussit à obtenir le token firebase? Comment as-tu procédé?