Code Monkey home page Code Monkey logo

Comments (8)

flhoest avatar flhoest commented on August 17, 2024 1

You are right, I'm coding my own code and I'm using Domoticz. So, I'm totally out of context. Sorry.
This is what I'm doing : https://www.lets-talk-about.tech/2023/09/somfy-how-to-control-your-devices-in-php.html

from ha-tahoma.

iMicknl avatar iMicknl commented on August 17, 2024

Could you share your device info, like you did in your other issue? I would like to make sure our devices have the same commands available. This weekend I will give the latest beta a try with my Pergola device and see which changes we need to make.

from ha-tahoma.

jurgen272 avatar jurgen272 commented on August 17, 2024
  {
     "creationTime":1590504461000,
     "lastUpdateTime":1590504461000,
     "label":"PERGOLA TILT IO",
     "deviceURL":"io://xxxxxx",
     "shortcut":false,
     "controllableName":"io:BioclimaticPergolaIOComponent",
     "definition":{
        "commands":[
           {
              "commandName":"closeSlats",
              "nparams":0
           },
           {
              "commandName":"delayedStopIdentify",
              "nparams":1
           },
           {
              "commandName":"getName",
              "nparams":0
           },
           {
              "commandName":"identify",
              "nparams":0
           },
           {
              "commandName":"openSlats",
              "nparams":0
           },
           {
              "commandName":"refreshMemorized1Orientation",
              "nparams":0
           },
           {
              "commandName":"setMemorized1Orientation",
              "nparams":1
           },
           {
              "commandName":"setName",
              "nparams":1
           },
           {
              "commandName":"setSecuredOrientation",
              "nparams":1
           },
           {
              "commandName":"setOrientation",
              "nparams":1
           },
           {
              "commandName":"setSlatsOrientationWithSpeed",
              "nparams":2
           },
           {
              "commandName":"startIdentify",
              "nparams":0
           },
           {
              "commandName":"stop",
              "nparams":0
           },
           {
              "commandName":"stopIdentify",
              "nparams":0
           },
           {
              "commandName":"wink",
              "nparams":1
           }
        ],
        "states":[
           {
              "type":"ContinuousState",
              "qualifiedName":"core:Memorized1OrientationState"
           },
           {
              "type":"DataState",
              "qualifiedName":"core:NameState"
           },
           {
              "type":"ContinuousState",
              "qualifiedName":"core:PriorityLockTimerState"
           },
           {
              "type":"ContinuousState",
              "qualifiedName":"core:RSSILevelState"
           },
           {
              "type":"ContinuousState",
              "qualifiedName":"core:SecuredOrientationState"
           },
           {
              "values":[
                 "closed",
                 "open"
              ],
              "type":"DiscreteState",
              "qualifiedName":"core:SlatsOpenClosedState"
           },
           {
              "type":"ContinuousState",
              "qualifiedName":"core:SlatsOrientationState"
           },
           {
              "values":[
                 "available",
                 "unavailable"
              ],
              "type":"DiscreteState",
              "qualifiedName":"core:StatusState"
           },
           {
              "values":[
                 "comfortLevel1",
                 "comfortLevel2",
                 "comfortLevel3",
                 "comfortLevel4",
                 "environmentProtection",
                 "humanProtection",
                 "userLevel1",
                 "userLevel2"
              ],
              "type":"DiscreteState",
              "qualifiedName":"io:PriorityLockLevelState"
           },
           {
              "values":[
                 "LSC",
                 "SAAC",
                 "SFC",
                 "UPS",
                 "externalGateway",
                 "localUser",
                 "myself",
                 "rain",
                 "security",
                 "temperature",
                 "timer",
                 "user",
                 "wind"
              ],
              "type":"DiscreteState",
              "qualifiedName":"io:PriorityLockOriginatorState"
           }
        ],
        "dataProperties":[
           {
              "value":"500",
              "qualifiedName":"core:identifyInterval"
           }
        ],
        "widgetName":"BioclimaticPergola",
        "uiClass":"Pergola",
        "qualifiedName":"io:BioclimaticPergolaIOComponent",
        "type":"ACTUATOR"
     },
     "states":[
        {
           "name":"core:NameState",
           "type":3,
           "value":"PERGOLA TILT IO"
        },
        {
           "name":"core:PriorityLockTimerState",
           "type":1,
           "value":0
        },
        {
           "name":"core:StatusState",
           "type":3,
           "value":"available"
        },
        {
           "name":"core:RSSILevelState",
           "type":2,
           "value":18.0
        },
        {
           "name":"core:SlatsOpenClosedState",
           "type":3,
           "value":"open"
        },
        {
           "name":"core:SlatsOrientationState",
           "type":1,
           "value":73
        },
        {
           "name":"core:SecuredOrientationState",
           "type":1,
           "value":105
        }
     ],
     "attributes":[

     ],
     "available":true,
     "enabled":true,
     "placeOID":"xxxxxx",
     "widget":"BioclimaticPergola",
     "type":1,
     "oid":"xxxxxx",
     "uiClass":"Pergola"
  }

from ha-tahoma.

iMicknl avatar iMicknl commented on August 17, 2024

@jurgen272 I can confirm that the integration is broking for pergola's, since we moved away from position to tilt_position for the slats.

from ha-tahoma.

flhoest avatar flhoest commented on August 17, 2024

Hi there, I'm actually also working on this. I've found a way to mimic the setPosition behavior.
Start moving the slats, ready the actual position and stop when you reach what you are looking for. This is what I'm going to implement.

from ha-tahoma.

iMicknl avatar iMicknl commented on August 17, 2024

@flhoest you are responding to a very old issue, which has been resolved for ages. Not sure what you are working on, but good to check if the Overkiz integration in core doesnโ€™t support it already.

from ha-tahoma.

flhoest avatar flhoest commented on August 17, 2024

I'm trying to use the setPosition of my roof slats. The API returns a activity id like if it will be working but nothing happens. I using the OverKiz endpoint.

from ha-tahoma.

iMicknl avatar iMicknl commented on August 17, 2024

@flhoest this is the repository for the (old and deprecated) Home Assistant integration. Seems you are not using Home Assistant?

If you are using our Python API wrapper, please create an issue on https://github.com/iMicknl/python-overkiz-api.

If you face issues with the API, please contact Somfy support or https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode.

from ha-tahoma.

Related Issues (20)

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.