Thanks for the response! Log as been sent.
(this is my first time sending a lot, so please let me know if it didn’t come through correctly)
Installed this app yesterday since the app I used until recently stopped working.
I have added my heat pump/ac and the on/of and change temp functions seem to work as they should.
But measurements of sensors don’t update at all.
Start value was registered and since then the values have been the same in the overview in Homey.
same issue here and now I’ve installed and readded the Official Athom and the community app and both don’t work for me, would anyone have a suggestion for this item?
It appears SmartThings have changed the rules for the PAT. Any PATs obtained now will expire after 24 hours and have more restrictions on the number of calls.
I think this means the end of the SmartThings apps for Homey.
The alternative to a PAT is to use OAUTH2 but each private key is limited to 500 users, which is nowhere near enough for Homey as my app has around 1500 users.
It is possible to apply for a key with more users, but I got no reply to that, probably because I am not a device manufacturer. I have a feeling that type of key would also incur a cost, which I think is why Athom dropped their app.
At the moment, any PATs obtained before January should continue to work.
Basically, SmartThings want to capitalise on the integration.
Hi Adrian. Was the log provided helpful in investigating the temperate unit issue? Thanks much.
Feels like more and more companies are taking actions to make it harder to use Homey.
Did LG buying it kill it?
Or if it’s the capitalising thing then all companies are killing them self’s in my world.
The new rules apply to everyone, not just Homey. I don’t think they even considered Homey in their decisions. They suggested that HA probably has about 20000 users using PAT, hence not applying the rules to older PATs, but even they will be affected by the new rules.
Hi Adrian,
Is it possible to do location based actions with the smarttags? For example, mark person X as home when at a specific location and away when leaving that place?
Unfortunately not. The smart tags don’t provide that information via the API.
Okay, thanks for the quick reply!
Hello.
Since this post, I see that “Display Port” has been added in the list of Source for Samsung Screens.
But for some reasons, it does not work for me (While setting HDM1 or HDMI2 works fine).
I have the App 2.0.35:
What’s weird, is that when using HDMI1, for ex, it works (the source is changed), BUT I get an error in my flow: Invalid enum capability (homey:app:ady.smartthings:media_input_source) value: HDMI1. Expected:
And when I try “Display Port”, I get this error message
Looking into the logs, I see it’s a 422: Unprocessable Content
I did send you the “Logs”, in case you would have time to look what’s wrong with my setup…
The main problem is the list has to be fixed content, so it’s possible that option is not valid on your device. We have been asking Athom for years to have a dynamic ENUM list.
I will check the log as soon as I can to see if anything jumps out.
I did query the Rest API for one of my screen when the source is Display Port, using
curl -X GET https://api.smartthings.com/v1/devices/{79968d59-856f-be4b-bf96-3bc4b20e17c0}/components/main/capabilities/samsungvd.mediaInputSource/status \ -H “Authorization: Bearer MySmartThingsToken”
And here is the output:
{
"supportedInputSourcesMap":{
"value":[
{
"id":"HDMI1",
"name":"Laptop"
},
{
"id":"Display Port",
"name":"PC"
}
],
"timestamp":"2025-01-10T12:47:34.274Z"
},
"inputSource":{
"value":"Display Port",
"timestamp":"2025-01-10T11:56:44.251Z"
}
}"curl":"(3) URL rejected":"Bad hostname"
So, the value “DisplayPort” that your App is sending is not correct… It should be “Display Port”, according to me. Here is the command that it sends:
PostUrl body: {"commands":[{"component":"main","capability":"mediaInputSource","command":"setInputSource","arguments":["displayPort"]}]}
And I realize now that you are using the capability mediaInputSource… And I did test: samsungvd.mediaInputSource
Just in case…
Cutting to the chase, the standard mediaInputSource
only allows a restricted range of values for inputSource
. However if you use the CLI command smartthings capabilities samsungvd.mediaInputSource
you will see there are no restrictions on the values.
What version of the app are you using as that should have been fixed in 2.0.34.
Also from version 2.0.33, if the samsungvd option is available it should use that, but you might need to add the device again for that to happen.
Could you try deleting the device from Homey and adding it again to see if that fixes it?
I have 2.0.35…
That being said, the documentation of SmartThings don’t mention samsungvd.mediaInputSource, but only mediaInputSource and without “Display Port” as a supported value… does it ?
Are you sending the “title” or the “id” as value to the API ? In your sources, I see this at two locations:
{
"id": "displayPort",
"title":
{
"en": "Display Port"
}
}
Everywhere else, it’s updated into
{
"id": "Display Port",
"title": {
"en": "Display Port"
}
}
I can try to delete one of the devices and add it again… if you confirm this is correct:
E:\Data\Downloads\com.smartthings-master\.homeycompose\flow\actions\media_input_source_action.json (1 hit)
Line 55: "id": "displayPort",
E:\Data\Downloads\com.smartthings-master\app.json (1 hit)
Line 1389: "id": "displayPort",
I have also just spotted that I missed the Flow action card id and will publish a fix for that.
However, if your device reports the samsungvd capability then that should be used instead of the core one and that has a different Flow card.
Removing the device and adding it back works…
Now, I need to find how to update all the flows using the old device
MANY thx !!! You dont know how this will improve my life ! I will not use Google Assistant to setup the right combination of Sources… So far, I have to play with 3 remotes, each one sending “some” command to several screens at the same time… (The “Home Button” and especially the “Power Button” of the Samsung remotes do not target a specific screen… often several screens get a command not for them )
If you search the forum, I think there’s a script that can do that.