toremick / shorai-esp32

esp32 connected to shorai heat pump
65 stars 18 forks source link

Question about connecting to an air conditioner #6

Closed techmike78 closed 3 years ago

techmike78 commented 3 years ago

Good day.

Please tell me which connector to connect your device to? I have two connectors on the RAS-07J2KVG-EE, one is on the controller board (dad), the second is already with the cable (mom). Which one to connect to? изображение

toremick commented 3 years ago

Number 2 is the correct one. (In fact number 2 is just a extension cable connected to number 1)

techmike78 commented 3 years ago

Thanks for the quick response. Are optocouplers required or are they for reliability?

toremick commented 3 years ago

Thanks for the quick response. Are optocouplers required or are they for reliability?

They are used for level converting. Have heard of others using different kind of level shifters, but this is the same way the original gateway does it.

techmike78 commented 3 years ago

Have you disassembled and copied the diagram of the original RB-N104S-G or RB-N103S-G block? Where can I find it, I'm wondering how the rest is done there, maybe it is possible to simplify the alignment of the levels?

toremick commented 3 years ago

No, just followed the trace.

techmike78 commented 3 years ago

Are you planning to upload the firmware sources? Is HA discovering currently supported?

toremick commented 3 years ago

The firmware is basically a original micropython firmware with a script embedded. The script is a tweak of the ota_updater.py to be used as a installer. HA discovering is not currently supported, but should be i guess.

techmike78 commented 3 years ago

C micropython did not work, it is interesting to see what protocol the air conditioner has.

Thanks for the help.

techmike78 commented 3 years ago

The optocoupler can be PC817, it doesn't matter how to use PC871A in the sheme?

toremick commented 3 years ago

Have not tried the different optocouplers, but guess they can be interchangeable, its easier and faster to take these questions in the discord btw.