Slowly getting my automation server setup, migrating from Windows XP with HouseBot to OH3.
It’s a steep learning curve for me, as never really done much with Linux, but so far it’s going well, openHAB is an amazing piece of software!
Anyway, I have got LCD4Linux to work with my USB2LCD screen, now I would like to get some of my item states to display. The LCD4Linux has an exec plugin that supports the following:
exec(‘head -1 /etc/passwd’, 1000)
So I was wondering if the Runtime Command would work? I can do the following, but I need it to run this on one line. Is this possible?
[21:07:13] root@house:~# openhab-cli console
Logging in as openhab
Password:
_ _ _ ____
___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/
|_| 3.0.0 - Release Build
Use '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
To exit, use '<ctrl-d>' or 'logout'.
openhab> openhab:status HouseAlert
Security Alarm has been Disarmed
openhab>
This is working for me, but it prompts for a password, would you know if I can include the password in the above command or disable passwords altogether?