Search found 16 matches
- Sat Apr 18, 2020 8:41 pm
- Forum: ESP32 boards
- Topic: Issue with wifimgr.py
- Replies: 10
- Views: 6310
Re: Issue with wifimgr.py
Hi ebolisa, It is clear I am now over my head and probably need training in network protocol. In any event here is the request response: (no idea what it means) b'POST /configure HTTP/1.1\r\nHost: 192.168.4.1\r\nOrigin: http://192.168.4.1\r\nContent-Type: application/x-www-form-urlencoded\r\nAccept-...
- Sat Apr 18, 2020 2:44 pm
- Forum: ESP32 boards
- Topic: Issue with wifimgr.py
- Replies: 10
- Views: 6310
Re: Issue with wifimgr.py
Hi, Thanks for the reply. I didn't think your post was precisely related since I didn't have any special characters in my password. I'll give it a try. So you are referring to these lines of code: try: ssid = match.group(1).decode("utf-8").replace("%3F", "?").replace("%21", "!") password = match.gro...
- Sun Apr 12, 2020 8:06 pm
- Forum: ESP32 boards
- Topic: Issue with wifimgr.py
- Replies: 10
- Views: 6310
Re: Issue with wifimgr.py
Hi ebolisa, jimmo Jimmo to answer your question wifimgr.py is a wifi manager for esp8266 and esp32 that was developed by Tayfunulu and can be seen here: https://github.com/tayfunulu/WiFiManager It's is a useful piece of code and is really convenient for connecting to wifi without having to hard code...
- Fri Apr 10, 2020 3:39 pm
- Forum: General Discussion and Questions
- Topic: Connecting to AWS with MQTT
- Replies: 39
- Views: 41502
Re: Connecting to AWS with MQTT
The error looks like it is related to AWS security. Check that your thing is activated on your IoT dashboard and the certs and keys are correct. The code looks like it should work.
- Fri Jan 31, 2020 8:22 pm
- Forum: General Discussion and Questions
- Topic: Connecting to AWS with MQTT
- Replies: 39
- Views: 41502
- Fri Jan 31, 2020 1:37 pm
- Forum: General Discussion and Questions
- Topic: Connecting to AWS with MQTT
- Replies: 39
- Views: 41502
Re: Connecting to AWS with MQTT
Hi, As pointed out above this is "working" code only in the sense that the published message is received and shown in the AWS IoT dashboard console. And this is the case only after the mqtt_client.disconnect() is sent. I think this might be a problem on the AWS IoT side. Maybe with the permissions? ...
- Thu Jan 30, 2020 10:58 pm
- Forum: General Discussion and Questions
- Topic: Connecting to AWS with MQTT
- Replies: 39
- Views: 41502
Re: Connecting to AWS with MQTT
Well, that is a good point and one that I have considered. I'm still working on it.
- Thu Jan 30, 2020 8:52 pm
- Forum: General Discussion and Questions
- Topic: Connecting to AWS with MQTT
- Replies: 39
- Views: 41502
Re: Connecting to AWS with MQTT
A couple hard days on the ide and I solved my problem. Turns out AWS IoT wouldn't post my published topic until I issued client.disconnect(). Strange since none of the code examples I found ever issued the disconnect routine. Anyway, it works.
I have working code if anyone is interested.
I have working code if anyone is interested.
- Thu Jan 30, 2020 1:07 am
- Forum: General Discussion and Questions
- Topic: Connecting to AWS with MQTT
- Replies: 39
- Views: 41502
Re: Connecting to AWS with MQTT
Has anyone used this code recently? I can make the connection but cannot publish. Has there been changes to the AWS IoT requirements?
- Sat Sep 28, 2019 3:07 pm
- Forum: ESP8266 boards
- Topic: Analog Pins
- Replies: 16
- Views: 13344
Re: Analog Pins
I have it running now. I am running it in series with the MCP3008 library from Crizeo. Crozio's code is spot on and works great. However, the hardware SPI code you posted seems to work but the first byte returned from read[0] never changes despite the voltage on the pin. So there is some small probl...