Questions tagged [javascript]

a high-level, dynamic, untyped, and interpreted programming language often used in World Wide Web content generation.

43 questions
11
votes
1 answer

Autologin into a webpage via the default GNOME-Webbrowser

I'm trying to call an HTML page like this with the Raspbian's default web browser and it leads me just to the default login-page. Neither does it with Midori on the desktop. When calling the exact same page with Firefox or Google Chrome on the…
alsternerd
  • 316
  • 2
  • 12
3
votes
1 answer

Printing state of wiringpi pin onto webpage

I have a Pi set up with Apache and wiringpi, and I would like to read the state of an in pin (every 20 seconds, if possible) and display it on my webpage using PHP. The input is to determine if my computer is on or off remotely. So basically, I…
0x3C
  • 31
  • 2
2
votes
0 answers

PI Zero W, Running NodeJS and reading sensors - bad performance

I am doing a little project for my pet snake and that is a Terrarium controller with my Raspberry PI Zero W. Just for fun I created it using NodeJS since I am a bit familiar with it. A friend of mine created everything hardware related and just gave…
ZassX
  • 121
  • 2
2
votes
1 answer

“initMboxBlock: init mbox zaps failed” when using pigpio library in a daemon using node.js

I am writing a daemon using node.js, running under systemd and it will monitor the status of the power supply voltage on a raspberry pi 2 B. I am using the node.js wrapper to the pigpio library The code I started with was as follows: var Gpio =…
saraf
  • 571
  • 1
  • 5
  • 12
2
votes
2 answers

Start my software before the user can even see that Raspbian is running in the background?

Say I have written an app. I would now like the raspberry pi to start up and go straight into that app, give the user no options to do anything on the raspberry pi's OS etc. or break out of it. I don't even want the user to see the GUI of…
George Welder
  • 171
  • 1
  • 1
  • 3
2
votes
1 answer

Raspberry pi port forwarding with nodejs server

I have a nodejs server make using websocket. Currently, i can view it in localhost by typing raspberrypi.local:5000. Now I want to portforward it so ppl from other network can view it too. How do i go about doing this ? Thank you
Carlos Frank
  • 33
  • 1
  • 5
2
votes
0 answers

How can I enable javascript in the integrated Epiphany web browser?

Javascript worked just fine on my Raspberry Pi 2, but after the browser silently crashed, it no longer works. I can still browse, but javascript no longer works. I tried rebooting, no effect. I updated everything, then uninstalled and re-installed…
vsz
  • 225
  • 2
  • 13
2
votes
1 answer

How can you share an individual flow in node-red?

I have a Raspberry Pi with a lot of Node-Red flows running. I would like another person (with a separate account) to be able to log in and have access to a specific flow, but I would not like them to be able to access the others. I'm not worried…
user306690
  • 51
  • 1
  • 4
2
votes
1 answer

How to implement the push button example using rpio?

Background I am trying to learn how to use the rpio library (https://github.com/jperkin/node-rpio) in my nodejs application. What do I want to do So far I have been able to test the blink led example form the documentation, and I was trying to do…
1
vote
1 answer

P5 code optimisation for raspberry Pi

When I try to execute this sketch that is based on a face recognition algorithm it really lags on raspberry, whereas when run on different devices (macbook pro and notebook), it runs smoothly. You can test it using chrome or chromium as a browser. I…
1
vote
1 answer

Talk via JavaScript to the UART

I want to send Data to the UART from JavaScript. No question (yet) about initialising the UART, but how to send data from JavaScript?
mexman
  • 11
  • 1
1
vote
0 answers

Slow Chromium on Raspberry Pi 3B+ after update from Jessie to Stretch

I've been looking into my problem for days now and I didn't find a solution to it. If there is already a question about this issue, I have not found it, my apologies. Please direct me to it if there is. I took responsibility for a project in my…
1
vote
2 answers

Can P5.js or Processing read the output of the Sense HAT on a Raspberry Pi 3?

My objective is to create interactive art by taking the inputs from the Sense Hat and using the values read to update a drawing created with p5.js or processing. Is there a way to do this? I thought of: writing a python script which then passes the…
Massagran
  • 113
  • 4
1
vote
2 answers

What Circuit Should I Use to Hardwire Raspberry Pi to Doorbell?

I am trying to connect my raspberry pi to my hardwired doorbell in order to send a text message when the doorbell button is pushed. I have successfully sent the text message using a button connected to the breadboard but I am unable to do so when…
Matt
  • 19
  • 3
1
vote
2 answers

Servos on Arduino run fine connected to Mac, poorly connected to Raspberry Pi 3

I have a Snapper Robotic Arm kit from Trossen Robotics. The servos are powered externally via 7v/5a supply that came with the kit. I power the Geekduino via USB to micro-USB connection, and upload the sketch from my Macbook Pro. Whenever I run a…
Gregir
  • 121
  • 5
1
2 3