8000 Local backend for sureflap protocol messages into mqtt. · Issue #17 · alextoft/sureflap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Local backend for sureflap protocol messages into mqtt. #17
Open
@plambrechtsen

Description

@plambrechtsen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0