-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
session time is not resting on TV #1
Comments
Same here. |
@SR-Lut3t1um @abdulazizalmass I also get the same issue, timer not updating on the Developer Mode app. This might only be a cosmetic thing? |
After installing the latest code update from LG, LG developers added an amazing feature to extend the session to 999 hours. For now, this is a good alternative to try. Best of luck 🤞 |
Yeah, but I'm using this with https://github.com/SLG/tv-service so would be nice to not have to bother all together :) |
Sorry for the late respone. In theory it should still work, even if the timer is not correctly shown on the TV. You can verify the timer with https://developer.lge.com/secure/CheckDevModeSession.dev?sessionToken={your_token}. If that fails, you will need to redo the process. So using the actual script might be a more stable solution, keep in mind it will need to start the TV. |
Yeah, seems to reset fine, many thanks :) |
I seems the time counter doesn't update in the Developer Mode App until you turn off the TV and also unplug it. So, indeed, querying the CheckDevModeSession endpoint is the most fiable way. By the way, you can also query the session token, after Connecting TV and PC, just executing:
|
I just run into this, I can also confirm that I cannot see the timer reset on the TV even when the Anyway, I created a small Cloudflare Worker to reset the counter. You can run it for free (don't remember the free tier limit on Cloudflare but it's high), you just need to add a trigger to schedule the execution as often as you want (I set it once a week) and add an You can also reset the counter manually by calling the worker url. async function fetchLGapi(api_key){
let res = await fetch(`https://developer.lge.com/secure/ResetDevModeSession.dev?sessionToken=${api_key}`);
return res;
}
export default {
async fetch(request, env, ctx) {
return await fetchLGapi(env.LG_API_KEY);
},
async scheduled(event, env, ctx) {
return ctx.waitUntil(fetchLGapi(env.LG_API_KEY));
}
}; EDIT: A note on the worker script above: if you use the standard URL for Cloudflare workers (e.g. |
Thanks for the amazing tip.
After following the steps, this was received
{"result":"success","errorCode":"200","errorMsg":"GNL"}
.The session was not extended as tested on the developer mod app from LG tv. By any chance, did this happen to you ?
reverse engineering might work through ssh with localhost:9922/status but will consider this after your response
The text was updated successfully, but these errors were encountered: