Search found 513 matches

by LisaM
25 Mar 2018, 15:15
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

>>> upyeasy.main('xxxxxx', 'yyyyyy') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: function takes 0 positional arguments but 2 were given >>> upyeasy.main("xxxxxx", "yyyyyyy") Traceback (most recent call last): File "<stdin>&quo...
by LisaM
25 Mar 2018, 01:31
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

hi, i have tried on both platforms but was not able to get it running. I have no clue to identify why it doesn't work. Installation of firmware obviously worked but I can't reach it via browser. I am concerned by the last line of the protocol (see below): 2000-01-01 00:02:24 [debug] uPyEasy-uPyEasy...
by LisaM
24 Mar 2018, 20:48
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

Ok, so use this command to flash the firmware: esptool.py --port YYYY write_flash --compress 0x1000 xxxx.bin where YYYY is your comport (unix: /dev/ttyUSBx, windows COMx) and xxxx is your firmware name. Don't specify any other parameters as stated earlier in these post in this topic, but follow the ...
by LisaM
24 Mar 2018, 20:41
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

Now ... maybe of interest ... When I use this:D:\Program Files>python python\python36\esptool-master\esptool.py --port COM6 write_flash --compress 0x1000 D:\Tools\uPython\upyeasy-esp32\upyeasy_un4096.bin This is the kind of same command as in the very beginning of this item, page 1 I get this: ets ...
by LisaM
24 Mar 2018, 20:36
Forum: uPyEasy: Hardware
Topic: ESP32 Boards working listing (Yes/No)
Replies: 6
Views: 16363

ESP32 Boards working listing (Yes/No)

A list of ESP32 board which are not working for me: - HelTec WIFI kit 32 Problem: Cannot connect to AP (Error: wifi: STA_DISCONNECTED, reason:2) Aliexpres url: https://www.aliexpress.com/item/ESP32-Bluetooth-WIFI-Kit-0-96-inch-Blue-OLED-Display-Module-CP2102-32M-Flash-IOT-Internet/32825725963.html E...
by LisaM
24 Mar 2018, 19:12
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

I erased, then flashed with 2048 but no success.... :cry: E:\esp32>esptool.py --port COM7 erase_flash esptool.py v2.3.2-dev Connecting........_ Detecting chip type... ESP32 Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core Uploading stub... Running stub... Stub running... Erasing flash...
by LisaM
24 Mar 2018, 19:10
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

BertB wrote: 24 Mar 2018, 00:21 With the 4096 bin, I get the:
OSError: [Errno 5] EIO
OSError: [Errno 1] EPERM
OSError: [Errno 1] EPERM

errors.
And with the 2048 firmware? Can you post the start log for that?
by LisaM
23 Mar 2018, 21:32
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

AndrewJ wrote: 23 Mar 2018, 20:48 Make that three! :D
You and @bertb have devices that are not automatically updated and send to domoticz? Only the first, second or both?
by LisaM
23 Mar 2018, 21:29
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

@karl222 @bertb The errors in your log: File "flashbdev.py", line 13, in readblocks OSError: [Errno 5] EIO means that the flashdrive could not be initialized, so that the database isn't build (no dir) and upyeasy fails. Did you flash the 2048 or the 4096 version? hi, have tried it with bo...
by LisaM
23 Mar 2018, 18:18
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

@bertb: and now a reboot and only do: >>> import upyeasy >>> upyeasy.main() Still a network not found error? Ps. Thx! line 46 of utils.py had a bug! It stated db.configTable.update({"timestamp":network['timestamp']},port = wport) But it should have been: db.configTable.update({"timest...
by LisaM
23 Mar 2018, 12:49
Forum: uPyEasy: General Discussion
Topic: uPyEasy is going NB-IoT!
Replies: 9
Views: 18721

uPyEasy is going NB-IoT!

Currently uPyEasy is local only, meaning that it's bound to a single Wifi AP due to it's settings. To make uPyEasy mobile , meaning you can take your device ANYWHERE without changing settings, it's going to support NB-IoT ( https://en.wikipedia.org/wiki/Narrowband_IoT ). Currently i'm talking to T-M...
by LisaM
23 Mar 2018, 00:07
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

@karl222 @bertb
The errors in your log:
File "flashbdev.py", line 13, in readblocks
OSError: [Errno 5] EIO
means that the flashdrive could not be initialized, so that the database isn't build (no dir) and upyeasy fails. Did you flash the 2048 or the 4096 version?
by LisaM
22 Mar 2018, 15:48
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

Hello, Lisa :) The connection to my router is successful, but when i make request to 192.168.100.3 from my browser it tells me that is unable to connect. This is what I got: I've got ping to 192.168.100.3, but seems web server isn't working. What I'm missing? It's working, cool! The webserver doesn...
by LisaM
21 Mar 2018, 23:00
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

It is also impossible to use ampy to upload main.py D:\Program Files\Python\Python36>ampy --port COM6 put D:\Tools\uPython\main.py Traceback (most recent call last): File "d:\program files\python\python36\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File...
by LisaM
21 Mar 2018, 22:32
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

It is not looping anymore. But now I get this: rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:4364 load:0x40078000,len:0 load:0x4...
by LisaM
21 Mar 2018, 21:54
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

raptor wrote: 21 Mar 2018, 21:49 You are right, Lisa - build & deploy doesn't change. The problem must by in his custom makefile which overrides some variables from Makefile.
No, it's my fault. The new binaries in the https://github.com/letscontrolit/uPyEasy/releases section should not have this reboot problem.
by LisaM
21 Mar 2018, 21:29
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

Hi, karl222! I was able to build and deploy firmware following the instructions. I've little problems, but now seems ok. You can see my post here: http://www.letscontrolit.com/forum/viewtopic.php?f=23&t=3903 I hope this my post helps you. Regards :) The build & deploy doesn't change, it's o...
by LisaM
21 Mar 2018, 21:27
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

Hi, see my changed remark above: It's a building firmware bug, fixed it! I've uploaded two new versions into the https://github.com/letscontrolit/uPyEas ... s/tag/BETA section, can you download the 4096 version and try it again? If it doesn't work, you can try the 2048 version. esptool.py --chip esp...
by LisaM
21 Mar 2018, 20:00
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

it does not go, thats the problem :roll: Found it! It's a building firmware bug, fixed it! I've uploaded two new versions into the https://github.com/letscontrolit/uPyEasy/releases/tag/BETA section, can you download the 4096 version and try it again? If it doesn't work, you can try the 2048 version...
by LisaM
20 Mar 2018, 00:43
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

Hi all, I have (or had) three ESP32 boards:- 1. Lolin32 Lite: bought from Aliexpress, https://www.aliexpress.com/item/WEMOS-LOLIN32-Lite-V1-0-0-wifi-bluetooth-board-based-ESP-32-esp32-Rev1-MicroPython-4MB/32831394824.html?spm=a2g0s.9042311.0.0.O82kUi Now disconnected, but it had a BME280 and a DS18...
by LisaM
18 Mar 2018, 19:20
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

On both boards, the first version of upyeasy works. That's very interesting! The first version was a 4MB version, while later ones are 2MB versions. I've added a 4MB version (upyeasy_v021_20180318_test_esp32_4096.bin) to the release dir: https://github.com/letscontrolit/uPyEasy/releases Can you try...
by LisaM
18 Mar 2018, 17:00
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

I've my working setup attached. I'm using this one: https://www.aliexpress.com/item/Official-DOIT-ESP32-Development-Board-WiFi-Bluetooth-Ultra-Low-Power-Consumption-Dual-Core-ESP-32-ESP/32801621054.html Can you post a picture of your setup and a link to where you bought it? I have also these in stoc...
by LisaM
18 Mar 2018, 16:34
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

Attached pictures of my config, please adjust your config.
Run

Code: Select all

upyeasy.setnet(1,'A3','A4','192.168.178.135', '192.168.178.1', '255.255.255.0', '192.168.178.1')
(replace ip-addresses by your own ip, gateway, mask, dns)

Cheers,

Lisa
by LisaM
18 Mar 2018, 16:04
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

Mine is the same part. Some additional info.., I tried the same W5500 with a STM32F103 "Blue Pill" board using one of the example sketches (web server) and it worked fine. Connected to network, no problem connecting from my browser, and it supplied data to my browser, able to ping. In thi...
by LisaM
18 Mar 2018, 15:49
Forum: uPyEasy: Hardware
Topic: ESP8266 boards
Replies: 4
Views: 13735

Re: ESP8266 boards

I'm busy stabilizing the release, the ESP8266 requires some testing due to the limited stack space. 4MB Flash size isn't the problem, it's the stack.
by LisaM
18 Mar 2018, 15:46
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

karl222 wrote: 17 Mar 2018, 20:07 I am getting permanent reboots...
I am using an esp32 wroom module and no wrover, can this be a reason?

Regards
Karl
Can you share your logfile?
Which wroom module?
by LisaM
17 Mar 2018, 17:08
Forum: uPyEasy: Software
Topic: Setting up the uPyEasy build environment
Replies: 7
Views: 17904

Re: Setting up the uPyEasy build environment

Version 0.2 of the uPyEasy has been completed, a generic section was added. The unix, stm32,esp8266 and armbian dev environments are added as well. I'm happy the way it looks like, however feedback is welcome!
by LisaM
16 Mar 2018, 19:51
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

hi, I was trying to wire up accordingly but couldn't find the nSS pin on the W5500. can someone help me on that... thx karl Hi karl, I had the same issue. In the end, I used the one marked "SCS" on my W5500. It was a process of elimination for me, the others were pretty clear, so that see...
by LisaM
16 Mar 2018, 19:51
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

karl222 wrote: 15 Mar 2018, 16:02 hi,

I was trying to wire up accordingly but couldn't find the nSS pin on the W5500. can someone help me on that...

thx
karl
Picture of the W5500?
by LisaM
10 Mar 2018, 20:10
Forum: uPyEasy: Software
Topic: Setting up the uPyEasy build environment
Replies: 7
Views: 17904

Re: Setting up the uPyEasy build enviroment

The other ports will be added shortly...
by LisaM
06 Mar 2018, 18:12
Forum: ESP Easy: General Discussion
Topic: ESPEasy32 or uPYEasy?
Replies: 8
Views: 8946

Re: ESPEasy32 or uPYEasy?

What are you going to do with it? Purpose defines solution...
by LisaM
20 Feb 2018, 16:15
Forum: uPyEasy: General Discussion
Topic: uPyEasy
Replies: 132
Views: 250500

Re: uPyEasy

leel1967l wrote: 20 Feb 2018, 10:35 Hi Lisa,
very nice work.

Is there an alpha version compatible with Wemos D1 Mini with ESP 8266 and/or D1 Mini Lite ESP 8285?

thanks
Hi leel1967l,

Not yet, i'm planning on a beta version for the ESP8266 to be released soon.

Cheers,

Lisa
by LisaM
18 Feb 2018, 18:56
Forum: uPyEasy: General Discussion
Topic: uPyEasy v0.2.1 released
Replies: 2
Views: 12472

uPyEasy v0.2.1 released

Fixed issues #3, #11, #14 and #15. (https://github.com/letscontrolit/uPyEas ... s%3Aclosed)
by LisaM
15 Feb 2018, 22:52
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

>>> import upyeasy >>> upyeasy.setnet(1,'A4','A3') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "upyeasy/__init__.py", line 23, in setnet File "upyeasy/utils.py", line 30, in setnet File "filedb.py", line 70, in update Attribute...
by LisaM
15 Feb 2018, 22:13
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

after >>> upyeasy.setnet(1,'A4','A3')? I get this: >>> upyeasy.setnet(1,'A4','A3') Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'upyeasy' is not defined >>> Hi Frank, >>> import upyeasy >>> upyeasy.setnet(1,'A4','A3') Cheers, Lisa
by LisaM
15 Feb 2018, 21:54
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

So, next try. With these commands I get into the network. The W5500 can also be pinged. >>> import network >>> nic = network.WIZNET5K(pyb.SPI(1), pyb.Pin.board.A4, pyb.Pin.board.A3) >>> print(nic.ifconfig()) ('192.168.0.210', '255.255.255.0', '192.168.0.3', '8.8.8.8') >>> nic.isconnected() True 200...
by LisaM
15 Feb 2018, 21:36
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

2015-01-01 00:00:00 [debug] uPyEasy: Hal: pyboard, spi is empty: trying default! after this it locksup Is there a solution??? Hi Frank, Did you wire it according to these instructions? https://www.letscontrolit.com/forum/viewtopic.php?f=22&t=3905 Did you do a >>> upyeasy.setnet(1,'A4','A3')? Ch...
by LisaM
10 Feb 2018, 19:35
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 32445

Re: Questions about components of uPyEasy

The FileDB database where all uPyEasy data is stored is indeed located on ~/.micropython/lib/upyeasy/config . Each table (entity) is in FileDB a directory under the config dir, for example hardware or config. Each table record is a separate file in this (hardware,config, etc) directory with an uniqu...
by LisaM
10 Feb 2018, 19:29
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 32445

Re: Questions about components of uPyEasy

1517945318.103 <HTTPRequest object at 7fa4ea795500> <StreamWriter <_socket 27>> OSError(13,) Traceback (most recent call last): File "/home/andrew/.micropython/lib/picoweb/__init__.py", line 186, in _handle File "upyeasy/pages.py", line 1247, in devicesettingpage File "upye...
by LisaM
05 Feb 2018, 17:35
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

Dear Lisa, meanwhile I can compile under Linux the micropython for Linux and for the STM32 processors. But I can not compile the upueasy version. Could you possibly write a few words when you have time? Greetings Peter Rename the modules directory in the STM32 directory to modules.old Unpack the at...
by LisaM
05 Feb 2018, 17:29
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

Hi Lisa That's all nothing else. Unless there is another way to get more logs of it. I am using board and ethernet card from the post above. Another thing is that I have to manually run it by running "import upyeasy" and then "upyeasy.main()" and then getting "[debug] uPyEa...
by LisaM
05 Feb 2018, 17:22
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 32445

Re: Questions about components of uPyEasy

Answering my own question, after some more Googling... :oops: Unix port of Micropython - setup on Linux Mint. The penny finally dropped, the syntax I needed was " ./micropython " (i.e. run micropython). But first, I needed to "make" the micropython system. I found some instructi...
by LisaM
05 Feb 2018, 17:13
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 32445

Re: Questions about components of uPyEasy

I have been stuck when installing additional modules manually on "ImportError: no module named '_onewire' " Now I'm trying to add it from /extmod, but no success by now.... Please post here if you finally figure it out. The _onewire library is a hardware library which doesn't exists on un...
by LisaM
03 Feb 2018, 20:00
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 32445

Re: Questions about components of uPyEasy

Hi Lisa, A couple of "naive" questions coming up! Please excuse if they seem silly questions. ;) As you know, I'm planning to try to develop an OpenHAB MQTT protocol, at least in basic form. Working towards that, I'm in the process of setting up my toolchain (I've moved over to Linux now,...
by LisaM
03 Feb 2018, 19:40
Forum: uPyEasy: General Discussion
Topic: Blockly Events
Replies: 21
Views: 29974

Re: Blockly Events

Great Lisa ! Programming is soooo 1980 ;) Really? Looking back, my days in Assembler were the best.... Assembler? OMG! :shock: At work i've banned programming for about 80%! We make models and computers are generating most efficient application code for us (with certified quality and traceability)....
by LisaM
02 Feb 2018, 19:07
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

Lisa, if I flash the file upyeasy_v020_test_20180128_stm32-pybv3_1024.dfu on the PYBv1.1 the COM port is gone. I'm flashing on Windows with dfu-util - old 0 -D upyeasy_v020_test_20180128_stm32-pybv3_1024.dfu If I flash the original MicroPython, the COM port is back. That's not right or? Did you tur...
by LisaM
02 Feb 2018, 19:04
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

So STM boards ... I just got a PYBv1.1 with STM32F405RG and flashed it with normal MicroPython . My machine immediately detected an additional drive with boot.py and main.py. Wow, great. Can I simply copy the .py files from your github to this drive? Unfortunately, I have no experience with microPy...
by LisaM
02 Feb 2018, 13:55
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

But real python is running on the Pi. :) Also with I2C. I had built some devices with sensors and PWM for my LEDs a long time ago. They also did not run so reliably. Often there were problems with the microSD. The Card was suddenly unreadable. With my PI3s I booted over a USB stick, that was little...
by LisaM
02 Feb 2018, 12:09
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 128392

Re: STM32 boards

filipq wrote: 02 Feb 2018, 01:25 2015-01-01 00:00:00 [debug] uPyEasy: Hal: pyboard, spi is empty: trying default!
Hi Filip,

Is there more log available?

Cheers,

Lisa
by LisaM
02 Feb 2018, 12:07
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 454017

Re: ESP32 boards

The STM32F405RGT6 has little memory. Or are there better solutions? Yes, the orange/raspberry pi which have it all, loads of memory and ethernet and wifi, however they have a tradeoff in terms of latency. Besides that, i haven't found so far an I2C python library for the pi's which can be used with...