[BTicino/OpenWebNet] New openHAB2 binding ready for testing

I have voted. I would have liked a 4th option as the three I chose are essential for me just to stand still. 4th would be the video side of things as I have a video door bell that so far is not part of openHAB

I do have OH3 on test set up. It looks very different. Gulp!

I have about 600 items defined for OH2 5.11, lots of things, rules and scripts all in text based config files. It’s very daunting to contemplate abandoning text based configurations and I have no idea how to back up UI based setups confidently and reliably restore the setups when needed.

So, I watch and wait for now

I installed OH3 via the openhabian config tool. That was easy for my simple test set up with one light switch, no rules or other bindings and features.

.

M

hello mark,
I do have OH3 on production because my original SD is gone…and my 2.5.11 installation…sigh…

I reload everything in text based config and all is working, also Habpanel is working.
The thing missing for me is “control” page in paperUi for testing all the item linked…

I’m waiting for full bticino binding…

1 Like

Thats good news. Thanks.

I am using SSD no issues with it so far. I plan to make a complete mirror set up . Pi4 and SSD when the parts arrive next week. I will then test and setup OH3 on these (currently Pi3b) . When done I will copy the OH3 setup SSD and SD boot onto ‘spares’ as backups but the lack features on the openwebnet for OH3 will delay a complete move over.

1 Like

I think that a large part of users, read this forum only when searching for some answer or when they do the first installation.
Unfortunately, it’s very common in every forum/community :frowning:

In any case, I’ll take this opportunity to thank you and all the developers behind this project :slight_smile:

1 Like

I did the poll: I don’t recall what I answered, but I’m sure I’ve answered😁

Hello. I have just Installed OH 3 on a test PI3 after having moved the production OH2 to a new PI4. I just copied the text files from old system and they worked as expected. The addons installation is not working at installation time, but it worked well from paperUI.
In this test I have the opportunity to clean old text files from things I left there form beginning and mostly no more interesting. I had no problems for lights and automations. Next step will be to check the WHO=4 thermo environment, when it will be available before to switch to OH3.
Minor changes were done to scripts to avoid warning on useless casting and some check to devices lest in UNKNOWN state at startup. Nothing important to blame! Great work!!!

1 Like

Hi Massi
I answered the survey.
At the moment I’m too busy with other jobs and I don’t have much time to devote to OpenHab as it has been working for some time … I keep the thread monitored … quiet. Thanks for your great work!
Gabriele

Yes @massi, already voted. Thanks for your efforts!!!

I think there are many members who only come by when they have problem.

The forum tools for alerting members seem limited. I can’t see a way to send a mass notification. So, maybe you have add more user names as you did. Maybe a moderator can help? The first post lists the frequent posters

Gozzila… he just disappeared didn’t he? Last activity was 2019.

Also, githib has interested members on the relevant threads and maybe better tools to help you reach out

1 Like

Hi All,

I’m new to the forum (entered with OH 2.5.11 and the official version of OpenWebNet binding with only switch and automation support). I have a home automation MyHome system with 70 things (MH202, light, rollershutter, heating control). I upgraded to OH3 and all the things are working properly with the OH3 OpenWebNet binding (of course, only switches and rollershutters).
I decided to move to UI configuration but I keep the text configuration files updated and stored elsewhere (as I think that restoring from text files and make mass changes would be faster). I imported my text configured items to UI through the “Add Items from Textual Definition”, it worked well. So far I’m happy with OH UI, I think it has great potential. I look forward to new function to be implemented in the binding. Unfortunately, I have no hard-coding capabilities to help the development.
I really thank massi for his hard work, I already voted.

G

I have voted also , tying to test the OH3 in a couple of day , thanks a lot for this amazing binding !

I just prepared a second Pi for OH3. Count me in for testing. I will have capacity only on weekends or holidays like now - but happy to contribute. A switch from OH2 to OH3 production would require for me lights/automation/temperature/cen.

I echo Mark’s request for Video Door entry - my wish is that OH3 eventually covers entire openwebnet protocol but understand that this is a big ask.

As I do have a Computer Science background (although I am not actively programming any more since years and my languages where C/C++/Assembler), I would possibly be interested in helping with the development side of things. @massi: If you have any guidance where to begin with (what to read/what to install), I am happy to give it a shot.

of course i voted the poll already the first day it was posted :sunglasses:

i am still on oh2.5 (raspi 4b, 4gb) but today installed oh3.0.0 (openhabian) for testing on a separate pi-zero and only added the openwebnet binding. as i am working not with discovery but only textual config i easily copied the *.things, *.items and sitemap parts with light and automation.
for me it seems everything (light and automation) is working well, nice!

you can start from here: setup OH3 dev env (I use Eclipse), and try to run/debug the openwebnet binding. Java knowledge is important.

Hi,

I’m back again :). good to see that this topic and the crowed is active again :slight_smile:

bg @ thanks massi

Upgrade to latest 3.x worked without any issue (auto upgrade)
I will do some test next days.

bg

Good evening everyone,
As it’s my first post - despite being openhab addict since some years now - I would like first to thank you all for the great job you are doing and for the dynamism of the community. I always found all answers I was requiring to improve my domotic system at home.
Few days ago, I migrated to OH3 (could not wait more), took me a couple of days to get back an up & running system. :slight_smile: I will now explore all capabilities.
There are few issues I still need to fix (like executing a python script with execommandline on a W10 installation), but there is one for which I may need further support (not major but disturbing …)
Indeed, with latest Openwebnet binding (I understood 3.0.0.M5), an old issue came back: UP / DOWN command being inverted when using the USB dongle from Bticino.
I think I remember it was a question of a buggy firmware, but a OH2.5 bindings were ok.
Do I miss something (need to change a parameter on the thing)or is this something I need to record a bug to have it fixed?
Any advise would be welcomed.
Thanks again to all !
Skifou
ps: hope it’s the right place, but did not find any thread related to openHAB3 binding testing.

Hi @skifou and welcome to the OH community!
The issue you refer should have been fixed in 3.0.0.M4 already, so definitely the fix is included in the official 3.0.0 release.
You should check you are using 3.0.0 and if does not work for you, you should send me some logs setting log level to DEBUG. I also need the version of the USB dongle: it’s printed in the logs when you connect to the dongle and is also visible in the Thing details page in MainUI.

Hello @massi!
Many thanks for your answer & welcome.

I confirm I use 3.0.0 binding, see screenshot. Firmware version of my bticino USB dongle is 1.1.0.

Here are my logs (I made a up (so shutter started to close), then stop, then down (so shutter started to open) scenario for the logs, updated with nwevnet4j as well)

2021-01-02 14:15:46.257 [DEBUG] [ebnet.handler.OpenWebNetThingHandler] - handleCommand() (command=UP - channel=openwebnet:zb_automation:donglelegrand:voletsbureau:shutter)
2021-01-02 14:15:46.257 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## older firmware: converting Automation UP / DOWN on message: <*2*1*767876801#9##>
2021-01-02 14:15:46.257 [INFO ] [nwebnet4j.communication.FrameChannel] - -FC-USB -------> *2*1*767876801#9##
2021-01-02 14:15:46.257 [INFO ] [j.communication.USBConnector.message] - USB-CMD ====>>>> *2*1*767876801#9##
2021-01-02 14:15:46.275 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## START Processing DATA_AVAILABLE event...
2021-01-02 14:15:46.275 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB <------- [*#*1##]
2021-01-02 14:15:46.275 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## processing frame: *#*1##
2021-01-02 14:15:46.275 [DEBUG] [j.communication.USBConnector.message] - USB-CMD   <<==   *#*1##
2021-01-02 14:15:46.275 [DEBUG] [.openwebnet4j.communication.Response] - <*2*2*767876801#9##>   <<add   <*#*1##>
2021-01-02 14:15:46.275 [DEBUG] [.openwebnet4j.communication.Response] - now: <*2*2*767876801#9##>   <<==    [<*#*1##>]
2021-01-02 14:15:46.276 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## USB final response: {REQ=<*2*2*767876801#9##>|RESP=[<*#*1##>]}
2021-01-02 14:15:46.276 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## [safeCall-213] response COMPLETE!
2021-01-02 14:15:46.276 [INFO ] [j.communication.USBConnector.message] - USB-CMD <<<<==== [<*#*1##>]
2021-01-02 14:15:46.378 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB |<--     NO DATA (size=0)
2021-01-02 14:15:46.499 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## START Processing DATA_AVAILABLE event...
2021-01-02 14:15:46.501 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB <------- [*2*1*767876801#9##]
2021-01-02 14:15:46.501 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## processing frame: *2*1*767876801#9##
2021-01-02 14:15:46.501 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## older firmware: converting Automation UP / DOWN on message: <*2*1*767876801#9##>
2021-01-02 14:15:46.502 [INFO ] [unication.USBConnector.message.event] - USB-MON <<<<<<<< *2*2*767876801#9##
2021-01-02 14:15:46.503 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ownIdFromMessage(<*2*2*767876801#9##>) --> 2.767876800h9
2021-01-02 14:15:46.504 [DEBUG] [.handler.OpenWebNetAutomationHandler] - updateAutomationState() - msg=<*2*2*767876801#9##> what=DOWN
2021-01-02 14:15:46.504 [DEBUG] [.handler.OpenWebNetAutomationHandler] - # w:767876801#9 # MOVING 2 - startedMovingAt=1609593346504 - 46.504
2021-01-02 14:15:46.504 [DEBUG] [.handler.OpenWebNetAutomationHandler] - # w:767876801#9 # movingState=2 positionEstimation=-1 - calibrating=-1 shutterRun=-1
2021-01-02 14:15:46.705 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB |<--     NO DATA (size=0)
2021-01-02 14:15:50.511 [DEBUG] [ebnet.handler.OpenWebNetThingHandler] - handleCommand() (command=STOP - channel=openwebnet:zb_automation:donglelegrand:voletsbureau:shutter)
2021-01-02 14:15:50.511 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## older firmware: converting Automation UP / DOWN on message: <*2*0*767876801#9##>
2021-01-02 14:15:50.511 [INFO ] [nwebnet4j.communication.FrameChannel] - -FC-USB -------> *2*0*767876801#9##
2021-01-02 14:15:50.511 [INFO ] [j.communication.USBConnector.message] - USB-CMD ====>>>> *2*0*767876801#9##
2021-01-02 14:15:50.530 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## START Processing DATA_AVAILABLE event...
2021-01-02 14:15:50.530 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB <------- [*#*1##]
2021-01-02 14:15:50.530 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## processing frame: *#*1##
2021-01-02 14:15:50.530 [DEBUG] [j.communication.USBConnector.message] - USB-CMD   <<==   *#*1##
2021-01-02 14:15:50.530 [DEBUG] [.openwebnet4j.communication.Response] - <*2*0*767876801#9##>   <<add   <*#*1##>
2021-01-02 14:15:50.530 [DEBUG] [.openwebnet4j.communication.Response] - now: <*2*0*767876801#9##>   <<==    [<*#*1##>]
2021-01-02 14:15:50.530 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## USB final response: {REQ=<*2*0*767876801#9##>|RESP=[<*#*1##>]}
2021-01-02 14:15:50.530 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## [safeCall-214] response COMPLETE!
2021-01-02 14:15:50.530 [INFO ] [j.communication.USBConnector.message] - USB-CMD <<<<==== [<*#*1##>]
2021-01-02 14:15:50.733 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB |<--     NO DATA (size=0)
2021-01-02 14:15:51.499 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## START Processing DATA_AVAILABLE event...
2021-01-02 14:15:51.500 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB <------- [*2*0*767876801#9##]
2021-01-02 14:15:51.501 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## processing frame: *2*0*767876801#9##
2021-01-02 14:15:51.501 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## older firmware: converting Automation UP / DOWN on message: <*2*0*767876801#9##>
2021-01-02 14:15:51.501 [INFO ] [unication.USBConnector.message.event] - USB-MON <<<<<<<< *2*0*767876801#9##
2021-01-02 14:15:51.502 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ownIdFromMessage(<*2*0*767876801#9##>) --> 2.767876800h9
2021-01-02 14:15:51.503 [DEBUG] [.handler.OpenWebNetAutomationHandler] - updateAutomationState() - msg=<*2*0*767876801#9##> what=STOP
2021-01-02 14:15:51.503 [DEBUG] [.handler.OpenWebNetAutomationHandler] - # w:767876801#9 # movingState=0 positionEstimation=-1 - calibrating=-1 shutterRun=-1
2021-01-02 14:15:51.705 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB |<--     NO DATA (size=0)
2021-01-02 14:15:52.181 [DEBUG] [ebnet.handler.OpenWebNetThingHandler] - handleCommand() (command=DOWN - channel=openwebnet:zb_automation:donglelegrand:voletsbureau:shutter)
2021-01-02 14:15:52.181 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## older firmware: converting Automation UP / DOWN on message: <*2*2*767876801#9##>
2021-01-02 14:15:52.181 [INFO ] [nwebnet4j.communication.FrameChannel] - -FC-USB -------> *2*2*767876801#9##
2021-01-02 14:15:52.182 [INFO ] [j.communication.USBConnector.message] - USB-CMD ====>>>> *2*2*767876801#9##
2021-01-02 14:15:52.200 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## START Processing DATA_AVAILABLE event...
2021-01-02 14:15:52.200 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB <------- [*#*1##]
2021-01-02 14:15:52.200 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## processing frame: *#*1##
2021-01-02 14:15:52.200 [DEBUG] [j.communication.USBConnector.message] - USB-CMD   <<==   *#*1##
2021-01-02 14:15:52.200 [DEBUG] [.openwebnet4j.communication.Response] - <*2*1*767876801#9##>   <<add   <*#*1##>
2021-01-02 14:15:52.200 [DEBUG] [.openwebnet4j.communication.Response] - now: <*2*1*767876801#9##>   <<==    [<*#*1##>]
2021-01-02 14:15:52.200 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## USB final response: {REQ=<*2*1*767876801#9##>|RESP=[<*#*1##>]}
2021-01-02 14:15:52.200 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## [safeCall-214] response COMPLETE!
2021-01-02 14:15:52.200 [INFO ] [j.communication.USBConnector.message] - USB-CMD <<<<==== [<*#*1##>]
2021-01-02 14:15:52.403 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB |<--     NO DATA (size=0)
2021-01-02 14:15:54.329 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## START Processing DATA_AVAILABLE event...
2021-01-02 14:15:54.330 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB <------- [*2*2*767876801#9##]
2021-01-02 14:15:54.330 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## processing frame: *2*2*767876801#9##
2021-01-02 14:15:54.331 [DEBUG] [nwebnet4j.communication.USBConnector] - ##USB-conn## older firmware: converting Automation UP / DOWN on message: <*2*2*767876801#9##>
2021-01-02 14:15:54.331 [INFO ] [unication.USBConnector.message.event] - USB-MON <<<<<<<< *2*1*767876801#9##
2021-01-02 14:15:54.332 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ownIdFromMessage(<*2*1*767876801#9##>) --> 2.767876800h9
2021-01-02 14:15:54.332 [DEBUG] [.handler.OpenWebNetAutomationHandler] - updateAutomationState() - msg=<*2*1*767876801#9##> what=UP
2021-01-02 14:15:54.333 [DEBUG] [.handler.OpenWebNetAutomationHandler] - # w:767876801#9 # MOVING 1 - startedMovingAt=1609593354333 - 54.333
2021-01-02 14:15:54.333 [DEBUG] [.handler.OpenWebNetAutomationHandler] - # w:767876801#9 # movingState=1 positionEstimation=-1 - calibrating=-1 shutterRun=-1
2021-01-02 14:15:54.534 [DEBUG] [nwebnet4j.communication.FrameChannel] - -FC-USB |<--     NO DATA (size=0)

Tell me if enough or if I can do something else.

Have a nice day & happy new year to you all openHAB community!

This is a bug. It will corrected in the next 3.1.0 milestone