NodeMCU sketch to control IR devices
-
To connect the device to the network visit: tzapu/WiFIManager
-
API
Description Method Endpoint Body elements To start the action described in the body POST /rc "action" To receive the type of device GET /get_type - -
Supported actions
Action Description on Turn on or turn off input Open input menu settings Open settings menu vol_up Turn up the volume vol_down Turn down the volume vol_mute Turn off the volume prog_up Change to the next channel prog_down Change to the previous channel arrow_up Arrow up button arrow_down Arrow down button arrow_left Arrow left button arrow_right Arrow right button back Back button ok Ok button -
Examples
-
Request body for "/rc":
{ "action": "YOUR_ACTION" }
-
Response body for "/rc":
{ "msg": "SOME_MESSAGE" }
-
Response body for "/get_type":
{ "type": "remote_controller" }
-
- LG TV
- Samsung TV
- Sony TV
- Silvercrest soundbar
- Samsung soundbar
- Button to reset wifi
- Add more devices