raspberry-pi3

Not understanding why I am not receiving any rssi data from my raspberry pi 3 to my server

*爱你&永不变心* 提交于 2020-05-16 06:32:25
问题 I am having problems trying to display the RSSI values from my raspberry pi 3 to show on my server. Connection Success as you can see by the picture I have been able to successfully connect my client and server but no rssi data are showing. The following code is what I executed from the pi: var noble = require('noble'); //replace localhost with your server's IP; var socket = require('socket.io-client')('http://localhost:3000/scanner'); //replace with your hardware address var addressToTrack =

Docker MACVLAN only works Outbound

試著忘記壹切 提交于 2020-05-13 07:53:05
问题 I'm trying to setup a MACVLAN for my docker containers. I have a fresh Raspbian and Docker installation and followed the steps outlined to the Docker Documentation to create a MACVLAN: https://docs.docker.com/network/network-tutorial-macvlan. The Network looks as follows: [ { "Name": "pub_net", "Id": "782c49f79f549b11f04a6df98b8b2cbf52deef072e036306231309e44a1c9f3a", "Created": "2020-02-25T14:44:12.105402396+01:00", "Scope": "local", "Driver": "macvlan", "EnableIPv6": false, "IPAM": { "Driver

How do I split my 800x480 5-inch screen into 2 parts

五迷三道 提交于 2020-05-08 18:59:29
问题 I am building a stand-alone VR headset using Raspberry Pi 3 model b. I am having a problem with splitting the screen as we see on our phone. I am still learning Python so I don't have much idea on how to do this. Here in this code, I have tried to solve the above-mentioned problem but when I run this code on Raspbian an error occurs that ImageGrab function works only on Windows and Mac. I tried to use pyscreenshot module also, although it works on my PC screen fairly when I connect it with my

Getting errors when runing javafx11 on raspberry pi using gradle

不打扰是莪最后的温柔 提交于 2020-04-18 12:35:07
问题 I am able to build my javafx11 application, but I get errors when running it using ./gradlew run The error I get says something about unable to open DISPLAY I have tried on both a terminal only install of raspbian and a full desktop install as well. So far I have done these things: 1) Install bellsoft full jdk 2) git clone gradle project 3) ./gradlew run What am I doing wrong? 回答1: Nevermind, I figured it out after much, much more googling. I ended up using nodm . 来源: https://stackoverflow

Getting errors when runing javafx11 on raspberry pi using gradle

孤者浪人 提交于 2020-04-18 12:33:35
问题 I am able to build my javafx11 application, but I get errors when running it using ./gradlew run The error I get says something about unable to open DISPLAY I have tried on both a terminal only install of raspbian and a full desktop install as well. So far I have done these things: 1) Install bellsoft full jdk 2) git clone gradle project 3) ./gradlew run What am I doing wrong? 回答1: Nevermind, I figured it out after much, much more googling. I ended up using nodm . 来源: https://stackoverflow

Getting errors when runing javafx11 on raspberry pi using gradle

安稳与你 提交于 2020-04-18 12:33:07
问题 I am able to build my javafx11 application, but I get errors when running it using ./gradlew run The error I get says something about unable to open DISPLAY I have tried on both a terminal only install of raspbian and a full desktop install as well. So far I have done these things: 1) Install bellsoft full jdk 2) git clone gradle project 3) ./gradlew run What am I doing wrong? 回答1: Nevermind, I figured it out after much, much more googling. I ended up using nodm . 来源: https://stackoverflow

How do I split my 800x480 5-inch screen into 2 parts

╄→尐↘猪︶ㄣ 提交于 2020-04-18 05:42:15
问题 I am building a stand-alone VR headset using Raspberry Pi 3 model b. I am having a problem with splitting the screen as we see on our phone. I am still learning Python so I don't have much idea on how to do this. Here in this code, I have tried to solve the above-mentioned problem but when I run this code on Raspbian an error occurs that ImageGrab function works only on Windows and Mac. I tried to use pyscreenshot module also, although it works on my PC screen fairly when I connect it with my

Piping data from a python script into a .csv or .txt file

余生颓废 提交于 2020-04-17 19:01:08
问题 I want to monitor air quality inside my flat (downstairs neighbor is an avid smoker). For so doing, I have a Raspberry Pie 3 Model B+ connected with an Enviro+. While in the terminal I can run the script that measures small particles. python particulates.py cf. https://github.com/pimoroni/enviroplus-python/blob/master/examples/particulates.py It then runs and display the data in the terminal, like in the picture below: (yes, I am better at lego-ing, than coding). I am interested in keeping a

Piping data from a python script into a .csv or .txt file

痴心易碎 提交于 2020-04-17 19:00:24
问题 I want to monitor air quality inside my flat (downstairs neighbor is an avid smoker). For so doing, I have a Raspberry Pie 3 Model B+ connected with an Enviro+. While in the terminal I can run the script that measures small particles. python particulates.py cf. https://github.com/pimoroni/enviroplus-python/blob/master/examples/particulates.py It then runs and display the data in the terminal, like in the picture below: (yes, I am better at lego-ing, than coding). I am interested in keeping a

by installing PyAudio (Python3) on my Raspberry pi 3 (noobs) I get an error, how could i fix this?

我们两清 提交于 2020-03-23 02:24:14
问题 pip install pyaudio Downloading/unpacking pyaudio Downloading PyAudio-0.2.11.tar.gz Running setup.py (path:/tmp/pip-build-u0HEK5/pyaudio/setup.py) egg_info for package pyaudio Installing collected packages: pyaudio Running setup.py install for pyaudio building '_portaudio' extension arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2