As part of the initial install I was able to connect via a browser and did an initial configuration of bindings (TP-link for Kasa plug), and binding for CM11a (X10). I created a simple model of a house, created a room, added two kasa plug things to the room. Was able to turn the Kasa plugs on/off. Rebooted the system and tried to run the openhab cli console, which resulted in:
jjh@saturn:~$ openhab-cli console
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J(W): Ignoring binding found at [jar:file:/usr/share/openhab/runtime/system/ org/apache/karaf/org.apache.karaf.client/4.4.6/org.apache.karaf.client-4.4.6.jar !/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an explanatio n.
Logging in as openhab
Failed to get the session.
Tried to get to the web ui via firefox, got the following: Unable to connect
jjh@saturn:~$ systemctl status openhab.service
â—Ź openhab.service - openHAB - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2025-06-24 20:06:26 EDT; 1min 24s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 2973 (java)
Tasks: 75 (limit: 2218)
CGroup: /system.slice/openhab.service
└─2973 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/us
Jun 24 20:06:26 saturn systemd[1]: Started openHAB - empowering the smart home.
was able to connect via the web interface. So I thought I configured the install to start openhab every time at startup. Apparently not?
How can I accomplish that?
So apparently openhab was not installed to be enabled & start when the system is booted. What is the proper way to fix this so that it runs when system is booted?
I did read it - the message is laconic with no explanation. The code:
sudo systemctl enable openhab.service
is issued from the CL. Right, it should probably be put in a start up file somewhere…but where? I’ve worked/developed in probably 40+ different OSs in my lifetime, I don’t remember details of all of them.