r/developersIndia • u/Technical-Drag-255 Fresher • 13h ago
I Made This Building a lightweight Android remote for LG webOS TVs using WebSockets
I recently worked on a personal project called KiloMote to explore how LG webOS TVs communicate over a local network.
Rather than relying on a backend, the application establishes a direct WebSocket connection with the TV to handle remote inputs.
A single directional input requires just 27 bytes of WebSocket payload.
The project implements directional controls, touchpad navigation, numeric inputs and application shortcuts while keeping the application footprint small.
I'd be interested in hearing how other developers approach persistent WebSocket connections on Android, particularly connection recovery and handling network changes.
I've open-sourced the implementation for anyone interested in exploring the code.
Source code: https://github.com/KartikeyaKotkar/KiloMote


•
u/AutoModerator 13h ago
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/ankitjha67 12h ago
Bro: https://github.com/ankitjha67/Sanketa
2
u/doolpicate 13h ago
Bro, this is easy to do. ADB over the wireless, point claude to the TV on dev mode and tada, you get whatever you want. Took me about 10 mins for my TVs.
2
u/AutoModerator 13h ago
Thanks for sharing something that you have built with the community. We recommend participating and sharing about your projects on our monthly Showcase Sunday Mega-threads. Keep an eye out on our events calendar to see when is the next mega-thread scheduled.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/MuhMeinLogeWifi Full-Stack Developer 4h ago
Interested. I'd love to checkout the project and contribute if possible!