Search found 1079 matches: mqtt

Searched query: mqtt

by Ivanhosa13
Sun Feb 16, 2020 10:46 pm
Forum: ESP32 boards
Topic: ESP32 and MQTT
Replies: 2
Views: 63

Re: ESP32 and 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 ...
by kevinkk525
Sun Feb 16, 2020 8:25 am
Forum: ESP32 boards
Topic: ESP32 and MQTT
Replies: 2
Views: 63

Re: ESP32 and MQTT

Your code doesn't even connect to wlan?
by Ivanhosa13
Sat Feb 15, 2020 10:57 pm
Forum: ESP32 boards
Topic: ESP32 and MQTT
Replies: 2
Views: 63

ESP32 and MQTT

... 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 ...
by johnv
Thu Feb 13, 2020 7:22 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 35
Views: 1909

Re: plant watering

... #wait ... seconds pump.off() #pin 4 (0)low sleep(10) #wait 10 seconds hi i'm still struggeling, to grasp how i'm supposed to put the data in to mqtt do i use the " print(moisture_value)" into the publish topic?
by kevinkk525
Tue Feb 11, 2020 11:07 am
Forum: Programs, Libraries and Tools
Topic: Asyncio design method
Replies: 7
Views: 214

Re: Asyncio design method

1. I don't know any mqtt server for micropython. Best to use a Pi Zero
2. The official uasyncio should be in your firmware already.
3. You can put any module into that directory to save RAM.
by wr300000
Tue Feb 11, 2020 9:28 am
Forum: Programs, Libraries and Tools
Topic: Asyncio design method
Replies: 7
Views: 214

Re: Asyncio design method

@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 ...
by pythoncoder
Tue Feb 11, 2020 7:27 am
Forum: ESP8266 boards
Topic: [OLD uasyncio] Problem with StreamWriter.awrite(). Very strange...
Replies: 4
Views: 134

Web programming

... 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?
by iotman
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

Re: Enabling Ethernet and BLE both on micropython version 1.12 for ESP32

... 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
by kevinkk525
Fri Jan 31, 2020 8:24 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 21
Views: 5139

Re: Connecting to AWS with MQTT

Might want to try that to be sure the AWS IOT works as expected and doesn't need weird workarounds
by sspaman
Fri Jan 31, 2020 8:22 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 21
Views: 5139

Re: Connecting to AWS with MQTT

Hi Kevin,

No I have not.