ioBroker / ioBroker.rflink

Support of RFLink
MIT License
11 stars 11 forks source link

No Hex to Dec conversion #3

Closed IlyaKl closed 7 years ago

IlyaKl commented 7 years ago

I connected to rifling a new sensor OWL MICRO+. The input Watt and kWatt data are not converted from hex to decimal

P.S. ioBroker recognized the sensor as Oregon CM-180

GermanBluefox commented 7 years ago

If I look at

20;88;Oregon CM180;ID=008F;WATT=0223;KWATT=000002d0;

What is the valid values? WATT = 223 or WATT = 547?

IlyaKl commented 7 years ago

Dear Bluefox, Please, see the print screen attached 2017-01-19 14 19 29

Regards, Ilya

GermanBluefox commented 7 years ago

Fixed: https://github.com/ioBroker/ioBroker.rflink/commit/782ba0ce2a277198971e2608eb71de65256da6ce

IlyaKl commented 7 years ago

Dear Bluefox, you forgot to divide KWATT value by 1000 to get value in kilowatts.

Regards, Ilya

GermanBluefox commented 7 years ago

Done. Thank you.

2017-01-20 14:41 GMT+01:00 IlyaKl notifications@github.com:

Dear Bluefox, you forgot to divide KWATT value by 1000 to get value in kilowatts.

Regards, Ilya

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.rflink/issues/3#issuecomment-274074378, or mute the thread https://github.com/notifications/unsubscribe-auth/AEXqgNH8LAU40CGK-Wf6dmU81B9_H9dsks5rULmIgaJpZM4Lnx90 .