Mal wieder:Exec binding

Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.

Moderatoren: seppy, udo1toni

Benutzeravatar
udo1toni
Beiträge: 15269
Registriert: 11. Apr 2018 18:05
Answers: 245
Wohnort: Darmstadt

Re: Mal wieder:Exec binding

Beitrag von udo1toni »

Du solltest das im openhab.log sehen können. Eventuell musst Du das Log Level erhöhen, so:

Code: Alles auswählen

Last login: Sun Jun 27 23:25:51 2021 from 192.168.11.81
myuser@openhab3:~$ openhab-cli console

Logging in as openhab
Password: habopen <-- Eingabe wird nicht angezeigt

                           _   _     _     ____
   ___   ___   ___   ___  | | | |   / \   | __ )
  / _ \ / _ \ / _ \ / _ \ | |_| |  / _ \  |  _ \
 | (_) | (_) |  __/| | | ||  _  | / ___ \ | |_) )
  \___/|  __/ \___/|_| |_||_| |_|/_/   \_\|____/
       |_|       3.1.0.M5 - Milestone 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> log:set DEBUG org.openhab.binding.exec
openhab> log:list
Logger                                             │ Level
───────────────────────────────────────────────────┼──────
ROOT                                               │ WARN
javax.jmdns                                        │ ERROR
javax.mail                                         │ ERROR
openhab.event                                      │ INFO
openhab.event.AddonEvent                           │ ERROR
openhab.event.InboxUpdatedEvent                    │ ERROR
openhab.event.ItemAddedEvent                       │ ERROR
openhab.event.ItemChannelLinkAddedEvent            │ ERROR
openhab.event.ItemChannelLinkRemovedEvent          │ ERROR
openhab.event.ItemRemovedEvent                     │ ERROR
openhab.event.ItemStateEvent                       │ ERROR
openhab.event.RuleAddedEvent                       │ ERROR
openhab.event.RuleRemovedEvent                     │ ERROR
openhab.event.RuleStatusInfoEvent                  │ ERROR
openhab.event.StartlevelEvent                      │ ERROR
openhab.event.ThingAddedEvent                      │ ERROR
openhab.event.ThingRemovedEvent                    │ ERROR
openhab.event.ThingStatusInfoEvent                 │ ERROR
openhab.event.ThingUpdatedEvent                    │ ERROR
org.apache.cxf.jaxrs.sse.SseEventSinkImpl          │ ERROR
org.apache.karaf.jaas.modules.audit                │ INFO
org.apache.karaf.kar.internal.KarServiceImpl       │ ERROR
org.apache.karaf.shell.ssh.SshUtils                │ ERROR
org.apache.karaf.shell.support                     │ OFF
org.apache.sshd                                    │ WARN
org.eclipse.lsp4j                                  │ OFF
org.jupnp                                          │ ERROR
org.openhab                                        │ INFO
org.openhab.binding.exec                           │ DEBUG   <-- Level ist gesetzt
org.ops4j.pax.url.mvn.internal.AetherBasedResolver │ ERROR
org.ops4j.pax.web.pax-web-runtime                  │ OFF
su.litvak.chromecast.api.v2.Channel                │ ERROR
openhab> logout
myuser@openhab3:~$
Mit dem Befehl

Code: Alles auswählen

feature:list | grep exec
kannst Du sehen, wie das exec Binding heißt. (openhab-binding-exec)
Mit

Code: Alles auswählen

feature:info openhab-binding-exec
erfährst Du Einzelheiten zum Binding, z.B. welchen Pfad Du beim log:set angeben musst.

Code: Alles auswählen

openhab> feature:info openhab-binding-exec
Feature openhab-binding-exec 3.1.0.M5
Description:
  Exec Binding
Feature has no configuration
Feature configuration files:
  ${openhab.conf}/misc/exec.whitelist
Feature depends on:
  openhab-runtime-base 0.0.0
Feature contains followed bundles:
  mvn:org.openhab.addons.bundles/org.openhab.binding.exec/3.1.0.M5 start-level=80
Feature has no conditionals.
Als Log Level stehen OFF, ERROR, WARN, INFO, DEBUG, TRACE und DEFAULT zur Verfügung. DEFAULT erbt den Level vom Parent, die übrigen sollten einigermaßen sprechend sein ;)
Ist ein Log Level noch nicht konfiguriert, erbt der Logger den Level vom Parent (also DEFAULT Verhalten), taucht aber nicht in der Liste der Logger auf. Umgekehrt verschwindet ein Logger aber nicht mehr aus der Liste, wenn er wieder auf DEFAULT gesetzt ist. Will man die Einträge wieder los werden, so muss die passende Datei bei angehaltenem openHAB händisch bearbeitet werden.
openHAB4.3.6 stable in einem Debian-Container (bookworm) (Proxmox 8.4.1, LXC), mit openHABian eingerichtet

Antworten