Nickduino/Pi-Somfy

Open/Close Shutter Duration - How initialized?

Closed this issue · 1 comments

Maybe more a question than an issue:

I'm wondering how the duration (=time to fully open vs. close shutter) gets measured? Is this done automatically? When and how?

Question appeared when trying to send a value different to 0 / 100 as CMD value:

  1. Lets assume I opened shutter manually before to some position and stopped there
  2. Might be actual open state will be 73% or whatever
  3. From there, want to move to a defined opening position of 30%.
  4. Sending CMD value of 30 does not result in the expected state
  5. Shuttter gets moved just to some other position in the desired direction (in our case down from 73%)
  6. But it will not stop at 30% total opening as expected, but just a small distance from current position instead
  7. Maybe it is 30% relative to current position of 73%, not sure

Please kindly assist how to use the MQTT integration so that one may send e.g. 30% CMD value to enforce shutter to open/close precisely by 30% of total scale.

Is there some initialization required, to teach each shutter on the common open/close time? Similar to my Shelly shutter controllers, where I once need to train the Shelly on the open/close duration?

That's the only question I have, as everthing else worked out of the box. Great documentation 👍

Update - adding the Somfy actor via Web Interface did work. As mentioned in original post, still facing issues with controlling shutter position to some percentual level. To get rid of this, tried to initialize the newly attached actor in Web Interface as well. No success, failed multiple times.

My solution at the end - very basic but good enough - I measured the duration to fully open/close the shutter and add these measures into the config file as shutter attributes. That's it, having these total values for opening/closing available I can control any percentual level in between.