Here is a way to pull at least some Samsung gadgets into HA and run them completely local.
Works very well with my Samsung Foodcenter (Fridge/Freezer) - I get all the sensors I had before with Smarthings.
This looks awesome! Retrieving the keys looks the most challenging. I believe they can also be found in public github repo’s like: samsung-aircon-8888-get-token/ac14k_m.pem at b787f0513bb2ac07a58d2271829f66ae1333799e · hmmferreira/samsung-aircon-8888-get-token · GitHub
I got some keys using this (on debian)
git clone https://github.com/QuiteYellow/SmartThings-Local.git
cd SmartThings-Local
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-bootstrap.txt
TARGET_IP=192.168.x.x python setup_cert.py --test
But it got late…so i stopped.
Now i need to verify if I got the right keys and try the local integration
Retrieving the keys is quite easy, if you run your PC on Linux.
All you have to do, is to download the file “setup_cert.py” from here:
- Then you have to make it executable by right-clicking and ticking the appropriate box.
- After that you execute it by double-click and run it in terminal
- Once it has done its thing, you will find a new folder that is called “cert” in the folder from where you double-clicked the downloaded file.
- in that folder is another folder called “.bundle”
- there you find the ac14k_m.key, which you have to open with your text editor to copy the key
- ac14k_m.pem ---- again use your text editor to retrieve the certificate
Thanks Frank, If the debian way didn’t work I’ll try the windows way ![]()
(and looking at the names it’s an all duchies party here ? Success allemaal
)
The Dutchies have got a tendency not being willing to support Samsungs legalized robbery ![]()
I also asked Claude to download the files (which it refused at first), but after clarifying the reason it happily write a script, downloaded the two files and cross checked if they worked ![]()
This turns out to be quite a productive thread.
Besides my
- Foodcenter – see “localthings” above,
I was also able to switch my - Samsung Soundbar ----- GitHub - IDmedia/hass-samsung_soundbar: This is a custom component to allow control of Samsung Soundbars in Home Assistant. · GitHub
- and my Samsung TV — GitHub - ollo69/ha-samsungtv-smart: 📺 Home Assistant SamsungTV Smart integration with SmartThings API Support. · GitHub
to full local operations!
Got rid of Smarthings alltogether now!
Everything working fine now…and most importantly…local.
I does seem a bit slow though:
SUMMARY_INTERVAL_S = 30.0
but then again it uses a 30s interval status pull…i wonder if that can be lowered without pushing it too far![]()
Just wanted to thank you guys for pointing out the LocalThings integration! Definitely worth looking into. I’m finally getting a managed switch for my network tomorrow, so once the dust settles I will definitely be digging in to that to see what I can do with my over-the-range microwave and my washer/dryer combo. Bought them in the last year or so, so probably good candidates.
Thanks a lot for this.
Gathered the certificate and private key through Powershell in Windows and managed to add a Samsung Dryer.
Much-much more sendsors and controls are available vs what I had in the Smartthings integration.
Could this also be applied to other hardware?
I have an air purifier that is losing its API in December. Would it be possible to grab the necessary info off it using a similar technique?
We represent a very teeny-tiny percentage of their customer base.
True, but as people held in regard for advice, a little goes a long way.
I can vouch for costing Samsung tens of thousands since the issue was raised, as I move through the local community. Word of mouth travels fast.
Advocacy can be behind the scenes too. A word to some of the sales staff at some whitegoods warehouses now has them warning their customers too, multiplying the effect. If the competition manufacturers price is similar, the choice is easy - take the one without the possible ongoing charges - it’s a cut-throat industry, driven by the upfront purchase cost.
Product reviews are often followed - a sentence there can sway a whole generation until it leaves the front page.
By the time the quarterly sales figure filter through, the Samsung bean counters will know. It may be too late, but they will know.
Don’t underestimate grassroots campaign activity - it can be very effective.
Hi, i use Windows, what is the procedure for make executable the setup_cert.py file?
Thanks
How are you running Python in Windoze? WSL, VM?
Python in Windows
