Bticino My Home Server configuration

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: Windows 10
    • Java Runtime Environment: 1.8.0_201
    • openHAB version: 2.5.0
  • Issue of the topic:

Actual Bticino My Home Server1 requires an alphanumeric open password.
If i set it on Bticino.cfg i had the following error starting openhab:

openhab> Exception in thread “Thread-52” java.lang.NumberFormatException: For input string: “Bticino1”
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.myhome.fcrisciani.connector.MyHomeSocketFactory.calcPass(MyHomeSocketFactory.java:143)
at com.myhome.fcrisciani.connector.MyHomeSocketFactory.openMonitorSession(MyHomeSocketFactory.java:321)
at com.myhome.fcrisciani.connector.MyHomeJavaConnector.startMonitoring(MyHomeJavaConnector.java:317)
at be.devlaminck.openwebnet.MonitorSessionThread.run(MonitorSessionThread.java:49)

This part of code is trying to parse an integer but the password is alphanumeric.
I cannot set a password to be only numeric.

bticino.cfg content:

Host and port of the default OpenWeb bticino IF

OpenWeb gateway IP address / Hostname

default.host=192.168.1.218

OpenWeb gateway Port (optional, defaults to 20000)

#default.port=

OpenWebNet gateway password (optional, defaults to 12345)

default.passwd=Bticino1

OpenWeb bus status rescan interval (optional, defaults to 120 seconds)

#default.rescan_secs=

OpenWebNet Number of heating zones (optional, 0 - 99 defaults to 0)

#default.heating_zones=

OpenWebNet Run Time of RollerShutter to calculate Position Feedback (optional, defaults to 0 milliseconds)

#default.shutter_run_msecs=

How can i solve this issue?

Thanks for the collaboration

Please use code fences.

As you’ve already discovered, the password is required to be numeric.

You may wish to check the openwebnet OH2 binding. See this, and this.

Hi @Danilo_Piumatti
The 1.x binding does not support MyHOMEServer1 (because of the auth algorithm).
The new 2.x binding -currently under development- supports it and solves other stability problems with the old binding.
See here for installation guide and others instructions:

Bye
M

Thank you for the response.
I’ll try the new binding soon.

Bye