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,