Questions tagged [raspberry-pi]
For questions related to using the Raspberry Pi in IoT applications or solutions. Questions about a software or hardware issue with Raspberry Pi are usually more appropriate at Raspberry Pi Stack Exchange. Programming language questions are usually more appropriate at Stack Overflow.
140
questions
0
votes
1answer
19 views
Can I disable read access to an SD card by removing the read wire?
I want an internet connected host to be able to write uploaded files to a directly-connected SD card, but I don't want it to be able to read the card. This is for protection in the event that the ...
3
votes
0answers
30 views
Monitoring temperature using AWS IoT
I've developed an Android app for my dad for monitoring temperature from a specific room.
He wants to be able to see the temperature even when he is not home.
I got working with Amazon IoT and it's ...
2
votes
0answers
52 views
MH-Z19B span point calibration: Anyone managed so far?
According to datasheet you can span point calibrate the MH-Z19B CO2 sensor. https://www.winsen-sensor.com/d/files/infrared-gas-sensor/mh-z19b-co2-ver1_0.pdf
E.g. with 0xFF 0x01 0x88 0x07 0xD0 0x00 ...
5
votes
1answer
54 views
Decoupling data fetching from processing and publishing
I am working on a project that involves raspberry pi and the accelerometer sensor ADXL355. The raspberry's responsibility is to fetch the data from the sensor, filter only useful data and publish it ...
5
votes
0answers
26 views
Alarm system built with raspberry + sonoff rf bridge
I am developing a personal project at the end of which I should be able to create a homemade alarm system.
All this should be protected against voltage drops/failures, the whole circuit will be inside ...
3
votes
0answers
40 views
ESP32 transmit data over BLE VS Wifi
I am working on a project where I have got an ESP32 device (Wifi & Bluetooth), which reads data from some sensors, such as temperature and soil moisture (outdoor environment).
The data is then ...
3
votes
1answer
1k views
Can Raspberry Pi be used instead of Google Nest as a hub to control my smart home via Google Assistant?
I am searching for a way to make my home "smart". I have raspberry pi 4 and pixel 2 phone. I thought that it would be cool to make my dumb devices "smart" and control them via ...
1
vote
2answers
54 views
I need to transform MQTT topic, is it possible?
I’m new with MQTT, I have a mosquitto MQTT broker on a Raspberry Pi.
I have some topics from a client in this format /topic/lighton can be true or false.
In other hand I can invoke some topics like /...
5
votes
1answer
56 views
Control Raspberry Pi depending on Wifi-Users
I am creating a "digital dashboard", consisting of a TV and a Raspberry Pi 3B+. The TV just shows calendar, time, weather, etc..
In the tutorial I am following for that, the creator uses a ...
6
votes
1answer
49 views
Cannnot send from arduino to raspberry pi via LoRa
I am trying to send messages from my arduino to my raspberry pi. But I don't understand why the pi isn't receiving the messages.
On the arduino side Im using an arduino UNO with a Dragino Lora/GPS ...
0
votes
1answer
37 views
Ethernet communication via Raspberry3
I recently used an IP-camera to monitor my garden. Now I want to expand with various sensors and a microphone module. Therefore I would use an Raspberry, the camera for the Pi and an USB microphone. ...
0
votes
0answers
27 views
Cannot set_mode() with Dragino/GPS HAT 1.4 and Raspberry PI 4
I am using the https://github.com/rpsreal/pySX127x library Raspberry Pi4 and a Dragino LoRa/GPS HAT for RPi v1.4. Running test_lora.py in the library, the unit test test_mode() fails with the error ...
1
vote
0answers
90 views
How to reconnect to MQTT server after CONNECTIONLOST?
I'm using a Raspberry Pi 3B+ with SIM7600X 4G HAT for communication with Python.
I want to connect to MQTT server to receive messages via writing MQTT commands directly to the serial port of the ...
0
votes
1answer
49 views
Python Paho MQTT doesn't work via LTE
I'm using Raspberry Pi 3 B+ with a SIM7600X 4G HAT for SMS and mobile internet connection.
I want to use Paho MQTT library (it works fine), but it only works via Ethernet or Wifi.
How can I use the ...
3
votes
0answers
65 views
High data usage on a raspberry IOT [closed]
I have notice a signification data usage on my pi even when I am not using it. this can be a problem as I am using a IOT sim card with a small cap.
I have setup iftop and monitored the traffic for a ...
0
votes
0answers
31 views
Trouble pairing Sengled E12-N1E to CC2531 custom hub
I've flashed my CC2531 according to the instructions here and loaded up zigbee2mqtt on a raspberry pi and spent some time trying to get my Sengled E12-N1E to pair up but I am having no luck getting it ...
1
vote
1answer
30 views
How to toggle a SonoffS31 flashed with Tasmota via OpenHAB and MQTT?
I have a SonoffS31 flashed with Tasmota. I have set up a Raspberry Pi running OpenHAB and an MQTT broker. In the paper UI of openHAB, I have created a Thing that represents the switch.
I have set the ...
1
vote
0answers
40 views
Is there any way to use scanner front panel to scan to linux?
I have a EPSON WF-3540 MFP. I want to use it to scan files directly to my NAS. As this device does not support scan to FTP or any other network share, I thought of using a lightweight linux device (e....
6
votes
1answer
55 views
Connect raspberry pi with 4G
I have a robot (use raspberry pi 3) outside my home (no internet connection there) and I'm with my laptop at home and I want to see the graphical environment (with all applications it has) of ...
2
votes
0answers
44 views
How to decouple the hardware components
Is it possible to make the connections between the Raspberry Pi , Motor Controller and Stepper Motor connected wirelessly?
As you can see above, I have 1 Pi (connects to the Motor Controller), 1 ...
0
votes
0answers
17 views
Mqtt node connected to multiple router
I have NodeMcu which I wanted to work as MQTT node, and I will have 50 nodes which will connect to routers(total 3) where these routers are connected to the main router through LAN.
For a broker, I ...
2
votes
1answer
59 views
Building bidirectional people counting sensor
I am trying to build a people tracking sensor for counting the traffic of a specific area (building or shopping street). I need to detect people coming in or out of a room, also if two people are ...
2
votes
0answers
32 views
Secure External Network Control of a MQTT Server on a Raspberry Pi
I'm trying to build a home automation system using MQTT. I'm using a Raspberry Pi as the broker. Everything works great as far as controlling it when connected to the same network. But I want to have ...
6
votes
2answers
103 views
Encrypting sensor data on Raspberry Pi?
I am sending sensor data between two Raspberry Pis via lora. I am using two Lora Radios and NOT using a LoraWan network like The Things Network. How should I encrypt my data? Are there any open source ...
2
votes
1answer
60 views
How to program my own smart home with raspberrypi 3? [closed]
Hello smart home enthousiasts,
I'm a software engineering student and I want to start a new project for myself. I really like smart home stuff, but I don't want anything to do with google or amazon.
...
4
votes
1answer
56 views
BLE Heart rate monitor slower without internet
I am working on a project that uses a raspberry pi and a BLE heart rate monitor. I am using the built in Bluetooth on a raspberry pi zero w 1.1, running the latest raspbian buster, using the bluez ...
2
votes
0answers
42 views
In what form should I store data in the cloud for a single device?
This question looks similar to What IoT services are available for storing/sending/publishing generic data in the cloud? though I haven't found a suitable answer yet.
I'm building a light/temp/...
2
votes
1answer
88 views
LoPy4 Gateway (LoRa RAW) connection to Raspberry Pi and AWS Cloud
I am attempting the following setup:
Sensor--> I2C--> Pycom LoPy4(Node)-->LoRa-RAW-->Pycom LoPy4(Nano Gateway)-->RPi-->AWS
I have established the LoRa RAW connection between the two LoPy4s, now I ...
1
vote
1answer
46 views
How to control an on/off switch with raspberry Pi 3(perhaps using Radio)
So I happen to know some python to turn lights on and off in rpi3. Also to automate my home I know how to use relay boards. But the problem is that I have one rpi3 and the light which I want to ...
1
vote
0answers
83 views
ESP8266 and MQTT not working with new router [closed]
Got a new router from the ISP and my ESP8266 NodeMCUs are causing problems, they need very long to connect to WiFi (3-4 mins), which wouldn't be that big of a problem, but they also don't connect to ...
2
votes
0answers
46 views
Google Home API Integration
I have a project that I want to start on that involves Google Home and a custom light system. I currently control some lights in my apartment VIA a website but I want to be able to control the lights ...
1
vote
1answer
158 views
Water meter reading using LORA
We need to get reading of meter using LORA.
Previously, we have used NodeMCU with Wifi module but it contains short range. We need long range which will be around 10 km to 20 km, So we must need to ...
2
votes
0answers
118 views
How to connect Raspberry PI 3 Model B to BLE Motion Sensor
I'm trying to connect my PIR motion sensor using gatttool and is giving me this error:
pi@raspberrypi:~ $ sudo gatttool -t random -b B8:7C6F:1A:D8:24 -I
[B8:7C6F:1A:D8:24][LE]> connect
Attempting ...
4
votes
1answer
53 views
remotely update a raspberry pi with limited data
What's the proper hence best way to push updates to a Raspberry-pi with a limited Mobile Data Cap (1mb/ day).
My first plan was to set up a Git repository and pull files from it once a week for ...
5
votes
1answer
399 views
How can I use Raspberry Pi to communicate with my Z-Wave gateway?
I am quite new to Z-Wave. I have a gateway, 2 z-wave sockets and 3 light switches. Everything comes from Keemple brand if that helps. However, using Keemple I cannot automate things the way I would ...
2
votes
1answer
126 views
Error occurred in installing ThingsBoard Raspberry Pi
I am installing ThingsBoard on Raspberry Pi by following this guide. It gave me an error when I tend run installation script in second last step:
Run installation script:
sudo /usr/share/thingsboard/...
3
votes
1answer
138 views
Installing drivers on Windows 10 IoT Core
First off, if this is the wrong Stackexchange site, please let me know so I can ask on the correct site.
I'm contemplating installing Windows 10 IoT Core on my Raspberry Pi model 3B+ (so ARM platform)...
2
votes
0answers
46 views
Re-link Google Home Account with Assistant Pi on Raspbian
I installed the Google Assistant on a Raspberry Pi 3+ and it works perfectly.
I see the Raspberry in my Google Home App and I can configure some features. However, by mistake, I have unlinked from ...
7
votes
2answers
96 views
Internet Connectivity at the sea
I am building a project which involves the application of geo-fencing at the international borders. An alert is received when the user is near the border. an email is sent to the coastal guards as ...
3
votes
0answers
82 views
What is the most safe and easy way to send a command to a remote Raspberry Pi? [closed]
I would like to send a command with some predetermined number of arguments to a Raspberry Pi and get the output back from it. I was thinking of using restricted ssh key but was wondering if that is ...
7
votes
4answers
2k views
Which IoT platform to visualize real-time and historical sensor data?
In order to prepare some tutorials for my students, I am working on a few DIY electronics projects in the field of IoT. I want to use ESP32, ESP8266, Arduino Uno, and Raspberry Pi. I am more deep on ...
1
vote
0answers
155 views
Transfer data from Python Script to the Cloud using Node Red [closed]
I am running a Python Script on a Raspberry Pi to get the data measured by a Smart Plug (voltage, current, energy, power). This data is being printed on the terminal of the Raspberry Pi, but what I ...
3
votes
1answer
3k views
Communicate with MQTT over LoRa
I have two Raspberry Pis with a LoRa module each (Microchip RN2483, connected over serial). How do I tell MQTT (in Python) to use the LoRa motes (/dev/ttyAMC0) instead of Ethernet or Wi-Fi?
2
votes
1answer
47 views
How to store non-volatile data (an ID) inside a passive physical object?
I'm starting a project that evolve some kind of multiple small physical IoT objects that can be plugged dynamically to a wood board and trigger some leds.
My question is so simple that I'm afraid of ...
6
votes
1answer
71 views
How to add resistor between two connections on breadboard [closed]
I am trying to replicate a circuit-diagram for my Raspberry Pi and DHT temperature & humidity sensor. I noticed that the author of the tutorial added a resistor between two connections (see orange ...
2
votes
1answer
94 views
How to implement out-of-home when developing an IOT device?
I have a Raspberry Pi that tells you through web sockets and a sensor the amount of electricity you are spending in real time.
I created an iPhone app as a front-end that basically just paints the ...
1
vote
0answers
449 views
Unable to configure nrf24l01+ with Raspberry Pi 3 B+
I have a new Raspberry Pi 3 B+ model. I also bought a few nrf24l01+ modules.
I hooked up one of the nrf24l01+ modules to my RPi with these connections:
RPi | nrf24l01+
-------|----------
3.3 ...
3
votes
2answers
123 views
How to send data collected by two different sensors simultaneously?
I have two different sensors connected to my Raspberry pi and I have to send the data to other device. The transmission of data is through wireless network. I have been asked to send the data in ...
4
votes
2answers
88 views
Building a special effects rig
I'm not sure if this is the best place to ask but I will give it a try. I build mechanisms that are used in commercials, tv shows, window displays, multimedia art etc. They generally involve ...
4
votes
2answers
575 views
Raspberry Pi emulate phone Bluetooth stack
I'd like to use my Raspberry Pi to emulate phone Bluetooth stack. I'd like to get it paired with car radio, simulate arriving/outgoing call, simulate SMS and the more alerts/notifications I can manage....