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

[enocean] EEP F6-02-xx: Wrong item states because second action is not recognized #9750

Closed
CountBigBang opened this issue Jan 8, 2021 · 0 comments
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@CountBigBang
Copy link
Contributor

For rocker switches with two rockers (EEP F6-02-xx), the EnOcean specification states that one telegram message may contain information on two (simultaneous) actions. This means that pressing two buttons simultaneously produces one telegram message affecting two channels. In the current implementation only one channel (affected by the first action) is triggered leaving any item linked to the second channel in the wrong state.

The following serves to illustrate the issue (hex and binary values for pressed actions):

  1. Channel A ON (A0): 30 (0011 0000)
  2. Channel A OFF (AI): 10 (0001 0000)
  3. Channel B ON (B0): 70 (0111 0000)
  4. Channel B OFF (BI): 50 (0101 0000)
  5. Channel A ON & Channel B ON (A0 & B0): 37 (0011 0111)
  6. Channel A ON & Channel B OFF (AI & BI): 15 (0001 0101)
  7. Channel A ON & Channel B OFF (A0 & BI): 35 (0011 0101)
  8. Channel A OFF & Channel B ON (AI & B0): 17 (0001 0111)
@CountBigBang CountBigBang added the bug An unexpected problem or unintended behavior of an add-on label Jan 8, 2021
CountBigBang pushed a commit to CountBigBang/openhab-addons that referenced this issue May 29, 2021
CountBigBang pushed a commit to CountBigBang/openhab-addons that referenced this issue May 29, 2021
fruggy83 added a commit to CountBigBang/openhab-addons that referenced this issue Sep 3, 2021
 * Added two new channels:
   * secondActionPressed: Indicates if second action of rocker switch is pressed too
   * rockerSwitchAction: emits the combined rocker switch actions "ChannelADir|ChannelBDir", extensible channel, filter for each channel
* Added two new profiles for channel rockerSwitchAction:
   * rockerswitchaction-toggle-switch
   * rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring

Signed-off-by: Daniel Weber <[email protected]>
fruggy83 added a commit to CountBigBang/openhab-addons that referenced this issue Sep 3, 2021
fruggy83 added a commit to CountBigBang/openhab-addons that referenced this issue Oct 10, 2021
* Channels "rockerswitchA" and "rockerswitchB" do not longer react if second action is pressed
* Added new parameter "handleSecondAction" to channel "rockerswitchListenerSwitch" and "rockerswitchListenerRollershutter" to define if classicDevice should react if second action is pressed too
* Added documentation
* EEP F6-02 refactoring

Signed-off-by: Daniel Weber <[email protected]>
fruggy83 added a commit to CountBigBang/openhab-addons that referenced this issue Oct 11, 2021
* Moved channel config for "rockerSwitchAction" into profiles
* Updated and cleaned README

Signed-off-by: Daniel Weber <[email protected]>
fruggy83 added a commit to CountBigBang/openhab-addons that referenced this issue Oct 11, 2021
 * Updated and cleaned README

Signed-off-by: Daniel Weber <[email protected]>
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this issue Oct 26, 2021
…) (openhab#10769)

 * Added new channel:
   * secondActionPressed: Indicates if second action of rocker switch is pressed too
* Added two new profiles for channel rockerSwitchAction:
   * rockerswitchaction-toggle-switch
   * rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring

Also-by: Dietmar Franzen <[email protected]>
Signed-off-by: Daniel Weber <[email protected]>
dschoepel pushed a commit to dschoepel/openhab-addons that referenced this issue Nov 9, 2021
…) (openhab#10769)

 * Added new channel:
   * secondActionPressed: Indicates if second action of rocker switch is pressed too
* Added two new profiles for channel rockerSwitchAction:
   * rockerswitchaction-toggle-switch
   * rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring

Also-by: Dietmar Franzen <[email protected]>
Signed-off-by: Daniel Weber <[email protected]>
Signed-off-by: Dave J Schoepel <[email protected]>
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this issue Dec 30, 2021
…) (openhab#10769)

 * Added new channel:
   * secondActionPressed: Indicates if second action of rocker switch is pressed too
* Added two new profiles for channel rockerSwitchAction:
   * rockerswitchaction-toggle-switch
   * rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring

Also-by: Dietmar Franzen <[email protected]>
Signed-off-by: Daniel Weber <[email protected]>
Signed-off-by: Nick Waterton <[email protected]>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this issue Jan 28, 2022
…) (openhab#10769)

 * Added new channel:
   * secondActionPressed: Indicates if second action of rocker switch is pressed too
* Added two new profiles for channel rockerSwitchAction:
   * rockerswitchaction-toggle-switch
   * rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring

Also-by: Dietmar Franzen <[email protected]>
Signed-off-by: Daniel Weber <[email protected]>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this issue May 5, 2022
…) (openhab#10769)

 * Added new channel:
   * secondActionPressed: Indicates if second action of rocker switch is pressed too
* Added two new profiles for channel rockerSwitchAction:
   * rockerswitchaction-toggle-switch
   * rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring

Also-by: Dietmar Franzen <[email protected]>
Signed-off-by: Daniel Weber <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

1 participant