It’s not really recommended to configure 2 gateways things, in fact there is no real benefit of having 2 ways to talk from OH to your BUS, for example you will find your lights/shutters twice!. So I suggest you remove one of the two things.
But before that: if you configured the gateways via .things file they should not appear in the Inbox anymore, so something is not working.
Can you add more details?
What is this button about ? What is its behavior? Which BTicino model?
Can you post your .items and .things lines related to the that button?
Area (A), Group (GR) and General (GEN) addresses are not supported yet by the binding.
There was some preliminary work/analysis but not integrated yet.
See/follow these issues #69 and #35
Hi, i don’t understand how to configure a controller f411u2 configurated as door_lock. System see it as light and when i open contact door_lock is open but i need to close contact manually… can you help me?
I am trying to use some ‘virtual switches’ as a flag from a MH202 scenario to openHAB eg In a scenario I simply pick an unused address and switch it ON.
Then in openhab I have the virtual switch defined and use a rule triggered when it receives the ON command.
This used to work but its stopped and I see the following error message and the rule is not triggerred
[INFO ] [ebnet.handler.OpenWebNetThingHandler] - ==OWN:ThingHandler== Thing state request timer expired, still unknown. Setting thing=openwebnet:bus_on_off_switch:Screen10:0813 to OFFLINE
Any clues as to what has changed? I have recently updated the binding.
I tried a few things…commented out the virtual things, cleared the cache, restarted openHAB and uncleared the commenting out, toggled the things ON and OFF in PaperUI >>>> Now the rules are triggered. I am not sure what fixed it, which means the issue may come back
Here is the virtual switch with 10secs between ON and OFF. The ON triggers a rule which Updates a Sitemap text item which indicates the last blind scenario that was run by MH202
Hi @Lucav87,
this binding works by integrating BTicino devices using the OpenWebNet protocol, and not the Legrand Web APIs (“Works with Legrand” program, sometimes called ELIOT).
There is a big difference between the two, mainly the fact that OpenWebNet is the integration protocol for local (LAN) communication : no information needs to be sent to Legrand/BTicino cloud.
So to support Legrand Web API I guess a new binding would be needed, I remember some effort was initially described here, using Legrand APIs to integrate Smarther thermostat: https://github.com/MrRonfo/openhab-smarther
Hello Massimo,
I successfully installed the binding a few months ago and it worked fine till now.
Now something strange appened: the Bus gateway (myserver1) doesn’t comunicate any more.
I’m receiving a “communication error” message.
I tested the communication with my myserver1 using the OpenWebNet client and everything seems right. The only thing is that the OpenWebNet client is installed on a different computer that the one on wich openhab is working (Raspberry), anyway the openHab is reachable on the local network and it is working.
I checked the log, too (see below).
18:08:26.925 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== BridgeHandler.dispose()
18:08:26.930 [DEBUG] [org.openwebnet.OpenGatewayBus ] - ##gw-openwebnet-BUS## CLOSE CONNECTION RECEIVED {}
18:08:26.937 [DEBUG] [webnet.bus.queue.PriorityCommandQueue] - PriorityCommandQueue: Exception during suspension on the semaphore: java.lang.InterruptedException
18:08:26.939 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== onConnectionClosed() - isGatewayConnected=false
18:08:26.937 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== Connection closed and unsubscribed.
18:08:26.942 [DEBUG] [nwebnet.bus.queue.PriorityQueueThread] - OpenWebNet CMD [null]
18:08:26.947 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== now calling super.dispose()
18:08:26.973 [INFO ] [smarthome.event.ThingUpdatedEvent ] - Thing 'openwebnet:bus_gateway:MYHOMESERVER1_***************' has been updated.
18:08:26.997 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== BridgeHandler.getConfigStatus()
18:08:27.003 [INFO ] [smarthome.event.ConfigStatusInfoEvent] - ConfigStatusInfo [configStatusMessages=[]]
18:08:26.995 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== BridgeHandler.initialize()
18:08:27.010 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== Bridge type: openwebnet:bus_gateway
18:08:27.014 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== discoveryByActivation=false
18:08:27.018 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== Creating new BUS gateway with config properties: 192.168.1.7:20000, ***********
18:08:27.023 [DEBUG] [rg.openwebnet.bus.MyHomeJavaConnector] - ##gw-openwebnet-connector## Created MyHomeJavaConnector 192.168.1.7:20000
18:08:27.043 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'openwebnet:bus_gateway:MYHOMESERVER1_000********' changed from OFFLINE (COMMUNICATION_ERROR) to UNKNOWN
18:08:27.080 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== Trying to connect gateway...
18:08:27.085 [ERROR] [org.openwebnet.AbstractOpenGateway ] - ERROR IN Java $MODULE$: connection cannot be established
18:08:27.093 [DEBUG] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== BridgeHandler.getConfigStatus()
18:08:27.098 [INFO ] [smarthome.event.ConfigStatusInfoEvent] - ConfigStatusInfo [configStatusMessages=[]]
18:08:34.793 [INFO ] [smarthome.event.ItemStateChangedEvent] - Temperature_Salotto changed from 24.8 to 24.9
18:08:42.550 [INFO ] [smarthome.event.ItemStateChangedEvent] - Temperature_Camera_Ospiti changed from 24.5 to 24.4
18:08:47.090 [INFO ] [ebnet.handler.OpenWebNetBridgeHandler] - ==OWN== BridgeHandler status still UNKNOWN. Setting device=openwebnet:bus_gateway:MYHOMESERVER1_000********* to OFFLINE
18:08:47.110 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'openwebnet:bus_gateway:MYHOMESERVER1_*************' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR)
Do someone have an idea of about could be wrong?
Thanks a lot