I added the credentials. it updated everything it needed to. and still no devices.
I got this form the luaupnp log.
50 11/30/17 9:20:16.109 luup_log:0: wash: Washer | V ###########samsungappliancedevicelist################# <0x2b8bc680>
50 11/30/17 9:20:16.110 luup_log:0: wash: Washer | V <0x2b8bc680>
50 11/30/17 9:20:16.110 luup_log:0: wash: Washer | V Washer <0x2b8bc680>
50 11/30/17 9:20:16.111 luup_log:0: ENTRY: Washer exists <0x2b8bc680>
50 11/30/17 9:20:16.111 luup_log:0: wash: Washer | V <0x2b8bc680>
50 11/30/17 9:20:16.112 luup_log:0: wash: Washer | V Dryer <0x2b8bc680>
50 11/30/17 9:20:16.113 luup_log:0: I [ 1]: ########### samsung appliance device list ################# <0x2b8bc680>
50 11/30/17 9:20:16.113 luup_log:0: I [ 2]: <0x2b8bc680>
50 11/30/17 9:20:16.114 luup_log:0: I [ 3]: Washer <0x2b8bc680>
50 11/30/17 9:20:16.115 luup_log:0: I [ 4]: <0x2b8bc680>
50 11/30/17 9:20:16.115 luup_log:0: I [ 5]: Dryer <0x2b8bc680>
50 11/30/17 9:20:16.116 luup_log:0: ======================= END SAMSUNG DUMMY PLUGIN ================== <0x2b8bc680>
50 11/30/17 9:20:18.265 luup_log:3: WUIWeather: #3 starting up with id <0x2b8bc680>
50 11/30/17 9:20:18.278 luup_log:28: (Samsung Appliances)::(Startup) : Initiating <0x2b8bc680>
I do recall you saying there are no more dummy plugins for the Samsung appliances but low and behold I am guessing there is. But you can see it has located both the washing machine and the dryer. but it does not install any devices for them.
If there is anything else you need me to do I am more then willing to help with this as to date the Vera is the only thing (that is of reasonable cost) that might have a chance at controlling these things outside of the Samsung Application. I would like to tie these items into my home automation project. I do own a 3 story home and cannot always hear the song it plays when it is done. It would be nice to be able to have it throw up an OSD on my TV’s or even shut the machines off automatically in the event everyone leaves the house.
the other thing is even tho the log states it has found them. the samsung_appliances.txt file is empty. from a quick glance at the dummy plugin files it seems as tho it should be writing them to the file. and it is not. I am not sure if this may be where the problem is.
The dummy plugins are legacy now, we haven’t cleaned them yet. But it should not interfere with the main plugin.
I attached a photo with the DebugMode variable which can be find in the Advanced - > Variables tab of the main device. Set it to 1, reload engine, and you should get more logs from the main device.
in one spot it appears as tho they are found and in another it states there are none found. If the dummy files are not needed are they causing the additional log entries???
Also I am almost sure those files were not there after i removed the plugin and are there after it reinstalled.
and is it coincidence that there are only 2 of them. and the 2 files happen to be for a washing machine and a dryer. the only 2 devices I happen to have on my account?.. something is seeing the appliances and grabbing/building these 2 files. even if they are no longer used.
i have been looking at the lua code file for the plugin as well as looking at the debug log output…
one thing i find curious is at time index 9:55:11.074 specifically the httpSRequest data = is blank. this is for auth. and it’s empty but it states it’s a valid token on the next line
and at time index 9:55:11.586 again the httpSRequest data = is blank. and this is for retrieving the devices.
I am going to try and reset the devices on the samsung account to see if maybe there is an issue there. Last time i had to mess with this part of it. it took me 2 days to get them to pair properly.
they are well were. i just removed them and I am re adding them. I know this process of adding them to the cloud takes a long while. The message they give “This may take a while depending on your configuration. Sit back, and relax” actually means. put your phone down and come back in an hour and it might be done…
Received 11/30/2017 at 10:53:03 AM
NOTIFY * HTTP/1.1
NT: urn:SmartHomeAlliance-org:device:Washer:1
NTS: ssdp:alive
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age = 1800
USN: uuid:6002b418-3cd0-0000-0000-000000000000::urn:SmartHomeAlliance-org:device:Washer:1
SERVER: Linux/2.6 SHP/1.0 Washer/1.0
LOCATION: https://192.168.1.16:8888/capability
Dryer
Received 11/30/2017 at 10:52:59 AM
NOTIFY * HTTP/1.1
NT: urn:SmartHomeAlliance-org:device:Dryer:1
NTS: ssdp:alive
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age = 1800
USN: uuid:6002b404-f37b-0000-0000-000000000000::urn:SmartHomeAlliance-org:device:Dryer:1
SERVER: Linux/2.6 SHP/1.0 Dryer/1.0
LOCATION: https://192.168.1.15:8888/capability
The other thing is. That if you attempt to make a connection locally you get a bad token error. Now… I am wondering if the token that is retrieved from samsung would allow direct communication with the machines… Kinda skirt the middle man and a whole lot of issues in between. Because it has been 15 minutes now and it is still adding the first machine… which is crazy.
[quote=“kdschlosser, post:35, topic:192382”]I do have a question tho… How come you guys don’t send out a UDP SSDP packet to discover the devices?? they do respond to to this query.
Received 11/30/2017 at 10:53:03 AM
NOTIFY * HTTP/1.1
NT: urn:SmartHomeAlliance-org:device:Washer:1
NTS: ssdp:alive
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age = 1800
USN: uuid:6002b418-3cd0-0000-0000-000000000000::urn:SmartHomeAlliance-org:device:Washer:1
SERVER: Linux/2.6 SHP/1.0 Washer/1.0
LOCATION: https://192.168.1.16:8888/capability
Dryer
Received 11/30/2017 at 10:52:59 AM
NOTIFY * HTTP/1.1
NT: urn:SmartHomeAlliance-org:device:Dryer:1
NTS: ssdp:alive
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age = 1800
USN: uuid:6002b404-f37b-0000-0000-000000000000::urn:SmartHomeAlliance-org:device:Dryer:1
SERVER: Linux/2.6 SHP/1.0 Dryer/1.0
LOCATION: https://192.168.1.15:8888/capability
The other thing is. That if you attempt to make a connection locally you get a bad token error. Now… I am wondering if the token that is retrieved from samsung would allow direct communication with the machines… Kinda skirt the middle man and a whole lot of issues in between. Because it has been 15 minutes now and it is still adding the first machine… which is crazy.[/quote]
Scratch that… It just found it. It just added it. and now it says it’s disconnected. WTF!!! This is why I have decided to no longer purchase any samsung product. their API sucks! and since they locked out the controls on the TV’s (i know there is a half working solution) I am done with them.
well… You can still use the UPNP discovery to detect the devices. and if the device is not on their account you can at the very least provide a popup stating either the Samsung device(s) they have are not supported or give directions on how to add them… I am not sure if there is a common denominator in the uuid that could identify a specific model series… might be worth looking into and this could be used to place the icons in the add devices menu on the UI if in fact there are devices that are supported.