Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Arexx Multilogger #2487

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add support for Arexx Multilogger #2487

wants to merge 2 commits into from

Conversation

zuckschwerdt
Copy link
Collaborator

Adds support for Arexx Multilogger IP-HA90, IP-TH78EXT, TSN-70E.

See also #2388 and #2482.

This was referenced Apr 20, 2023
@zuckschwerdt
Copy link
Collaborator Author

I still need to add the MCP9808 decoding for the IP-HA90.

We need to know if the Arexx TSN-70E is compatible to that.
And @MacH-21 did you test your "Arexx IP-TH78EXT"(?) yet?

@inonoob
Copy link

inonoob commented Apr 20, 2023

Dear all,

I've compiled the version with the support and tracked the following messages:

I have 6 sensor TSN-TH70E just next to me:

2023-04-20 21:17:44  ID: 40b9  Humidity   : 0655 (57.44 %)
2023-04-20 21:17:50  ID: 4e2a  Temperature: 1701 (18.89 C)
2023-04-20 21:17:50  ID: 4f86  Temperature: 1748 (19.6 C)
2023-04-20 21:18:05  ID: 4e2b  Humidity   : 0665 (58.03 %)
2023-04-20 21:18:27  ID: 4e2a  Temperature: 1700 (18.88 C)
2023-04-20 21:18:38  ID: 4f87  Humidity   : 066e (58.36 %)
2023-04-20 21:18:40  ID: 40b8  Temperature: 175c (19.8 C)
2023-04-20 21:18:55  ID: 4dea  Temperature: 169c (17.88 C)
2023-04-20 21:19:06  ID: 4e2b  Humidity   : 0678 (58.72 %)
2023-04-20 21:19:12  ID: 40b9  Humidity   : 0658 (57.55 %)
2023-04-20 21:19:16  ID: 4f86  Temperature: 1751 (19.69 C)
2023-04-20 21:19:31  ID: 4e2a  Temperature: 171b (19.15 C)
2023-04-20 21:19:34  ID: 4da6  Temperature: 16cf (18.39 C)
2023-04-20 21:19:35  ID: 4f87  Humidity   : 0669 (58.17 %)
2023-04-20 21:19:48  ID: 4e84  Temperature: 16b3 (18.11 C)
2023-04-20 21:19:52  ID: 4deb  Humidity   : 0684 (59.16 %)
2023-04-20 21:19:58  ID: 40b8  Temperature: 176a (19.94 C)
2023-04-20 21:20:08  ID: 4da7  Humidity   : 0721 (64.93 %)
2023-04-20 21:20:11  ID: 4f86  Temperature: 1759 (19.77 C)
2023-04-20 21:20:21  ID: 40b9  Humidity   : 0654 (57.40 %)
2023-04-20 21:20:22  ID: 4e85  Humidity   : 0714 (64.45 %)
2023-04-20 21:20:32  ID: 4e2b  Humidity   : 066d (58.32 %)
2023-04-20 21:20:38  ID: 4dea  Temperature: 16c4 (18.28 C)
2023-04-20 21:20:50  ID: 4f87  Humidity   : 0666 (58.06 %)
2023-04-20 21:20:55  ID: 40b8  Temperature: 1770 (20 C)
2023-04-20 21:21:00  ID: 4da6  Temperature: 170e (19.02 C)
2023-04-20 21:21:15  ID: 4e84  Temperature: 16ee (18.7 C)
2023-04-20 21:21:28  ID: 4f86  Temperature: 175e (19.82 C)
2023-04-20 21:21:32  ID: 4e2a  Temperature: 175e (19.82 C)
2023-04-20 21:21:33  ID: 4da7  Humidity   : 0712 (64.38 %)
2023-04-20 21:21:39  ID: 4deb  Humidity   : 067a (58.80 %)

@inonoob
Copy link

inonoob commented Apr 20, 2023

Hey,

I've done the next cross check:

2023-04-20 22:00:33  ID: 4deb  Humidity   : 52.2 %   Sensor Raw: 0633
2023-04-20 22:00:43  ID: 4e2b  Humidity   : 53.3 %   Sensor Raw: 0657
2023-04-20 22:00:47  ID: 40b9  Humidity   : 53.1 %   Sensor Raw: 0651
2023-04-20 22:00:49  ID: 4da6  Temperature: 20.23 C  Sensor Raw: 1787
2023-04-20 22:01:05  ID: 4e2a  Temperature: 19.92 C  Sensor Raw: 1768
2023-04-20 22:01:11  ID: 4f87  Humidity   : 54.1 %   Sensor Raw: 0671
2023-04-20 22:01:15  ID: 40b8  Temperature: 20.09 C  Sensor Raw: 1779
2023-04-20 22:01:27  ID: 4da7  Humidity   : 56.2 %   Sensor Raw: 06b4
2023-04-20 22:01:36  ID: 4f86  Temperature: 19.72 C  Sensor Raw: 1754
2023-04-20 22:01:36  ID: 40b9  Humidity   : 53.1 %   Sensor Raw: 0650
2023-04-20 22:01:42  ID: 4e84  Temperature: 19.52 C  Sensor Raw: 1740
2023-04-20 22:01:44  ID: 4dea  Temperature: 19.41 C  Sensor Raw: 1735

@zuckschwerdt
Copy link
Collaborator Author

Are those values plausible, are they what you expect?

@inonoob
Copy link

inonoob commented Apr 20, 2023

I have two comments for the moment.

the temperature conversion:
temp_c = sens_val * 0.01f - 40.0f ==> it should be temp_c = sens_val * 0.01f - 39,6f as it is 3V

In addition the datasheet mention that if temperatur is different from 25°C the relative humidity must be compensate.

I found from Arexx the following formula for the humidity:

3 nodes:
value=p0 + rawValue*(p1 + rawValue*p2)

p0=-4
p1=0.0405
p2=-2.8e-6

float humidity = -4 + 0.0367 * sens_val * (0.0405 * -sens_val* 2.8e-6)

What do you think ?

Source: https://github.com/redflo/pylarexx/blob/master/sensors.txt
https://github.com/redflo/pylarexx/blob/master/deviceinfo.xml

Last point is the ID from Hex to Dec

@inonoob
Copy link

inonoob commented Apr 20, 2023

But at the end I must release that the Accuracy for SHT10 is for Humidity +- 4,5% and for temperature +- 0,5°C. So I would say the are within specs.

@zuckschwerdt
Copy link
Collaborator Author

Thanks. Yes the 3V conversion seems better suited. The humidity conversion depends on wether the hardware is V3 or V4. Do you know it is V3 (the -4 p0, V4 has -2 there)?

@inonoob
Copy link

inonoob commented Apr 20, 2023

Could you tell me your source for the V3 and V4 topic ? I would like to double check.

@zuckschwerdt
Copy link
Collaborator Author

Could you tell me your source for the V3 and V4 topic ? I would like to double check.

The older datasheets have that note in "Table 6". The current datasheet only has the newer calculation.

@inonoob
Copy link

inonoob commented Apr 20, 2023

Oh nice catch. Yeah I would suggest to stick with you version then.

I've checked wayback machine and the website with the sensor labeled Arexx only exist since 2016. So we could assume that v4 was out for a long time.

http://web.archive.org/web/20150122105634/https://www.arexx.com/templogger/html/en/products.php

@inonoob
Copy link

inonoob commented Apr 20, 2023

I would also propose to change the ID to int dec:

"id", "ID", DATA_FORMAT, "%04x", DATA_INT, id,

to

"id", "ID", DATA_FORMAT, "%d", DATA_INT, id,

@inonoob
Copy link

inonoob commented Apr 23, 2023

Hey,

question don't you have a conflict with [245]* ThermoPro TX-2C Thermometer and this branch as this sensor is 245 aswell ?

best regards

@zuckschwerdt
Copy link
Collaborator Author

I'll rebase later on.

@MacH-21
Copy link

MacH-21 commented May 12, 2023

Hi All,
Sorry for long delay in replying,

@zuckschwerdt

I still need to add the MCP9808 decoding for the IP-HA90.

We need to know if the Arexx TSN-70E is compatible to that. And @MacH-21 did you test your "Arexx IP-TH78EXT"(?) yet?

TSN-TH70E internal SHT10 is same as IP-TH78EXT external SHT10 IP rated enclosure, therefore compatible.
It is the sensor type that requires sorting first, which can be done on the 16bit ID
(Device ID & 0xf000) = 0x2000-TC-77, 0x4000-SHT10,
32bit ID = MCP9808.
I have attached txt file!! snip of code to decode the sensors, hopefully it makes sense, also a screen capture of decode.
RTL-Arexx-YAT-2
rtl_issue_2487-1.txt

@MacH-21
Copy link

MacH-21 commented May 12, 2023

Are those values plausible, are they what you expect?

I use V3 parameters, so it has continuity with the Arexx software.

@zuckschwerdt zuckschwerdt self-assigned this Oct 4, 2023
@inonoob
Copy link

inonoob commented Oct 11, 2023

Hey,

quick question merge still open or did I miss it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device support Request for a new/improved device decoder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants