Coder Social home page Coder Social logo

rfxcom2mqtt's Introduction

RFXCOM2MQTT

RFXCOM

RFXCOM to MQTT bridge for RFXtrx433 devices

All received RFXCOM events are published to the MQTT rfxcom2mqtt/devices/<id> topic. It is up to the MQTT receiver to filter these messages or to have a register/learning/pairing mechanism.

Usage

Configuration

See example config.yml

List of available commands: DeviceCommands

Subscribe to topic rfxcom2mqtt/devices to receive incoming messages.

Example JSON message on topic "rfxcom2mqtt/devices/0x5C02":

{
  "title": "Bathroom Temp & Hum",
  "type":"temperaturehumidity1",
  "subtype": 13,
  "id": "0x5C03",
  "seqnbr": 12,
  "temperature": 18,
  "humidity": 74,
  "humidityStatus": 3,
  "batteryLevel": 9,
  "rssi": 6
}

Publish command examples (topic/payload)

rfxcom2mqtt/commmand/CucuDimmer
on

rfxcom2mqtt/commmand/CucuDimmer
off

rfxcom2mqtt/commmand/CucuDimmer
level 15

rfxcom2mqtt/commmand/Switch1 (lighting4, payload identifies device)
on

rfxcom2mqtt/commmand/Switch1
off

rfxcom2mqtt/commmand/Lights/Light1  (lighting2, unitName identifies device)
on

rfxcom2mqtt/commmand/Lights/Light1
off

Healthcheck

If healthcheck is enabled in the config, the rfxcom status will checked every minute. In case of an error the node process will exit. If installed in docker the container will try to restart try to reconnect to the RFXCOM device.


Dependencies:

The RFXCOM Node library for the communication with the RFXCOM RFXtrx433 433.92MHz Transceiver.

The MQTT.js library for sending and receiving MQTT messages.

rfxcom2mqtt's People

Contributors

legobas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rfxcom2mqtt's Issues

Somfy RTS devices

Hello

Very interested in your project, but don't know now how to declare RFY Somfy devices.

Your Docker container worked (built with your Dockerfile) and my RFXCOM RFXtrx433XL addressed without any issues:
MQTT output: rfxcom2mqtt/info {"receiverType": "433.92MHz transceiver","hardwareVersion": "3.0","firmwareVersion": 1048,"firmwareType": "ProXL1", "enabledProtocols": [], "transmitterPower": -18,"Noise level": 68}

...and connected to my HomeAssistant MQTT server.

But I'm a bit lost on how to declare the devices.
I have already received the RFY EventCode from my devices,

Unit Code ID1 ID2 ID3 OK Description Event Code Name RFY
00 00 01 01 x Garage Store 071a000000010100 garage_store
00 00 01 02 x Véranda Store 071a000000010200 veranda_store
00 00 01 03 x Kitchen Store 071a000000010300 kitchen_store
00 00 01 04 x Portal 071a000000010400 portal_yard
00 00 01 05 x Light 071a000000010500 leds_yard

but I don't know now how to declare RFY devices in your config.yml.

Any help appreciated.

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.