[SOLVED] Bticino F454 setup?

From command line sudo openhab-cli console enter your password. Then type bundle:list to show all binding and dependencies.

I’m using the docker image, so I guess I must connect to the docker instance first.

Would like to help but I have not tried OH with Docker … yet.:wink:

Instructions found here: https://hub.docker.com/r/openhab/openhab/

docker exec -it openhab bash
/openhab/runtime/bin/client

then type default password :
habopen

Then I’m connected,
I typed
bundle:list
And I can see the following:

218 │ Active │  80 │ 1.14.0                  │ openHAB BTicino
1 Like

That binding is a version 1 … is there a newer version out?

Well, I only see this version when I’m looking for bticino in the bindings section

Just checked and looks like there is no version 2 binding.

Since installing the binding have you restarted OH?

Yes, because i’ve upgraded to 2.5.0 and the basic configuration was already made and correct.

I feel it’s the configuration of the binding that is incomplete, but the documentation is really not enough to understand how to configure a basic setup

I do not use this binding but add the file you have above, watch the logs and experiment a bit. Wish I could help more.:expressionless:

Where can I see the logs of this binding ?

If you have frantail log viewer installed you can use a browser. I’m not sure if you have openhabian-config tool with Docker but you can install frontail from there or maybe via the console.

I gotta start learning more about OH and docker.:upside_down_face:

1 Like

in the OSGi console, I’ve used :

log:tail

And I got the logs.

I can see :

18:32:49.635 [WARN ] [isciani.connector.MyHomeJavaConnector] - Monitor connection problem. Attempting retry 2.
18:34:47.698 [WARN ] [isciani.connector.MyHomeJavaConnector] - Monitor connection problem. Attempting retry 1.

However, there’s no stacktrace or details about the connection error.
it’s not very helpful :frowning:

Bad coding :

public String readMonitoring() throws InterruptedException {
    String result = null;
    int retry = 0;
    do {
        try {
            result = receiveMonitorOPEN(monitorSk);
        } catch (IOException e) {
            try {
                MyHomeSocketFactory.disconnect(monitorSk);
            } catch (IOException e1) {
            }
            retry++;
            Thread.sleep(1000);
            logger.warn("Monitor connection problem. Attempting retry {}.", retry);
            try {
                startMonitoring();
            } catch (IOException e1) {
            }
        }
    } while (result == null);

    return result;
}

You can also set the log level for the binding to DEBUG or TRACE to get more info. Use the console for this.

our responses crossed, but they don’t log the stacktrace in the code.

hi thomas,

long time ago i tried to install this binding and had big problems because it always stopped to work after a short time.

perhaps have a look at this new binding for bticino here:

and here:

sad to say this binding started very well but now is hardly going on. heating has a bug, and cen only works very basic. because of that i had to code a (very dirty) small python programm that monitors the bus and let me be able to listen and send every command direct to the f454.

best stefan

1 Like

Thanks Stefan,

I’ll test this now.

and cen only works very basic.

cen ?

because of that i had to code a (very dirty) small python programm that monitors the bus and let me be able to listen and send every command direct to the f454.

So you’re using this binding in the end, or just your python code ?

@bastler
Thanks a lot :slight_smile:
I’m making good progress. I can see the binding of my roller shutter/ switch / thermostat & Energy Central Unit.

I’m away for christmas but I’m configuring this remotely… I’ll try to open the roller shutter. I’ve a PC with a webcam so I can see if it works or not :joy:

I’m documenting the configuration, I’ll share it when finished.

I’ve published the configuration I’ve done on my blog :

I can open and close the roller shutter of my living room, which I can see remotely through a laptop webcam :joy:

Thanks @H102 & @bastler

hello thomas,
great you got it working :slight_smile:
interesting for me you put it in a docker enviroment. this is something i am always thinking about but actually i did not try that.

the main difference between our installations is that i did a file-based config, means i do not use the discovered things. i beleive this is easier and faster to handle when you want to do changes in the setup.

you don´t work with cen-commands? this is one of the most important and powerful things for me because i use many swithces not direct point to ponint but with cen-commands. for example one switch at the bed: when i press short the tv starts, but when i press the same button long the tv starts with a sleeptimer (realized with a rule)

my python-code is for the features that the binding still does not support: motion-detectors, music, timed-light-commands, aux-commands, cen-commands

perhaps you will realizte the bug in thermoregulation: when changing the setmode this often does not work correct (for example when changing from “auto” to “manual” - in sitemap you see “manual” but the heatingcentral did not change the mode)