first of all: many thanks for the binding! Works really good. But today i found this warning in the logs:
2020-12-04 09:38:30.774 [WARN ] [s.internal.HeliosEasyControlsHandler] - HeliosEasyControlsHandler encountered Exception when trying to update property: Illegal value for variable heatExchangerType: 3
Looking into the documentation it looks like there is something wrong:
hello guys, first of all thank you very much for this post. he has already helped me a lot. i own a helios 300w ec. connected via lan rj45 and the remote controls are connected via rj12. I have created the thing helios-easycontrols according to Helios easyControls - Bindings | openHAB. The Modbus binding is also installed and correctly created (enableDiscovery). Both are online in the paperui under things. there is no error message in the openhab2 log viewer. However, no values are displayed in the basicui. if i change values in the basicui, these are not implemented in the helios kwl. the changes are in the log. What did I do wrong? I am using OH 2.5.11 and rrd4j persistence. Thank you
From a first look at your configuration I don’t see anything off with it. If the things are both online in PaperUI the communication with the device per se should work.
I think it’s best to try removing all but one item from the items file and see if you can get this to work, then add items to mabye identify the issue.
Do you see the device’s properties in PaperUI? (e.g. dateFormat or articleDescription).
many thanks @bern77 I’ll try it out like you wrote. where exactly should i look in the paperui? I haven’t tried it in the OH3. I got an error message after switching off the thing kwl and then switching it on again:
since I’ve already migrated to OH3 I can’t post a screenshot. But if you view the KWL thing’s details, there should be ‘Properties’ section you can expand. If these properties are filled with meaningful contents this is also proof that the communication with the device works, so the problem must be in the items definition.
If you get an error of ‘connection refused’, are you certain you have the correct IP address for your device?
I can reproduce such an error if entering the wrong IP address… Generally I think it would be best to assign a static DHCP lease to your device to rule out communication issues on this level.
Hey @ bern77, thanks for your message. I looked for ‘Properties’ under things KWL. These are not available to me. For other things I can choose “show properties”. I just “logged” an item. Can you do something with that?
It is the correct IP of the Helios KWL EC300. I have a password for online operation. Is that required for OH?
The item info from the REST API also shows that the state of the item is NULL, i.e. no update from the device was received.
You shouldn’t need a password if you use the Modbus/TCP interface.
Did you activate the modbus interface in the device’s web interface? In my case it is under configuration / device (don’t know the exact wording in English since I’m usig it in German).
My guess would still be that the problem is somewhere in the networking rather than the OH config. If you get an error of ‘connection refused’ maybe the KWL’s IP address / port can’t be reached from openHAB. Are OH and the KWL in the same subnet? Are there any firewall rules which could prevent communication?
Another thing could be the KWL’s software version. The Modbus TCP specification indicates a minimum version of 2.01. Can you please check this in your system configuration?
Then created the easy controls binding.
Nothing to set up here.
I do not reveice any values.
a) Log-Viewer does not state any errors.
b) all bindings are online (green)
c) Helios KWL EC 370 W with Modbus activated.
Any suggestiions on deep diving to an error statement?
Just got a message in logviewer:
[s.internal.HeliosEasyControlsHandler] - HeliosEasyControlsHandler encountered Exception when trying to read variable refNo from the device: null
You also have to configure at least the KWL’s IP address for the HeliosEasyControl binding (without a protocol).
You could also try to configure your Bridge and Thing based on a text file, following the documentation here: Helios easyControls - Bindings | openHAB