Search found 2 matches

by pythonpete
Thu Aug 04, 2022 11:37 pm
Forum: ESP8266 boards
Topic: 8266 to send MQTT data
Replies: 3
Views: 27161

Re: 8266 to send MQTT data

Thanks for the info! Am I correct in thinking that I would be better off to have the 8266 publish the data at regular timed intervolves? Have it publish every 30 minutes or something? I did some searching online and I looks like the command I would I want to use would be the def publish(): is that c...
by pythonpete
Thu Aug 04, 2022 12:25 am
Forum: ESP8266 boards
Topic: 8266 to send MQTT data
Replies: 3
Views: 27161

8266 to send MQTT data

I am very new to python and a bit stumped on how to do something. I am trying to setup a 8266 ESP-12 to send sensor data from an analog moisture sensor to a MQTT server. At this point I have been able to get the 8266 online and can display the sensor reading in the console but I don’t know how to ge...