I’ve written a module [1] for GNU Radio that can receive, demodulate and decode messages sent with a CC1100 transceiver. I’ve tested them with a Homematic door/window sensor. Until now its only a receiver so I can’t transmit anything but a 10€ RTL-SDR dongle is all you need. Would it still be possible to connect this sensor to Homegear without actually transmitting anything, would pairing still be needed in some way? The GNU Radio module that I have simple pipes the payload of the received frames to a UDP socket. Would it be possible to have a UDP or TCP virtual physical device for Homegear to test it with?
the module won’t work with the current drivers, but it should be easily implemented. Adding the source code for a new TCP or serial device is done in a few minutes. Tell me a few specifics about the communication and I will implement it . It doesn’t matter, it doesn’t transmit anything. And only for sniffing, pairing is not needed. You can even add devices manually, then Homegear will even log the data, print variable information and send XML RPC events with the changed variables .
thanks for the quick reply. Basically a simple UDP server listening on an port would be sufficient for me. My current module simply sends the received message as a array of bytes to a user definable port, i.e. Homegear in that case. From the packet description in [1] I see that the first byte (called byte 0 here) is the length byte. Is Homegear also expecting this byte? I am asking because the length byte is transmitted by the CC1100 but is not included in the actual payload.
A UDP server would be a little more complicated, as I don’t have a template for it. Would a TCP client do, too?
If the length byte is needed or not depends on the driver. But I would transmit it to Homegear.
Yeah, a TCP client should be fine too. I could then be the server. Here are two frames I captured from that sensor. The first is the length byte, then there are 12 payload bytes and two CRC bytes. So I would send the first 13 bytes then over the TCP socket?
ok, then it’s easy . I will post a version with the driver here later this evening. The first 13 bytes of the packet are ok - it doesn’t really matter, I only need to know what is received over the socket .