Closed dido77-arduino closed 2 years ago
Hi @dido77-arduino thanks for the report.
I read through the thread, haphazardly I'm going to suggest the issue is with OpenHAB as HA's documentation allows for the use of true and false by specifying the pl-on and pl-off attributes, which is also why this works fully on HA.
Sure, it's true the Tasmota doesn't use this approach, but I don't think that alone should be a sign that something is wrong on the HA side.
Can you tell me which sensor specifically is causing this though? It's not clear which makes it a bit difficult to investigate further.
Closing due to inactivity. If you think this is an error and there is something to resolve within the Octoprint HomeAssistant Discovery plugin feel free to re-open with more information. Cheers.
Hi
it looks there is a datatype incompatibility between channels as announced by the Octoprint HA plugin and its OpenHAB counterpart.
I have an Ender3 and I can discover the printer on OpenHAB with the HA plugin. All channels are there. However, after the inclusion it goes in OH online and offline a few times before the system puts it in offline. It seems that the relevant line in OpenHAB log is this
2021-02-16 21:14:45.796 [WARN ] [ab.binding.mqtt.generic.ChannelState] - Command 'false' not supported by type 'OnOffValue': No enum constant org.openhab.core.library.types.OnOffType.false
I posted the whole story on the OH community forum (link), but they could not help to understand who between the Octoprint and OpenHAB plugins is right/wrong.
Happy to help in debugging this if needed, the functionalities offered by this plugin are fantastic!