On Thu, Jul 13, 2017 at 11:07 PM, <[email protected]> wrote: > I'm trying to finish my self-water plant system. > https://www.hackster.io/demirhanaydin/waterpi-houseplant-remote-watering-and-monitoring-system-340400?ref=platform&ref_id=424_respected___&offset=33. > I'm on the final stages but I'm unable to get my LCD screen to display my > temperature and sensor values. I'm running sudo node index.js and this is > what happens. > > The raspberry pi connects and the Arduino is registered. The temperature and > humidity are also registered. Then i get > > > fs.js:663 > > return binding.writeBuffer(fd, buffer, offset, length, position); > > > Error: Unknown system error -121: Unkown system error -121, write > > Then i have about 10 errors > > at Error (native) > > at Object.fs.writeSync (fs.js:663:20) > > at Bus.i2cWriteSync > (/home/pi/waterpi-node_modules/raspi-io/node_modules/raspi-i2c/node_modules/i2c-bus/i2cbus.js:348:13 > > at I2c.writeSync (/home/pi/waterpi-node/node_modules/raspi-io/node_modules > /raspi-i2c/dist/index.js:307:37 > > at RaspiIOcore.i2cWrite > (/home/pi/waterpi-node/node_modules/johnny-five/lib/lcd.js:64:11 > > at LCD.Controllers.PCF8574.initialize.value > (/home/pi/waterpi-node/node_modules/johnny-five/lib/lcd.js:362:23 > > at new LCD > (/home/pi/waterpi-node/node_modules/johnny-five/lib/lcd.js:783:1- > > at Boards .<anonymous> (/home/pi/waterpi-node/index.js:60:9 > > at emit0ne (events.js:77:13)
Don't know if it helps but error -121 is EREMOTEIO, a catch all for I2C communication issues. Sometimes you can glean more information from the syslog. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAHQurc84inE1Bfz4d5KDptD2O8K1vQoEE4tsjn40PPzE-ZCsxw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
