Kodi Community Forum
Release 3D Enabler Samsung TV - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release 3D Enabler Samsung TV (/showthread.php?tid=185212)

Pages: 1 2 3 4 5 6


RE: 3D Enabler Samsung TV - Ayala - 2015-11-09

just tried this with a UN65JS8500 sf it failed, is it safe to say I'm SOL?


RE: 3D Enabler Samsung TV - Booch - 2015-11-13

Hi all

Any news about H series? Is there anyone who make this plugin work with these models?

Just for your information. After recent updates "myTifi" iOS app can successfully control my Samsung TV UE 65H6400 including 3D button. Maybe this will help to further investigation somehow...


RE: 3D Enabler Samsung TV - R3N3 - 2016-01-05

Hi

I would like to set the volume to a button , anytime thus control the TV , is that possible?

ive found a samsungmote.py

What should I write in the Keymap.xml now ?

Code:
#!  /usr/bin/python
#   Title: samsungremote.py
#   Author: Asif Iqbal
#   Date: 05APR2012
#   Info: To send remote control commands to the Samsung tv over LAN
#   TODO:

import socket
import base64
import time, datetime
import sys

cmdargs = str(sys.argv)

#IP Address of TV
tvip = "192.168.178.28"
#IP Address of TV
myip = "192.168.178.28"
#Used for the access control/validation, but not after that AFAIK
mymac = "5c:xxxxxxxxb"
#What the iPhone app reports
appstring = "iphone..iapp.samsung"
#Might need changing to match your TV type
tvappstring = "iphone.UE40D6500.iapp.samsung"
#What gets reported when it asks for permission
remotename = "Python Samsung Remote"

# Function to send keys
def sendKey(skey, dataSock, appstring):
messagepart3 = chr(0x00) + chr(0x00) + chr(0x00) + chr(len(
base64.b64encode(skey))) + chr(0x00) + base64.b64encode(skey);
part3 = chr(0x00) + chr(len(appstring)) + chr(0x00) \
+ appstring + chr(len(messagepart3)) + chr(0x00) + messagepart3
dataSock.send(part3);

# Open Socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((tvip, 55000))

# Key Reference
# Normal remote keys
#KEY_0
#KEY_1
#KEY_2
#KEY_3
#KEY_4
#KEY_5
#KEY_6
#KEY_7
#KEY_8
#KEY_9
#KEY_UP
#KEY_DOWN
#KEY_LEFT
#KEY_RIGHT
#KEY_MENU
#KEY_PRECH
#KEY_GUIDE
#KEY_INFO
#KEY_RETURN
#KEY_CH_LIST
#KEY_EXIT
#KEY_ENTER
#KEY_SOURCE
#KEY_AD #KEY_PLAY
#KEY_PAUSE
#KEY_MUTE
#KEY_PICTURE_SIZE
#KEY_VOLUP
#KEY_VOLDOWN
#KEY_TOOLS
#KEY_POWEROFF
#KEY_CHUP
#KEY_CHDOWN
#KEY_CONTENTS
#KEY_W_LINK #Media P
#KEY_RSS #Internet
#KEY_MTS #Dual
#KEY_CAPTION #Subt
#KEY_REWIND
#KEY_FF
#KEY_REC
#KEY_STOP
# Bonus buttons not on the normal remote:
#KEY_TV
#Don't work/wrong codes:
#KEY_CONTENT
#KEY_INTERNET
#KEY_PC
#KEY_HDMI1
#KEY_OFF
#KEY_POWER
#KEY_STANDBY
#KEY_DUAL
#KEY_SUBT
#KEY_CHANUP
#KEY_CHAN_UP
#KEY_PROGUP
#KEY_PROG_UP


# First configure the connection
ipencoded = base64.b64encode(myip)
macencoded = base64.b64encode(mymac)
messagepart1 = chr(0x64) + chr(0x00) + chr(len(ipencoded)) \
+ chr(0x00) + ipencoded + chr(len(macencoded)) + chr(0x00) \
+ macencoded + chr(len(base64.b64encode(remotename))) + chr(0x00) \
+ base64.b64encode(remotename)

part1 = chr(0x00) + chr(len(appstring)) + chr(0x00) + appstring \
+ chr(len(messagepart1)) + chr(0x00) + messagepart1
sock.send(part1)

messagepart2 = chr(0xc8) + chr(0x00)
part2 = chr(0x00) + chr(len(appstring)) + chr(0x00) + appstring \
+ chr(len(messagepart2)) + chr(0x00) + messagepart2
sock.send(part2)


# Now send the keys as you like, e.g.,
#sendKey("KEY_CHDOWN",sock,tvappstring)
sendKey(str(sys.argv[1]),sock,tvappstring)
print str(sys.argv[1])
# Close the socket when done
sock.close()



RE: 3D Enabler Samsung TV - MrSmith2019 - 2016-01-15

I tested this with my Samsung TV UE50H6470 but it will not work.

He is able to find my TV under the correct IP adress but then i get error message "connection failed": Sad


RE: 3D Enabler Samsung TV - Glyde62 - 2016-01-16

Thanks for add on, Had to fiddle with key presses a bit but got it working on my UA55ES7100


RE: 3D Enabler Samsung TV - Glyde62 - 2016-01-26

(2016-01-15, 21:48)OrbS82User Wrote: I tested this with my Samsung TV UE50H6470 but it will not work.

He is able to find my TV under the correct IP adress but then i get error message "connection failed": Sad

I just upgraded my TV to a UA55JU7000 and have the same problem, Was working perfectly on my older TV


RE: 3D Enabler Samsung TV - MrSmith2019 - 2016-02-06

(2016-01-26, 07:25)Glyde62 Wrote:
(2016-01-15, 21:48)OrbS82User Wrote: I tested this with my Samsung TV UE50H6470 but it will not work.

He is able to find my TV under the correct IP adress but then i get error message "connection failed": Sad

I just upgraded my TV to a UA55JU7000 and have the same problem, Was working perfectly on my older TV



And now? No solution on this great feature? No one can fix this?


RE: 3D Enabler Samsung TV - Glyde62 - 2016-02-07

(2016-02-06, 23:57)OrbS82User Wrote:
(2016-01-26, 07:25)Glyde62 Wrote:
(2016-01-15, 21:48)OrbS82User Wrote: I tested this with my Samsung TV UE50H6470 but it will not work.

He is able to find my TV under the correct IP adress but then i get error message "connection failed": Sad

I just upgraded my TV to a UA55JU7000 and have the same problem, Was working perfectly on my older TV



And now? No solution on this great feature? No one can fix this?
Have had no luck here, Maybe someone will get it working on the newer Samsung's


RE: 3D Enabler Samsung TV - nickr - 2016-02-08

Maybe ask Samsung for details of their protocol. Why things like this have to remain hidden I do not know.


RE: 3D Enabler Samsung TV - HushPeter - 2016-06-19

Does it work with kodi 16.1?

Your add-on give me a lot of hope to get my dream come true:
-When kodi goes into standby or disable monitor an add-on press the button combination to shut-off the samsung display.
-After x minutes after shutdown the display it shutdown the hole tv

I allways do that manually but it should wokr automaticly. Or?

Greetings by HushPeter


RE: 3D Enabler Samsung TV - nickr - 2016-06-20

@HushPeter that should be doable with CEC.


RE: 3D Enabler Samsung TV - Zodler - 2016-10-09

I have a UE55HU7500 and unfortunately this doesn't work on it.


RE: 3D Enabler Samsung TV - junias - 2017-01-12

With my UE48JS9090 the Connection always failed, too Wink
Would love to see its working again Wink


RE: 3D Enabler Samsung TV - nickr - 2017-01-15

Ask Samsung how their protocol works.


RE: 3D Enabler Samsung TV - kurai - 2017-03-23

Thanks for this service plugin - it wasn't something I knew I even wanted till I happened to stumble upon it while browsing the forum for something else.

It works perfectly for my Samsung UE40ES6300 and eliminates the (admittedly minor) steps of hunting out the Samsung TV section of my Logitech Harmony remote setup and clicking through the Samsung on-screen prompts to get the infobox out of the way, each time.

Every little extra convenience helps Cool <--- Smilie wearing 3D glasses, obviously