Decoding TCP stream to add a custom device

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
superczar
Posts: 65
Joined: Wednesday 14 January 2015 12:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: India
Contact:

Decoding TCP stream to add a custom device

Post by superczar »

Here is a somewhat unusual question
I bought a custom automation kit from a startup (including 3 power switches , a physical remote and a temp/hum sensor) in India since they had promised to provide the API details once documented at their end - My intent was to integrate it with my existing domoticz setup once the API is released...
To cut a long story short, they have been delaying the API for over a year now and I don't think they intend to release it ever

The kit contains a hub that connects to the router and the switches switches are controlled via an android app that seems to be sending requests to an AWS server that in turn sends a request to the hub.

I captured the packets that the hub sends and receives and I am hoping to decode the request so that I can send the request directly from domoticz

Sending a switch on request from the app for switch 1 results in the following TCP request from port 12345 of remote server to port 62490 of hub

55 AA FF FF 11 00 02 B8 ED 00 11 00 0D 31 00 B7 23 55 AA FF FF 11 00 02 B8 ED 30 11 00 0D 32 05 B2 10

Unfortunately translating the hex string to ascii doesn't yield anything - What is it that I can do to emulate this request directly from domoticz
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest