Search found 52 matches

by iotman
Fri Sep 27, 2019 5:40 pm
Forum: ESP32 boards
Topic: bluetooth on esp32
Replies: 19
Views: 17330

Re: bluetooth on esp32

Hi, we are working on a BLE project and we're wondering when we will be able to write code for BLE on ESP32 boards.

Is there some way of being notified when it is ready? Will it be a separate library, or will it be built into the main download?

Tks, AB
by iotman
Thu Sep 26, 2019 3:56 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi Peter, thanks for those tips; it is appreciated. I am new to rshell and bash scripting, so I can see I have a lot to learn. I'm particularly interested in the macro capability since our primary goal has been to automate the preparation of the ESP32 MCU boards. Also, the first point about ignoring...
by iotman
Wed Sep 25, 2019 7:02 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi Dave, thanks for the tip, that worked perfectly. Using rshell and an ESP32, here is the BASH script that erases the flash memory, installs MicroPython, then uploads all the files and sub-folders for our zwave blind and shade controller. Hopefully it will help someone else along the way ... #!/bin...
by iotman
Tue Sep 24, 2019 4:45 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi @dhylands, I think you might be right because it does not seem to be consistent. Although these boards are all identical, some have a slightly different chipset (voltage regulator and battery charge controller, I think). Some of them do, and some don't reboot, so I will see if I can run a MicroPy...
by iotman
Tue Sep 24, 2019 3:27 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi @dhylands, thanks so much for creating your great rshell system! Actually, I just discovered that my ESP32 actually does an automatic reboot, or at least it runs the code files that have just been uploaded. Am I understanding that it somehow does an automatic reboot when rshell is finished (or ma...
by iotman
Tue Sep 24, 2019 3:02 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi, so a big THANK YOU goes out to all that helped. I'm now realizing that rshell is indeed a powerful utility that will be a big help with our esp32 MicroPython projects going forward. Yes, we use Linux here (Ubuntu 16.04) on all our machines. We have a few Windows machines too, but we hardly ever ...
by iotman
Mon Sep 23, 2019 9:07 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi, ok, thank you, that helps me to understand where the optional commands need to go. It also seems like a slash in the wrong place can cause problems too. Up to this point I have been opening a terminal screen in a special folder for scripts, but ultimately I want to be able to plug an ESP32 into ...
by iotman
Mon Sep 23, 2019 7:48 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi, so here I am trying to copy a folder (lib) with all its files and sub-directories to the root folder on an ESP32 with rshell; does anyone know what it should be? This does not work, and I have re-read the instructions and tried many combinations ... rshell -m /dev/ttyUSB0 "rsync /lib /pyboard/li...
by iotman
Mon Sep 23, 2019 7:19 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi, well, I actually did read all the documentation, but I did not realize that rsync might be the command that would do what I need. So it seems to suggest that rshell can be used to upload all files and folders to an ESP32 with a single command. But call me dense, I still can't figure out what the...
by iotman
Mon Sep 23, 2019 5:15 pm
Forum: ESP32 boards
Topic: Using BASH script to upload files
Replies: 27
Views: 13419

Re: Using BASH script to upload files

Hi, so I have been studying the rshell program that @dhylands created, and it seems very capable, with the ability to do everything I need to do. Just to recap, I am trying to flash an ESP32 with Micropython (from a BASH script), then upload a file set to it that includes sub-directories with files ...