In my case, if I disconnect the t-stat and use the remote controller to set the unit to auto, then the unit will only do Fan and never heat or cool.
If I connet the t-stat, then yes, the unit will do heat or cool.
Have you tried disconnecting the t-stat while the unit is in auto mode, and see if it actually changes modes?
In my case, all evidence points that “the brain” of auto mode is in the t-stat, this was also confirmed by my installer that mentioned that there was a recent bug fix in the auto mode of the system as he was trying to warn me againts using auto mode in winter. (Dont reme,ber exactly what were the bug details)
I have been working with copilot to document as much as possible about the XYE protocol.
I have produced some nice C++ enums/structs/typedefs to describve as much as possible.
However there are still a bunch of unknowns.
Hopefully this help someone.
Release v0.1.2 is able to print the recieved data in a way that will allow me to understand what else is reporting the unit:
There is no thermostat connected for me. I am only running the ESP32 controller. I can definitely see when the coil temps change showing compressor activity in AUTO.
@Oscar_Calvo
Just curious. Not trying to be the devil’s advocate,BUT, shouldnt there be some way to expose other registers,of the Midea heat pumps,going through the KJR-120W wired controller?
In other words,I currently have my Daizuki /Midea heat pump connected to HA through the KJR-120W wired controller,no problems, using the Midea AC LAN integration .
I am not wanting to actually control anything at this point. Am wanting to just expose, line pressures, lines temps, compressor frequency, electric used, inside,outside coil temps, to use it as more or less a diagnostics entity.
I have an esp32-c3 super mini,with an rs485(MAX) modules and have been flashing it olike crazy with ChatGPT help, but have not actually went down and plugged it into my AHU in basement .
Where im going with this is,i would like to streamline to were just use the factory compenent that came with my heat pump setup,the KJR-120W.
I,m not sure through it, the extra registers can be read?
Im not smart enough to decypher all this.
TIA
If you mean that you want to gather data but not manipulate anything…yes you can do that, but you’d need a different version of the code that only listens. I have that somewhere.
If your KJR-120W is using HA/HB, you can have the RS485 on there as well, I think. Not 100% sure of that though.
@mdrobnak
Hi Matt, Appreciate it.
If you could drop a link to the code. All i want to do is a read only setup…that provides the innards of what is going on inside the condenser.
Can this be done with only the KJR-120W connected to HA,or do I need to flash an esp32(-c3)_ with an rs485 module.,with your code? I have my KJR-120W connected to AHU with two wires, HA & HB.
Wanted to share also. If i check across the terminals on the KJR-120N HA & HB terminals i see 18.8 vdc and that alternates slightly. I wondered if the X & Y terminals creates the same volatge like this. Goes without saying,I am very green at this stuff,and old,on top of it,LOL.
Thank You!
@Oscar_Calvo are you doing anything special to control outdoor compressor speed for better temperature control, or all you’re doing is sending whatever your temperature sensor is reporting?
I wasn’t super happy with temperature regulation with my thermostat when we had a cold snap, where the outdoor compressor often ran too low of speed and fell behind, and then tried to play catch up only to hit frosting issues due to humidity. I am toying with the idea of “faking” temperature info to control compressor speed, I am curious if anyone has done anything like that.
Hey all; following this thread with great interest. I’m currently running
wtahler’s yaml on an esp32 connected directly to my air handler board
i am also running a kjr120 tstat in the main living area for the follow-me temperature (for now)
i utilize the data from the esp32 primarily to track defrost cycles (if the outdoor temp measured at the coil suddenly is much higher than ambient and the condenser is still running, it’s defrosting)
at some point I’d like to ditch the KJR and run everything through the esp32 but there are a few sharp edges preventing me from doing so (updating the firmware power cycles the unit??)
One question I have for the group is: which xye github/yaml file is “latest?” I see that there’s this new homeops repo which might be the newest, but based on the convos in this thread, mdrobnak seems to really know what’s going on. Unfortunately, from a consumer’s perspective who isn’t in the weeds, it’s kinda hard to tell which repo/yaml is the most up to date.
@dvfeinblum
Could you explain what connection your using along with your KJR-120W wired controller, You must be using the 4 wire interface, to the air handler?
There are so many slight variations of the controller boards on these Midea ducted AHU. there are very similar but the more you look through them,how they interface with ODU can be very different.
I just actually got my esp32 logging through the KJR-120W wired controller today:) I have to be different,I guess. Am very catious as i dont want to kill the controller.
Please give some details how you are powering your esp,etc,if you would,
No one ever shows any good phtos,of the total setup,
TIA
@aeozyalcin
What you are explaining is to be expected from an inverter style heat pump.
How long have you been running your heat pump setup?
How many ton system you have and home many sq ft house? Good chance you are slightly low on refrigerant as this is what causes the condenser to not be able to ramp up when it needs to, Some how the logic doesnt let the comperssor,and in turn the condenser fan spool up,so as to not trash the compresser from low refrigerant state. It is going to frost up as well,from 40-20F depending on yoru local humidity keep in mind. If you have say 80% humdity and the condenser is trying to raise the heat in the house,it will be full of frost in 20 mins runtime.
Could you explain what connection your using along with your KJR-120W wired controller, You must be using the 4 wire interface, to the air handler?
I’m not actually familiar with a 4-wire connection for the wired controller. Typically, you’re either using the 2-wire HA/HB connection to leverage communication between the stat, AHU, and outdoor condenser, or you’re running non-communicating 24V, and I’d imagine a heat pump would need more than just 4 wires. In my case I’m using HA/HB.
just actually got my esp32 logging through the KJR-120W wired controller today:) I have to be different,I guess. Am very catious as i dont want to kill the controller.
I connected the esp32 to the air handler board, not through the tstat. Personally, I wouldn’t want to connect up there because it’s not obvious to me how, at least for my setup, the XYE terminals would be active. Also, I’d seen setups where folks did it down in the air handler proper, so I opted to emulate what I saw.
I can’t speak to how safe it is to stick the esp up @ the stat itself, but in terms of how to power, there’s really only one solution to this: you power the esp how it wants to be powered. In my case, there’s a series of outlets near my air handler so I just plugged the microusb into an adapter.