Search found 1079 matches: mqtt
Searched query: mqtt
... Also I have a Payton script that ran on the the raspberry pi 3.which will display the temperature on an OLED.This the code import paho.mqtt.client as mqtt import Adafruit_SSD1306 from PIL import Image, ImageDraw, ImageFont disp = Adafruit_SSD1306.SSD1306_128_32(rst=0) disp.begin() FONT_PATH ...
... communicate wirelessly with the pi being used as a broker. i need some help with a code that will make ESP32 connect automatically with the MQTT. this is the code i am currently using. from time import sleep from umqtt.simple import MQTTClient from machine import Pin from dht import DHT22 ...
- Tue Feb 11, 2020 9:28 am
- Forum: Programs, Libraries and Tools
- Topic: Asyncio design method
- Replies: 7
- Views: 214
@kevinkk525, I normally build/use micropython on esp8266 and esp32 only and I currently head up for learning on asyncio and mqtt modules to implement on mostly concern with home automation which prefer smallest configuration per ESP's chip. I've got 2x esp8266 8MB FLASH, esp32 WROOM-32 ...
- Tue Feb 11, 2020 7:27 am
- Forum: ESP8266 boards
- Topic: [OLD uasyncio] Problem with StreamWriter.awrite(). Very strange...
- Replies: 4
- Views: 134
... server, how can you establish when it has been received? I think the answer depends on the protocol. If the website supports a protocol such as MQTT then you can expect an acknowledge packet and can time out if it is not received. Alas I don't know the answer for HTTP/HTTPS. Anyone?
- Mon Feb 03, 2020 4:08 pm
- Forum: ESP32 boards
- Topic: Enabling Ethernet and BLE both on micropython version 1.12 for ESP32
- Replies: 16
- Views: 1109
... soil moisture sensor was particularly interesting because we are planning to send the data from sensors like that to Node-RED running on a Pi via MQTT (and cloud platforms like Blynk). It has been done using the Arduino IDE, but not with Micropython yet, AFAIK. Cheers, AB