Originally posted by Mat_Budden
View Post
Announcement
Collapse
No announcement yet.
Initial Release.
Collapse
X
-
Regards Bart
------------------------------------------
Win7 64Bit on Intel NUCI7 with SSD
HSPRO 3.
Devices; 1370 Events; 691
Jon00 Scripts, JowHue, HSTouch, Plugwise, Z-wave, Ultranetatmo, Ultracam, PHlocation, BLUSBUIRT, MeiHarmony, Buienradar, MEiUnifi Pushover 3P, Random, Nest HSPhone and Blueiris
Visonic Powermax Alarm System (HS3) Interface: http://www.domoticaforum.eu/viewtopic.php?f=68&t=11129
-
mat,
it is cloudbased, but it detect when I am at home. It is the smartthings app.the app can read status and if I enable it on the washer I also can remote start etc. However that's not my main goal.Regards Bart
------------------------------------------
Win7 64Bit on Intel NUCI7 with SSD
HSPRO 3.
Devices; 1370 Events; 691
Jon00 Scripts, JowHue, HSTouch, Plugwise, Z-wave, Ultranetatmo, Ultracam, PHlocation, BLUSBUIRT, MeiHarmony, Buienradar, MEiUnifi Pushover 3P, Random, Nest HSPhone and Blueiris
Visonic Powermax Alarm System (HS3) Interface: http://www.domoticaforum.eu/viewtopic.php?f=68&t=11129
Comment
-
Hi Bart,
Can you send me a picture of the App for it? ill see if i can download it and that will at least give me some clues to the protocol as it will initiate a search for the device (Even though i dont have one) from that i should be able to tell whether i can add it, or if its better to wait for the smartthings integration by homeseer.
Thanks
Mat
Comment
-
Guest
was also looking if washer driver was available on this plugin. There is no local api for them? I did'nt buy them, just looking around .. :P
Comment
-
Guest
from https://www.reddit.com/r/homeassista...g_washerdryer/
Your appliances do have a JSON interface where you can collect pretty much all the data you want, as well as controlling the appliance. It's available on the IP of your appliance, on port 8888. This is valid for all "smart" wifi connected washers, dryers, dish washers and ACs from Samsung that I have been able to test.
BUT
The problem is that Samsung has implemented the requirement of both a client side certificate (which you can get by downloading any Samsung appliance Android APK and extracting it), and an access token.
The access token is created by launching a server on your end that listens to port 8889, and send a devicetoken request to your appliance on port 8888. The appliance then connects automatically back to the IP the request from and gives you the required token.
I guess this is Samsungs way of "security by obscurity" to ensure that only Samsungs technical staff are able to control the units locally for testing and maintenance.
More information, including an example of a device token server, can also be found here - it's work on Samsungs AC, but it's the same API implementation on their other appliances as well ;
https://community.openhab.org/t/newg...otocol/33805/5
To read the JSON manually once you are past the SSL certificate and token creation, this is how I use curl ;
curl -k -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" --cert cert.pem --insecure -X GET https://192.168.0.xx:8888/devices | json_pp
and a small python example, as you need to include headers ;
headers = { 'authorization': "Bearer " + token, 'content-type': "application/json", 'cache-control': "no-cache", }
samsungresponse = s.get("https://" + host + ":8888/devices", headers=headers, stream=False, verify=False, cert="/home/homeassistant/.homeassistant/custom_components/samsungwasher.pem ").json()
From here, you should be able to extract any required data from your local appliances.
Good luck. :-)
Comment
-
Hi MattL0,
Thanks for the note, That Certificate issue comes up in my Plugin as well.... When the First gen systems come out they had no authentication, Then without user intervention samsung upgraded the firmware, Which Annoyed a heap of people (Including me) that were using them with Automation....
A user on another forum found you could "Capture" the certificate through an APK extraction, Then there was a complex process to get it all working.... However i was able to get it sorted without any special tools in this plugin.
The API you list above seems very similar to the first gen Aircon protocol my plugin uses... If i had a device to test i would happily add support.
If your willing to help out with testing let me know and we can see if we can get it all supported.
Thanks
Mat
Comment
-
Mat,
I have several Samsung Smart Appliances in the house (fridge 2019 model Family Hub, 2019 Gas Stove with Bixby/WiFi, Microwave and Dishwasher as well) - as arriving in Mid-Feb 2020 Washer and Dryer with Bixby (WiFi) support. All of them can talk to Bixby and an app on the Phone.
Are these supported by this plug-in? They all talk to SmartThings - but I really am hoping to get that 'monstrosity bastard thing' out of my house. LOL
I am new to HS4, and so far happy with it, now that I seem to have a stable OS (back on Windows 7 Pro x86). Windows 10 - kept locking up with strange errors in the Event Viewer. I have HSBuddy installed on my phone, and it seems to be working GREAT for GeoFencing events. Still trying to figure out how to have it only turn on the lights inside (if it is after sunset - thinking I may need light sensors).
Curtis
Comment
-
Hi Curtis,
Thanks for the message, Unfortunately those new smart things devices will not be supported, This plugin only works with there first few ranges of smart tech... A few Air Con units, A smart oven, and the early range of Smart Washing machines.
Sorry i couldnt help you there.. If in the future i get some of the newer devices ill try and make a plugin for them.
Thanks
Mat
Comment
-
Originally posted by Mat_Budden View PostHi Curtis,
Thanks for the message, Unfortunately those new smart things devices will not be supported, This plugin only works with there first few ranges of smart tech... A few Air Con units, A smart oven, and the early range of Smart Washing machines.
Sorry i couldnt help you there.. If in the future i get some of the newer devices ill try and make a plugin for them.
Thanks
Mat
Thanks for the reply. I'd be more than happy to help you with testing. Let me know what you would need, and I will work with you get it.
Curtis
- Likes 1
Comment
Comment