While waiting for this to be fixed, the only solution is to patch the .jar file, and a lot of that is described and discussed in this thread. Since the solution (and files) mentioned here are for version 2.5.0M1, I posted updated files for the 2.5.1 that is the actual stable release.
And I also keep this thread alive as it is for now the the only place with a working solution.
It worked because the commandClass:COMMAND_CLASS_BASIC is in the properties. Anyway, updating the database with the right channel is the way to go, and a big THANK YOU for that.
What do you mean?? This has no real bearing on the fact that there is no channel-type defined. Normally OH will throw an error if thereâs not channel type defined for a channel and will not instantiate the thing.
The previous XML (at least the one I looked at) used something like basic_mode which is not defined in the channels file in the database. Without this it wonât work. I assume therefore that at least some people using this must have also changed the channel file.
edit: I missed that the channel is defined in the xml, so allâs explained
Iâve updated the issue on github. Iâm on openhab 2.5.3 and Iâm still having the issue âUnsupported mode type 31â although I send the basic_numer 254.
My experience with openhab 2.5.3 using both channels, basic and thermostat mode:
Once a value (number) is assigned to the item that is linked to the basic channel, setting thermostat mode to manufacturer specific (31 decimal) doesnât cause an error message.
I get âUnsupported mode type 31â only when
no item is linked to the basic channel
the value of the item linked to the basic channel is -NaN
by setting thermostat mode to 31.
I guess that there is no need to use basic channel and thermostat channel in parallel. All modes of the Eurotronic Spirit including âManufacturer Specificâ can be set via the basic channel. I propose to deactivate the thermostat mode channel (ensure that no items are linked to the thermostat mode channel) and âUnsupported mode type 31â wonât occur anymore.
Iâm on 2.5.2, so what your problem is might be unrelated to mine. But I also couldnât get it work (deleted Thing & XML files).
On a fresh install it worked for me, so to just find out if itâs a problem with 2.5.3 in general, or something in your installation, you could backup your current installation and try with a fresh 2.5.3 install.
I am on OH 2.5.10 and just installed Eurotronic Spirit.
Binding is also in ver. 2.5.10.
I have been reading this all thread and still donât know if I can make it run in manual mode.
Thing was added to OH via PaperUI and all items were created in config files.
Item with basic_number is linked to thing channel but value is always -NaN
When changing mode to manual I get: âUnsupported mode type 31â
Can someone explain me in simple words what can I do to run it in manual mode?
As I understand fix was applied to binding but should I edit xml file?
Have you followed the binding documentation to enable DEBUG logs to get more information from the system? That should be the first troubleshooting step.
You have to assign the value 254 to the item linked to the basic channel. If you havenât linked an item do this (including bullet list that I cannot quote):
The tips with the .jar file, or sending commands manually, or using the Basic-Channel are actually outdated. The current binding should support the Spirit directly.
However, as noted earlier, I couldnât make it work without a fresh install of OH, and it seems I was not the only one.
So itâs indeed a good idea to enable debug log, to (hopefully) see why it doesnât work in an existing installation, so @chris can probably fix it.
Or you try in a fresh test install.
This is from my working setup, maybe helpful for your testing:
Enabled channels - âBasicâ is no longer necessary, and how knows - probably counterproductive?
You will also not need the âExternal temperatureâ.