Search found 9 matches

by james_km69
Mon Aug 27, 2018 1:07 pm
Forum: General Discussion and Questions
Topic: Upload to ESP32 board
Replies: 4
Views: 2768

Re: Upload to ESP32 board

Thanks pythoncoder. I never worked with rshell but I heard many people do. I shall try that soon
by james_km69
Sat Aug 25, 2018 9:41 pm
Forum: General Discussion and Questions
Topic: Upload to ESP32 board
Replies: 4
Views: 2768

Re: Upload to ESP32 board

Thanks Roberthh. I will give it a shot and update the firmware
by james_km69
Sat Aug 25, 2018 5:11 pm
Forum: General Discussion and Questions
Topic: Upload to ESP32 board
Replies: 4
Views: 2768

Upload to ESP32 board

I am having a hard time uploading file to my ESP32 via Com port. It is more like hit or miss. for instance, I update my file (test.py) on PC and using shell command to connect to the port and upload: ampy --port COM4 --baud 115200 put test.py Upon submitting the file I have to hold down Boot bottom ...
by james_km69
Thu Aug 23, 2018 12:02 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 41507

Re: Connecting to AWS with MQTT

I racked my brain for a few days but finally got it to work. It turned out to be a missing parameters in ssl_params list: I added "server_side":False and removed Ca root (I am not sure why it does not need this variable) and it start publishing and subscribing to the AWS. Here is my code: CACERT_PAT...
by james_km69
Mon Aug 20, 2018 8:46 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 41507

Re: Connecting to AWS with MQTT

Well I guess no answer to this issue?
by james_km69
Sun Aug 19, 2018 5:01 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 41507

Re: Connecting to AWS with MQTT

Just an update, after print out the exception i get this: I (22290) network: CONNECTED I (22950) event: sta ip: 192.168.111.91, mask: 255.255.255.0, gw: 192.168.111.1 I (22950) network: GOT_IP Could not establish MQTT connection list index out of range Could not establish MQTT connection extra keywo...
by james_km69
Sun Aug 19, 2018 4:33 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 41507

Connecting to AWS with MQTT

Hi, I have been struggling with this for last 2 days. I have a ESP32 with micro python ruining. I created AWS account and set all the cert and polices. I tested the certificate through MQTT.FX (works for for both subscribe and publish) Now I am trying to connect my ESP32 to AWS but no luck. I have t...
by james_km69
Fri Aug 17, 2018 11:58 am
Forum: General Discussion and Questions
Topic: MIcropython as MQTT broker
Replies: 14
Views: 11130

Re: MIcropython as MQTT broker

Thanks pythoncoder for the reply. I was just wondering. My goal was to eliminate at least one hardware from the system
by james_km69
Wed Aug 15, 2018 8:43 pm
Forum: General Discussion and Questions
Topic: MIcropython as MQTT broker
Replies: 14
Views: 11130

MIcropython as MQTT broker

Hi, I am new to MQTT. I have it working with my ESP32 broad with my windows (or Rasb) as Mqtt broker.
wondering if it is possible to have the same ESP32 micro controller to be a mqtt broker (running Micro Python on it)
If so, any direction on how to do this?

Thanks,
James