mdhiggins / ESP8266-HTTP-IR-Blaster

ESP8266 Compatible IR Blaster that accepts HTTP commands for use with services like Amazon Echo
MIT License
978 stars 218 forks source link

Only works once per device after power up #319

Closed The-Arsonist closed 3 years ago

The-Arsonist commented 3 years ago

I've had my controller working for several years. Recently, it will only respond once per device after a power up. For example, I can tell my TV volume to turn up, and it works as expected, but If I ask the TV volume to turn up again, it won't do anything, and the ESP8266 IR Controller web page shows no signal sent. However, if I ask it to turn the receiver volume up, it will do it, even though they are sending the same signal (but separate devices in the controller setup) but after that one time, the receiver will now not send IR signals either.

mdhiggins commented 3 years ago

Show me the command you are trying to send, include the full URL (though you can censor your IP address and pass/security information)

The-Arsonist commented 3 years ago

http://externalip:port/msg?code=5EA158A7:NEC:32&device=Receiver&pass=hunter2&out=2

mdhiggins commented 3 years ago

Try leaving out the &device=Receiver part

Specifying the device is only for saving states for toggle commands its probably causing it to ignore subsequent commands as a result

The-Arsonist commented 3 years ago

Ah, thanks. That's probably my issue, I forgot the device is already being specified in the setup page. Must have been left over when I copied my code from the power state command

TheMCMan commented 3 years ago

That's an awesome collaboration :-)

On Thu, May 13, 2021, 17:39 Michael Higgins @.***> wrote:

Closed #319 https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster/issues/319.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster/issues/319#event-4744508371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANE5Z7BABQA3XKG4HDBGHUTTNRWN7ANCNFSM443PXB2A .