I'm pretty new in the Arduino world. My project idea is to build my own remote control for my Yamaha sound projector and control it with Alexa.
I managed to read the IR codes of my current remote control. I managed to send the IR codes.
I managed to connect to my wifi.
Now to connect it with Alexa, I want to use the library fauxmoESP. As far as I understood, the Nano 33 IoT is compatible to a ESP32. But including the fauxmoESP.h brings up the compiler error message: Platform not supported.
The script checks for ESP8266 or ESP32, but the Nano 33 IoT has a NINA-W102, which should be compatible to ESP32.
What can I do? Can I just remove the checks? Or can I use another library?
I'd prefer to avoid the Arduino Cloud if this is possible.
Here's the log:
C:\Users\admin\Documents\Arduino\libraries\FauxmoESP\src/fauxmoESP.h:66:3 error: #error Platform not supported #error Platform not supported
^~~~~
In file included from C:\Users\admin\Documents\Arduino\Soundprojektor\Soundprojektor.ino:5:0:
C:\Users\admin\Documents\Arduino\libraries\FauxmoESP\src/fauxmoESP.h:72:10 fatal error: MD5Builder.h No such file or directory #include <MD5Builder.h>
^~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
Your Nano 33 contains two controllers - SAMD21 for main arduino board and U-blox NINA-W102 for BT and Wifi module.
Uploading code to Nano 33 in arduino IDE, you send it to SAMD21 chip, which is not compatible with ESP32. Uploading code to the NINA-W102 is not supported by IDE
I'm a little bit confused.
I can use the wifi library to connect the Nano 33 to my wifi network.
The code is sent to SAMD21 chip and the chip can obviously interact with the NINA-W102.
Why shouldn't it be the same with the fauxmoESP code?
Do you have any alternative library? Or do I absolutely have to use the Arduino Cloud?
Ok, understood. The fauxmoESP library seems to run ON the ESP chip instead of communication with. What a pitty.
What are the alternatives? Do I necessarily have to use the Arduino Cloud then? No other chance?