Code Monkey home page Code Monkey logo

raspyrfm's Introduction

Python module & examples for RaspyRFM

RaspyRFM

#Installation

sudo su
apt-get install git-core python-dev
apt-get install python-pip

cd <downloaded RaspyRFM code> #folder in which setup.py is located
pip install -e .

#Using python module and set parameters

import RasyRFM
rfm = RaspyRFM(1, RFM69)
rfm.set_params(
        Freq = 868.300, #MHz center frequency
        ModulationType = rfm69.FSK, #modulation
        Datarate = 9.992, #kbit/s baudrate
        Deviation = 19.042, #kHz frequency deviation
        SyncPattern = [0xc6, 0x26, 0xc6, 0x26], #syncword
        Bandwidth = 100, #kHz bandwidth
        RssiThresh = -105, #dBm RSSI threshold
		TXPower = 13, #dBm
		Preamble = 2, #bytes
)

connair.py

emulate a gateway for controlling RC sockets via the app power-switch. Compatible to "Brennenstuhl Brematic", Intertechno "ITGW-433", "ConnAir" see https://power-switch.eu/

emoncms.py

receive lacrosse-sensors with the RaspyRFM and post them to the open energy monitor, see https://openenergymonitor.org/

Receive and send 433 MHz RC remote controls

./rcpulse.py
./rcpulse.py -p intertechno -i 47612 -u 1 -a on
./rcpulse.py -p logilight -i 76123 -u 1 -a on
./rcpulse.py -p pilota -i 1234 -g 1 -u 1 -a on 

Receive 868 MHz ELV FS20 RC remote controls

./rcpulse -f 868.35

lacrosse.py

receiving lacrosse temperature sensors IT29-T, IT35-T, ...

sudo ./lacrosse.py
RFM69 found on CS 1
INIT COMPLETE
Waiting for sensors...
La crosse {'batlo': False, 'AFC': 94, 'init': False, 'T': (19.6, 'C'), 'RSSI': -105, 'RH': (60, '%'), 'ID': '68'}
La crosse {'batlo': False, 'AFC': -118, 'init': False, 'T': (19.5, 'C'), 'RSSI': -98, 'RH': (60, '%'), 'ID': '78'}
La crosse {'batlo': False, 'AFC': 6, 'init': False, 'T': (20.4, 'C'), 'RSSI': -87, 'RH': (58, '%'), 'ID': 'e4'}
La crosse {'batlo': False, 'AFC': 114, 'init': False, 'T': (19.7, 'C'), 'RSSI': -86, 'RH': (57, '%'), 'ID': '24'}
La crosse {'batlo': False, 'AFC': 52, 'init': False, 'T': (19.5, 'C'), 'RSSI': -58, 'RH': (60, '%'), 'ID': '68'}
La crosse {'batlo': False, 'AFC': 14, 'init': False, 'T': (20.5, 'C'), 'RSSI': -97, 'RH': (56, '%'), 'ID': '4'}
La crosse {'batlo': False, 'AFC': 308, 'init': False, 'T': (19.5, 'C'), 'RSSI': -103, 'RH': (60, '%'), 'ID': '68'}
La crosse {'batlo': False, 'AFC': 376, 'init': False, 'T': (19.7, 'C'), 'RSSI': -103, 'RH': (57, '%'), 'ID': '24'}

Product

Module RaspbyRFM Seegel Systeme

raspyrfm's People

Contributors

phunkafizer avatar seife avatar richih avatar difu avatar

Watchers

James Cloos avatar

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.