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

Read shutter position from OWN status message #97

Open
feodor85 opened this issue Oct 24, 2019 · 0 comments
Open

Read shutter position from OWN status message #97

feodor85 opened this issue Oct 24, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@feodor85
Copy link

feodor85 commented Oct 24, 2019

I have Legrand 067263 shutter.

In the documentation for the equipment there is a section:

If your shutter has traditional limit switches, place the shutter in the fully open position and press the button indicated, holding for more than four seconds. The shutter closes fully, opens fully, and then settles in an intermediate position. Do not interfere with the unit during this phase. The unit has memorized the shutter opening and closing times. Next, memorise the desired position (preset).

After config the device sends position status messages:

  • after full opening sends: *2*0*770677101#9##*#2*770677101#9*10*10*100*000*0##
    where 100 is position;
  • after middle opening sends *2*0*770677101#9##*#2*770677101#9*10*10*45*000*0##
    where 45 is position

Currently the binding ignores these messages:

2019-10-25 00:34:51.123 [INFO ] [org.openwebnet.OpenGatewayZigBee$a  ] - SERIAL RECEIVED  <<<<<<<<<<<<<<<<<<<<<<<< *2*0*770677101#9##*#2*770677101#9*10*10*100*000*0##
2019-10-25 00:34:51.129 [DEBUG] [org.openwebnet.OpenGatewayZigBee    ] - ##gw-openwebnet-ZB## onNewFrame *2*0*770677101#9##*#2*770677101#9*10*10*100*000*0##
2019-10-25 00:34:51.137 [DEBUG] [org.openwebnet.OpenGatewayZigBee    ] - ##gw-openwebnet-ZB## session stack is empty for message: <*#2*770677101#9*10*10*100*000*0##>
2019-10-25 00:34:51.136 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN==  ownId=2.7706771
2019-10-25 00:34:51.143 [DEBUG] [.handler.OpenWebNetAutomationHandler] - ==OWN:AutomationHandler== updateAutomationState() - msg=<*2*0*770677101#9##> what=STOP
2019-10-25 00:34:51.144 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN==  ownId=2.7706771
2019-10-25 00:34:51.152 [DEBUG] [.handler.OpenWebNetAutomationHandler] - ==OWN:AutomationHandler== # 770677101 # [[[ internalState=0 positionEst=-1 - calibrating=-1 shutterRun=-1 ]]]
2019-10-25 00:34:51.153 [DEBUG] [.handler.OpenWebNetAutomationHandler] - ==OWN:AutomationHandler== updateAutomationState() - msg=<*#2*770677101#9*10*10*100*000*0##> what=null
2019-10-25 00:34:51.162 [WARN ] [.handler.OpenWebNetAutomationHandler] - ==OWN:AutomationHandler== updateAutomationState() FRAME <*#2*770677101#9*10*10*100*000*0##> NOT SUPPORTED for thing openwebnet:zb_automation:myZBgateway:myzigbeeswitch_enter4, ignoring it.

It would be more precise to read the shutter position from status messages.

@mvalla mvalla changed the title Shutter position Read shutter position from OWN status message Oct 25, 2019
@mvalla mvalla self-assigned this Oct 25, 2019
@mvalla mvalla added the enhancement New feature or request label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants