Samsung Hubitat TV Integration (2016 and later)

Thanks. I'd already searched.

Although I can toggle source, and bring up source menus, I can't see how to simply hit a button to swap to a specific source in one step.

Am I missing something?

There isn’t a button for each individual source in the driver, but you could do it pretty easily using a virtual button/switch set to trigger the ā€œSet Input Sourceā€ function via Rule machine or Webcore.

1 Like

Hi,

Thanks for the reply.

image

I've linked the TV to smartthings.

Summary

I've generated a personal access token.

Summary

I've selected "connect to smartthings" and saved, and opened seperate log page, entered the API and located the device ID

Summary

image

image

image

Just errors.

A bit lost to be honest. The standard controls work fine to switch on/off, but the logs are whining about IP not valid or tv turned off.

Might be a silly question, but can you control the TV with the SmartThings app? Have you assigned a static ip address to the TV?

Yeah to both. Works perfectly.

Righto, no idea what was going on there. I've been fighting with this all morning, and now it's working.

Perfect, thank you!

image

Not sure I did anything lol, but glad it's working for you :+1: :+1:

1 Like

Gah, I suspected this would happen.

The personaltoken I acquired from the Instructions in the link seems to be temporary.

All smartthings functionality lost after 24 hrs.

Any pointers on how to grab a full non-expirimg token please?

I’m not 100% sure, but I think that was a ā€œnot so SmartThingsā€ decision a while back. From memory, and again not certain, I think HubiThings Replica resolves the issue.

Correct. You should use Replica with Dave’s drivers for Replica.

There is an optional native TV driver with Replica too, but it is not as robust as Dave’s.

There is no other way to keep a new token alive if you don’t have the grandfathered tokens before the 24 hour change.

Awesome. Cheers all :slight_smile:

Would greatly appreciate if you would be willing to provide some additional detail for how to do this via rule machine...

Does this help?



1 Like

I have a QN50Q60DAFXZA Samsung TV that has "Ambient" picture mode. The problem I have is other than monitoring the power draw from a plug...I have no way to tell if the TV is in Ambient mode or "TV" mode.

Is there a way to do this. Nothing I see changes on any driver page/tab that I can trigger rules with. Debug in the logs sees nothing.

Have you tried using the "Art Mode" toggle? Might be similar.

Thanks...I don't actually see that toggle. All I have that comes close is Ambient.

The problem with it is that it (Ambient) doesn't "set" it to art mode...it toggles it...so if there is no way to know the current state...the result is not usually what is desired.

Can you see anything change in ST in the advance webiste? If you can see it here change there are some options. Note this is a cloud service...

Thx

I don’t have st active…I did just find a post elsewhere that said to use the home command to get it to a known state…at least so far that seems to be working …none of the other buttons
seem to be as reliable..from a state perspective

Yes, Ambient Mode is like all the other toggles. You need to figure out what button puts it in Ambient mode. Art Mode is toggle 6. Search upthread for either the buttons or the link to the document that gives them. ETA: Here is the post that explains how to find the buttons: Samsung Hubitat TV Integration (2016 and later) - #106 by neonturbo
and here from the Github:
HubitatActive/SamsungTvRemote/Docs/Commands.pdf at master Ā· DaveGut/HubitatActive Ā· GitHub
Looks like Ambient on is button 7

Also, in the device details in Hubitat, go to the Commands tab, and look at the far right side of the page where it shows Current State and State Variables. Ambient should show up. You can use the current state in a RM rule to add logic of what you want to do depending upon current state.

Below is the rule I have that turns on my TV and puts it into Art Mode. The wait for event is just a delay as sometimes there is a delay in the TV responding. The configure command makes sure it is connected. If you read upthread, before I inserted that, I had all sorts of issues. Then I do an other delay of 1 second. Then button 6.

image

PS- ETA that I don't use Smarthings at all. Just Hubitat.

1 Like