Description
Following on from this post, I thought I should create a new issue: #8 (comment)
Hopefully sureflap don't go and close this hole off as the fact they don't validate CAs is brilliant should you want to run your own backend.
I setup a mosquitto backend with the aws api endpoint bouncing via PolarProxy to do the ssl decoding into a pcap.
Seems that it creates topics based on the mac addresses of devices connected in reverse byte order.
v2/production/hubuuid/messages/devicemac
The first message that comes through it:
Hub has gone offline
5fb08bc7 0220 Hub online at 15 2 0 39
The first value is hex for the utc timestamp, then 0220 seems to be a message counter.
Anyone else interested in decoding the protocol and building a local client?
Then figuring out what the /api/credentials is supposed to contain.