webosbrew / dev-manager-desktop

Device/DevMode Manager for webOS TV
Apache License 2.0
1.23k stars 81 forks source link

Unable to renew session using shell script #244

Open brugsy opened 2 months ago

brugsy commented 2 months ago

First issue was /tmp/webos_devmode_token_LG.txt did not exist, so i created it. Next issue was:

Unable to negotiate with 192.168.1.223 port 9922: no matching host key type found. Their offer: ssh-rsa Unable to get token

How can I do this? The IFTTT seems to be behind a paywall now. I was hoping to run this on my OpenWRT router.

thanks.

brugsy commented 2 months ago

I updated, and now different issue, version 1.13.3:

root@OpenWrt:~# ./tv.sh Your identification has been saved with the new passphrase. Got SESSION_TOKEN from TV - writing to /tmp/webos_devmode_token_TV2.txt {"result":"success","errorCode":"200","errorMsg":"GNL"}

Seems to work but the session time does not increase. Even after restart

mariotaku commented 2 months ago

Hi, when you restart the TV, do you mean it's been completely powered off?

brugsy commented 2 months ago

Hi, when you restart the TV, do you mean it's been completely powered off?

I hit the power button. There is not an easy hard reset (I believe) so besides unplugging it, the power button is all I'm restarting with.

brugsy commented 2 months ago

Tv is on 4.41.05 software

brugsy commented 2 months ago

I also get this response


Your identification has been saved with the new passphrase.
ssh: connect to host 192.168.1.223 port 9922: Operation timed out
ssh into TV failed, loading previous SESSION_TOKEN from /tmp/webos_devmode_token_TV2.txt
{"result":"success","errorCode":"200","errorMsg":"GNL"}
brugsy commented 2 months ago

@mariotaku Do you have any updates on this issue? Thanks

mariotaku commented 2 months ago

Hi, if you get the result: success message, then on server side the timer has been extended successfully.