-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to add notifications support? #106
Comments
I second that. It would be really nice to have that feature to show notification some events from connected devices. |
It'd be awesome to be able to send notifications to the tv. |
I don't know how to send notification using API. If someone have this info, I can implement it. |
I am looking forward to it as well. |
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Beep. Still wanted. |
Definitely still wanted. Happy to help test |
I'm also interested in this feature. Found some official samsung documentation, maybe someone can make something of this: https://docs.tizen.org/application/web/guides/messaging/push/ |
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This is a wanted feature, still. |
Is someone working on this? |
I do not found any documentation that explain how to send notification to TV with SmartThings API used by this integration to comunicate with TV. If someone have more information, please share here. |
Thank you ollo69! It is true! |
Might this work if the location id specified is the desired TV you wish to target with the notification? |
This seems to only create notifications for the mobile apps belonging to the location. Docs on the endpoint. The locationId seems to be the home and the TV is it's own device (deviceId) inside the location (locationId). Specifying a locationId and deviceId or just a deviceId does not work. |
I will literally pay for this. |
If it's a thing, I would very happily pitch in as well for this. Just tell me how, when, and how much. |
Me also. Have tried my self and it should be possible to create a better integration. I just dont understand the crappy documentation on how to develop this. |
There is also samsung smart things that could be added to the tv in its own application that could possibly do these things if someone with knowledge in how to develop an integration for this. |
@ollo69 Im not really familiar with the smart things API but from reading the docs, is it possible to call the executeDeviceCommands and the command would be |
The TV seems to have some notification functionality, e.g., with the Ring doorbell camera. I've been experimenting with the smartthings CLI and my Q80 series but with no success.
the I run
the script then asks for which command to execute. Nothing seemed to be relevant. |
@gsportelli That's interesting. So it seems like you need to run the
That should output a list of commands you can run then it will ask you which command you want to run. With your TV, the It will then ask you to enter a command to execute
deviceNotification - that is the command that you want to run. |
What i figured out is that you can program this with smart things app on
the tv. Not directly with the tv?
ons. 6. sep. 2023, 22:34 skrev gsportelli ***@***.***>:
… The TV seems to have some notification functionality, e.g., with the Ring
doorbell camera <https://www.samsung.com/us/support/answer/ANS00087644/>.
I've been experimenting with the smartthings CLI
<https://github.com/SmartThingsCommunity/smartthings-cli> and my Q80
series but with no success.
My TV doesn't have the "notification" capability. Maybe somebody else with
a newer TV has more luck.
After installing smartthings-cli, I run smartthings devices which outputs
this
──────────────────────────────────────────────────────────────────────────────────────────────────────
# Label Name Type Device Id
──────────────────────────────────────────────────────────────────────────────────────────────────────
1 Samsung 7 Series (43) [TV] Samsung 7 Series (43) OCF xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
2 Samsung Q80 Series (55) [TV] Samsung Q80 Series (55) OCF yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
──────────────────────────────────────────────────────────────────────────────────────────────────────
the I run smartthings devices:commands
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx getting
Samsung Q80 Series (55)
Capabilities:
────────────────────────────────────
1 ocf
2 switch
3 audioVolume
4 audioMute
5 tvChannel
6 mediaInputSource
7 mediaPlayback
8 mediaTrackControl
9 custom.error
10 custom.picturemode
11 custom.soundmode
12 custom.accessibility
13 custom.launchapp
14 custom.recording
15 custom.tvsearch
16 custom.disabledCapabilities
17 samsungvd.remoteControl
18 samsungvd.ambient
19 samsungvd.ambientContent
20 samsungvd.ambient18
21 samsungvd.mediaInputSource
22 refresh
23 execute
24 samsungvd.firmwareVersion
25 samsungvd.supportsPowerOnByOcf
26 sec.diagnosticsInformation
────────────────────────────────────
the script then asks for which command to execute. Nothing seemed to be
relevant.
—
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEMNAODBY7D4HJ6JZAZOPITXZDM63ANCNFSM5G2EGTQA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I did the same, tried all possible combinations of |
@gsportelli were you getting any errors? |
Instead, if I add an argument, whatever the argument is, it fails as follows
If I use a non JSON argument, I get another error:
|
It seems it needs you to pass an object on the argument 1. Maybe try something like: It's expecting something to be wrapped in [ ]. |
Same error:
|
This looks like a syntax error. |
Here is the full json in the docs
So, after deviceNotification, you should pass the arguments: name, schema, ant others. That's why the command is failing. |
@mendoncart I think that's just the JSON to build the docs. So it's just saying that the command I was able to switch my tv on/off using the smartthing CLI. so I have a feeling that we're using execute in a wrong way. The doc doesn't really tell what commands we could run with |
Would love this feature! |
Did you find any luck since getting this to work. I will attempt to use the samsung smart things cli this weekend and will post back with results. |
@ollo69 @mendoncart @kamoteshake any news on that? It would be super... |
Is it possible to add support for notifications so we can display text on our TVs? It seems like it's possible with the SmartThings hub:
https://community.smartthings.com/t/get-notifications-from-smartthings-on-samsung-tv/82528
The text was updated successfully, but these errors were encountered: