Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Home Assistant
  4. Supporting cover tilt position

Supporting cover tilt position

Scheduled Pinned Locked Moved Home Assistant
6 Posts 4 Posters 90 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hypnosiss
    wrote on last edited by
    #1

    Hello,

    In home assistant, there is an option to controll tilt of the rollershutter but currently mysensors integration is not supporting that feature.

    I decided to modify the integration and add such support. Unfortunately I've used V_VAR1 to carry position of the tilt, because it was only one I could legaly use.

    It is working fine and I would create pull request to github, but I need common understanding with you guys which type of the message should be used. Is V_VAR1 ok or new one should be introduced in mysensors?''

    Best regards,
    Mariusz

    rejoe2R 1 Reply Last reply
    3
    • H hypnosiss

      Hello,

      In home assistant, there is an option to controll tilt of the rollershutter but currently mysensors integration is not supporting that feature.

      I decided to modify the integration and add such support. Unfortunately I've used V_VAR1 to carry position of the tilt, because it was only one I could legaly use.

      It is working fine and I would create pull request to github, but I need common understanding with you guys which type of the message should be used. Is V_VAR1 ok or new one should be introduced in mysensors?''

      Best regards,
      Mariusz

      rejoe2R Offline
      rejoe2R Offline
      rejoe2
      wrote on last edited by
      #2

      @hypnosiss Hi there, glad to hear someone is developing code for venetian blind covers :+1: .
      Just some thoughts on this:
      Despite using some kind of custom field might be ok or having a commonly used seperate variable might be fine as well, I personally would tend to just use a second set of the S_COVER-variables under a seperate child ID.
      Not sure, how other home automation systems deal with that, but this seems to be some kind of standard for actors supporting a venetian blind mode. E. g. newer Z-Wave devices like Fibaro FGR-223 or Tasmota (starting with 10.0.0.4?) also just present a secon "blind" to control tilt position.

      Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

      1 Reply Last reply
      1
      • H Offline
        H Offline
        hypnosiss
        wrote on last edited by
        #3

        In case of control under separate ID I am not sure whether Home Assistant will merge controlling tilt and cover position in one card like here
        9c2dae33-2020-4a2c-83bf-77c5063e1ef7-obraz.png

        it would be ideal to create separate variable but probably it could be a long process (update mysensors lib -> update pymysensors -> update home assistant to use never version of pymysensors -> update home assistant to support new variable and probably also modules to use newer version of mysensors).

        G 1 Reply Last reply
        0
        • F Offline
          F Offline
          feanor-anglin
          wrote on last edited by
          #4

          Very important feature, actually I can't understand how it is still missing in MySensors. Ultimately there should be just one more percentage value with a proper name added to the same device ID. Separate ID is not a good idea, because of the reason you presented. As you say, it seems quite difficult this way, but nonetheless this should be a goal here. Using VAR1 is a good and fully functional workaround though. I'm looking forward to see your code.

          1 Reply Last reply
          0
          • H hypnosiss

            In case of control under separate ID I am not sure whether Home Assistant will merge controlling tilt and cover position in one card like here
            9c2dae33-2020-4a2c-83bf-77c5063e1ef7-obraz.png

            it would be ideal to create separate variable but probably it could be a long process (update mysensors lib -> update pymysensors -> update home assistant to use never version of pymysensors -> update home assistant to support new variable and probably also modules to use newer version of mysensors).

            G Offline
            G Offline
            gryzli133
            wrote on last edited by
            #5

            @hypnosiss have you shared your code already? Could you put here a link to your solution. I would like to see how did you managed to connect V_VAR1 to second slider. Thanks in advance!

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hypnosiss
              wrote on last edited by
              #6

              hey,
              sorry for late reply. PR for mysensors is ready to be merged:
              https://github.com/mysensors/MySensors/pull/1570

              next step is create PR in mysensors integration for home assistant.

              Best regards
              Mariusz

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              14

              Online

              11.7k

              Users

              11.2k

              Topics

              113.0k

              Posts


              Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular