Search found 513 matches
- 07 Jan 2018, 17:45
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
To avoid the errno 2 message, I created a main.py file, containing: import upyeasy upyeasy.main() Is this the way to go? Yes, more in-depth explanation about the boot sequence here: http://docs.micropython.org/en/v1.9.3/esp8266/esp8266/tutorial/filesystem.html (ESP32 is mostly the same as the ESP82...
- 07 Jan 2018, 13:57
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Hi Lisa, Thanks to your new Post 1, I got much farther, but there are still issues: First I did an erase flash, then D:\Tools\uPython>esptool.py --port COM5 write_flash --compress 0x1000 D:\Tools\uPython\upyeasy-esp32\upyeasy_v53.bin When I try to enable WIFI, I get: >>> upyeasy.setwifi(xxxxx','yyy...
- 07 Jan 2018, 13:55
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
this is weird ... an hour or so later, I restarted the Putty terminal into the ESP32 and tried upyeasy.setwifi again. it was not found, so I imported it again. upyeasy.setwifi('xxxx','yyyyyyy') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "upyeasy/__ini...
- 07 Jan 2018, 13:39
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Firmware status: Alpha Firmware version: v53 Firmware installation instructions Download esptool: https://github.com/espressif/esptool When doing a FRESH install, ERASE your ESP32 FILES area: LINUX: esptool.py --port /dev/ttyUSBx erase_flash WINDOWS: esptool.py --port COMx erase_flash The FLASHBINA...
- 07 Jan 2018, 01:52
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Hi Lisa, I tried adding a BME280 device, but getting this error KeyError('valueN2',) Traceback (most recent call last): File "picoweb/__init__.py", line 186, in _handle File "upyeasy/pages.py", line 656, in devicespage KeyError: valueN2 and the webpage for Devices is not working...
- 07 Jan 2018, 01:24
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Done!AndrewJ wrote: ↑06 Jan 2018, 21:28 As an afterthought, is there a way to include the date and time in the filename, rather than just "firmware?", or a version number and sub-version?? I think it might make it easier to track the various changes and to be clearer about exactly which version we are referring to.
- 07 Jan 2018, 01:23
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
- 07 Jan 2018, 01:02
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
- 06 Jan 2018, 23:25
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
I downloaded the file from the first post and flashed it again. But it comes the same mistake. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "upyeasy / __ init__.py", line 56, in main File "picoweb / __ init__.py", line 275, in run File &q...
- 06 Jan 2018, 20:40
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy
- Replies: 132
- Views: 252053
Re: uPyEasy
hey guys, many thanks for your great efforts bringing espeasy to the next Level!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! As I am not a pro on all that stuff I would appreciate having a FlashESPxxx tool as with ESP Mega in order to install upyeasy... Maybe you did already and I am just too dumb to have it see...
- 06 Jan 2018, 20:00
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
I managed to get something running on a ESP32 board with OLED. If you want to play with the OLED, SSD1306 support is builtin, here's some code to do that: # Oled ESP32 import machine pin16 = machine.Pin(16, machine.Pin.OUT) pin16.value(1) import machine, ssd1306 i2c = machine.I2C(scl=machine.Pin(15...
- 06 Jan 2018, 19:55
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 130881
Re: STM32 boards
Just curious about the BME280. Did you program this functionality yourself (inspired by the ESPeasy source), or was "import" the only thing you had to do to use it? Is the recorded temperature in free air above what you would expect, compared to other thermometers in the same room? I foun...
- 06 Jan 2018, 19:47
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Just checked the espressif site to see if they have anything new and saw this http://espressif.com/en/media_overview/news/esp32-design-contest-2018 Looks like a new dev board and esp32 chip I have not seen yet. Of course the oppertunity to get a dev board free is a nice option. I have not read the ...
- 06 Jan 2018, 19:37
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
- 06 Jan 2018, 19:13
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "upyeasy / __ init__.py", line 56, in main File "picoweb / __ init__.py", line 275, in run File "uasyncio / core.py", line 138, in run_forever File "uasyncio / core.py", lin...
- 06 Jan 2018, 17:56
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Board: LOLIN32 LITE (the same one that was working with the last iteration of v52 once I changed the port number.) Erased before flash. edit: As a check, I just tried going back to the previous version, it is working again, with the port number changed to 9000. So the problem appears to be somethin...
- 05 Jan 2018, 22:27
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Version: v53
Fixed:
- Time on ESP32
- Switch plugin
Added:
- I2C
- BME280 sensor
Database changes:
- None
Fixed:
- Time on ESP32
- Switch plugin
Added:
- I2C
- BME280 sensor
Database changes:
- None
- 05 Jan 2018, 22:12
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 130881
Re: STM32 boards
Version: v53
Fixed:
- Time on ESP32
Added:
- I2C
- BME280 sensor
Database changes:
- None
Fixed:
- Time on ESP32
Added:
- I2C
- BME280 sensor
Database changes:
- None
- 03 Jan 2018, 23:45
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Hi Lisa, I tried port 8080, but it didn't work for me, it went back to OSError 128. So I have settled on 9000, I put it in via the web interface in the short time before the error. Now running stable on my Wemos LOLIN32 LITE as I mentioned. Today I tried the DOIT Devkit v1. I had a lot of trouble a...
- 02 Jan 2018, 23:02
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Identical error at this point in the test script: sock, addr = s.accept() So it's not upyeasy that is causing it... Searching for a solution... You have the source code, experiment? I'm waiting for my Lolin32 Pro to reproduce. Hi Lisa, OK, tried a few things and made some progress. :) Short version...
- 31 Dec 2017, 02:22
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
>>> import upyeasy_wifi_test Starting uPyEasy Webserver test... I (32758) network: event 1 SSID: TALKTALK65AFF2 Channel: 11 Strength: -28 Security type: 0 Trying to connect to AP: TALKTALK65AFF2 Bind address info: [(2, 1, 0, '192.168.1.9', ('192.168.1.9', 80))] Listening, connect your browser to ht...
- 30 Dec 2017, 21:42
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Andrew, the nomem error is due to lack of memory. Just reboot and press ctrl-c somewhere at the NTP debug messages. Then try test program. Hi Lisa, Thanks for that. I just want to be sure I understand step-by-step what you are suggesting. Is it this ?... 1. From freshly flashed condition, restart t...
- 30 Dec 2017, 19:16
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Andrew, the nomem error is due to lack of memory. Just reboot and press ctrl-c somewhere at the NTP debug messages. Then try test program.
- 30 Dec 2017, 14:56
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
After installing Python I keep getting this error: import serial ImportError: No module named serial Did some research... Installed pyserial..... Same message Have tried to reinstall pyserial several times and keep getting the message that it's already installed. Also rebooted with no change. I am ...
- 29 Dec 2017, 22:20
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
I hate to be "that guy" :roll: but would you happen to have a windows flashing howto laying around anywhere? I'm not having much luck here.... :mrgreen: Windows? The esp-tool is the same, since it's python... ;) Install python on your windows pc, replace '/dev/ttyUSBx' with comX and you'r...
- 29 Dec 2017, 22:16
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
New firmware in post #1, includes upyeasy_wifi_test (wifi server test) and upyeasy_wifi_test2 (wifi client test). Both are using actual ip addresses.
Go ahead and try it out, sources are also attached.
Go ahead and try it out, sources are also attached.
- 29 Dec 2017, 16:38
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
I then did import upyeasy_wifi_test I got this... >>> import upyeasy_wifi_test Starting uPyEasy Webserver test... I (57239) network: event 1 SSID: TALKTALK65AFF2 Channel: 11 Strength: -28 Security type: 0 Trying to connect to AP: TALKTALK65AFF2 Bind address info: [(2, 1, 0, '0.0.0.0', ('0.0.0.0', 8...
- 29 Dec 2017, 16:35
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Hi Andrew, I've upgraded the wstest program to upyeasy_wifi_test program, it's source code is attached. Also the firmware in post 1 is upgraded. Can you flash that version and after the error run: import upyeasy_wifi_test Cheers, Lisa Working: The 12/29 version boots fine. It connects to WiFi. NTP ...
- 29 Dec 2017, 14:36
- Forum: uPyEasy: Software
- Topic: Plugins
- Replies: 4
- Views: 15478
Re: Plugins
That sounds like a really nice high level way of programming :) A lot of reading to do. The CAN bus is supported to: https://en.wikipedia.org/wiki/CAN_bus As well as the I2S bus: https://en.wikipedia.org/wiki/I%C2%B2S Together with I2C, SPI, UART are there plenty of (hardware based) communication p...
- 29 Dec 2017, 14:22
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Hi Andrew,
I've upgraded the wstest program to upyeasy_wifi_test program, it's source code is attached. Also the firmware in post 1 is upgraded. Can you flash that version and after the error run: import upyeasy_wifi_test
Cheers,
Lisa
I've upgraded the wstest program to upyeasy_wifi_test program, it's source code is attached. Also the firmware in post 1 is upgraded. Can you flash that version and after the error run: import upyeasy_wifi_test
Cheers,
Lisa
- 29 Dec 2017, 01:29
- Forum: uPyEasy: Software
- Topic: Plugins
- Replies: 4
- Views: 15478
Re: Plugins
NMEA GPS is not that hard to add, since it is just parsing strings up to 80 bytes. But indeed, a simple import is a lot less work to do and maybe even less time debugging :) Glad to see things are getting easier. How well is micropython capable of doing bit-banging with is somewhat time sensitive? ...
- 29 Dec 2017, 00:50
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
I hope this gives you something to go on. If you'd like me to try something else, let me know. The only difference from your setup compared to other is the Wifi AP, which one (hw) are you using? Are you using WPA2 or Open? Is the webbrowser client in the same network? The accept gives the error, me...
- 29 Dec 2017, 00:37
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Also, I tried testing the switch plugin with no success (still running the 2MB firmware). I tried GPIO12 and GPIO4 and they're never read. Nothing is output in the logs after I pull them to GND. I made sure I changed the delay to 10 seconds. I also tried setting them up as inputs on the Hardware ta...
- 29 Dec 2017, 00:35
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
No. 4MB firmware is not working. I was getting bootloops like in post #4. For MQTT I'm using the Domoticz MQTT plugin. I don't really have a Domoticz server--I have a standard mosquitto MQTT server with a username and password. I saw the Domoticz MQTT plugin work before with ESP8266 so I figured I'...
- 28 Dec 2017, 22:49
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
This is great! I'm able to run your special 2MB firmware on a doit.am v1 devkit ($7 on aliexpress). So far, it's very encouraging. Please keep it up and let me know if I can help in any way. BTW, is MQTT supposed to work? I tried pointing it at my MQTT server but there is no activity. Is the normal...
- 28 Dec 2017, 17:22
- Forum: uPyEasy: Software
- Topic: Plugins
- Replies: 4
- Views: 15478
Plugins
For micropython, there is already a very long list of supported sensors/actors which can be very easily modified to work with uPyEasy. This list is longer then that for ESPEasy! And the number of supported sensors/actors is growing a lot faster. A number of micropython sensors/actors can be found he...
- 27 Dec 2017, 23:20
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Hi Andrew, The last line is the ESP32 wifi reporting, it's doing that from time to time. I don't know what OSError 128 is, i've asked the same question to the dev team: https://github.com/micropython/micropython/issues/3513 No answer yet... Let's do a long shot, i have disabled the settime function ...
- 26 Dec 2017, 00:11
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Hi Andrew, I suspect it is this issue: https://github.com/micropython/micropython-esp32/issues/49 Since you're already using DIO, i've attached a special 2MB version of uPyEasy. Give that one a try. The Wemos LOLIN32 LITE has a maximum baudrate of 256000, you might want to try that to: esptool.py --...
- 24 Dec 2017, 19:35
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
Re: ESP32 boards
Hi Andrew,
I've updated all libraries and rebuild it, can you download the image from here and try again? If it still has the same error, can you set a different port using this: upyeasy.setwifi('<your ssid>', '<your ssid password>','', '',8000)
And then reboot to see if that's better.
I've updated all libraries and rebuild it, can you download the image from here and try again? If it still has the same error, can you set a different port using this: upyeasy.setwifi('<your ssid>', '<your ssid password>','', '',8000)
And then reboot to see if that's better.
- 24 Dec 2017, 14:15
- Forum: uPyEasy: Software
- Topic: Requirements
- Replies: 0
- Views: 9253
Requirements
Completed: Written in micropython Multiple platforms Async webserver Template based webpages Lan/WLan transparancy Minimalistic HAL Maximum reuse of micropython libraries Support of ANY library that is supported in micropython Use of FileDB to store config and other values Javascript support CSS st...
- 24 Dec 2017, 14:08
- Forum: uPyEasy: Software
- Topic: Functionality status
- Replies: 1
- Views: 11130
Functionality status
WORKING functionality: Main page: System info Config page: Unit name Unit number Webserver port Admin Password Controllers page: Everything Hardware page: I2C SPI UART Devices page: Everything Scripts page: Everything Rules page: Everything Notifications page: Tools page: System Wifi Scan i2C Scan ...
- 23 Dec 2017, 15:33
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy
- Replies: 132
- Views: 252053
- 23 Dec 2017, 15:18
- Forum: uPyEasy: Hardware
- Topic: ESP8266 boards
- Replies: 4
- Views: 13789
ESP8266 boards
Sticky
- 23 Dec 2017, 15:17
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 462826
ESP32 boards
Firmware status: Beta Firmware version: v0.2.1 Firmware revision: v60 Firmware installation instructions Download esptool: https://github.com/espressif/esptool When doing a FRESH install, ERASE your ESP32 FILES area: LINUX: esptool.py --port /dev/ttyUSBx erase_flash WINDOWS: esptool.py --port COMx e...
- 23 Dec 2017, 15:17
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 130881
STM32 boards
Firmware status: Beta Firmware version: v0.2.0 For the PyBv3 with STM32F405 board: BOM (Bill Of Materials): STM32F405RGT6 pyboard: https://www.aliexpress.com/item/STM32-STM32F405RGT6-Core-Board-For-MicroPython-Development-Board-for-Circuit-Pyboard-Python-Module-STM32F405-with-Full/32805371346.html W...
- 23 Dec 2017, 15:15
- Forum: uPyEasy: Projects / Applications
- Topic: uPyEasy project list
- Replies: 0
- Views: 12962
uPyEasy project list
Sticky, to be done
- 23 Dec 2017, 15:14
- Forum: uPyEasy: Software
- Topic: Setting up the uPyEasy build environment
- Replies: 7
- Views: 17949
Setting up the uPyEasy build environment
This document can be found here: https://github.com/letscontrolit/uPyEas ... onment.pdf
So far, it's for the ESP32 (the others will be added) and only on Linux.
So far, it's for the ESP32 (the others will be added) and only on Linux.
- 23 Dec 2017, 14:55
- Forum: uPyEasy: Hardware
- Topic: Supported Boards
- Replies: 0
- Views: 10176
Supported Boards
uPyEasy currently supports the following boards:
STM32:
- PYBv11 with STM32F405RG
- PYBv3 with STM32F405RG
ESP32
- SP32DOWDQ6 (revision 1)
- ESP32-WROVER (4MB PsRam)
Armbian
- Orange PI Zero H2
- Raspberry PI Zero W (in development)
STM32:
- PYBv11 with STM32F405RG
- PYBv3 with STM32F405RG
ESP32
- SP32DOWDQ6 (revision 1)
- ESP32-WROVER (4MB PsRam)
Armbian
- Orange PI Zero H2
- Raspberry PI Zero W (in development)
- 22 Dec 2017, 23:44
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy
- Replies: 132
- Views: 252053
Re: uPyEasy
Chip is ESP32DOWDQ6 (revision 1). The already installed ESP32 micropython version was probably an old one, they migrated the ESP32 micropython branch back into the master branch just a week ago and the master branch is the one we're using. ;) Since the chip is the same, the OSError 128 error should...
- 22 Dec 2017, 23:39
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy
- Replies: 132
- Views: 252053
Re: uPyEasy
Python is King of the Hill: https://www.ibm.com/developerworks/comm ... ce?lang=en