Questions tagged [python]
Python is a widely used interpreted, high-level, general-purpose programming language with many excellent libraries to extend its core functionality.
22 questions
1
vote
0
answers
34
views
Is it possible to have more than one client connecting to python BLE server at once?
I've been testing the bless-library for BLE. This is the server code I've copied:
import sys
import logging
import asyncio
import threading
from typing import Any, Union
...
0
votes
0
answers
49
views
How do I play an MP3 file from Polaris NB IoT board to MP3Click with VS1053 decoding chip?
I have a Polaris NB IoT board on which I have an SD card that contains an MP3 file. I am trying to play said file on an MP3Click using SPI communication. I am using Python to code my board. I am able ...
2
votes
1
answer
87
views
Circuit python express loads boot mode but doesn't flash .uf2
I'm having some trouble flashing CircuitPython to my Circuit Python Express. I successfully enter boot mode (LEDs are all green and red D13 light slowly blinking) but I can't flash anything. When I ...
0
votes
1
answer
393
views
How to initiate connection to a GPRS enabled tracking device
I am trying to work with a few GPS-enabled tracking devices one of them being a TK-303 GPS tracker that uses SIM-powered GPRS to access the internet. currently, I can receive messages on my python TCP ...
2
votes
1
answer
32
views
How to setup a one-writer, one-reader system between a python script updating data from my home computer and an RPI reading the data?
This is my first project involving IOT, or even very much internet protocol for that matter.
THE SHORT:
I have a few programs on my home computer that search for live stock price data continuously. I ...
0
votes
0
answers
1k
views
Circuit Playground Express not showing CIRCUITPY drive
I got a Circuit Playground Express to serve as an anti-slumper device. Several mini-USB cables were power-only, and I tested them with the Arduino IDE and C code until one worked.
I reset the board to ...
2
votes
2
answers
316
views
Python Paho MQTT 2.5 KB messages not sending for days, while 0.1 KB messages send fine
I've got powerful dual-core IoT gateways in the field with high-speed cellular modems and good internet connections, but they fail to send 2.5 KB MQTT messages to my AWS IoT message broker. My program ...
1
vote
0
answers
1k
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
1
answer
4k
views
Unable to publish MQTT server in an infinite while loop in Python script
I'm curious to know what the performance of an MQTT server is like. So I created this Python script:
import time
import paho.mqtt.client as mqtt
from multiprocessing import Pool
def on_connect(client,...
1
vote
0
answers
338
views
Receiving Data from MacBAT 5 in python
I need to be able to communicate with a PLUM-EVC, MacBat 5 from a remote server using Python. I have been given parameters, IP and Port which are required to get the data from EVC.
I am completely ...
0
votes
1
answer
432
views
Can I retrieve a Python program from an ESP32?
As per the title. If I have an ESP32 with some Python loaded, and have lost the source, can I retrieve it from the ESP32?