8000 GitHub - dscheerens/rfxtrx-gateway: Microservice that provides remote access to a RFXtrx (RFXCOM) device
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dscheerens/rfxtrx-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RFXtrx gateway server

This project contains a microservice that acts as a gateway for RFXtrx devices. The gateway allows for streaming messages (read / write) using a websocket interface (/ws/rfxtrx). Commands can also be written using a rest endpoint (POST /api/rfxtrx).

Tech-stack

Supported messages

Currently the server only recognizes a small subset of the RFXtrx messages ("lighting2" and transmit responses). Since I couldn't find any documentation regarding the RFXtrx messages, all (de)serialization is based on the following open source projects:

Use the following steps to add support for extra messages:

  1. Create the message class in the net.novazero.rfxtrxgateway.rfxtrxmessages package. The new message class should extend the RfxtrxMessage class.
  2. Add the message class to the deserializer map in the RfxtrxMessageDeserializer class.
  3. Create the DTO class for the message in the net.novazero.rfxtrxgateway.rfxtrxmessages.dto package. It should implement the RfxtrxMessageDto interface.
  4. Add toDto and fromDto overload functions for the new message type in the RfxtrxMessageConverter class.
  5. Extend the generic toDto and fromDto functions in the RfxtrxMessageConverter class.
  6. Extend the @JsonSubTypes annotation of the RfxtrxMessageDto interface (so Jackson knows how to handle the polymorphic type).

About

Microservice that provides remote access to a RFXtrx (RFXCOM) device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0