I’m sorry, I used TRACE as the logging. I’ll redo it with DEBUG next.
Best, Jay
I’m sorry, I used TRACE as the logging. I’ll redo it with DEBUG next.
Best, Jay
Hey Paul,
This binding seems to NOT support DEBUG, here’s all I got after letting it run for 5 minutes including turning the light on with the L510 Thing and HS200 Thing (which doesn’t turn it on).
May need to add a bunch of LOGGING lines in this binding as next steps.
2025-09-13 08:02:41.359 [DEBUG] [ing.tapocontrol.internal.TapoControlHandlerFactory] - bundle org.openhab.binding.tapocontrol:4.3.7.202509112241 (358)[org.openhab.binding.tapocontrol.internal.TapoControlHandlerFactory(512)] : Querying state active
2025-09-13 08:02:41.360 [DEBUG] [.tapocontrol.internal.TapoStateDescriptionProvider] - bundle org.openhab.binding.tapocontrol:4.3.7.202509112241 (358)[org.openhab.binding.tapocontrol.internal.TapoStateDescriptionProvider(513)] : Querying state active
Best, Jay
I think you misunderstood slightly - what he claimed, was that the log only had TRACE log entries. When you enable TRACE logging, the log is meant to include DEBUG, INFO, WARN and ERROR messages as well.
Thank you for clarifying! I think the binding needs more logging within it so we can figure out the following.
How to add another device type (i.e. HS200, etc.) and have it call the API
How to bypass the API ideally to go directly to the device (big ask)
Why we are getting these in the OH logs every 30 seconds across all devices in the TAPO binding.
09:22:02.548 INFO openhab.event.ThingStatusInfoChangedEvent Thing ‘tapocontrol:HS200:e9a2babbc6:**a583090fcf** ’ changed from ONLINE to OFFLINE (CONFIGURATION_ERROR): found type:‘HS200’ with mac:‘60-83-E7-C1-EF-A3’. Check IP-Address
09:22:02.571 INFO openhab.event.ThingStatusInfoChangedEvent Thing ‘tapocontrol:HS200:e9a2babbc6:**a583090fcf** ’ changed from OFFLINE (CONFIGURATION_ERROR): found type:‘HS200’ with mac:‘60-83-E7-C1-EF-A3’. Check IP-Address to ONLINE
Best, Jay
Here’s what the TAPO app has for the switch I’ve been focused on with this thread.
Not sure why your binding version isn’t working unless it has something to do with the Model being passed which doesn’t match which would make no sense because the L510 used works which is the wrong model for the HS200.
Best, Jay
Correct. Looking at Code search results · GitHub I would expect more than just TRACE messages.
The posted log only has TRACE in it, yet you’ve posted other excerpts such as
‘tapocontrol:HS200:e9a2babbc6:a583090fcf ’ changed from ONLINE to OFFLINE (CONFIGURATION_ERROR): found type:‘HS200’ with mac:‘60-83-E7-C1-EF-A3’. Check IP-Address
which clearly relate to tapocontrol, ie the logs you’ve posted have been filtered.
I had similar issues trying to debug roborock issues, users tried to ‘help’ by posting excerpts of logs not full logs, and as a result, it took much longer to fix.
Hey Paul,
My logs are NOT filtered with TAPOCONTROL, here’s my entries in log4j2.xml.
<RollingRandomAccessFile fileName="${sys:openhab.logdir}/TAPO.log" filePattern="${sys:openhab.logdir}/Archived/TAPO.log.%i.log" immediateFlush="true" name="TAPO">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-50.50c] - %m%n"/>
<Policies>
<OnStartupTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="3 MB"/>
</Policies>
<DefaultRolloverStrategy max="7"/>
</RollingRandomAccessFile>
<!-- TAPO -->
<Logger additivity="false" level="TRACE" name="org.openhab.binding.tapocontrol">
<AppenderRef ref="TAPO"/>
</Logger>
These entries below are in the streaming logger → http://openhabian:8080/developer/log-viewer
I agree, they should be in the Tapo log, but they are not, they are at the OH level instead. I actually don’t see them flipping offline/online visually in the GUI but OH streaming logger is saying they are.
[quote="jwiseman, post:25, topic:165957"]
09:22:02.548 INFO openhab.event.ThingStatusInfoChangedEvent Thing ‘tapocontrol:HS200:e9a2babbc6:**a583090fcf** ’ changed from ONLINE to OFFLINE (CONFIGURATION_ERROR): found type:‘HS200’ with mac:‘60-83-E7-C1-EF-A3’. Check IP-Address
09:22:02.571 INFO openhab.event.ThingStatusInfoChangedEvent Thing ‘tapocontrol:HS200:e9a2babbc6:**a583090fcf** ’ changed from OFFLINE (CONFIGURATION_ERROR): found type:‘HS200’ with mac:‘60-83-E7-C1-EF-A3’. Check IP-Address to ONLINE
[/quote]
Best, Jay
Can I just ask if you can please use “code fences” (` x 3) around logs instead of “quotes” (>).