Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facade blinds #815

Closed
klew opened this issue Apr 10, 2024 · 0 comments
Closed

Facade blinds #815

klew opened this issue Apr 10, 2024 · 0 comments

Comments

@klew
Copy link
Member

klew commented Apr 10, 2024

Facade Blinds (FB) are on "Relay" channel type - the same as Roller Shutter (RS).
There is a new function for FB and "bit function" variant:

#define SUPLA_CHANNELFNC_CONTROLLINGTHEFACADEBLIND 900 
#define SUPLA_BIT_FUNC_CONTROLLINGTHEFACADEBLIND 0x00010000

Configuration is similar as for RS with following changes:

  • there is no "bottom position"
  • there is no "opening/closing sensor" (too be confirmed)
  • new configuration option for "facade blind type" with values:
#define SUPLA_FACADEBLIND_TYPE_STANDS_IN_POSITION_WHILE_TILTING 1
#define SUPLA_FACADEBLIND_TYPE_CHANGES_POSITION_WHILE_TILTING 2
#define SUPLA_FACADEBLINE_TYPE_TILTS_ONLY_WHEN_FULLY_CLOSED 3
  • new option "tilting time ms"
  • new option "motor upside down" (inverts relays) (this will be also for RS, however only for channels with "runtime channel config flag set")
  • new option "button upside down" (inverts buttons) (this will be also for RS, however only for channels with "runtime channel config flag set")
  • new option "additional time margin" (-1 - device default, 0 - disabled, >0 % of opening/closing time added on extreme positions) (this will be also for RS, however only for channels with "runtime channel config flag set")
  • new option "tilt 0 angle"
  • new option "tilt 100 angle"

Tilt 0/100 angle - device reports tile in 0-100 value. User defines the corresponding angle for values 0 and 100, so that Cloud and App may calculate and show to user tilt in degrees (instaead of 0-100 % value).

Tilt angle should be visible to user (next to closing procentage) and in API/direct links etc.

Channel config definition for facade blinds: https://github.com/SUPLA/supla-core/blob/17eca0473cad20944faf331cc7951c2890858c1c/supla-common/proto.h#L2688

FB should support the same actions as RS. Only "open partially" and "close partially" should have additional tilt setting (angle value in range tilt 0 and 100 angle parameters).

fracz added a commit that referenced this issue Apr 15, 2024
fracz added a commit that referenced this issue Apr 15, 2024
@fracz fracz closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants