Fabian-Schmidt / esphome-truma_inetbox

ESPHome component to remote control Truma CP Plus Heater
GNU General Public License v3.0
37 stars 6 forks source link

Alde no data #22

Open 5of9 opened 8 months ago

5of9 commented 8 months ago

Hi, I connected it to my Alde instead of the Inet Box. The only thing I get in the Esphome Device Logger is: [truma_inetbox.LinBusProtocol:226] Multi package request BA.00.1F.00.1A.00.00.22.FF.FF.FF (11) Do you know where to start? Thank you

Fabian-Schmidt commented 8 months ago

Hi, I have no access to a Alde device so I am unable to develop the code for it. Looks like the header is one byte different. I am unsure how much the Alde device is different from a Truma device.

Alde header: BA.00.1F.00.1A.00.00.22.FF.FF.FF (11) Truma header: BA.00.1F.00.1E.00.00.22.FF.FF.FF (11)

5of9 commented 8 months ago

I would like to help you to get this done. What can I do for you? I have an ESP32 and an unused RPI here. For now I changed the helper file to change it from truma to alde header. Now the new error is: PID 3D order - unable to send response

And in observer mode i got this: Multi package request BB.00.1F.00.12.00.00.22.FF.FF.FF.54.01.0C.55.00.D7.5E.0B.DE.03.C2.01.07.07.17.00.FF.3D (29) Multi package request BB.00.1F.00.22.00.00.22.FF.FF.FF.54.01.1C.51.00.A3.01.00.5E.0B.FE.FF.00.0A.37.01.00.64.FF.FF.FF.82.52.0B.FE.FF.82.0A.00.1E.FF.FF.FF.FF (45)

And without InetBox connected: Multi package response FA.00.1F.00.1A.00.00.22.FF.FF.FF.54.01.00.0A.1B.85 (17) LIN v1 CRC error Multi package request BA.00.1F.00.1A.00.00.22.FF.FF.FF (11) Requested read: Sending init Multi package response FA.00.1F.00.1A.00.00.22.FF.FF.FF.54.01.00.0A.1C.84 (17) Multi package request BA.00.1F.00.1A.00.00.22.FF.FF.FF (11) Requested read: Sending init Multi package response FA.00.1F.00.1A.00.00.22.FF.FF.FF.54.01.00.0A.1D.83 (17)

5of9 commented 8 months ago

Thats the record directly after switching on the original inetbox: Time level Tag Message 10:42:26 [D] [binary_sensor:036] 'CP Plus alive': Sending state ON 10:42:26 [D] [truma_inetbox.LinBusProtocol:226]
Multi package request BA.00.1F.00.1A.00.00.22.FF.FF.FF (11) 10:42:26 [D] [truma_inetbox.TrumaiNetBoxApp:148] Requested read: Sending init 10:42:26 [D] [truma_inetbox.LinBusProtocol:232]
Multi package response FA.00.1F.00.1A.00.00.22.FF.FF.FF.54.01.00.0A.01.9F (17) 10:42:28 [D] [truma_inetbox.LinBusProtocol:226]
Multi package request BB.00.1F.00.14.00.00.22.FF.FF.FF.54.01.0E.0C.00.58.02.00.01.FF.DE.41.01.00.00.04.10.00.00.00 (31) 10:42:29 [D] [truma_inetbox.LinBusProtocol:226]
Multi package request BB.00.1F.00.14.00.00.22.FF.FF.FF.54.01.0E.0C.00.C9.02.01.01.FF.DE.41.30.03.00.02.6D.00.00.00 (31) 10:42:31 [D] [truma_inetbox.LinBusProtocol:226]
Multi package request BB.00.1F.00.12.00.00.22.FF.FF.FF.54.01.0C.55.00.D7.5E.0B.DE.03.C2.01.07.07.17.00.FF.3D (29) 10:42:32 [D] [truma_inetbox.LinBusProtocol:226]
Multi package request BB.00.1F.00.12.00.00.22.FF.FF.FF.54.01.0C.57.00.15.63.0B.DE.03.CE.04.07.07.00.00.FF.01 (29) 10:42:33 [D] [truma_inetbox.LinBusProtocol:226]
Multi package request BB.00.1F.00.10.00.00.22.FF.FF.FF.54.01.0A.15.00.48.0A.2A.09.FF.FF.FF.00.01.05.FF (27) 10:42:34 [D] [internal_temperature:052]
Ignoring invalid temperature (success=0, value=53.3) 10:42:34 [D] [truma_inetbox.LinBusProtocol:226]
Multi package request BB.00.1F.00.22.00.00.22.FF.FF.FF.54.01.1C.51.00.92.01.00.5E.0B.FE.FF.00.0A.37.01.00.64.FF.FF.FF.82.63.0B.FE.FF.82.0A.00.1E.FF.FF.FF.FF (45)

5of9 commented 8 months ago

Ich wäre über jeden Tipp dankbar...

Fabian-Schmidt commented 7 months ago

Hi Ich habe einige vorhanden Dokumentation über alde gefundenen und möchte die am Wochenende erstmal studieren und kann dann erst entscheiden welche Änderungen notwendig sind

5of9 commented 7 months ago

Wenn du Hilfe benötigst oder ich was testen soll, jederzeit Bescheid geben!

Fabian-Schmidt commented 6 months ago

Sorry for not answering. I was busy with other things :-|

I added an intitial detection for Alde device based on the information you provided commit e6fbece9882d20aa3dc36a11ce8832491ff9481d . Unfortunately I believe more changes are necessary to make it work.

Can you please test again and see what the next error / message are?

I am near Landshut this week and could drop by and take a look myself if this is feasible for you.

Cheers Fabian

5of9 commented 6 months ago

Hi, i will test it tomorrow evening👍🏼 Good evening Florian

Mic47114711 commented 6 months ago

Hallo Fabian, hallo Florian, ich habe eine Alde 3030 in meinem Wohnmobil eingebaut und möchte diese auch gern ansteuern. Habe mir gerade einen Womolin-TI-CI-LIN Controller besorgt und würde euch hier gern unterstützen! Welche Entwicklungsumgebung nutzt ihr? Vielleicht habe ihr Tipps, damit ich schnell arbeitsfähig werde.

Fabian-Schmidt commented 6 months ago

Ist dein Alde paneel 'inet ready'? Ich glaube alle nach 2018 hergestellten paneele sind es.

Mic47114711 commented 6 months ago

Hallo Fabian, ja ist es. Panel ist aus dem Jahr 2023. Ich habe gestern auch noch das Projekt mit esphome gebaut bekommen. Werde das versuchen heute Abend auf dem Controller zu installieren.

5of9 commented 6 months ago

Interessant, das ist neuer wie meins, die Bedienoberfläche schaut etwas anders aus, allerdings scheinen die Funktionen die gleichen zu sein. Wir sich zeigen ob die Datensätze die gleichen sind... Mit esphome musst du auf jedem Fall Statusmeldungen empfangen, auch wenn die momentan noch nicht ausgewertet werden aber in Kürze gibt es erste Funktionen, wie ich Fabian kenne 😊

Mic47114711 commented 6 months ago

Konnte heute die Software auf dem Controller installieren. Ab Samstag bin in für zwei Wochen mit dem WoMo unterwegs, dann werde ich den Controller an die Alde anschliessen und schaue mal wie weit ich komme.

Fabian-Schmidt commented 5 months ago

Hi, Ich habe angefangen support für die ALDE experimentell einzubauen.

Ich habe es in einem seperaten branch eingebaut. Daher muss die external component referenz angepasst werden:

source: github://Fabian-Schmidt/esphome-truma_inetbox@alde

Bitte prüfen ob init funktioniert und welche Nachrichten kommen. Ich habe erstmal nur eine Komponente angepasst:

number:
  - platform: truma_inetbox
    name: "Target Room Temperature"
    type: TARGET_ROOM_TEMPERATURE

Alle anderen Komponenten (climate, number, sensor) kennen Alde noch nicht.

Als log bitte per USB serial log mit:

logger:
  baud_rate: 500000
  level: VERBOSE

Danke. Dann können wir schauen was funktioniert.

5of9 commented 5 months ago

Init funktioniert, esp wird als Inet Box Version ?.?.? erkannt, sonst funktioniert leider noch nichts. [truma_inetbox.TrumaiNetBoxAppHeater:059]: Cannot update Truma.

ristoavila commented 1 month ago

did you ever get this to work? I'm also getting Alde 3020 HE system and would be interested remote controlling it.