Hi all,
I’m grateful for this post, as it solved my issues detecting the Wemo dimmer. However, I’ve since noticed that my openhab.log file is getting inundated with log messages from the dimmer. I’ve set up filters on both the events and openhab logs, but these messages refuse to to be filtered no matter what strings I add to the filters:
19-03-05 19:38:38.551 [INFO ] [nding.wemo.handler.WemoDimmerHandler -
GetNightModeConfiguration response '<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
<u:GetNightModeConfigurationResponse xmlns:u="urn:Belkin:service:basicevent:1">
<nightMode>1</nightMode>
<startTime>0</startTime>
<endTime>23400</endTime>
<nightModeBrightness>8</nightModeBrightness>
</u:GetNightModeConfigurationResponse>
</s:Body> </s:Envelope>' for device 'wemo:dimmer:Dimmer-1_0-xxxxxxxxxxxxxx' received
I used “wemo:dimmer:Dimmer-1_0-xxxxxxxxxxxxxx” as the filter string, and I know it’s working because it removes all of the other Wemo dimmer log messages. The only thing I can think of is that this message is being treated differently because of the line breaks. But even then, I would think that any lines that match the filter would be left out.
Any help with this would be much appreciated! These messages are popping up every two minutes, so there are a ton of them in the log.