Solving LG WebOS Connectivity Issues with Homey

Hi everyone, I’ve been trying to connect my LG OLED55C7V TV to the Homey app using the LG WebOS integration, but I’ve been running into the ‘ECONNREFUSED’ error. After some research and troubleshooting, I thought I’d share my journey and the solution I found, in case it helps others facing the same issue. The Problem: When I tried to add my TV through the Homey app, I kept getting the error message: ‘request to http://ip address tv:1855/ failed, reason: connect ECONNREFUSED < ip address tv> :1855’. The IP address was correct, and I had confirmed that the TV’s Wi-Fi was working fine. I even tried port forwarding port 1855 on my router, but that didn’t resolve the issue. Troubleshooting Steps: 1. Checked Network Settings: I ensured that both my TV and Homey were on the same network. 2. Enabled Necessary Features: I made sure that ‘LG Connect Apps’ and ‘Wi-Fi Direct’ were enabled on the TV. 3. Tested with Another App: I downloaded the ‘LG TV Plus’ iPad app and was surprised to find that it connected without any issues. This suggested that the problem wasn’t with the TV’s connectivity itself but specifically with the Homey integration. 4. Updated Firmware: I decided to update the TV’s firmware to the latest version. After the update, the issue persisted, so I knew I needed to look elsewhere. The Solution: After some digging, I found that the Homey app might not be compatible with the latest firmware version of my TV. To test this theory, I rolled back the TV’s firmware to a previous version. Once I did that, the Homey app was able to connect without any issues. Additional Tips: - If you’re experiencing similar issues, check if there’s a known compatibility problem between your TV’s firmware and the Homey app. - Consider reaching out to the Homey support community for the latest updates or workarounds. - Always test connectivity with another app to isolate the problem. It’s been a bit of a rollercoaster, but I’m glad I managed to get everything working again. I hope this helps someone else who’s stuck with the same issue!