Git Product home page Git Product logo

homebridge-samsung-tizen's People

Contributors

albinmedoc avatar apexad avatar dependabot-preview[bot] avatar dependabot[bot] avatar mxdanger avatar tavicu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-samsung-tizen's Issues

IP address not reading

config.json file is correctly updated. However, running Homebridge it stalls on line 25 of SamsungDevice.js for the IP check and generates an error that TV IP address is required for undefined. IP address is present in the file as is the mac address. Any input would be great.

Idea for new feature

Thanks a lot for running apps & refresh it's a huge help!
I think it's the best plugin to my homebridge devices because of functionality and your involvement!

I try to modify my actual scenes & automation. What may be helpful?
Adding a delay parameter to delay actions (clicks on TV).

For example
{"name" : "SPOTIFY",
"power" : true, // Check if power is on
"app" : "3201606009684", // Run Spotify App
"delay" : 2000 // 2000ms
"command" : "KEY_ENTER*2" // Click on first playlist and play music
}

Do you think is possible?
Now I'm turning radio channel every morning but what can be better than favorite songs in this winter mornings :)

Sometimes it works. Sometimes it doesn’t.

Can you give me a hand figuring out why this is so inconsistent? I have the tv plugged into Ethernet. Config is set up. Sometimes it works to wake the tv. Sometimes it works turning it off. More times than not it doesn’t work. When it doesn’t, I click the “switch” in “home” and it changes for a split second then changes back.

UE55JS8000

Hi, I have tried this plugin with my UE55JS8000 and the power switch appears in the Home app and reflects the state of the TV however when I toggle the switch it has not effect and will the revert back to the actual state of the TV.

I saw a similar closed issue #4 however my TV does not appear to have the Settings - General - External Device Manager - Device List menu path.

Error: Command failed: ping -t 1 -c 1 [TV IP] / bad parameter [TV IP]

I am running HomeBridge on Windows 10 (node.js v10.15.0)
TV set is NU8000 firmware 1202
http://[TV IP]:8001/api/v2/ returns details successfully
TV doesn't show the pairing popup

homebridge -D returns:

[1/29/2019, 9:40:57 PM] [TV] [DEBUG] Bad parameter [TV IP].

[1/29/2019, 9:40:57 PM] [TV] [DEBUG] { Error: Command failed: ping -t 1 -c 1 [TV IP]

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
  killed: false,
  code: 1,
  signal: null,
  cmd: 'ping -t 1 -c 1 [TV IP]' }

manually running "ping -t 1 -c 1 [TV IP]:8001" also returns "Bad parameter [TV IP].", ping -t -c 1 [TV IP] (without "1" for -t) works fine

What is the select button?

So I really like that I can essentially turn on my PlayStation 4 using this plugin. The way I achieve is by having a command hit KEY_SOURCE and then KEY_LEFT six times, and then KEY_RIGHT one time (my PS4 is my HDMI 1 source, so it is second after Live TV). However, what key is the select button (the key on the remote that is centered in between KEY_UP, KEY_DOWN, KEY_LEFT, and KEY_RIGHT?

Also I would really love it if I could always make sure that if I turn the TV off, that is always powers off, and that even if it was already off, it won't power on. Thanks.

UE48JU6400 not works

Hi,

I'm trying to add this TV to Homebridge and I not be able to do it.

I read others issues and make some of the test you explain.

The config is (Mac is hide):

{
"platform": "SamsungTizen",
"devices": [
{
"name": "Tele",
"ip": "192.168.0.21",
"mac": "xx:xx:xx:xx:xx:xx"
}]
}

I run a ping to the TV ip and return this:

PING 192.168.0.21 (192.168.0.21): 56 data bytes
64 bytes from 192.168.0.21: icmp_seq=0 ttl=64 time=0.670 ms
--- 192.168.0.21 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.670/0.670/0.670/0.000 ms

I make some tests (with TV ON) and look at the homebridge log for errors, but only one line at log file.

When press ON
[2018-8-28 18:28:35] [Tele] Power: TV powered ON

When press OFF
[2018-8-28 18:29:05] [Tele] Power: TV is already OFF

I think the next is clear my doubt about if this model is compatible, before doing more tests.

I'm looking in the internet for confirm the OS on this model and I'm not sure if is Tizen or not. The interface looks like the screen you put in another issue.

Many thanks for your time.

Existence of a Dash Key Command

Is there any way to send the dash key in order to access digital sub-channels for OTA broadcast stations (e.g. 50-2)? I have searched the web for documentation of similar projects, and I found one that listed KEY_DASH as a command, but it would not work with my TV.

Maybe I'm missing something obvious, but I couldn't find a possible match in the list of commands provided with this project.

Unable to select specific HDMI channel

Sending commands such as HDMI_1 doesn't work. I've previously reported this in #18, but since that issue is now closed I thought it'd be useful to open a new one for future reference.

Thanks!

Can't receive token

After clicking allow on tv pop up in log receive crash

Dec 04 22:12:47 raspberrypi homebridge[28113]: if (data.token) {
Dec 04 22:12:47 raspberrypi homebridge[28113]: ^
Dec 04 22:12:47 raspberrypi homebridge[28113]: TypeError: Cannot read property 'token' of undefined
Dec 04 22:12:47 raspberrypi homebridge[28113]: at WebSocket.socket.on (/usr/lib/node_modules/homebridge-samsung-tizen/lib/SamsungRemote.js:396:26)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at emitOne (events.js:116:13)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at WebSocket.emit (events.js:211:7)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.receiverOnMessage (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/websocket.js:720:20)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at emitOne (events.js:116:13)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.emit (events.js:211:7)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.dataMessage (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/receiver.js:414:14)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.getData (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/receiver.js:346:17)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver.startLoop (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/receiver.js:133:22)
Dec 04 22:12:47 raspberrypi homebridge[28113]: at Receiver._write (/usr/lib/node_modules/homebridge-samsung-tizen/node_modules/ws/lib/receiver.js:69:10)```

Samsung The Frame Art Mode

Hi,
thanks for the plugin! Is it possible to control the On/Off/ArtMode switch for Samsung The Frame? If turned "Off" in Apple Home it switches to ArtMode and then it goes back to "On" in Home.

Thanks in advance!

TV turn on by itself

Hi! I have experienced a problem with this home bridge-plugin. Basically when I turn off the TV from Homekit it turn itself on after a couple of minutes. This doesn't happen when I turn the tv off from the tv remote. Is it normal?

Status not updating

I wanted to add my Samsung TV to an automation in HomeKit, so my lights dim when the TV is turned on, however, when the TV is switched on by remote it does not update to "ON" in HomeKit, therefore the automation does not work. Is it possible to have its status updated immediately? Thank you for your work on this!

Homebridge stop with refresh true

Hi!

I’ve installed the new amazing update. But I have a problem with it.
When I add refresh: true my Homebridge is broke and I recive this error:

“at process._tickCallback (internal/process/next_tick.js:180:9)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at endReadableNT (_stream_readable.js:1055:12)
at IncomingMessage.emit (events.js:208:7)
at emitNone (events.js:111:20)
at Object.onceWrapper (events.js:313:30)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-samsung-tizen/node_modules/request/request.js:1083:12)
at Request.emit (events.js:211:7)
at emitOne (events.js:116:13)
at Request. (/usr/local/lib/node_modules/homebridge-samsung-tizen/node_modules/request/request.js:1161:10)
at Request.emit (events.js:214:7)
at emitTwo (events.js:126:13)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-samsung-tizen/node_modules/request/request.js:185:22)
at Request.request.get [as _callback] (/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/SamsungRemote.js:237:37)
at JSON.parse ()
SyntaxError: Unexpected token < in JSON at position 0
^

401 undefined:1”

Do you know a reason?

Too much ping

Hello!

How can I change the ping time? As I see in my Logs the accessory ping my Tv too often. Can I change the frequency?

Thank you!

cmd: 'ping -t 1 -c 1 10.0.1.22' } [12/16/2018, 12:00:26 PM] [Hálószoba TV] [DEBUG] PING 10.0.1.22 (10.0.1.22) 56(84) bytes of data. --- 10.0.1.22 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms [12/16/2018, 12:00:26 PM] [Hálószoba TV] [DEBUG] { Error: Command failed: ping -t 1 -c 1 10.0.1.22 at ChildProcess.exithandler (child_process.js:294:12) at ChildProcess.emit (events.js:189:13) at maybeClose (internal/child_process.js:978:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5) killed: false, code: 1, signal: null, cmd: 'ping -t 1 -c 1 10.0.1.22' } [12/16/2018, 12:00:36 PM] [Hálószoba TV] [DEBUG] PING 10.0.1.22 (10.0.1.22) 56(84) bytes of data. --- 10.0.1.22 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms [12/16/2018, 12:00:36 PM] [Hálószoba TV] [DEBUG] { Error: Command failed: ping -t 1 -c 1 10.0.1.22 at ChildProcess.exithandler (child_process.js:294:12) at ChildProcess.emit (events.js:189:13) at maybeClose (internal/child_process.js:978:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5) killed: false, code: 1, signal: null, cmd: 'ping -t 1 -c 1 10.0.1.22' }

Play spotify

Is it possible to make a sequence to play Spotify?

Samsung Smart TV won't wake up

I've installed the plugin for Samsung TV's with Tizen OS but when I try to wake up my TV in Homekit nothing happens.

  1. My TV is in Stand by modus.
  2. In Homekit I activated the TV button (he is ON) but nothing happens.

Homebridge is showing:
[2018-11-24 13:38:22] Homebridge is running on port 51826.
[2018-11-24 13:38:22] [TOON] Retrieving client data from Toon op Afstand...
[2018-11-24 13:38:22] [TOON] Authenticating...
[2018-11-24 13:38:23] [TOON] Successfully logged in to Toon.
[2018-11-24 13:39:31] [Woonkamer TV] Power: TV powered ON
[2018-11-24 13:39:47] [Woonkamer TV] Pair failed. Please make sure your TV is ON then restart Homebridge!

  1. In Homekit I deactivated the TV button (he is OFF) and Homebridge is showing:
    [2018-11-24 13:38:22] Homebridge is running on port 51826.
    [2018-11-24 13:38:22] [TOON] Retrieving client data from Toon op Afstand...
    [2018-11-24 13:38:22] [TOON] Authenticating...
    [2018-11-24 13:38:23] [TOON] Successfully logged in to Toon.
    [2018-11-24 13:39:31] [Woonkamer TV] Power: TV powered ON
    [2018-11-24 13:39:47] [Woonkamer TV] Pair failed. Please make sure your TV is ON then restart Homebridge!
    [2018-11-24 13:42:10] [Woonkamer TV] Power: TV is already OFF

Any idea to solve this problem?

Thanks in advance!

The TV always has to be licensed even if I close the notification.

Hi Tavicu,

The TV always has to be licensed even if I close the notification.

1.On TV go to Settings - General - External Device Manager - Device Connection Manager and set Access Notification to Off.

2.On TV go to Settings - General - External Device Manager - Device Connection Manager - Device List and make sure you didn't select Deny.

I have checked the above two settings, but when I execute it, I will skip the permission notification from time to time.

Can you help me?
Thank you again for providing this wonderful program.

ESPN App ID?

If you could find the ESPN app ID or at least tell us how to find the app ID's that would be awesome thanks!

version mismatch

After installing the plugin and I try to start homebridge, I get the following error:

Plugin /usr/lib/node_modules/homebridge-samsung-tizen requires Node version of >=8.0.0 which does not satisfy the current Node version of v7.10.1. You may need to upgrade your installation of Node.

then I tried to install node >8. but then homebridge doesn't want to start anymore

/usr/lib/node_modules/homebridge/node_modules/bindings/bindings.js:88
        throw e
        ^

Error: The module '/usr/lib/node_modules/homebridge/node_modules/ed25519-hap/build/Release/ed25519.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 51. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

running npm rebuild or reinstalling it didn't helped.

Approve Device with Samsung TV

Hi
I was wondering if there's away to initially approve the "remote" on the samsung TV.
My issue is this:

Whenever I connect a new remove (such as the samsung app) to control the TV, I get a pop-up on the TV to approve the device
When I first try to control Samsung TV via homebridge-samsung-tizen plugin, I get "Can't reach TV". I can only assume it's because I didn't approve the device... I didn't get any popup on the TV, nor did I saw a setting to remove the approval on the TV side... I assume the error is due to the TV not allowing the connection...

Any idea how to make the initial pairing successful?

Thanks

Problems pairing my Samsung Serif TV

Hi,

I'm having troubles connecting to my Samsung Serif TV (UE40LS001).

I do not get a modal asking for permission when I run homebridge and therefore cannot seem to pair the tv. The log shows:

[12/11/2018, 10:20:38 PM] Homebridge is running on port 51826.
[12/11/2018, 10:20:43 PM] [Serif TV] Trying to pair the TV
[12/11/2018, 10:20:44 PM] [Serif TV] Trying to pair the TV
[12/11/2018, 10:20:46 PM] [Serif TV] Trying to pair the TV
[12/11/2018, 10:20:46 PM] [Serif TV] Pair failed. Make sure you click Allow on the TV!

I followed the instructions as described by the readme but have the following problem. I have no Settings - General - External Device Manager - Device Connection Manager settings available to me.

I can connect to the tv API via the api/v2/ url and the output shows most of the same information as shown on the Samsung developer page. The only mayor difference seems to be that there is no "remote:" "1.0" line at the end of the output.

As I understand, this television does run Tizen but has a different UI from the general version of Tizen. There is a menu item called 'Multimedia Device Manager'. There are no real options here.

I tried connecting to the Samsung Smartview app and this showed a modal with PIN number immediately.

Is my TV unsupported? Is there any other way to obtain a Token for the remote script?

Thanks

Homebridge crashes

I'm having trouble with this plugin. It crashes my homebridge as soon as I start it up.

This is what I'm getting:

[2018-7-23 14:57:14] Loaded plugin: homebridge-samsung-tizen
/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/SamsungDevice.js:52
                this.accessories.push(new SamsungAccessory({...this, config: {...this.config, ...element}}, 'switch'));
                                                            ^^^
SyntaxError: Unexpected token ...
    at createScript (vm.js:74:10)
    at Object.runInThisContext (vm.js:116:10)
    at Module._compile (module.js:533:28)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/SamsungPlatform.js:2:21)

I validated my config with json formatter and honestly don't know what else to try. I've got my homebridge running on latest pi with latest raspbian OS.

Open specific apps

Hey! Great work! I haven't found 'KEY_COMMAND' to open specific apps (Spotify, Plex..).
What do you think? Is it doable? Or already exist?
Thank you!

Samsung default button

Hi

Thanks for sharing; but I have a small issues.
The tv turn on after pressing the switch in Homekit. But it will not turn off after I set to off.

Did I miss something?

I have a UE65NU8005

Thanks ! 😊

App ID

Hello,

i tried to get the app-id by start homebrige with command tizen-apps. But i get only information when i start the homebridge in debug mode an then i got this:

{ data:
   { clients: [ [Object] ],
     id: '9d8982f6-833a-48ec-a9f1-bde0d438c2' },
  event: 'ms.channel.connect' }
[2019-1-28 13:45:45] [Wohnzimmer TV] [DEBUG] { data:
   { data:
      [ [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object] ] },
  event: 'ed.installedApp.get',
  from: 'host' }

I will loking from the app-if for MagentsSports (TelekomSports).

no allow incoming on samsung tv

Hello

i dont get the messege on my Samsung TV (the allow access messege)
i dont have this "Settings - General - External Device Manager - Device List. Maybe you clicked Disallow."
i can how ever go here "Settings - Network - Expertsettings - Device Manager - and in here set allow/first time only/reject messege" and see connected devices

Samsung UE40KU6075 Tizen
SW: 1231.1

it's Tizen and it worked before you added this token thingy

"platform": "SamsungTizen",
                        "refresh": true,
                        "devices": [{
                                "name": "Samsung TV",
                                "ip": "10.0.2.44",
                                "mac": "68:27:xx:xx:xx:xx",
                                "token": "",

it just keeps saying "0|homebridge | [12/11/2018, 8:00:53 AM] [Samsung TV] Please turn ON the TV for pairing."

It's on allrigth, also tried reset of tv but no dice!

Another pair failed error

Hello, i thing i tried everything from readme and still can't pair TV. You can find homebridge debug log and tv api output bellow. I was able to turn off tv through different plugin, but i was hoping this plugin is better and have prettier syntax (https://github.com/nitaybz/homebridge-samsung-remote). In my tv settings i don't have options as you wrote in readme, but i think i found it in different location
(Network -> Expert Settings -> Mobile Device Manager -> Access Notification). On same level there is Mobile Device List so it should be same. I also tried to turn on the developer mode as described on Samsung Developers Page, but it doesn't helped anyway.

Hope you can help me. Thanks in advance!

root@kingkong:~# DEBUG=* homebridge -D

...
homebridge booting
...

[2018-12-27 20:21:19] [Living Room TV] [DEBUG] PING 192.168.50.153 (192.168.50.153) 56(84) bytes of data.
64 bytes from 192.168.50.153: icmp_seq=1 ttl=64 time=0.317 ms

--- 192.168.50.153 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.317/0.317/0.317/0.000 ms

[2018-12-27 20:21:24] [Living Room TV] Trying to pair the TV
[2018-12-27 20:21:24] [Living Room TV] [DEBUG] Pair to wss://192.168.50.153:8002/api/v2/channels/samsung.remote.control?name=TGl2aW5nIFJvb20gVFY=
[2018-12-27 20:21:24] [Living Room TV] [DEBUG] { id: '9925d6f0-0a0c-11e9-b46f-9d702b9b2c2b',
  clients: 
   [ { id: '9925d6f0-0a0c-11e9-b46f-9d702b9b2c2b',
       connectTime: 1545938483679,
       attributes: [Object],
       deviceName: 'TGl2aW5nIFJvb20gVFY=',
       isHost: false } ] }
[2018-12-27 20:21:24] [Living Room TV] [DEBUG] PING 192.168.50.153 (192.168.50.153) 56(84) bytes of data.
64 bytes from 192.168.50.153: icmp_seq=1 ttl=64 time=0.224 ms

--- 192.168.50.153 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.224/0.224/0.224/0.000 ms

[2018-12-27 20:21:25] [Living Room TV] Trying to pair the TV
[2018-12-27 20:21:25] [Living Room TV] [DEBUG] Pair to wss://192.168.50.153:8002/api/v2/channels/samsung.remote.control?name=TGl2aW5nIFJvb20gVFY=
[2018-12-27 20:21:25] [Living Room TV] [DEBUG] { id: '99cc0200-0a0c-11e9-b46f-9d702b9b2c2b',
  clients: 
   [ { id: '99cc0200-0a0c-11e9-b46f-9d702b9b2c2b',
       connectTime: 1545938484769,
       attributes: [Object],
       deviceName: 'TGl2aW5nIFJvb20gVFY=',
       isHost: false } ] }
[2018-12-27 20:21:25] [Living Room TV] [DEBUG] PING 192.168.50.153 (192.168.50.153) 56(84) bytes of data.
64 bytes from 192.168.50.153: icmp_seq=1 ttl=64 time=0.212 ms

--- 192.168.50.153 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.212/0.212/0.212/0.000 ms

[2018-12-27 20:21:26] [Living Room TV] Trying to pair the TV
[2018-12-27 20:21:26] [Living Room TV] [DEBUG] Pair to wss://192.168.50.153:8002/api/v2/channels/samsung.remote.control?name=TGl2aW5nIFJvb20gVFY=
[2018-12-27 20:21:26] [Living Room TV] [DEBUG] { id: '9a700a30-0a0c-11e9-b46f-9d702b9b2c2b',
  clients: 
   [ { id: '9a700a30-0a0c-11e9-b46f-9d702b9b2c2b',
       connectTime: 1545938485843,
       attributes: [Object],
       deviceName: 'TGl2aW5nIFJvb20gVFY=',
       isHost: false } ] }
[2018-12-27 20:21:26] [Living Room TV] Pair failed. Make sure you click Allow on the TV!
[2018-12-27 20:21:29] [Living Room TV] [DEBUG] PING 192.168.50.153 (192.168.50.153) 56(84) bytes of data.
64 bytes from 192.168.50.153: icmp_seq=1 ttl=64 time=0.317 ms

--- 192.168.50.153 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.317/0.317/0.317/0.000 ms

[2018-12-27 20:21:39] [Living Room TV] [DEBUG] PING 192.168.50.153 (192.168.50.153) 56(84) bytes of data.
64 bytes from 192.168.50.153: icmp_seq=1 ttl=64 time=0.329 ms

--- 192.168.50.153 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.329/0.329/0.329/0.000 ms

[2018-12-27 20:21:49] [Living Room TV] [DEBUG] PING 192.168.50.153 (192.168.50.153) 56(84) bytes of data.
64 bytes from 192.168.50.153: icmp_seq=1 ttl=64 time=0.325 ms

--- 192.168.50.153 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.325/0.325/0.325/0.000 ms
root@kingkong:~# curl http://192.168.50.153:8001/api/v2/
{
  "id": "uuid:3b8956a7-9050-4225-9136-522cac663b88",
  "name": "[TV] Samsung 6 Series (55)",
  "version": "2.1.0",
  "device": {
    "type": "Samsung SmartTV",
    "duid": "uuid:3b8956a7-9050-4225-9136-522cac663b88",
    "model": "16_JAZZL_UHD_BASIC",
    "modelName": "UE55KU6072",
    "description": "Samsung DTV RCR",
    "networkType": "wired",
    "ssid": "",
    "ip": "192.168.50.153",
    "firmwareVersion": "Unknown",
    "name": "[TV] Samsung 6 Series (55)",
    "id": "uuid:3b8956a7-9050-4225-9136-522cac663b88",
    "udn": "uuid:3b8956a7-9050-4225-9136-522cac663b88",
    "resolution": "3840x2160",
    "countryCode": "CZ",
    "msfVersion": "2.1.0",
    "smartHubAgreement": "true",
    "VoiceSupport": "false",
    "GamePadSupport": "true",
    "wifiMac": "5c:49:7d:1f:9d:8d",
    "developerMode": "1",
    "developerIP": "...",
    "OS": "Tizen"
  },
  "type": "Samsung SmartTV",
  "uri": "http://192.168.50.153:8001/api/v2/",
  "remote": "1.0",
  "isSupport": "{\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"false\",\"DMP_available\":\"true\",\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"EDEN_available\":\"true\"}"

Not able to pair with KU6079

Hey, I know, you're quite busy now with the iOS 12.2 beta update.. 😄 (If you're not interested in implementing those devices, because you closed the other issues 3 days ago, then you can close this one too 😃)
I have an issue with pairing my 2016 Samsung UE43KU6079.
The request pops up on the tv, but the pair is failing anyways.

I've tried the "samsung-remote-models-2014-and-newer" repo. It's returning the access keys but then it will follow with an error.
Here are some outputs of URLs I saw on the other issues regarding pairing:
http://<IP>:8001/api/v2/:

{
  "id": "uuid:104d509f-db57-45a6-bd81-xxxxxxxxxxxx",
  "name": "[TV] Niklas&apos; Fernseher",
  "version": "2.1.0",
  "device": {
    "type": "Samsung SmartTV",
    "duid": "uuid:104d509f-db57-45a6-bd81-xxxxxxxxxxxx",
    "model": "16_JAZZL_UHD_BASIC",
    "modelName": "UE43KU6079",
    "description": "Samsung DTV RCR",
    "networkType": "wired",
    "ssid": "",
    "ip": "<IP>",
    "firmwareVersion": "Unknown",
    "name": "[TV] Niklas&apos; Fernseher",
    "id": "uuid:104d509f-db57-45a6-bd81-xxxxxxxxxxxx",
    "udn": "uuid:104d509f-db57-45a6-bd81-xxxxxxxxxxxx",
    "resolution": "3840x2160",
    "countryCode": "DE",
    "msfVersion": "2.1.0",
    "smartHubAgreement": "true",
    "VoiceSupport": "false",
    "GamePadSupport": "true",
    "wifiMac": "d8:e0:e1:c9:xx:xx",
    "developerMode": "1",
    "developerIP": "...",
    "OS": "Tizen"
  },
  "type": "Samsung SmartTV",
  "uri": "http://IP:8001/api/v2/",
  "remote": "1.0",
  "isSupport": "{\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"false\",\"DMP_available\":\"true\",\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"EDEN_available\":\"true\"}"
}

http://<IP>:8001/ms/1.0/:

{
  "DUID": "uuid:104d509f-db57-45a6-bd81-xxxxxxxxxxxx",
  "Model": "16_JAZZL_UHD_BASIC",
  "ModelName": "UE43KU6079",
  "ModelDescription": "Samsung DTV RCR",
  "NetworkType": "wired",
  "SSID": "",
  "IP": "<IP>",
  "FirmwareVersion": "Unknown",
  "DeviceName": "[TV] Niklas&apos; Fernseher",
  "DeviceID": "uuid:104d509f-db57-45a6-bd81-xxxxxxxxxxxx",
  "UDN": "uuid:104d509f-db57-45a6-bd81-xxxxxxxxxxxx",
  "Resolution": "3840x2160",
  "CountryCode": "DE",
  "SmartHubAgreement": "true",
  "ServiceURI": "http://<IP>:8001/ms/1.0/",
  "DialURI": "http://<IP>:8001/ws/apps/",
  "Capabilities": [
    {
      "name": "samsung:multiscreen:1",
      "port": "8001",
      "location": "/ms/1.0/"
    }
  ]
}

Can't turn the TV off

When the TV is off and Home shows "Off" I'm able to turn the TV on without any issue. However, trying to turn it off shows:

Jul 09 19:44:53 raspberrypi homebridge[8994]: [2018-7-9 19:44:53] [Living Room TV] Power: TV is already OFF

I've tried restarting the TV and Homebridge a few times but am not seeing any ability to turn off the TV. Sometimes tapping the button in the Home App will just keep sending ON commands.

TV turn on by itself

Hi! I have experienced a problem with this home bridge-plugin. Basically when I turn off the TV from Homekit it turn itself on after a couple of minutes. This doesn't happen when I turn the tv off from the tv remote. Is it normal?

Same "Trying to pair the TV" error

Terminal is saying:

[2018-12-20 19:05:23] [TV] Trying to pair the TV
[2018-12-20 19:05:24] [TV] Trying to pair the TV
[2018-12-20 19:05:25] [TV] Trying to pair the TV
[2018-12-20 19:05:25] [TV] Pair failed. Make sure you click Allow on the TV!

I have copy and paste the code include token: ""
It seems the code will work, if I turn on my TV it is working, but keeps getting this error..

siri commands issue

Hello,

My TV is called "Living TV", i have 3 commands Volume Up / Volume Down / Mute.

If i call out siri with the following command: Living TV Volume Up it tells me that there is nothing playing...

But if i say: Volume Up Living TV it works perfectly fine.

as far as i can understand the plugin list the command and then the parent and i think it should be PARENT (living tv) and the COMMAND (volume up)

Is this right?

{ "platform": "SamsungTizen", "devices": [ { "name": "Living TV", "ip": "192.168.0.79", "mac": "7c:64:56:30:0b:a4", "token": "14269986", "switches": [ {"name": "Volume Up","command": "KEY_VOLUP*5"}, {"name": "Volume Down","command": "KEY_VOLDOWN*5"}, {"name": "Mute", "mute": true} ] } ] },

Charge status in homebridge via remote

Hi!

Is there any way to charge status of tv When I turn it on via TV Remote?

I wish to make automation When i turn on TV to also turn on led strip.

Now when I turn it on I need to manually refresh HomeKit

Some problems with Samsung Q9 Series

Hi,

we have a GQ65-Q9FN and unfortunately it does not react on all possible commands. Well, to tell the truth, the TV only reacts on the "channel" command so that it is possible to switch between differnt TV programs using Siri and to turn it on and off by using the respective toggel switch. However, up to now I was not able to use any of the KEY commands or the mute function.

I would really appreciate to have full support for the Q9 Series.

Best regards,

Thorsten

Compile Error in SamsungDevice.js

When I start homebridge I got the error below.

[2018-8-27 21:39:29] Loaded plugin: homebridge-samsung-tizen
/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/SamsungDevice.js:52
this.accessories.push(new SamsungAccessory({...this, config: {...this.config, ...element}}, 'switch'));
^^^

SyntaxError: Unexpected token ...
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/SamsungPlatform.js:2:21)
pi@RaspberryHome:~ $

Power : true function no longer works

Hiya - I’m on the latest version and i’ve Setup all my freesat channels and while I have the tv watching freesat they work just fine.

But I also set the power : true so if the tv is off and I push the button it should turn it on and then select the channel - but this bit doesn’t seem to work anymore.

Not a big issue but I’m sure it used to work fine :)

Samsung Frame TV - Power Off

Hi,

I have the Samsung Frame TV. This plug-in works perfectly for what I want it fo (turning on and off).

However, the Frame TV doubles as a picture frame. So if you press the power button when the TV is on, the TV will go into "frame mode". To turn the TV off, you have to hold the power button for 2 seconds.

I have looked through the code (I'm VERY new to this) and couldn't find anything about how long the script sends the power off command for.

Please can you assist where I can add the code to support this function?

Thank you in advance!

Unable to start homebridge with samsung-tizen plugin

Hi,
I've just installed homebridge and homebridge-samsung-tizen, and now I get this when starting
`root@raspberrypi:/home/pi# homebridge
[2018-10-28 21:58:19] Loaded config.json with 0 accessories and 1 platforms.
[2018-10-28 21:58:19] ---
[2018-10-28 21:58:19] Loaded plugin: homebridge-samsung-tizen
/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/SamsungDevice.js:52
this.accessories.push(new SamsungAccessory({...this, config: {...this.config, ...element}}, 'switch'));
^^^

SyntaxError: Unexpected token ...
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/SamsungPlatform.js:2:21)
root@raspberrypi:/home/pi#
`

Any ideas?

thx

Will this plug in fix the issue with scenes and power command?

Basically, in every other plug in, if the TV is already on and I set my "Movie Time Scene" (which of course turns the TV switch on), it would see that the TV was already on yet STILL send the command, turning the TV off.

Will this plug in address this issue?

Appreciate it!

Command to change the TV input

The correct command to change, for exemple, the TV input to HDMI 1 is something like that?

{"name": "TV Boa Semana", "power": true, "command": "KEY_HDMI1", "mute": true},

Is it correct?

I tried it, but it didn't work...

Thanks for the plugin! It is very good!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.