[BTicino/OpenWebNet] New openHAB2 binding ready for testing

Do not use A = 0
Publish files .things .items. rules .sitemaps

something is strange. i just created cen as an example for anees, this works, means the cen commands are sent and the mh200n receives the commands and acts.

but:

  • when activating cen 25 button 8 than light switches off whats korrekt, but additionally my shutters in living romm close, but they are group 3 (what is not implemented)

anees, you can check my example here, be aware that i have different installation-niveaus, beause of that i use where=25#4#01, maybe you dont need installation-niveau (where=25)

i have a cenario programmed in mh200n that is a=2 pl=5 buttons=7(light on) and 8(light off)

things:

Thing bus_cen_scenario_control cen_kugel "cen Leuchtkugeln" @ "Cen/CenPlus" [ where="25#4#01", buttons="7,8" ]

items:


String icen_kugel_an "Leuchtkugeln an" <network> { channel="openwebnet:bus_cen_scenario_control:MH200N:cen_kugel:button_7" }

String icen_kugel_aus "Leuchtkugeln aus" <network> { channel="openwebnet:bus_cen_scenario_control:MH200N:cen_kugel:button_8" }

sitemap:

Switch  item=icen_kugel_an label="Leuchtkugeln an []" 	mappings=[PRESSED="EIN"]
Switch  item=icen_kugel_aus label="Leuchtkugeln aus []" 	mappings=[PRESSED="AUS"]

best, stefan

I have an external wireless probe. I don’t think its defined in the central thermo unit but it works withiut issue. Its a bit slow to update sometimes.

Hi Stefan,
I’ve uploaded your example configuration to my system, but I can not see anything on both the OH log and the Log Client

2019-01-23 01:27:29.751 [ome.event.ItemCommandEvent] - Item 'icen_kugel_an' received command PRESSED
2019-01-23 01:27:29.772 [nt.ItemStatePredictedEvent] - icen_kugel_an predicted to become PRESSED
2019-01-23 01:27:29.792 [vent.ItemStateChangedEvent] - icen_kugel_an changed from RELEASED to PRESSED
2019-01-23 01:27:30.617 [vent.ItemStateChangedEvent] - icen_kugel_an changed from PRESSED to RELEASED
2019-01-23 01:27:31.374 [ome.event.ItemCommandEvent] - Item 'icen_kugel_aus' received command PRESSED
2019-01-23 01:27:31.382 [nt.ItemStatePredictedEvent] - icen_kugel_aus predicted to become PRESSED
2019-01-23 01:27:31.410 [vent.ItemStateChangedEvent] - icen_kugel_aus changed from RELEASED to PRESSED
2019-01-23 01:27:32.205 [vent.ItemStateChangedEvent] - icen_kugel_aus changed from PRESSED to RELEASED
[Ricevuto 23.01.2019 01:27:27] [MONITOR] *15*07*25##
[Ricevuto 23.01.2019 01:27:28] [MONITOR] *15*07#1*25##
[Ricevuto 23.01.2019 01:27:29] [MONITOR] *15*08*25##
[Ricevuto 23.01.2019 01:27:29] [MONITOR] *15*08#1*25##

You can publish the two logs, OH and OpenWebNet Client

hi michele,

you are totally right! everything is ok!

i had a programm in my mh200n that was on the same cen and closed shutters. i´m trying around so much at the moment, didn´t pay attention and mixed the cen-commands.

the only “problem” for me that stays: when activating cen command at sitemap or paperui the rules work. but if activating cen from physical switch of domotica the rule does nothing.

thanks a lot, stefan

I did a lot of tests with CEN and CEN +, I found problems.

I can not simulate your problem.

Lock at the pictures.
It’s normal ?

Regards
Arnaud

It would be possible to integrate the who = 14?
It is to lock or unlock an actuator
example:

  • 14 * 0 * 11 ## => lock actuator 11
  • 14 * 1 * 11 ## => unlock actuator 11

Regards
Arnaud

Thanks Massi,
It’s a very good job.
Regards
Arnaud

Did you just restart openhab and then the error comes shortly after?

No it’s not normal but to give a chance to me to understand you have to give some more info.

  • What did you do when it happened ?
  • Did you change set temperature?
  • to which temperature?
  • For which thermostat ? (Where address?)
  • Form central unit , from thermostat or from OH2?

Bye
M

hi arnaud,

i can reproduce this error when sitemap is not correct configured. does your setting look like:

Setpoint item=iEG_ThSet_Flur minValue=12.5 maxValue=30 step=0.5

please check this, for me this works fine.

best, stefan

Hey Massi,

Just or your information, i get following warning, no big deal, just telling you

==> /var/log/openhab2/openhab.log <==

2019-01-31 17:41:29.625 [WARN ] [.handler.OpenWebNetAutomationHandler] - ==OWN:AutomationHandler== updateAutomationState() FRAME <21000#0*76##> NOT SUPPORTED for thing openwebnet:bus_automation:MH200N:kitchen_rear_curtain, ignoring it.

==> /var/log/openhab2/events.log <==

2019-01-31 17:41:29.907 [vent.ChannelTriggeredEvent] - logreader:reader:9e852bdb:newWarningEvent triggered 2019-01-31 17:41:29.625 [WARN ] [.handler.OpenWebNetAutomationHandler] - ==OWN:AutomationHandler== updateAutomationState() FRAME <21000#0*76##> NOT SUPPORTED for thing openwebnet:bus_automation:MH200N:kitchen_rear_curtain, ignoring it.

==> /var/log/openhab2/openhab.log <==

2019-01-31 17:41:30.179 [WARN ] [.handler.OpenWebNetAutomationHandler] - ==OWN:AutomationHandler== updateAutomationState() FRAME <21000#2*76##> NOT SUPPORTED for thing openwebnet:bus_automation:MH200N:kitchen_rear_curtain, ignoring it.

==> /var/log/openhab2/events.log <==

2019-01-31 17:41:30.910 [vent.ChannelTriggeredEvent] - logreader:reader:9e852bdb:newWarningEvent triggered 2019-01-31 17:41:30.179 [WARN ] [.handler.OpenWebNetAutomationHandler] - ==OWN:AutomationHandler== updateAutomationState() FRAME <21000#2*76##> NOT SUPPORTED for thing openwebnet:bus_automation:MH200N:kitchen_rear_curtain, ignoring it.

Which version of the OWN binding are you using?
bye
M

Hi Massi!
When you release binding for openhab 2.4?
I see that you release for v2.5.0-M1
Thanks!

As far as i know the lateste 9-b2
But i must idmid everything seems to work. i have not test CEN yet tough

Got another error later on
2019-01-31 18:27:20.989 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: 1327##

==> /var/log/openhab2/events.log <==

2019-01-31 18:27:21.414 [vent.ChannelTriggeredEvent] - logreader:reader:9e852bdb:newErrorEvent triggered 2019-01-31 18:27:20.989 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: 1327##

When inserting code, use the button image , information is lost. 1327 ## does not exist.

Hi,
I have been playing around with CEN and CENplus. This meant running a discovery but I still get the same problem as for earlier versions. The discovery process causes some scenerios on the MH202 to stop working. The ones that stop are those that have “only if” conditions. Rebooting the MH202 fixes the issue.

Hi Guys, first of all congratulation for the wonderfull job done! Massi has been just superb!
I have a well populated system, including MH202, Webserver 1, Power management (4 lines) 10" touchscreen and 3,5"touchscreen and tons of attuators and switches.
I have openhab up and running with almost everithing and now i’m trying to have CEN+ working.
Now, at this point, everythings is up and running, including the “CEN+ thing” with the green label in the Things paperUI section.
Sorry for this very simple questions, but for who letf programming almost 30 years ago, is not easy follow the tech, therefore how can i have my simple push botton in the habpanel to start the CEN + configured thing scenario??
I went throught all messages but i was not able to understand this passage.
Thanks to anybody can help.

Costa

Look here

1 Like