karloygard / hassio-addons

My Hass.io addons
6 stars 2 forks source link

Add support for the CTEU-02/01 Temperature sensor #26

Closed JanPetterMG closed 9 months ago

JanPetterMG commented 9 months ago

No MQTT devices or datapoints are created for my CTEU-02/01 battery driven dual channel temperature sensor.

Temperature channel A is assigned datapoint 35, and B is 36. In the Eaton MRF, each channel is set to send the raw temperature value. There's also an option to send on/off commands to an (heating) actuator, but it's grayed out an unavailable when connected to my ECI.

Output from the log when temperature data is received:

2023/11/26 19:11:56 RX: [c12362030000fa00003f0501]
2023/11/26 19:11:56 Received message from unknown datapoint 35
2023/11/26 19:11:56 Message not handled [c12362030000fa00003f0501]
2023/11/26 19:11:58 RX: [c124620300070800003f0502]
2023/11/26 19:11:58 Received message from unknown datapoint 36
2023/11/26 19:11:58 Message not handled [c124620300070800003f0502]

I'll guess some more logs are required to be able to read and decode the information sent from the device itself. I've enabled verbose, but it only showed the RX log lines extra, nothing else.

I only want the temperatures to be be reported to HASS, so that I can read room temperature etc.

karloygard commented 9 months ago

Can you attach the DPL file?

JanPetterMG commented 9 months ago

Sorry, user error. I forgot to upload the DP list to my ECI after adding the temperature sensor to my system. Now temperature, battery status and signal strength shows up as expected.

I haven't physically connected any probe to channel B yet, but strangely it shows an temperature of 180 °C. Maybe that reading should show up as Unavailable in HA instead? Anyway, that's an separate issue, for now I'll just ignore it until I get the second probe connected...

EDIT 1:

2023/11/27 13:32:35 EPROM: [d162000000000000]
2023/11/27 13:32:35 Status list messages currently ignored: 62
2023/11/27 13:32:35 RX: [c12362030000f200003c0503]
2023/11/27 13:32:35 Device 5308500 (channel 0-'Temperaturinngang (Kanal A)') sent message (battery new, signal good, cyclic false) event 'value' with value 24.2
2023/11/27 13:32:37 EPROM: [d162000000000000]
2023/11/27 13:32:37 Status list messages currently ignored: 62
2023/11/27 13:32:37 RX: [c124620300070800003a0504]
2023/11/27 13:32:37 Device 5308500 (channel 1-'Temperaturinngang (Kanal B)') sent message (battery new, signal good, cyclic false) event 'value' with value 180

EDIT 2:

27.11.2023 16:15:41 +291 Sek.   Temperaturinngang (Kanal A) sender <MÅLEVERDI> til ECI (DP:35) : 26.0     (Batteri: fullt)  78 %    
27.11.2023 16:15:41 +0.0953 ECI sender <BEKREFTELSE> til Temperaturinngang      (Netzversorgt)  96 %    
27.11.2023 16:15:43 +2.1365 Temperaturinngang  (Kanal B) sender <MÅLEVERDI> til ECI (DP:36) : 180.0     (Batteri: fullt)    82 %    
27.11.2023 16:15:43 +0.0902 ECI sender <BEKREFTELSE> til Temperaturinngang      (Netzversorgt)  96 %