monteslu / node-red-contrib-gpio

A set of node-red nodes for connecting to johnny-five IO Plugins
MIT License
41 stars 31 forks source link

Using latest version of ConfigurableFirmata gives "Device or Firmware Error" #43

Open therealhugocosta opened 2 years ago

therealhugocosta commented 2 years ago

I'm trying using an ESP32 dev board with firmata over wifi.

The master branch of ConfigurableFirmata brings support for this. https://github.com/firmata/ConfigurableFirmata/blob/master/examples/ConfigurableFirmata/ConfigurableFirmata.ino

After many tryouts i've found out that the tcp connection is made to the board but johnny-five gives "Device or Firmware Error".

{"type":"error","timestamp":1648648602113,"class":"Device or Firmware Error","message":"A timeout occurred while connecting to the Board. \n\nPlease check that you've properly flashed the board with the correct firmware.\nSee: https://github.com/rwaldron/johnny-five/wiki/Getting-Started#trouble-shooting\n\nIf connecting to a Leonardo or Leonardo clone, press the 'Reset' button on the board, wait approximately 11 seconds for complete reset, then run your program again.","data":null}

Maybe this is a problem with johnny-five.

lbineau commented 10 months ago

Hello @therealhugocosta, I think it is not very straight forward to use Johnny Five over wifi as it generally requires a tethered connexion. I'd say it is more a question to Johnny-Five repo. Also ESP32 doesn't seem to be officially supported https://johnny-five.io/platform-support/ This library doesn't seem to be very up to date with Johnny Five anyway (using v1.x while it is now 2.x)