hoylabs/OpenDTU-OnBattery

HUAWEI funktioniert nicht, wenn NRF und CMT gleichzeitig verwendet werden

woollfi opened this issue · 3 comments

What happened?

Huawei Netzteil funktioniert nur wenn ein Chip konfiguriert ist, wenn beide Chips CMT und NRF konfiguriert und aktiv sind wird das Huawei nicht erkannt, keine Werte und Steuerung.
IMG_0338

To Reproduce Bug

Beide Sendechips aktivieren und Huawei betreiben

Expected Behavior

Huawei regelt und zeigt Werte an

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

2024.09.11

Relevant log/trace output

No response

Anything else?

No response

Please confirm the following

  • I believe this issue is a bug that affects all users of OpenDTU, not something specific to my installation.
  • I have already searched for relevant existing issues and discussions before opening this report.
  • I have updated the title field above with a concise description.
  • I have double checked that my inverter does not contain a W in the model name (like HMS-xxxW) as they are not supported

This is not a bug.

"Made by design"

Using the Huawei AC charger in combination with the CMT2300A radio board (for HMT- HMS- Inverters) is supported as of the latest Firmware (stand: Sep.2024)
Please Note: Due to the fact that the ESP32 has only two SPI available, ONLY TWO OF THREE (NRF24, CMT23000, MC2515) modules can run simultanously.
The OpenDTU-OnBattery checks presence of the modules and allocates SPI to them in fixed sequence:

  1. NRF24
  2. CMT2300
  3. HuaweiCAN (MC2515)

If the OpenDTU-OnBattery finds a PIN definition in the config, it assigns one of the two available SPI.

If all three modules are present, the OpenDTU-OnBattery will allocate the first two with an SPI and the third will be denied, without hanging up.

If you have all three modules "present" on your PCB board, you need to disable one of them: Change your Pin-Out configuration and define with -1 the pins of the module you want to have disabled.

Da hat Manos den Nagel auf den Kopf getroffen, auch wenn es mir lieber gewesen wäre, er hätte in die Doku verlinkt statt zu kopieren 😉

Retten kann dich #999, aber da arbeitet gerade niemand dran.

Du kannst dich aufh eine beliebige Drahtlosschnittstelle beschränken, per pin mapping, und dafür das Huawei anschließen mit dem SPI<->CAN Adapter.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.