ESP8266 Kodi IR Remote
๐ This is an ESP8266 (NodeMCU) based Kodi media server remote that takes input from an IR remote and sends HTTP POST requests to control Kodi. You can customize the code using Kodi's JSON-RPC API.
- Make sure you have set up the Arduino IDE to upload code to the ESP8266. You can find many guides on the internet to help you with this. ๐จโ๐ป
- Add the IRRemoteESP8266 library from the Library Manager in the IDE. ๐
- Upload the IRRecvDump V2 code from the library examples. ๐
- Connect the IR receiver to GPIO14 (D5). ๐
- After uploading the code, open the serial monitor and decode your IR remote with the keys you want to use. Note them down. ๐ง
- Upload the ESPKodiRemote code. You will need to make some changes to make it work for you:
- Add your WiFi credentials.
- The local IP of your Kodi device.
- The hex codes of the IR remote in the Switch Statement of the code. (I will add comments in the code to make it easier for you.) ๐จโ๐ป
You are now good to go! ๐
- Control Kodi with an IR remote. ๐ฎ
- Uses Kodi's JSON-RPC API to customize the remote control behavior. ๐ ๏ธ
- Easy to set up and customize. ๐
If you encounter any issues while setting up or using the remote control, please check the following:
- Make sure the IR receiver is connected to the correct GPIO pin (GPIO14/D5).
- Check that you have entered the correct WiFi credentials and local IP address of your Kodi device.
- Ensure that you have added the correct hex codes for the keys of your IR remote in the Switch Statement of the code. ๐ง
If you are still experiencing issues, please feel free to contact me at mrmysticuniverse@gmail.com.
If you would like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request. ๐ค
If you have any questions or feedback about the project, please feel free to contact me at mrmysticuniverse@gmail.com. ๐ง