question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[homematic] Can't convert BOOL value '0' with OnOffTypeConverter

See original GitHub issue

Since Build 1177 of OH 2.3 i get the above error in the log. Following is a snippet from the log.

2018-01-11 09:36:25.224 [ERROR] [ematic.handler.HomematicThingHandler] - Can't convert BOOL value '0' with OnOffTypeConverter for 'LEQxxxxx:0#LOWBAT'
org.openhab.binding.homematic.internal.converter.ConverterTypeException: Can't convert BOOL value '0' with OnOffTypeConverter for 'LEQxxxxx:0#LOWBAT'
        at org.openhab.binding.homematic.internal.converter.type.AbstractTypeConverter.convertFromBinding(AbstractTypeConverter.java:114) ~[214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.handler.HomematicThingHandler.updateChannelState(HomematicThingHandler.java:250) ~[214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.handler.HomematicThingHandler.updateDatapointState(HomematicThingHandler.java:226) ~[214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.handler.HomematicBridgeHandler.onStateUpdated(HomematicBridgeHandler.java:233) ~[214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.lambda$0(AbstractHomematicGateway.java:615) ~[214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.internal.misc.DelayedExecuter.start(DelayedExecuter.java:61) [214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.eventReceived(AbstractHomematicGateway.java:612) [214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.internal.communicator.server.RpcResponseHandler.handleEvent(RpcResponseHandler.java:94) [214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.internal.communicator.server.RpcResponseHandler.handleMethodCall(RpcResponseHandler.java:47) [214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.internal.communicator.server.RpcResponseHandler.handleMethodCall(RpcResponseHandler.java:64) [214:org.openhab.binding.homematic:2.3.0.201801092213]
        at org.openhab.binding.homematic.internal.communicator.server.BinRpcResponseHandler.run(BinRpcResponseHandler.java:46) [214:org.openhab.binding.homematic:2.3.0.201801092213]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]

The error is confirmed by two other users in the forum and is in build 1182 still available

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Jan 22, 2018

The problem is fixed it was a problem with homegear. If you have this error update to latest nightly 0.8.0-1979 or latest release version 0.7.xxxx

0reactions
ghostcommented, Jan 17, 2018

We are currently in Diskussion with Sathya (Homegear) He has changed something and is checking if and why that has changed something

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeConverter won't convert to boolean - Stack Overflow
First off, not just any TypeConverter will do, you have to find the specific one that knows how to convert a string to...
Read more >
org.eclipse.smarthome.binding.homematic.handler ...
OnOffType ; import org.eclipse.smarthome.core.library.types. ... VALUES, 0, VIRTUAL_DATAPOINT_NAME_RELOAD_FROM_GATEWAY); dp = gateway.
Read more >
Convert.ToBoolean Method (System) - Microsoft Learn
Returns the specified Boolean value; no actual conversion is performed. ToBoolean(Int64). Converts the value of the specified 64-bit signed integer to an ...
Read more >
Convert bool (True, False) and other types to each ... - nkmk note
In Python, truth values (Boolean values) are represented by bool type objects, True and False. Results by comparison operators are returned ...
Read more >
Booleans - Manual - PHP
When converting to bool, the following values are considered false : the boolean false itself; the integer 0 (zero); the floats 0.0 and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found