Glen Pitt-Pladdy :: BlogSTATUS Remote Control Socket Protocol (RCS-K09/RCT-08) | |||
I've been looking at how easily common 433MHz home automation devices can be hooked up to centralize gathering data and control. The main thing with home automation is to be able to control things and this is my first look at that. In this case a STATUS Remote control socket (RCS-K09).
Apparently identical (or perhaps just similar) devices are also sold under the name "EcoSavers" and there are a load more. The protocol looks similar to what is used for "Duwi EMW200R" as investigated by others on the web. It's not guaranteed that what I have here fits your sockets as there seems to be several similar looking sockets, even with the same model number, which have different protocols. It's completely possible that this is generic white-label hardware and different vendors add their own firmware to it. One thing to note with these types of devices is there is negligible security - you are broadcasting the signal used to control it and with a sensitive receiver it could be captured some way off and used to control your devices from outside. Probably just annoying if it's a light or the stereo, but beware of allowing anything potentially hazardous (ie. heaters, cookers etc.) to be connected to these types of sockets. Intelligence gatheringThis time round there's not a lot of info to go on, but here's what we know about this device so far:
Baseband SignalWith my cheap 433MHz modules from eBay hooked them up to a sound card as a quick & dirty recording mechanism, the signal looks like this:
This is a far more crude structure than the Owl Energy Monitor I looked at before. It is using simple Pulse Width for different data states with the result that the overall DC lever varies all over the place as the mark-space isn't consistent. This is far from a good approach when it comes to data integrity and add to that there is no integrity checking in this, expect the occasional corruption. Additionally this means that some other devices transmitting on 433MHz can trick this plug into thinking codes have been sent (Update: the Imagintronix temperature sensor does just this if the socket is powered on - starts up in learning mode), it will learn from the temperature sensor transmitting and then that will switch the socket. The socket is clearly not validating what is receives hence could learn and respond to stray signals. As mentioned before, these devices are not safe for use with anything that could be hazardous and after a power glitch could pick up signals and do just about anything, not to mention the ease with which someone malicious could control them. We see a familiar pattern here:
After a bit of coding I've got a decoder for this. Data StructureThe data structure is trivial - 3 bytes, plus an apparently spurious single bit on it's own. What I believe at this point:
Next StepsAt this point I'm investigating easy approaches to building a transmitter/receiver that I can use for generating test signals and easily decoding multiple protocols. Currently I'm looking at cheap USB PIC based modules which could use the internal timer to do run-length encoding of incoming signals and pre-load sequences for 0 / 1 data and buffer ~32 byte packets for transmission. Probably the easiest interface to a PC would be USB-Serial which would allow easy experimenting. |
|||
This is a bunch of random thoughts, ideas and other nonsense, and is not intended to be taken seriously. I'm experimenting and mostly have no idea what I am doing with most of this so it should be taken with cuation and at your own risk. Intrustive technologies are minimised where possible. For the purposes of reducing abuse and other risks hCaptcha is used and has it's own policies linked from the widget.
Copyright Glen Pitt-Pladdy 2008-2023
|