cdjackson / HABmin

A web admin console for openHAB home automation
http://www.cd-jackson.com/index.php/openhab/habmin
217 stars 51 forks source link

ZXT-120 parameter 44 does not accept values above 0xFF #287

Open unicornis-pl opened 8 years ago

unicornis-pl commented 8 years ago

ZXT-120 HVAC remote parameter 44 is the IR code library to be selected from the booklet. For my model (LG) one of the codes is 294. It seems that this field is one byte only as the result is truncated to 38 (294 AND 255 = 38).

How can program this code?

Jj

cdjackson commented 8 years ago

Can you find a manual for this that shows the size of the parameters? Or alternatively can you find this in the pepper1 database? If we can confirm the size I’ll look at changing it...

unicornis-pl commented 8 years ago

https://www.remotec.com.hk/wp-content/uploads/2015/12/ZXT-120-Code-List-V1.5_20131203.pdf

Look for LG, there is a code 294 (must be more than a byte).

unicornis-pl commented 8 years ago

BTW, what is the meaning of thermostat mode values (0 - off, 1-heat, 2-cool) - is there any description available? And the same question for thermostat fan mode...

cdjackson commented 8 years ago

Hi, I would have expected the definitions of the modes to come from the thermostat manual since the implementation of what a manufacturer has implemented could be different.

Chris

ellisbjohns commented 8 years ago

likely the same issue here. My mitsubishi uses a code of 287. unicornis-pl what string are you using to send the product code? I'm trying something like this: 2:command=configuration,parameter=27,parameter=287

unicornis-pl commented 8 years ago

I use habmin interface for setting this, see IR code number for built-in code library:

ac ir settings

ellisbjohns commented 8 years ago

For some reason I don't have that option: image

Any idea why? I'm guessing it's a database issue. For some reason the product explorer is empty.

unicornis-pl commented 8 years ago

Most likely. Download the newest version from Git. You might face the parameter size problem I mentioned above (I do not have it as I use one byte value).

ellisbjohns commented 8 years ago

Finally got things working. I ended up having to download the source code and then modify the products.xml file of the openhab zwave database. After adding a new reference type and id to this file (my type code was 100) I was able to compile a new zwave binding jar and place it in openhab's addons directory. On restart, habmin recognized the zxt-120 item and allowed me to configure things. I have a mitsubishi MSZGE5NA hvac unit so my library code was 228. This was a lot of work to get things going but I suppose nothing worth doing is easy. Thanks again for your help.

cdjackson commented 8 years ago

Please update the online database, otherwise this change won’t make it in to the bindings database.