I have been using myFP2esp32 for about 8 months with no problems. Recently I have been experiencing loss of wifi signal and decided to install irremote function.
I have uncommented the following.
define ENABLE_INFRAREDREMOTE 3
However, I get an error on start.
Serial started
ControllerData start
Set vars and load cached vars
Controller mode 1
Load accesspoint
IP of controller 192.168.4.1
Start system up time
Load driver board 44
setup: coilpower OFF
Start I2C
Start display Start IRRemote irremote_start() error
management server enabled
Starting management server
Start TCPIP Server
Start Web Server
Start task timer
Setup done, controller is ready
In the sample code, the IRremote works fine with the same wiring.
I could not find a place on the Web Server to enable the function like display.
Please tell me how to enable IRremote.
Ken
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been using myFP2esp32 for about 8 months with no problems. Recently I have been experiencing loss of wifi signal and decided to install irremote function.
I have uncommented the following.
define ENABLE_INFRAREDREMOTE 3
However, I get an error on start.
Serial started
ControllerData start
Set vars and load cached vars
Controller mode 1
Load accesspoint
IP of controller 192.168.4.1
Start system up time
Load driver board 44
setup: coilpower OFF
Start I2C
Start display
Start IRRemote
irremote_start() error
management server enabled
Starting management server
Start TCPIP Server
Start Web Server
Start task timer
Setup done, controller is ready
In the sample code, the IRremote works fine with the same wiring.
I could not find a place on the Web Server to enable the function like display.
Please tell me how to enable IRremote.
Ken
I read the code.
If I change line 867 in the myfp2esp32F.ino file from V_STOPPED to V_RUNNING, will it work?
I'm outside right now, so I'll give it a try when I get back.
Thank you.
Hi
If I change line 867 in the myfp2esp32F.ino file from VSTOPPED to VRUNNING, will it work?
No.
This is inside loadvars() which is called by setup() line 938
then much later, in setup() line 1143 the IRRemote is started
so changing to VRUNNING will have no effect. The iiremote_init() is what starts the IRRemote.
THERE IS AN ERROR IN LINE 604 of myfp2esp32F.ino
it should read
the I is missing in front of NFR......
regards
Robert
Hi Robert,
Thank you for sharing the error in the code. I now know why it is not working clearly on the code.
I went on a business trip before I could check that it works. But it will definitely work.
Best regards,
Ken