Sorry newbie here, I have been trying to get the rest API to work with Lirc Web, but to no avail. The switch doesn’t show up on my UI, and I get this in the info page “ERROR (MainThread) [homeassistant.components.switch.rest] Got non-ok response from resource: 404”.
Please help as I have been on this for over a week and I can’t seem to find a solution I understand in simple terms .
again, i don’t know lire, but the documentation says you need a POST not a PUT.
POST is the method that I gave you.
Are you sure you have the LIRC server up and running?
What happens if you curl to it? > curl -X POST http://192.168.0.31:3000/remotes/LG_TV/POWER_UP
Sorry for the late reply as I have been so busy of late. I finally got to test the URL using a Rest client I installed on my Chrome (as I know not how to use the “curl -x …” and it works fine.