Giter Site home page Giter Site logo

rts_rflink's Introduction

RTS_RFLink

After trying some of the time controlled covers based in automations (with poor results) I found the implementation for KNX cover:

This piece of code is the basis for my implementation. The merit and all my grats for the KNX developers/mainteners.

My implementation extends RFLinkCover and is very specific for RTS covers (a.k.a. Somfy covers).

It works better with wait_for_ack: false (disabled).

# RFLink component
rflink:
  port: /dev/serial/by-id/usb-1234_USB2.0-Serial-abcd-port0
  wait_for_ack: false

If not setted, every command can take up to 4 seconds to execute and some commands can get lost, executed when cover is stoped or whatever.

You must configure the travel times (in seconds) and the MY position (0-100 where 0 is closed and 100 open). The MY position is used to calculate the cover position.

  - platform: rts_rflink
    devices:
      RTS_0A8720_0:
        name: enanos
        rts_my_position: 10
        travelling_time_down: 14
        travelling_time_up: 15
        aliases:
          - rts_31e53f_01
          - rts_32e53f_01
          - RTS_32E542_0

rts_rflink's People

Contributors

javicalle avatar

Watchers

 avatar

Forkers

vabicider

rts_rflink's Issues

Télécommande générale virtuelle

Bonjour,
je rencontre un problème avec ma télécommande générale virtuelle sur home assistant qui me permet de fermer tous les volets à la tombée de la nuit j'ai pourtant mis dans aliases son adresse RTS Mais cela ne met pas à jour la position des volets. Pouvez vous m'aider ?

# Rflink
rflink:
  port: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_8573332373935111A030-if00
  #wait_for_ack: false

cover:
  - platform: rflink
    devices:
      RTS_FF0101_0:
        name: "volet_Telecommande_generale"
        aliases:
          - rts_349e48_01 # telecommmande generale Somfy smove
  - platform: rts_rflink
  
    devices:
      RTS_010201_0:
        name: "volet_cuisine"
        rts_my_position: 0
        travelling_time_down: 26
        travelling_time_up: 26
        aliases:
          - rts_2d8148_01 # telecommande cuisine Somfy smove
          - rts_349e48_01 # telecommmande generale Somfy smove
          - RTS_FF0101_0  # telecommmande generale HA
      RTS_020101_0:
        name: "volet_Salle_a_manger"
        rts_my_position: 14
        travelling_time_down: 24
        travelling_time_up: 24
        aliases:
          - rts_a8d747_01 # telecommande salle a manger Somfy smove
          - rts_349e48_01 # telecommmande generale Somfy smove
          - RTS_FF0101_0 # telecommmande generale HA

Merci

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.