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

[openwebnet] support for WHO=0 Scenarios #11378

Closed
RubenFuser opened this issue Oct 13, 2021 · 20 comments · Fixed by #13473
Closed

[openwebnet] support for WHO=0 Scenarios #11378

RubenFuser opened this issue Oct 13, 2021 · 20 comments · Fixed by #13473
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@RubenFuser
Copy link

hello, i'm working with openhab 3 with openwebnet binding installed but with my surprise WHO=0 scenarios are not supported.
is it possible to add the support for this?

thanks a lot

@RubenFuser RubenFuser added the enhancement An enhancement or new feature for an existing add-on label Oct 13, 2021
@mvalla
Copy link
Contributor

mvalla commented Oct 13, 2021

can you test and send this message using the official client:
*0*scenario*where##
where scenario=scenario number
and where=address of the scenario device?
And see if the scenario gets activated?

which models of the scenario scheduler and Bticino gateway you are using?

@RubenFuser
Copy link
Author

RubenFuser commented Oct 13, 2021 via email

@mvalla
Copy link
Contributor

mvalla commented Apr 23, 2022

are you interested in activating a scenario from OH ? or being notified in OH when a scenario gets activated in your system?

@RubenFuser
Copy link
Author

The idea is that when rhe physical button is pressed,it calls a scenario/rule in openhab.

@mvalla
Copy link
Contributor

mvalla commented Apr 24, 2022

it would be useful then if you configure one of the physical buttons you want to use in the BTicino system, activate official OpenWebNet Client monitor mode and then copy here which messages are sent on the BUS

@RubenFuser
Copy link
Author

if i press the scenario #1 i have this: 0195##
if i press the scenario #2 i have this: 02
95##
if i press the scenario #3 i have this: 0395##
if i press the scenario #4 i have this: 04
95##

thanks

@mvalla
Copy link
Contributor

mvalla commented Apr 24, 2022

Can you use code fences? Just to be sure of the format of the message. See the < > button when editing the message

@RubenFuser
Copy link
Author

yes you're right, was wrong formatted:

*0*2*95##

this is now right.

@mvalla
Copy link
Contributor

mvalla commented May 28, 2022

@RubenFuser to check if configured scenarios panels can be discovered, can you try this command again with the BTicino client?
(then paste here the image of the output):
*#0*0##

@RubenFuser
Copy link
Author

image

this is output. i have set on one scenario button, to open all rollershutters, so you'll see open command for 5 rollershutters and stop command for rollershutters.

thanks

@mvalla
Copy link
Contributor

mvalla commented May 30, 2022

ok, so this test shows that Scenarios WHO=0 cannot be discovered automatically, at least not with the command: *#0*0##.
They must be configured manually or using Discovery by Activation as it's explained in the binding readme.

@RubenFuser
Copy link
Author

So just to recap, i can do auto discover by pressing the physical button. Do i need to update binding with a special release? Which version?

@mvalla
Copy link
Contributor

mvalla commented May 30, 2022

look at the messages/threads on the openHAB community forum

@RubenFuser
Copy link
Author

if i press the scenario physical button number 2, the command that i see is 0*2*95##
i've put the binding in scanning mode, but if i press the physical button of the scenario 2, it isn't detected by the binding.
mine should be CEN scenario...
so actually there isn't a way to detect scenario module. and on LCD i could be able to configure 16 scenarios... :(

@mvalla
Copy link
Contributor

mvalla commented Jun 3, 2022

i've put the binding in scanning mode, but if i press the physical button of the scenario 2, it isn't detected by the binding.

this is strange. Can you provide me the log in DEBUG mode? from when you start the scanning (and then you press the scenario 2 physical button) until the scanning it's finished.

mine should be CEN scenario...

I do not understand what you mean here: here we are talking about WHO=0 scenarios, CEN/CEN+ scenarios are already fully supported by the binding

In conclusion: were you able to detect the activation of WHO=0 scenario 2 from a openHAB rule thanks to the test version of the binding I provided on the marketplace?

@mvalla
Copy link
Contributor

mvalla commented Jun 7, 2022

hi @RubenFuser did you have time to further test the binding I have put on the Marketplace with WHO=0 support?
If it works for you I could try have it added to the official 3.3.0 release of openHAB which is due very soon..

@RubenFuser
Copy link
Author

Ciao! Not yet,i hope to have time this late afternoon. I’ll keep you posted.

thx

@RubenFuser
Copy link
Author

i've put the binding in scanning mode, but if i press the physical button of the scenario 2, it isn't detected by the binding.

this is strange. Can you provide me the log in DEBUG mode? from when you start the scanning (and then you press the scenario 2 physical button) until the scanning it's finished.

mine should be CEN scenario...

I do not understand what you mean here: here we are talking about WHO=0 scenarios, CEN/CEN+ scenarios are already fully supported by the binding

In conclusion: were you able to detect the activation of WHO=0 scenario 2 from a openHAB rule thanks to the test version of the binding I provided on the marketplace?

For debug mode,we already discussed about this in the openhab forum and it’s where you told me that “funcion” has been removed because it’s old (or something like this). Let me know if you need again the debug output :)

@RubenFuser
Copy link
Author

update: with new test binding i've created a rule and seems to work.
just a couple of things that are not ok:

  • device is detected as BURGLAR_ALARM.
  • it detects in scanning mode, only from 1 to 8 scenarios. how can i add virtual scenarios configured in Bticino LCD?
  • if i add the jar in addons folder, it won't work. i need to uninstall the main binding from UI, install the binding from marketplace, and it will also install the main one. this way works.
  • after RPI/openhab restart, the binding stop to work and i need to uninstall/reinstall it.

should be all from my tests...

thanks

@mvalla
Copy link
Contributor

mvalla commented Nov 1, 2022

Closed by #13473

@mvalla mvalla closed this as completed Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants