Blockquote
I was trying to use sebuzet’s custom integration for Samsung AC, and had a hard time with it: my HA slowed to a crawl, with updates taking 5-10 seconds.
Would take me too long to learn enough HA infrastructure to debug it, and with it unsupported at the moment, I wrote my own, this time it’s a small Go bridge that runs in a separate process and connects to HA through MQTT. Seems to work.
Find it here: GitHub - gsasha/hvac_ip_mqtt_bridge: A bridge to connect between ip-enabled HVAC units and mqtt (to be connected to HomeAssistant etc)
There is also a docker image: Docker
Let me know what you think,
– Sasha
Cool
sadly I haven’t been able to use the climate_ip component, but your bridge works fine I used it without the docker image, just compiled it and configured it’s yaml file and the climate part in hass.
Now it just need a systemd unit and finally I could access my samsung units from home assistant
The only error I have in hass logs is:
[homeassistant.components.mqtt.climate] Invalid fan_modes mode: High
have a look at the dockerfile in the repo, there are the commands to build and start the program:
download the repo, you need golang > 0.12
do:
go mod download
go build -o bridge
Then copy where you like the binary and the config file (see doc for that)
then you can start it with: ./bridge -config_file=config.yaml
I wrote a little systemd unit in case you want to start it at boot:
it is taylored to my setup (no dockerized hass, everything launched by a dedicated user, configs are in its home) so change what necessary
I had some issue obtaining the token also and after numerous of different approaches I finally found a solution that worked for me. Also decided write guide to help other people struggling with the token as well: Guide: Samsung A/C to Home Assistant – Creating Smart Home
Ps. Guide is targeted for Samsung A/C with port 8888 and Home Assistant supervised
Hi,
I have issues to obtaing device token from Samsung AC (Samsung Nordic Home Premium 35, AR12TXFYBWKXEE). It new model and thus should work att port 8888 (new generation, REST API) but seems that 8888 and 2878 ports are closed.
AC is currently at my IOT wifi with ip-address which is pingable. AC is also attached to SmarThings. Has anybody else had same problem / know how to open port from Samsung AC? Next step is to contact Samsung customer service…
EDIT:
seems that there is only one port open in AC
but can’t get token out of that (ConnectionError: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’)))
Have a read of the whole post from the following link. I was stuck getting a MIM-H03 for a really, really long time until I followed some of the newly discovered steps.