这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.
This repository was archived by the owner on May 17, 2021. It is now read-only.

[UPB] Feature request -- receive status updates and scene changes from UPB devices. #4846

@bracklanna

Description

@bracklanna

Request UPB binding enhancement to listen to status updates and scene (link) activation requests sent out by UPB devices, and then pass these updates into OpenHAB (i.e. as Events, or state changes.)

Current Behavior

At present, the UPB binding will SEND commands out to devices, and will receive ACK's (acknowedgments) from devices upon those specific commands being executed. But the UPB binding does not monitor status changes initiated at the UPB devices. (e.g. if someone presses a UPB light switch, even though the switch sends out a UPB status update on the UPB wire bus confirming that the light has changed from ON, to OFF, the OpenHAB UPB binding does not appear to register this update or do anything with it.)

Also, some UPB devices (e.g. scene controllers) can send out Scene activation commands. These also are ignored by the UPB binding.

Desired Behavior

If I physically activate a UPB wall switch ON, or OFF, OpenHAB should be notified of an Event or state change so that it can take action according to Rules.

If I physically activate a UPB Scene Control button, OpenHAB should be notified of the Scene (aka "link") activation status so that, if desired, it can take actions according to Rules.

Context

I have a UPB wall ON/OFF/Dimmer switch (model US11-40) in the bathroom. When someone enters the bathroom and turns on the light, I would like OpenHAB to know that, so that it can take the correct action according to ambient temperature. (In this case, either turn on the Vent only (warm weather) or turn on the Heater only (in winter), followed by Vent 5 minutes later.)

Another example: I have a UPB scene-control button set to dim all house lights to 15% for evening. When that UPB scene is activated (from the physical UPB device) I would like OpenHAB to be aware of the UPB scene change so that it can turn down the background music to evening volume levels.

Your Environment

  • Version used: OpenHAB 1.8.3, UPB Binding 1.9.0
  • java version "1.8.0_91"
  • Ubuntu 16.04 LTS (i386) with an RS232 UPB PIM connected through a USB-->Serial adapter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions