Closed buzurk26 closed 6 months ago
Good evening, I have this heat pump from Samsung. I don't know which category it falls into, NASA or NO-NASA. Or if it is likely that this integrity could work when it is finished. Thank you Zoul AE160JNYDGH
It seems Samsung uses only this two protocols for everything. So when its a new devices I would bet it uses NASA internally.
Highly interested in this project, thanks for the work done so far! I have the AE090RXEDGG/EU + AE260RNWSGG/EU heat pump combination from Samsung. According to the manual, the optional wifi module kit MIM H04EN can be installed. This kit is NASA compliant. But the kit is expensive and only accessible via Samsung Smartthings app. I am very much interested in this ESPHOME project to directly connect my heat pump to Home Assistant. Do you think it will be possible to at least read all interesting information (temperatures, power usage, error codes, etc)?
I think this should work. My devices are from mid 2022 and I can control them via Home Assistant now. Temperatures just work fine for now. Power usage and error codes should be possible, but I did not yet invested time to integrate them.
Currently I am trying to write the code to send messages to NON NASA devices to be able to control them as well. The old protocol requires a lot bit juggling and is not that straight forward as the new one.
Hi Mate, Hope your well just wanted to see if you had time to work on this any further? thanks
@buzurk26 I need your help. Can you generate some data samples. Your installation still logs the raw messages right?
I need examples for the following values.
fanspeed, bladeswing, mode
Make some examples where you write down what you want to set, then change the values to that and copy the messages 0-5sec after you made the change (if you change all three values measure after the last one).
Then turn off the device and do the same. Even when powered off. The system should send a messages with the latest values and power off setting.
And repeat that with some different values. What values do you set does not matter. But they should be different for each measure.
I need that to develop the code for message decoding and encoding. The old protocol is pretty raw. I need to read some values of different bits and since I have not enough test data its not that simple to get the code right.
Hi There,
Thanks for that and more than happy to help! I still have it running and all the codes are cycling so assume all is working where we last left off
What i am wanting to read and control is
I did briefly switch over the matthias code -https://github.com/matthias882/some_esphome_components and also recorded what works and what does not.
Here is my code in ESPhome when testing his https://pastebin.com/JQSZmQns
Found that the ESP web screen looks like this, status's update etc
I noted down what occured when i changed things on the panel
Top row fan headings are what the panel was set to in regards to fan speed, the numbers are what the ESPhome web page saw
Temps, output power etc all seems to work, change values etc
The reason i done this was to see if there was anything already in place in that code that you could use (might save extra work) but i dont know if your code is different (im not a programmer sorry)
Switching back to your code now, so do i need to record the logs of data that are shown after performing each function??
Ah sorry. What I need for each value is this messages from the log:
[11:48:41][W][command:042]: 00 C8 40 3200c84020000000408900472634
No worries can get that, just wanted to let you know what was already working in between your code and mattias code base, im sure you can integrate the working parts in to save rework
So you want me to perform each function on the panel and capture the code that is logged after that???
Not on the panel. I mean directly control your AC via remote
I dont have a remote sorry, Only have the touch panel that does all the control, this is what i have
ITs a ducted system not a wall mount one with remote
Think of the panel as my remote in the context of this system :)
Ignore the zone buttons, these will be managed by another method
Think of the panel as my remote in the context of this system :)
Right :D
So if i perform an action on the panel (remote) then the esp should show a log of code within 5 seconds of that action and you want me to note that?
Right and I need the exact values there where present wenn these messages appear so I can compare the values I get out wenn decoding the message.
Still working through this sorry its really hard to lay it out as there are so many combinations
Can i exclude what is already working in mattias code as posted in my last posts (with the screenshots above)
Do you have a good way to map this out so its readable?
Still working through this sorry its really hard to lay it out as there are so many combinations
I dont need all combinations. A few examples with different values are ok.
Can i exclude what is already working in mattias code as posted in my last posts (with the screenshots above)
No. He uses a different programming language. So I still need test data to verify it works.
Hopefully this is what you need, thanks again :)
Ok that helps. Whats now missing is bladeswing (modes). Could you create a sample for each mode your device has?
Awesome
Not sure what you mean by bladeswing? being a ducted system it does not have blade swing (i think only wall mount units have that)
The only options i have on my panel (remote) is
Or do you mean you want me to cycle through operating modes (Auto, Cool, Fan, Dry, Heat) and capture the codes for them?
Ah...a ducted system is one witch is build into the wall right? Did not noticed that.
Nono I mean the blade swinging from the mounted units. But since you dont have one, I leave that skip that for now.
Highly interested in this project, thanks for the work done so far! I have the AE090RXEDGG/EU + AE260RNWSGG/EU heat pump combination from Samsung. According to the manual, the optional wifi module kit MIM H04EN can be installed. This kit is NASA compliant. But the kit is expensive and only accessible via Samsung Smartthings app. I am very much interested in this ESPHOME project to directly connect my heat pump to Home Assistant. Do you think it will be possible to at least read all interesting information (temperatures, power usage, error codes, etc)?
Hi, I have exactly this WiFi kit, but I would like to get it local so I am also trying to get this working with esphome. I have ordered the necessary equipment and hopefully I will be able to start testing it soon.
@buzurk26 can you please update component and check if you toggle the Power Button that changes anything? It should power on/off and should change target temperature to 18° and everything to auto.
I added test code that should send a message. But I am not sure if its the right one. So maybe nothing happens.
@lanwin Will test now and report back shortly, thank you :)
@lanwin Nothing is happening sorry
I turn it on here
It looks like it trys because every 5 seconds as the target temp, set temp and the slider changes then reverts back to the above screenshot
I think the previous version of the code, the target temp reading, set temp reading and the on/off reading was working, now its coming annd going every 5 secs
Here is a video, you can see how set temp and target temp and the slider read every 5 secs https://youtu.be/NReeKVqpEfo
Well that is expected. It show the data I send out and then the data from the devices comes and overrides it.
Sadly that did not work to control the devices.
Did your remotes (wall) can control only one device? Or is it able to control all?
Well that is expected. It show the data I send out and then the data from the devices comes and overrides it.
Sadly that did not work to control the devices.
Did your remotes (wall) can control only one device? Or is it able to control all?
Ah OK, No worries just noticed it as something different but if you expect that to occur then all good :)
The wall panel controls a single system which is the whole house system, it has an indoor unit and outdoor unit
Can you send me the address list you got in the log?
I assume you mean the logs in the web ui, i will get some fresh ones now
See here - logs_esp32-hvac-test_logs (3).txt
Tried to turn on via esp at the following timestamps in the log ON 23:03:15 - OFF 23:03:20
Can you update and try again?
Closer :) It didn't do anything at first but then i tried again
Well that are good news and meas controlling that stuff works. Now we need to find out the details.
First I only send a message when power is changed. So the other controls are do nothing. That is why they reset.
Can you tell me to what target temp switched. It should be 18...but I am not sure if the code works here.
Yes, very good progress. Thank you. It turns on to the last known set temp, I tried a few different ones on the panel and powered the system back on via the ESP
So now it dosnt go to 19 degrees but it does alway set the operating mode to AUTO
Could you check again
Do i reinstall first?
Do you have discord or anything, wondering if its easier to chat somewhere? Understand if you prefer to keep it here
Nothing now, and looks to have locked me own
the wall panel shows the temp still but no touch actions are working and a new icon is on the top right saying "CENTRAL" which from what i read is when you have a central controller, like a building management system
I cant turn the AC on or off
Ok just done a full power reset of the air con without the esp connected and its come back - phew!
hm ok pew.....I set a property samsung s-net software called individual...It seems this did what you call central.
I reset that property. Can you check what happens now and what target temp you get?
After an update
Ah cool yeah that must be what it is, i have the manual and it talks a bit about enabling that for things
ill update now and check
getting no power on/off control now
Interesting tho, i powered the AC on via wall panel, then tried to power it off via the ESP and it powered it off, so thats working now? but now power on from the esp
Can update again an check logs?
If you power off the log should show "value == false". If you power on there should be "value == true".
And what value did the target temperature get?
No luck sorry. the ESP cant power the AC on or off
if i power the AC on and off in the panel i dont see vale ==
Can you reinstall and try again? I added some more logging.
And you should wait until you saw "known addresses: 00, c8"
Yep, done and waited for "known addresses: 00, c8", no luck tho, not powering it ac on
Can you post your yaml file? You have "registered devices: 00" in your logs. I am not sure, but I think 00 is the outdoor unit.
Sure, see https://pastebin.com/ydgQQZE7
Can you change address: "00" to address: "c8" and check again the power button
that didn't work unfortunately.
Hi,
Great project! very keen to get this working with my AC
I have a non-Nasa ducted system that previously had the wireless controller on the f1/f2 terminals, but it has stopped working of late and Samsung don't sell replacements![image](https://github.com/lanwin/esphome_samsung_ac/assets/39994663/6087d983-c7f5-4225-a67b-f171e4b0244f)
I got some esp32s and the rs485 ttls, I'm a bit of a noob but wondering how i could get started with your code on my non-nasa setup?
Only functions ill need are
@lanwin