this post was submitted on 02 Jun 2025
8 points (100.0% liked)

Raspberry Pi

2101 readers
5 users here now

Welcome to the programming.dev Raspberry Pi community!

Raspberry Pi is a series of small single-board computers. It is widely used in many areas because of its low cost, modularity, and open design. It is typically used by computer and electronic hobbyists.

Rules

Members of this community are expected to exhibit mature and respectful behavior.

Those who fail to uphold these standards may find their posts or comments removed, with repeat offenders potentially facing a permanent ban.

Please keep discussions in English so that they can be appropriately moderated.

Links

founded 2 years ago
MODERATORS
 

Hi Raspberry Pi Community,

I would like to use radio remote's control to trigger an events on my Raspberry pi.

I guess I'll go with 433Mhz as I believe they are the most common available ?

So I will need a 433Mhz RX/TX Module to connect on the GPIO, so far I get it...

But how properly secure the communication between those remotes and the RPI to avoid any anyone to sniff the transmitting and replay it. In other words spoof it.

Wubba Lubba dub-dub...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 weeks ago (6 children)

Could it only accept serialized messages? Once it’s received a message, never accept the same exact message again.

[–] [email protected] 1 points 2 weeks ago (4 children)

Well then you'd have to keep track of all messages recieved. An easier option might just be to sign the current system time, make sure the clocks are synchronized, and accept a +/- 1 second wiggle

[–] [email protected] 2 points 2 weeks ago (3 children)

Wouldn’t it just need to know which is the highest message number it has seen? And then don’t accept that one or any lower ever again?

If the count is within the encrypted message, no one can spoof anything higher.

[–] [email protected] 1 points 1 week ago (1 children)

I don't think this work's if you have multiple remote pilot tough...

[–] [email protected] 1 points 1 week ago

Each remote could have an ID number it sends.

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)