- Platform information:
- Hardware: DiskStation Docker
- openHAB version: 2.5.3
- Mosquitto Broker in another Docker container
I’ve setup my Openhab and it works so far nearly as expected.
Though I have an issue with logging and a shelly 2.5 via MQTT.
Issue1:
I’m getting lots of warnings in the log:
[WARN ] [hab.binding.mqtt.generic.ChannelState] - Command ‘off’ not supported by type ‘OnOffValue’: No enum constant org.eclipse.smarthome.core.library.types.OnOffType.off
I tried to solve that with Incoming Transformation of the channel belonging to the state of shelly.
This unfortunately did not stop the system from logging the warning.
I can not - or I do not want to set Tasmota on my shelly - change the message from the shelly, so how can I get rid of this message?
Issue 2:
To prevent spaming my log files I even tried to set the log level for this to ERROR but without success:
Logger │ Level
───────────────────────────────────────────────────┼──────
ROOT │ WARN
**hab.binding.mqtt.generic.ChannelState │ ERROR**
javax.jmdns │ ERROR
javax.mail │ 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 │ ERROR
org.eclipse.lsp4j │ OFF
org.eclipse.smarthome │ INFO
**org.eclipse.smarthome.script.TimerRules.rules │ DEBUG**
org.jupnp │ ERROR
org.openhab │ INFO
org.openhab.ui.paper │ WARN
org.openhab.ui.paper.internal │ INFO
org.ops4j.pax.url.mvn.internal.AetherBasedResolver │ ERROR
org.ops4j.pax.web.pax-web-runtime │ OFF
smarthome.event │ INFO
smarthome.event.InboxUpdatedEvent │ ERROR
smarthome.event.ItemAddedEvent │ ERROR
smarthome.event.ItemRemovedEvent │ ERROR
smarthome.event.ItemStateEvent │ ERROR
smarthome.event.ThingAddedEvent │ ERROR
smarthome.event.ThingRemovedEvent │ ERROR
smarthome.event.ThingStatusInfoEvent │ ERROR
I even do not see any loggings of my rules (currently I tried only to enable one):
Rule file name: TimerRules.rules
logDebug(“TimerRules.rules”, “Begin BackyardLawnGrowIrrigationRule with value {}”, BackyardLawnGrowIrrigation.state)
What do I need to do to get the loggings?
Thanks in advance.
Joerg