Jump to content

gwk

Members
  • Posts

    6
  • Joined

  • Last visited

gwk's Achievements

Newbie

Newbie (1/6)

0

Reputation

  1. 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.
  2. 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
  3. 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.
  4. 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?
×
×
  • Create New...