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.

Filter by
Sorted by
Tagged with
-3
votes
0answers
435 views

Setting multiple Channel with GPIO. (Raspberry Pi)

Choose correct option(One option) Q1) Which of the following command is used for setting up more than one channel with GPIO on a raspberry pi? a) GPIO.setup_list(channel, GPIO.OUT) b) GPIO.setup(...
4
votes
1answer
51 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 ...
2
votes
0answers
31 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 ...
0
votes
1answer
22 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 ...
3
votes
1answer
281 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
40 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 /...
6
votes
1answer
42 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
36 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. ...
10
votes
3answers
1k views

802.11 action frames send and receive in software

Is it possible to gain access to 802.11 action frames TX/RX from software? There's a proprietary protocol based on vendor-specific action frames called ESP-NOW for ESP8266 and ESP32 chips, and I'd ...
0
votes
0answers
20 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
68 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 ...
3
votes
1answer
125 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)...
0
votes
1answer
41 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
62 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 ...
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 ...
0
votes
0answers
23 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 ...
4
votes
1answer
55 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 ...
1
vote
0answers
34 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
7answers
595 views

How to detect desk occupancy in office

I'm working on a POC to try and find desk occupancy in an office. The aim is to identify which desk is occupied and how many are free and where are the free ones. Also I would like to identify who is ...
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 ...
4
votes
2answers
332 views

Sensor using X10 power line protocol connection to Raspberry Pi

I'm on connecting my Raspberry Pi 3B board with X10 EagleEye Motion Sensor using X-10 CM11A ActiveHome Serial interface. Can anybody share a library(C/C++, Java, Python) or open source tool used to ...
2
votes
1answer
56 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 ...
6
votes
2answers
93 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
0answers
31 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 ...
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. ...
2
votes
1answer
91 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 ...
5
votes
2answers
196 views

SBC similar to Banana/Raspberry Pi with USB comms

I’m looking forward to develop a handheld device that could communicate with PCs over WiFi network, Bluetooth and USB. I have looked at the forums about Rpi, and they say it does not support Usb ...
5
votes
1answer
351 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
0answers
39 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
73 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
42 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
73 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 ...
6
votes
2answers
1k views

SSH to Raspberry with Windows 10 IoT

I set up a Raspberry Pi 3b with Windows 10 IoT to try it out. In the past I had Linux running and I would just ssh connect to it. However when trying to ssh from powershell to the Windows 10 IoT it ...
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
149 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 ...
1
vote
0answers
106 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 ...
11
votes
3answers
5k views

How to connect “io-homecontrol” skylights to a Raspberry Pi?

Scenario I want to control my remote controllable skylights with my Raspberry Pi. The windows were installed a few years back and come already with the remote capable io-homecontrol technology, which ...
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 ...
2
votes
1answer
118 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/...
2
votes
0answers
80 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 ...
5
votes
1answer
70 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 ...
6
votes
2answers
95 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 ...
2
votes
0answers
45 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 ...
1
vote
0answers
147 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 ...
2
votes
1answer
2k 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
45 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 ...
2
votes
2answers
203 views

IoT and middleware

We are building a solution as described below: Arduino-based sensors read data and send it to Raspberry every second. Raspberry Pi processes these data and then communicates with a backend system ...
1
vote
0answers
424 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 ...