blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.83k stars 1.38k forks source link

Increased number of requests re mraa on off module #407

Closed blynkkk closed 6 years ago

blynkkk commented 6 years ago

More and more support requests for the issue:

No direct pin operations available. Maybe you need to install mraa or onoff modules?

vshymanskyy commented 6 years ago

Please provide links to such requests. Is it really a bug? Who validated that?

blynkkk commented 6 years ago

I validated them as I'm replying to emails, intercom and drift

vshymanskyy commented 6 years ago

For a proper bug report, please provide steps to reproduce, which os and Node.js version was used, sketch and other details

vshymanskyy commented 6 years ago

No details provided

hsors commented 5 years ago

I do believe there is an issue with onoff / nodejs not communicating properly with Blynk. I started from a fresh Debian Stretch on a Raspi 3 and installed everything according to the help page (automatic nodejs install) with 2 exceptions: 1) changed file name in the curl command to reflect my hardware (arm7l) and 2) added --unsafe-perm at the end of the "npm install onoff" line which otherwise wouldn't install).
onoff is actually installed (when I launch node and type require("onoff"), I get "{ Gpio: { [Function: Gpio] HIGH: 1, LOW: 0 } }") but blynk client returns the famous "No direct pin operations available. Maybe you need to install mraa or onoff modules?" when I launch it and I press a widget supposed to turn a LED ON.