fruggy83 / openocean

27 stars 11 forks source link

EEP A5-10-10 (Omnio RTF-161) not working correctly #81

Open algol-ch opened 4 years ago

algol-ch commented 4 years ago

Hi Daniel,

Thanks for this binding!

I have attached an Omnio RTF-161 (EEP A5-10-10). The room controller should be giving temp, humidity, occupancy and set point (in °C)

Below is the results of the auto-discovery in OH2.5

Room Operating Panel Room operating panel with different kinds of sensors (EEP: A5-10) Status: ONLINE

Channels Temperature enocean:roomOperatingPanel:FT2U4HAK:018C9F5D:temperature Number:Temperature

LastReceived enocean:roomOperatingPanel:FT2U4HAK:018C9F5D:lastReceived DateTime

RepeatCount enocean:roomOperatingPanel:FT2U4HAK:018C9F5D:repeatCount Number

Set Point enocean:roomOperatingPanel:FT2U4HAK:018C9F5D:setPoint Number

Occupancy enocean:roomOperatingPanel:FT2U4HAK:018C9F5D:occupancy Switch

RSSI enocean:roomOperatingPanel:FT2U4HAK:018C9F5D:rssi Number

I’m troubled with what is finally transmitted to OH.

  1. No humidity channel
  2. The temperature reading seems OK
  3. Occupancy is OK
  4. RSSI seem OK: -45 a few cm from USB300 receiver up to -99 5-10m away
  5. Setpoint is incorrect. It is constantly varying around 70-80. If I breath hot air at the thermostat setpoint will increase to over 200. The setpoint should programmable through the thermostat buttons between 14 and 34°C.

Any idea where the problem is coming from?

Thanks for any help you can share to solve my issue!

Happy new year!

algol

fruggy83 commented 4 years ago

Hi @algol-ch,

I think I have finished the correction of EEP family A5-10. I had to update all EEP from A5-10-10 onwards. However I am not really sure how to handle the setpoint value from you. Regarding the EnOcean docs for EEP A5-10(-10) I am only getting a number value for the setpoint between 0 and 255 (one byte, in most cases). I am not sure if I am able to transfer this value into a degree value, as you can configure the resolution of the set point value. Depending on the resolution you get different degree values for your settings. Is it ok for you to do the mapping/transfer or should I try to add a config option to the set point channel which will do the mapping the into a degree value for you?

Best regards Daniel

algol-ch commented 4 years ago

Hi Daniel,

Thanks for working on EEO A5-10. In an effort to keep the binding as universal as possible I recommend you return the value as per the the EnOcean specification (0..255). It will encourage me to learn how to use OH Transformation services :-) Let me know when you publish the binary and I will test and figure out the tranformation.

Cheers, Arnaud

fruggy83 commented 4 years ago

Hi Arnaud @algol-ch,

I have just released a new version containing the updated A5-10-10 EEP. Would be nice if you could test it. Many thanks in advance 👍 .

Best regards Daniel

algol-ch commented 4 years ago

Hi @fruggy83 , Tested A5-10-10 profile for my (Omnio RTF-161), works like a charm. FYI, the setpoint is at value 125 for 20°C and increments/decrements by 3 for each 0.5°C difference (24°C would this be 150 and 16°C at 100). Reference setpoint and increment size is setup directly on the room controller using the interface buttons. I will therefore add the transformation in OH2. Best regards, Arnaud

fruggy83 commented 4 years ago

HI Arnaud,

nice to hear that it works. I will create a PR for the offical binding and close this issue afterwards.

Reference setpoint and increment size is setup directly on the room controller using the interface buttons.

That is why it would be a little complicated to implement a generic transformation directly in the binding. Thanks a lot for your testing. 👍

benderl commented 4 years ago

@algol-ch can you please post details about your setup of the setpoint? I have the same problem with EEP A5-10-06 and my room operation panel. #77

algol-ch commented 4 years ago

Hi Lutz, what I did with my Omnio room control panel is change the setpoint to various values and read the corresponding integer in the openHAB log. I presume that you will have the setpoint shown in °C on your panel. In the case of my Omnio room control panel, it is a linear tranformation from 75 to 175 corresponding to 12 to 28°C. The rest of the range 0..74 and 176..255 is not used. I haven't yet decided on how to transform the integer to setpoint degrees in openHAB. Working on it! Cheers, Arnaud