Comments (7)
Yea i never really got around to making an official way to do this. There is a slight workaround for now but i haven't been able to test as i dont have a H or J series TV, and i didn't want to push untested code. If you want to give it a try let me know.
my script relies on samsungctl. i have my own fork that adds support for the J series.
https://github.com/eclair4151/samsungctl
if you want you can try setting up my fork, as per the description. Then inside this library point all instance of samsungctl to my forked version.
Then inside https://github.com/eclair4151/AlexaControlledSamsungTV/blob/master/helpers/mqtt_server.py
modify
def get_config(tv_mac_address):
and
def power_off_command(tv_mac_address):
to return the correct config for your TV.
its pretty cumbersome for now, so sorry about that
from alexacontrolledsamsungtv.
Not a problem, I followed your instruction properly.
Injected your samsungctl fork. Neat work.
Got the TV recognized and got all data about it.
Installed your skill on my Echo.
Login, register, and start server...
And on every command I get ERROR: 12602.
When using samsungctl directly, I get the same error on executing commands.
Alexa sends out a command, but the TV refuses it and returns an error 12602.
Any suggestions?
I did modify get_config to reflect a JSON with session_key and session_id, port 8000, method = "pin".
I also had to modify
https://github.com/eclair4151/AlexaControlledSamsungTV/blob/master/helpers/ssdp.py
to remove an if else about J series. Left alone the H since I can't test either.
from alexacontrolledsamsungtv.
Hmm what is your tv model? it might be an unsupported model
from alexacontrolledsamsungtv.
Scan returns name, model, IP, and MAC. All properly filled and correct, I checked.
Model is UE48JU6400, hence the J series.
from alexacontrolledsamsungtv.
Hi eclair4151, any chance that you could write me some more detailed "dummy" instructions on how to install this variant for the J-series. The instruction I do not quite follow is this:
if you want you can try setting up my fork, as per the description. Then inside this library point all instance of samsungctl to my forked version.
Then inside https://github.com/eclair4151/AlexaControlledSamsungTV/blob/master/helpers/mqtt_server.py
modify
def get_config(tv_mac_address):
and
def power_off_command(tv_mac_address):
Any advice is appreciated.
\Anders
from alexacontrolledsamsungtv.
I have not tested or really looked at this that much but someone is working on bringing H and J series support to this repo:
https://github.com/bencarlisle15/AlexaControlledSamsungTV
from alexacontrolledsamsungtv.
If anyone is still trying to find a way to connect an H or J Series, they can look at the repository I made by cloning this one and adding https://github.com/eclair4151/SmartCrypto to it. It works on my TV but there's definitely room for improvement. The fork is located at https://github.com/bencarlisle15/AlexaControlledSamsungTV/.
from alexacontrolledsamsungtv.
Related Issues (20)
- Can't login to alexasmartcli.py HOT 2
- Time Out HOT 7
- Channels with 0 HOT 4
- Can not detect my TV UN58NU7100 HOT 1
- https://alexasmarttv.tk doesn't load HOT 1
- Registering my device HOT 1
- Permission Required for every Request HOT 9
- Server not starting HOT 10
- https://alexasmarttv.tk HOT 2
- TVâs gets ofline HOT 1
- ERROR: Failed to send message to TV HOT 1
- alexasmarttv.tk is down? HOT 10
- Error when searching for tv HOT 2
- commands not working on Samsung 65" HOT 5
- Scan Tv for UN50NU6900 HOT 1
- Websocket HOT 1
- TV Issue get the following error HOT 1
- Mytvong HOT 1
- https://alexasmarttv.dev/login - Unavailable HOT 2
- Connection Refused
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ď¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alexacontrolledsamsungtv.