October 10, 20233 yr When attempting to compile the firmware for the ESP8266 I'm getting the following error: Compilation error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 If I attempt to downgrade ArduinoJson to 5..13.5 I end up with a larger list of errors. It's highly possible that it is due to me doing something wrong with the Arduino IDE and the loading of the ESP8266, ESPWebServer and IRRemoteESP8266 libraries. As a test, I was able to successfully compile and upload the sketch from the https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster link. Is there anyone that has recently tried to use an ESP8266 with AVRemote and has it working that could provide some pointers?
October 10, 20233 yr Author I think so. I got to the https://github.com/firstone/RESTRemote/blob/master/POLYGLOT_CONFIG.md github page from the AVRemote node server link (https://polyglot.universal-devices.com/nsinfo/7d239862-a0ca-45ae-973e-b5fd5caba72b%2FProduction) which has the ESP8266 mentioned at the bottom of the README.md file. Since I'm attempting to use the ESP8266 device with the node server I figured I should probably start here. That and I'm not sure how to contact the author (FirstOne) through github.
October 11, 20233 yr 10 hours ago, gwk said: When attempting to compile the firmware for the ESP8266 I'm getting the following error: Compilation error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 If I attempt to downgrade ArduinoJson to 5..13.5 I end up with a larger list of errors. It's highly possible that it is due to me doing something wrong with the Arduino IDE and the loading of the ESP8266, ESPWebServer and IRRemoteESP8266 libraries. As a test, I was able to successfully compile and upload the sketch from the https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster link. Is there anyone that has recently tried to use an ESP8266 with AVRemote and has it working that could provide some pointers? I don't think it's being widely used, if at all. To be honest, I haven't touched it for a while. I will try to get it recompiled when I get a chance but can't promise any timeline. If you figure out required changes, PM them to me, please. Otherwise, I'll update when I can.
October 11, 20233 yr 10 hours ago, gwk said: When attempting to compile the firmware for the ESP8266 I'm getting the following error: Compilation error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 If I attempt to downgrade ArduinoJson to 5..13.5 I end up with a larger list of errors. It's highly possible that it is due to me doing something wrong with the Arduino IDE and the loading of the ESP8266, ESPWebServer and IRRemoteESP8266 libraries. As a test, I was able to successfully compile and upload the sketch from the https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster link. Is there anyone that has recently tried to use an ESP8266 with AVRemote and has it working that could provide some pointers? I've just downloaded IDE version 2.2.1, selected Generic ESP8266 module, loaded .ino and it compiled. Not sure why it's not working for you. I have ArduinoJson 5.13.1 installed.
October 11, 20233 yr Updated it to version 6 but cannot test and do not guarantee that it works. Only that it compiles.
October 11, 20233 yr Author Based on your abiliby to compile RESTRemote.ino I've started with a fresh install of arduino-ide (2.2.1) Added https://arduino.esp8266.com/stable/package_esp8266com_index.json to 'Additional boards manager URLs:' under File - Preferences. Installed esp8266 3.1.2 using the 'Boards Manager' Selected the 'Generic ESP8266 Module' for the board type Added ArduinoJson 5.13.1, IRremoteESP8266 2.8.6 & WifiManager 2.016-rc.2 using the library manager. Used File - Open to open the RESTRemote.ino file under the ~/RESTRemote-master/esp8266/RESTRemote directory. Use Sketch - Verify/Compile to compile the sketch with the 'ArduinoJson_5_compile_errors' result. If I upgrade ArduinoJson to 6.21.3 and attempt a compile I get the 'ArduinoJson_6_compile_errors' result. I've detailed the steps that I used and attached the compile output as I suspect it is something that I'm doing incorrect and I was hoping it would be obvious to someone else. I don't know if it is relevant but I'm also using Ubuntu. BTW, thanks for testing the compile on your end so quickly. This is more of a cool to have project for me and an interesting way to learn arduino-ide than something critical. Also, since the problem that I'm having is more related to the arduino side of things is there a more appropriate place for me to ask for help (Github, etc)? ArduinoJson_6_compile_errors ArduinoJson_5_compile_errors
October 12, 20233 yr Solution Latest code is here https://github.com/firstone/av-remote-poly/tree/dev/esp8266/RESTRemote
October 12, 20233 yr Author Thanks for the link. I was able to get the latest code to compile and upload with ArduinoJson 6 but even with the latest code I was still getting the following errors: error: invalid conversion from 'uint16_t' {aka 'short unsigned int'} to 'decode_type_t' [-fpermissive] error: control reaches end of non-void function [-Werror=return-type] error: 'bool ESoft::RESTRemote::URLParamRequestHandler::canHandle(HTTPMethod, String)' marked 'override', but does not override Downgrading the following packages allowed the compile/upload to complete: Board esp8266 to 2.7.4 from 3.1.2 Library IRremoteESP8266 to 2.5.5 from 2.8.6 Thanks for your time and effort looking into this for me. It is much appreciated.
October 17, 20233 yr I have created a NS and an include file for interfacing Arduino ide ESP chips. I even have a cupule of examples if that helps you out. The node server is Arduino_MQTT and is on the Bata store also the source is at my github https://github.com/n2uns/Audrino_Mqtt https://github.com/n2uns/ISYandrino