[App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.
Post Reply

Christian22
Posts: 2
Joined: Thu Jan 16, 2014 9:40 pm

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by Christian22 »

Hey guys,

I've got a problem to run my script.
I want to remote control my FHEM with netcat.
If I run my script in the CLI everything works fine. If I remap my red key to the path of the script, the echo command works but the netcat won't.

Any ideas?

Here my script:

Code: Select all

#!/bin/sh
[ $(pidof ${0##*/}) ] 2>/dev/null || exit 0
echo "set WZ_Lampe_vorne toggle" >> /dtv/echo.log
sleep 1
echo "set WZ_Lampe_vorne toggle" | netcat 192.168.178.37 7072
sleep 2
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by zoelechat »

What about nc command instead of netcat ?
I do NOT receive any PM. Please use forum.
Christian22
Posts: 2
Joined: Thu Jan 16, 2014 9:40 pm

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by Christian22 »

It's the same.
CLI works, remap with CMD not.
asiersan
SamyGO Project Donor
Posts: 158
Joined: Fri May 09, 2014 1:30 am

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by asiersan »

Hi, I have following problem.

In my F series, rcremap is working perfectly. I use it for libair to sat.

I?m trying to run it in H series non-MST and to map and Lisairtosat script, as in the oteher one.

If I remap a button, all is ok, but when i remap to airtosat cmd script, nothing happens.
The scrip is working on telnet.
Samsung 55HU7500L
Samsung 40F6500
Samsung 32K5570SU
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by zoelechat »

Look at libAirToSat thread, there's a specific script to use on H.
I do NOT receive any PM. Please use forum.
asiersan
SamyGO Project Donor
Posts: 158
Joined: Fri May 09, 2014 1:30 am

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by asiersan »

The script si running ok. The problem os sending cmd comands.

Also i tried to Run directly the command and dont Run.

I Think there os a problem with cmd?? My tv is Non mst
Samsung 55HU7500L
Samsung 40F6500
Samsung 32K5570SU
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by zoelechat »

asiersan wrote:The script si running ok. The problem os sending cmd comands.
That's expected. On the opposite of former series, on H CMD can't be executed as root from lib, that's why it's mandatory to use some workaround present only in H specific script. You don't notice any problem through Telnet because you are root :)
I do NOT receive any PM. Please use forum.
asiersan
SamyGO Project Donor
Posts: 158
Joined: Fri May 09, 2014 1:30 am

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by asiersan »

ok tomorrow i will try.

thaks.
Samsung 55HU7500L
Samsung 40F6500
Samsung 32K5570SU
asiersan
SamyGO Project Donor
Posts: 158
Joined: Fri May 09, 2014 1:30 am

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by asiersan »

I tryed and the remote is remaped. The normal buton is remaped ok but the CMD dos not do nothuing.

If i run the script in the console i receive this:
/mnt # /mnt/opt/privateer/usr/bin/CMD_libAirToSat
nc: can't connect to remote host (127.0.0.1): Connection refused
Samsung 55HU7500L
Samsung 40F6500
Samsung 32K5570SU
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by zoelechat »

asiersan wrote:If i run the script in the console i receive this:
/mnt # /mnt/opt/privateer/usr/bin/CMD_libAirToSat
nc: can't connect to remote host (127.0.0.1): Connection refused
Maybe port 2023 is wrong on your TV, check which ones are opened for netcat (could be 1023, 3023...) using command:

Code: Select all

netstat -l | grep 23
then try to change it in script.
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[F] Software”