Giter VIP home page Giter VIP logo

spoof_temp's Introduction

Command line program for spoofing the outdoor sensor for this temperature station (sold by LIDL):

spoof

The original sensor transmits on 433MHz and uses OOK to encode data. This program can encode data in the same format and transmit it with HackRF. You can see it in action here:

alt

Building and running

On Ubuntu 18.04:

sudo apt install libhackrf-dev
make
./spoof_temp -t 12.3 -h 40

On OSX:

brew install hackrf
make
./spoof_temp -t 12.3 -h 40

Testing with rtl_433

$ spoof_temp -t 12.3 -h 40 -o test
ID: 244, channel: 1, temperature: 12.30, humidity: 40
Saving to test.sub
Saving to test.cu8
Saving to test.cs8

$ rtl_433 -s 2000000 -r test.cu8
rtl_433 version 18.12-134-g64139f3 branch master at 201903110821 inputs file rtl_tcp
[...]
Test mode active. Reading samples from file: test.cu8
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : @0.069540s
model     : Nexus Temperature/Humidity             House Code: 244
Channel   : 1            Battery   : OK            Temperature: 12.30 C      Humidity  : 40 %

FlipperZero

Run the program with -o and then copy the .sub file to fhe Flipper's SD card.

Demo on Twitter.

spoof_temp's People

Contributors

rgerganov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

spoof_temp's Issues

Convert cu8 to Flipper Zero sub format

Hello. Sorry for the offtopic question, but do you know by any chance if it's possible to somehow convert the cu8 files produced by rtl_433 to the Flipper Zero .sub format? Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.