Skip to content

kulkansecurity/WeatherStation-send-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

WeatherStation-send-data

Generate and transmit spoofed 433 MHz OOK signals that impersonate a Newentor weather station sensor using a HackRF One.

The script was released along with a Blog post on RF hacking, available at:


Requirements

  • HackRF One (or compatible SDR transmitter)
  • Python 3.8+
  • numpy
pip install numpy

Usage

python3 generate_rf_payload.py <temp_fahrenheit> <humidity> [options]

Arguments

Argument Description
temp_f Temperature in Fahrenheit (e.g. 72.5)
humidity Relative humidity 0–100 (integer)
--channel, -c Sensor channel 1–3 (default: 1)
--output, -o Output file path (default: generated_433.raw)
--repeat, -r Number of frame repetitions (default: 30)

Example

# Generate a signal: 72.5°F, 45% humidity, channel 1
python3 generate_rf_payload.py 72.5 45 --channel 1 --output signal.raw

# Transmit with HackRF
hackrf_transfer -t signal.raw -f 433937200 -s 2000000 -x 47 -a 1 -R

Related

  • rtl_433 - decoding 433 MHz sensor protocols
  • HackRF One - SDR platform used for transmission

About

Generate and transmit spoofed 433 MHz OOK signals that impersonate a Newentor weather station sensor using a HackRF One.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages