Search found 1947 matches: mqtt

Searched query: mqtt

by jcf
Mon Jan 16, 2023 4:52 pm
Forum: Drivers for External Components
Topic: Driver for ENC28J60 Ethernet chip
Replies: 7
Views: 82412

Re: Driver for ENC28J60 Ethernet chip

... it is not possible / not easy) to make the Pico work like a PicoW, with the difference that it would be connected by cable. Not to speek of doing MQTT ... What would be needed is what is in the network and socket modules of the PicoW I suppose? And they don't exist for the Pico.
by Rissy
Tue Nov 22, 2022 6:11 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

... as normal when i got home from work, I wanted to check out my errorlog.txt file to see what's been ocurring. This is what I found: IP is bad for MQTT connection! Rebooting...command SHT Error: CRC error SHT30 resetcommand SHT Error: CRC error SHT30 resetcommand SHT Error: CRC error SHT30 resetcommand ...
by Rissy
Mon Nov 21, 2022 6:19 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

... as I'd thought. I now have a string of errors in my errorlog.txt file i'd like to share with you all. Errorlog.txt file contents since last post: MQTT Error: [Errno 113] EHOSTUNREACH MQTT Error: [Errno 113] EHOSTUNREACH MQTT Error: [Errno 107] ENOTCONN SHT Error: Bus error SHT Error: Bus error ...
by beetle
Wed Nov 16, 2022 3:44 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

... time so I'm sure you can get it MUCH more complicate if you wish ;) But, I would not be writing the errorlog file to the rpi-pico. You are sending mqtt messages from the rpi-pico to and rpi so the best way IMHO is to send the error message as an mqtt message to the rpi and deal with logging any ...
by Rissy
Wed Nov 16, 2022 9:05 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

It tries multiple times to connect to the MQTT broker. Rissy, just another throwaway remark, once the rpi picoW has a wifi connection established, depending I suppose on using a good micropython mqtt client library, there should not be any reason ...
by Rissy
Wed Nov 16, 2022 9:03 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

... all. My rpi-pico set up also has one of those dallas onewire waterproof sensors poked outside to get an outside temperature reading. It sends an mqtt messages every 20 minutes via my rpi based mqtt broker that is then displayed by a python program that receives the mqtt messages and displays ...
by beetle
Tue Nov 15, 2022 5:03 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

It tries multiple times to connect to the MQTT broker. Rissy, just another throwaway remark, once the rpi picoW has a wifi connection established, depending I suppose on using a good micropython mqtt client library, there should not be any reason ...
by beetle
Tue Nov 15, 2022 4:51 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

... all. My rpi-pico set up also has one of those dallas onewire waterproof sensors poked outside to get an outside temperature reading. It sends an mqtt messages every 20 minutes via my rpi based mqtt broker that is then displayed by a python program that receives the mqtt messages and displays ...
by Rissy
Tue Nov 15, 2022 1:23 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

... got the code for my Pico W pretty resilient now I think. It tries multiples times to connect to my wifi. It tries multiple times to connect to the MQTT broker. It tries multiple times to successfully read from the SHT30 sensor. etc. Upon the occurrence of any of these persisting to not work, then ...
by Rissy
Tue Nov 08, 2022 7:05 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico W Micro Python for SHT30 Temp/Humidity HELP!
Replies: 74
Views: 3221333

Re: Pico W Micro Python for SHT30 Temp/Humidity HELP!

... import PASSWORD from secrets import IP from secrets import IP_mask from secrets import IP_gateway from secrets import IP_DNS from secrets import MQTTSERVE from umqtt.simple import MQTTClient import time import network import ubinascii import socket from machine import I2C, Pin, #WDT import sht30 ...