Search found 229 matches
- 18 Aug 2019, 21:16
- Forum: ESP Easy: Software
- Topic: Rules (old engine) Rules Set 1/2/3/4
- Replies: 4
- Views: 12394
- 31 Mar 2019, 21:27
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 16777215
Re: Support for PZEM 004T Energy monitor
Hi serjkru,
I'm very interested, too! This seems to have a good fit with the direction I'd like to take, which is to measure power use in each (main) circuit in my house.
I'd be very happy if you could share your schematic and plugin, please.
Thanks in advance,
Andrew
I'm very interested, too! This seems to have a good fit with the direction I'd like to take, which is to measure power use in each (main) circuit in my house.
I'd be very happy if you could share your schematic and plugin, please.
Thanks in advance,
Andrew
- 07 Jan 2019, 15:23
- Forum: uPyEasy: General Discussion
- Topic: Future of uPyEasy
- Replies: 7
- Views: 21066
Re: Future of uPyEasy
+1
Exciting news!! Good luck!
Exciting news!! Good luck!
- 17 Oct 2018, 17:29
- Forum: uPyEasy: General Discussion
- Topic: Sure is quiet around here.
- Replies: 5
- Views: 17720
- 16 Oct 2018, 09:01
- Forum: ESP Easy: General Discussion
- Topic: Maintain date and time in the absence of wifi
- Replies: 40
- Views: 36324
Re: Maintain date and time in the absence of wifi
Hi Guys, This is right on the edge of my knowledge, but I wonder if something like this could give a suitable pulse to the esp? http://www.electronics-base.com/general-description/control/24-ne555 They are pretty cheap. Would need to think about and minimise the power draw though. Perhaps the esp co...
- 10 Oct 2018, 18:34
- Forum: ESP Easy: Hardware
- Topic: nodemcu on battery
- Replies: 27
- Views: 47206
Re: nodemcu on battery
Great post, thank you for sharing. It's inspired me to have a go.
- 09 Jul 2018, 14:16
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
- 08 Jul 2018, 21:08
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Thanks for your reply, it helps, although I'm still getting my head around the basics of micropython/python - could you possibly elaborate on the difference between an "object" and a "function", or perhaps give an example of each within uPyEasy please? BTW, I saw a thread on the...
- 30 Jun 2018, 08:59
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
the phrase "when the object goes out of scope". Hi Andrew, It means that the object is no longer used by the function, because the function ended. Objects are allocated inside the function and when the functions end, the objects memory should be released. Cheers, Lisa Hi Lisa, Welcome bac...
- 12 Jun 2018, 19:18
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Andrew, My biggest concern is the memory fragmentation due to constant creation/destruction of objects! This is explained more in details here: https://docs.micropython.org/en/latest/pyboard/reference/constrained.html The memory map mentioned in the post above is a great help to see how the memo...
- 02 Jun 2018, 19:45
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Andrew, My biggest concern is the memory fragmentation due to constant creation/destruction of objects! This is explained more in details here: https://docs.micropython.org/en/latest/pyboard/reference/constrained.html The memory map mentioned in the post above is a great help to see how the memo...
- 02 Jun 2018, 12:32
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Lisa, I see on Github that you've been hard at work on a new update (9ebffbd) of uPyEasy!! Thank you for all your effort on this project! I'm still keen to get uPyEasy working on my STM32F405 AliExpress clones, or at least the one which still seems to work reliably. So I updated my local repo an...
- 28 May 2018, 21:58
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Lisa, I see on Github that you've been hard at work on a new update (9ebffbd) of uPyEasy!! Thank you for all your effort on this project! I'm still keen to get uPyEasy working on my STM32F405 AliExpress clones, or at least the one which still seems to work reliably. So I updated my local repo and...
- 20 May 2018, 20:52
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
it's working, and I can connect with my browser!! :D No sensors connected at present, I'll test further. Cheers Andrew (I'm using cf3bca9 from Github). Hi Lisa, If I go to the Controllers screen in the browser, and try to Add a controller, the screen just stays blank, with no list of controllers to...
- 19 May 2018, 22:14
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Andrew, If you haven't done upyeasy.setnet(1,'A3','A4','<SOC IP ADDRESS>', '<GATEWAY IP ADDRESS>', '255.255.255.0', '<DNS SVR IP ADDRESS>') then uPyEasy on STM32 will try to use DHCP to get an ip-address. However sometimes it just waits forever to get one and it never does end. If you haven't us...
- 19 May 2018, 19:24
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Andrew, If you haven't done upyeasy.setnet(1,'A3','A4','<SOC IP ADDRESS>', '<GATEWAY IP ADDRESS>', '255.255.255.0', '<DNS SVR IP ADDRESS>') then uPyEasy on STM32 will try to use DHCP to get an ip-address. However sometimes it just waits forever to get one and it never does end. If you haven't us...
- 17 May 2018, 19:21
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
You will be probably one of the first to try out the new REST interface, it will mark a departure from ESPEasy's web-based UI. ESPEasy does have way more plugins, but uPyEasy has a much better and modern architecture which is now benefiting us for switching to the REST client-server setup. If you l...
- 11 May 2018, 21:49
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Another thought - do you know of a way to download a "blank" file to STM32, similar to make erase on ESP32? I've tried googling but not found anything. dfu-util -s :mass-erase:force -a 0 -d 0483:df11 -D upyeasy_v030_20180506_test_stm32-pybv3_1024.dfu That should do the trick: first it wil...
- 11 May 2018, 21:03
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
I have the same one. With the micro-usb connector below the two buttons, press and hold the right button (the one with K2 written on the board). While you hold the K2 button, the leds cycle: only red on, only green on, red and green on, etc. Wait until both red and green leds are on, then let go of...
- 09 May 2018, 22:43
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Andrew, I just tried this and it's working at my stm32. I think this is due to database changes, can you erase the stm32? (press and hold the reset button, press the user button until red en green are on and then let the reset button go). Erasing also deletes the database, so if you have setting...
- 09 May 2018, 16:22
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Andrew, Looks like a memory issue, can you restart with upyeasy.main(loglevel=0) That will tell us the memory free all the time. Can you also goto tools/info? On the console a memory map should appear telling the memory allocation. Cheers, Lisa OK, I reset the board and restarted uPyEasy with &q...
- 09 May 2018, 10:45
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Andrew, Looks like a memory issue, can you restart with upyeasy.main(loglevel=0) That will tell us the memory free all the time. Can you also goto tools/info? On the console a memory map should appear telling the memory allocation. Cheers, Lisa OK, thanks for the pointers, I'll try them later, p...
- 08 May 2018, 23:01
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Sorry, still getting problems. This time all was stable until I clicked 'Submit' button at bottom of Hardware page, then I got... 2018-05-08 21:56:48 [debug] uPyEasy-STM32_2: Pages: Entering Devices Page 2018-05-08 21:56:48 [debug] uPyEasy-STM32_2: Utils: uPyEasy Name 2018-05-08 21:56:48 [info] uPyE...
- 08 May 2018, 22:39
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Lisa, Following my previous post, I notced a new update was available in Github (d71b3d5) so I did a git pull to update my local upyeasy repo and rebuilt micropython-stm32, then downloaded it to my board. Unfortunately I'm still getting similar errors, this time they seem to be triggered by acces...
- 08 May 2018, 20:53
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 102690
Re: uPyEasy v0.3.0 released
Hi Lisa, I just downloaded the STM32 version of release v0.3.0 (dfu binary file) from Github releases page. It started up all right, after a hiccup while it connected to ethernet, but after a short time (a few minutes) it gave the following errors.... cket state=2 timeout=0 incoming=20003f34 off=34>...
- 28 Apr 2018, 21:26
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Andrew, I suspect that your rule table config file has gone corrupt, it happens to me also sometimes on the STM32F405 platform. Just use the usb share and delete the rule table. I also have optimized uPyEasy to use far less memory, switched from pre-loading to JIT, since i was running out of it ...
- 27 Apr 2018, 21:22
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Lisa Another update (still on my STM32 pyboard clone)..... I thought a bit more and something made me look in the config files on my board (PYBFLASH/config). In the subfolders, I found lots of files with the uPyEasy-style filenames, containing nothing but lots of characters like a 'y' with 2 dots...
- 27 Apr 2018, 20:16
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Lisa, I still have the error mentioned in my posts above, would you be able to help, please? :) I just found the latest uPyEasy update (f20076c) on Github and gave it a try, but I still get the "syntax error in JSON" as above. I've pretty much run out of ideas at the moment. Cheers Andrew
- 25 Apr 2018, 22:58
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi again Lisa, Following on from post #19 above. I had a go at debugging the error by adding some print lines ib filedb.py, in 'get' as follows: 88 @classmethod 89 def get(cls): 90 # Return dict! 91 for dirent in uos.ilistdir("%s/%s" % (cls.__db__.name, cls.__table__)): 92 fname = dirent[0...
- 25 Apr 2018, 16:19
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi andrew, All missing Unix dir's are fixed! I also added some new features for ESP32 uPyEasy, like auto switch to AP mode when the wifi connection is not available at startup. v0.2.5 is about to be released. Cheers, Lisa Hi again Lisa, Thx, that worked fine, I pulled the latest update from Github ...
- 24 Apr 2018, 08:25
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi andrew, All missing Unix dir's are fixed! I also added some new features for ESP32 uPyEasy, like auto switch to AP mode when the wifi connection is not available at startup. v0.2.5 is about to be released. Cheers, Lisa Hi again Lisa, Thx, that worked fine, I pulled the latest update from Github ...
- 23 Apr 2018, 19:43
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Great news! Thanks, Lisa, for all your hard work on this.
Andrew
- 20 Apr 2018, 21:24
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Lisa Sorry to hit you with yet another question.... :roll: As you said earlier, I still need to do the work around steps for micropython for STM32. Fine. But in the overall new file structure, I have "two micropythons" (micropython, micropython-stm32). The second is where I did the wor...
- 20 Apr 2018, 09:25
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Lisa Sorry to hit you with yet another question.... :roll: As you said earlier, I still need to do the work around steps for micropython for STM32. Fine. But in the overall new file structure, I have "two micropythons" (micropython, micropython-stm32). The second is where I did the wor...
- 20 Apr 2018, 09:24
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Andrew, 1. Yes, this is a problem in the STM32 micropython firmware, not in uPyEasy. 2. Yes and no (no copy needed!): - make a modules directory (in ports esp32 or stm32) - goto modules dir - make a symlink to stm32 modules : ln -s upyeasy/modules/stm32/* . - make a symlink to src: ln -s upyeasy...
- 16 Apr 2018, 22:55
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Lisa Sorry to hit you with yet another question.... :roll: As you said earlier, I still need to do the work around steps for micropython for STM32. Fine. But in the overall new file structure, I have "two micropythons" (micropython, micropython-stm32). The second is where I did the work...
- 16 Apr 2018, 22:12
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Lisa, Well, I had some time to spare so I set into the stm32 subfolder and edited the broken symlinks in my local copy of upyeasy. Now they show as "Link to text" rather than "link (broken)". There were a few more in subfolders as well. Most of them seemed to have an extra &q...
- 16 Apr 2018, 20:57
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Lisa, Well, I had some time to spare so I set into the stm32 subfolder and edited the broken symlinks in my local copy of upyeasy. Now they show as "Link to text" rather than "link (broken)". There were a few more in subfolders as well. Most of them seemed to have an extra &q...
- 16 Apr 2018, 19:28
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi Lisa, Well, I had some time to spare so I set into the stm32 subfolder and edited the broken symlinks in my local copy of upyeasy. Now they show as "Link to text" rather than "link (broken)". There were a few more in subfolders as well. Most of them seemed to have an extra &qu...
- 16 Apr 2018, 08:06
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Thanks, Lisa - sorry to be the bearer of bad tidings!
Andrew.
Andrew.
- 15 Apr 2018, 23:07
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
Re: New directory and file structure V024
Hi again, Lisa, Looking in more depth, the problem seems to be that the symlinks in ....modules/stm32 etc don't actually point to the files/folders concerned. There are a total of 31 items by my reckoning. In some cases, the link contains "micropython/micropython" , or "micropython/mi...
- 15 Apr 2018, 19:49
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 63974
New directory and file structure V024
Hi Lisa, Help!! I think I may be missing something obvious here, but I'm having difficulty with the file/directory structure for the new release, version V024. I found the new README.md online in Github letscontrollit/uPyEasy/modules and I've been trying to follow it. It's not clear to me where the ...
- 14 Apr 2018, 16:07
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 168581
Re: STM32 boards
Solved the mystery, it was a single line of code! Changing this in the hal.py file from: #core._nic.active(1) to core._nic.active(1) Solved the problem. In hindsight it makes sense, the nic was there, even with an ip-address, but not active so it couldn't receive data... :oops: Uploaded new version...
- 14 Apr 2018, 08:39
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 168581
Re: STM32 boards
The problem was that script.py imports re.py which is actually an unix library, script.py should import ure library which is a default micropython library. I fixed this, so it's working again. Apparently is main.py not findable if one the imports fails... Cheers, Lisa Ah, glad you've found that! :)...
- 13 Apr 2018, 20:26
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 168581
Re: STM32 boards
I've tried to fix the bugs, but they have change so much on the stm32 port that i lost track. So, the work-around now is to roll back before they started to change the stm32 port on 31/1: git clone https://github.com/micropython/micropython.git micropython-stm32 cd micropython-stm32/ git submodule ...
- 13 Apr 2018, 13:19
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 168581
Re: STM32 boards
@andrewj: The colors are good, the wiring is good... @karl222: Since the ESP32 is now, i'm currently looking at the STM32 STM32's are great, because the interrupts are hardware bound while the ESP32's have a software bound interrupt. Meaning that the STM32 latency is WAY lower then that of the ESP'...
- 11 Apr 2018, 15:47
- Forum: ESP Easy: Software
- Topic: Rules MQTT
- Replies: 4
- Views: 7370
Re: Rules MQTT
i think there is a problem with rules i did this On co2sensor#PPM >100 do Gpio,16,1 Endif and the log says snipped so it never runs into the rules yes, i checked the rules option button... Hi, have a look at the Wiki on rules, it will guide you to the answer. ;) Post again if you are still stuck. G...
- 10 Apr 2018, 09:02
- Forum: ESP Easy: General Discussion
- Topic: ESPFinder
- Replies: 16
- Views: 17606
Re: ESPFinder
Thanks enesbecs and grovkillen,
I'm also a Linux user, I will give it a try!
Thanks for sharing.
Andrew
I'm also a Linux user, I will give it a try!
Thanks for sharing.
Andrew
- 05 Apr 2018, 08:16
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 168581
Re: STM32 boards
OK, thanks for the update. Good luck!
I'm ready to help with testing or any other way I can.
Andrew
I'm ready to help with testing or any other way I can.
Andrew
- 04 Apr 2018, 22:40
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 168581
Re: STM32 boards
@andrewj: The colors are good, the wiring is good... @karl222: Since the ESP32 is now, i'm currently looking at the STM32 STM32's are great, because the interrupts are hardware bound while the ESP32's have a software bound interrupt. Meaning that the STM32 latency is WAY lower then that of the ESP'...