Samsung AirComditioner (2019) - Samsung Smart Things

I plan to buy a new air conditioner (10/2019). Unfortunately they only Support smart things and Standard remote control. I want to add the set and read temperature to openhab (is my favourite I want to use in my new house now) from homekit or other Interface, not using the remote.

I am wondering it the binding is working or if there is any way to interact here. OR is there any other way to use it with openhab. There Exits a API for their cloud used.

I can develop code but have no Experience with openhab and don’t know how is the effort to write something for open hab addon…

Thx for advice.


There is a binding around:

But I don’t know if it’s working with latest models, maybe @jag can tell about it.

Anyway there are some tricky preliminary steps about getting a certificate and a token to communicate with it, you can search the forum about samsung AC.

But as I said I don’t know if it will work with a 2019 model. :woozy_face:

@jag: Can You help here? THX

There seems to be some updates to the Samsung Smart Things interface.
Last time I tried the Smart Things - iOS app, to control my Samsung Digital Inverter, I got a message stating that I Had to upgrade. I was afraid this upgrade could break my binding, so I did not proceed.

However I the code for my binding is here, if that can be of any help.

If the 2019 Digital inverter responds to the rest API, as the older versions, there should be no problem.

You might get some tips here, Samsung Smart Air Conditioner - OpenHAB 2.0, on how to check with curl and REST, to see the response from the Inverter.

Thanks. Will try it.

Hello weisertigerxl: Did you manage to control your Samsung AC units with openhab? Is the binding working for you or did you implement the Rest API?

Unfortunately I bought the AC but it is not live yet (issues with workers… timeline)…

Therefore must try later :frowning:
Did You?

Thanks for your reply! No, not yet.

I got the 2021 model of Samsung Windfree and it´s quite complicated.

I´m using also Alexa and that´s the only way at the moment how I can turn it on from Openhab side. But all other settings (fanspeed, mode, …) are not available in Alexa.

So I want to use now the Rest APi but this topic is completely new to me. So I´m reading a lot of documentations and playing around with different settings. So far no success…

Ah okay keep me updated :slight_smile:

I worked with REST API’s some years ago. Not with Open Habmore at business side.

Do You have documentation?

For me OpenHab is more to connect it to HomeKit :slight_smile:



Last night I made a big step forward → I was able to use the software Postman to turn on and off my Samsung AC unit while using Rest APIs.
In the software there is also an option to convert the API call into Python format which is perfect - so I can use this directly in openhab. I connected with SSH to my openhabian and ran the command → it´s working!

Now my new challenge:
How to setup the API Rest Calls in combination with items to switch things on / off (or change mode like cooling / heating / fan) and to receive the updated value and store it back into my items.

I already did some research and I thing the exec binding aswell the http binding should work in this situation.

My idea is to store the API calls in python script files to be more flexible.

Any advice or tips how to setup this scenario?


Hi unfortunately I am not actively using openhab yet. Just stack at the state to setup Zigbee / Hue network and rebuild house :slight_smile:

Therefore no really good help at this state now. But I will forward to a friend. :slight_smile:


1 Like

Hello everyone,

at the moment I am building my items and python scripts to read the status and also set new ones.

In first instance I am trying to read the power status (is the ac unit on or is it off?) and also set the power status to ON with a switch.

I created two exec things because in the http binding I was not able to add e.g. my token beaver which is needed to authenticate.

The first one is switching the AC unit on with a Rest API code which is stored in the python script file:

The second exec is getting the status every 10 seconds. It could be that the AC unit was turned on by the remote control…
In this case I also mapped the returned value to an Item.

These are my defined items -

First one: a Switch (which gets triggered every 10 seconds to receive the updates)
Second one: Displays the actual status:
Third one: The switch which triggers the Rest API to power on the AC unit.

Switch Klima_Essbereich_Switch_Akt "Klima Essbereich Status aktualisieren" {channel="exec:command:170d6e6a:run"}

String Klima_Essbereich_Switch "Klima Essbereich Status" {channel="exec:command:170d6e6a:output"}

Switch Klima_EG_Switch "Klima EG Switch" {channel="exec:command:1625dcdf:run"}

The actual value of the Status Item looks like this:

So I get back the whole string which I want to parse to display only the value “ON” or “OFF” in my sitemap / habpanel.

Any ideas how to do this? I tried some mapping with an *.js mapping file with no success.

Also when I hit the Switch to switch on my AC unit the device turns on - but as soon as the python script ends the switch get´s back to it´s initial status “OFF”.

Summarized I think I´m almost heading into right direction but I´m asking myself is this could be done easier than I am planning to do?
At least I will need lots of (dummy) items for holding status information. I guess also many rules are necessary to get this fully working.

Any input is much appreciated.

Thanks and best regards,

Hi Mario,
Did you manage to control your Samsung ACs with the Rest API?


yes, all of my 3 AC units are fully integrated in my OH installation. I am using most of the time my own built “auto mode” where the temperature is defined in OH and AC turns on / off when needed.

I´m not really good in programming and maybe my solution is a little bit complicated (and it can be done much easier) but I´m happy at least that everything is up and running.

Do you need any input from my side?


I have limited knowledge in programing, so I could definitely use your help to follow the same steps you took.
Are you familiar with a tutorial that explains how to use the Rest API to configure the AC’s?
Or if no tutorial exists, could I trouble you to explain the steps you took? :pray:

Hi Mario sounds great. Unfortunately my renovation of the house is so slow and still not finished. Therefore hopefully we can stay in contact.

Good luck and stay healthy

Hello! Sorry for the delay…

My solution is for sure not state of the art but at least it´s working the way I wanted it.

I can provide in a first step an overview of what I´m capable to control / automate with openhab and afterwards I can give you (if your´re still interested) detailled information on how to do it.

Will try to post my AC solution tonight.


1 Like

Thanks for your efforts Mario.
I too have a Samsung AC and I’ve been lurking this thread for some time. Needless to say I’ll be happy to test as well.

Thanks Mario,
I would really appreciate a description of your solution :pray::pray:


so the goal for my Samsung AC solution was to have an automation for cooling down the room temperatures automatically. I have a small boy and the room temperature in our bedroom should be right when he is going to bed. I don´t want to turn on the AC when he is sleeping in the same room. So for sure I would forget from time to time to turn on the AC to cool the room down in advance - that´s why I was looking for an automation.

I´m using a Split Samsung AC system with 3 indoor units - model “Windfree”. In first step I installed the Samsung Smart Things app on my mobile phone and registered all AC devices.
Finally I started to read a lot instructions of Rest API and in general the documentation for the Smart Things Rest API to get used to it.

Here are two screenshots of my sitemap (not integrated in OH 3 UI for now - it´s on my to do list) which i´m using on my mobile (I´m from Austria so everything is in German):

I implemented a general switch for AC automation and also one for every AC unit. If I turn on the switch then the temperature gets monitored automatically and if the setpoint is lower than the actual temperature the AC turns on - and off again (of course) if the setpoint is reached.
Therefore I´m not using a hysterese but the average temperature of the last 45 minutes.

I´m also able to read the actual temperature set by remote directly from the AC, change the operating mode (normal, windfree, fast and windfreesleep were the one I would like to use), turn the AC´s on and off and also get an status update if one of the AC´s was turned on also by remote. Therefore I have some update rules running.

I´m not fully done now - sometimes my rules are not working 100% and also the visualisation is work in progress.

So that´s what I can offer to you guys. If you are interested in how i achieved this I can share all the details.


1 Like