Search found 229 matches

by AndrewJ
06 Feb 2018, 19:50
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

Re: Questions about components of uPyEasy

Well, I've got it running! I did it by a bit of a hack, though. I worked on the theory that the Errno 13 EACCES problem was similar to the problem I had in the early times with uPyEasy on ESP32 (though the error number is different). This meant that the ESP32 would work on port 9000 etc, but not 80 ...
by AndrewJ
06 Feb 2018, 16:42
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

Re: Questions about components of uPyEasy

...... 2- the default port(80) was already used in my Raspy, so I need to chang it in the config file in config/config/<name of your config file> ..look for the port key and change the value as you need Thanks Edu, I did see your comment about this, and it sounds like the same issue. My problem is ...
by AndrewJ
06 Feb 2018, 14:38
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

Re: Questions about components of uPyEasy

OK, I'm further forward again, think I'm almost there... I'm getting further in the startup, but with the following error now: Set syslog hostname 0.0.0.0 reloaded sink syslog 2018-02-06 13:22:47 [debug] uPyEasy-uPyEasy: Hal: Entering SetTime 2018-02-06 13:22:47 [debug] uPyEasy-uPyEasy: Main: Pre-lo...
by AndrewJ
06 Feb 2018, 14:21
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

Re: Questions about components of uPyEasy

Thanks, that worked! :)
A.
by AndrewJ
06 Feb 2018, 13:26
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

Re: Questions about components of uPyEasy

Thanks Lisa and Eduardo for the tips. I imported the micropython-os and -machine, and copied the _onewire module over. I have encountered some missing libraries, which I've installed using upip.install. All seem fine, with one exception. I needed a module named "re" (regular expression) and it seeme...
by AndrewJ
04 Feb 2018, 20:05
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

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 instructions here... https://g...
by AndrewJ
04 Feb 2018, 13:38
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

Re: Questions about components of uPyEasy

Hi again Lisa, I have the entire uPyEasy source code tree in Unix, in the directory ~/.micropython/lib/upyeasy, and run it there also using: micropython -m upyeasy Sorry to trouble you, but I must be missing something basic here. I'm on Linux Mint. I've put micropython from the repository in my home...
by AndrewJ
04 Feb 2018, 11:54
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

Re: Questions about components of uPyEasy

Hi Lisa,
Many thanks for the tips, that's going to help me a lot. :) As you can see, I'm going through a steep learning curve. ;)
(the ujson thing came in from domoticz mqtt file, it uses ujson.dumps to produce the message to be sent, but maybe there are easier ways.)
Cheers,
Andrew
by AndrewJ
02 Feb 2018, 21:12
Forum: uPyEasy: Software
Topic: Questions about components of uPyEasy
Replies: 26
Views: 4973

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, I gave up ...
by AndrewJ
27 Jan 2018, 16:34
Forum: uPyEasy: General Discussion
Topic: uPyEasy BETA-1 is available!
Replies: 22
Views: 6046

Re: uPyEasy BETA-1 is available!

Great work, Lisa! :)
by AndrewJ
21 Jan 2018, 16:51
Forum: uPyEasy: General Discussion
Topic: Blockly Events
Replies: 21
Views: 5379

Re: Blockly Events

Ah, I realise now, it's not on the SOC. It does look interesting. Thanks for the link.
by AndrewJ
20 Jan 2018, 22:56
Forum: uPyEasy: General Discussion
Topic: Blockly Events
Replies: 21
Views: 5379

Re: Blockly Events

Hi Lisa, I'd not come across Blockly before but the ability to 'program' graphically is attractive. I don't know whether it would impose any limitations (memory etc, or more restricted functionality). Hmmm, That's triggered another thought- I believe that NodeRED uses Python (presumably full python)...
by AndrewJ
16 Jan 2018, 09:51
Forum: uPyEasy: Software
Topic: uPyEasy Architecture Guidelines
Replies: 1
Views: 955

Re: uPyEasy Architecture Guidelines

Wow! Fantastic reference document!
The project is really taking shape.
Thanks again for developing this.
:D :D :D
by AndrewJ
15 Jan 2018, 21:58
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Version v54 has been created op put in the releases dir of the uPyEasy github: https://github.com/letscontrolit/uPyEasy/releases/tag/ALPHA The following functionality has been added: Config page Added admin password (password protected uPyEasy!) Tools page Added Load Settings (restoring your config...
by AndrewJ
13 Jan 2018, 22:12
Forum: uPyEasy: General Discussion
Topic: SSL support
Replies: 7
Views: 2173

Re: SSL support

For me, it seems best to have the option to turn it on in the config. (start simple, check things are working, then make it secure) ;)
by AndrewJ
13 Jan 2018, 21:50
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

I like it!
:)
by AndrewJ
13 Jan 2018, 19:02
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Thanks for all your hard work on this! :D
by AndrewJ
12 Jan 2018, 09:42
Forum: ESP Easy: General Discussion
Topic: Plugin_read from rules? / Water sensor problem
Replies: 5
Views: 1315

Re: Plugin_read from rules? / Water sensor problem

This sounds interesting. I'll have a play!
by AndrewJ
12 Jan 2018, 09:38
Forum: ESP Easy: General Discussion
Topic: Developent update: Nighty 20180112, testing and slack
Replies: 1
Views: 678

Re: Developent update: Nighty 20180112, testing and slack

Thanks for posting! Nice explanation of what's happening and ideas to take things forward. :)
You've inspired me to try the nightly builds on a spare nodemcu.
by AndrewJ
11 Jan 2018, 09:04
Forum: ESP Easy: General Discussion
Topic: ESPEasy v2.0.0-dev13
Replies: 39
Views: 11440

Re: ESPEasy v2.0.0-dev13

Hello @Grovkillen, @psy0rz, Thanks for that clarification, I too was unsure what the different versions were about, and that makes it clear. I looked at the page you linked to, and I think that the same clarification would be useful on that page. For example, use the words "stable" and "cutting edge...
by AndrewJ
09 Jan 2018, 19:18
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

The DS's should be able to run on one pin, but maybe the plugin can't handle that yet. I haven't tested that out so far. I tried this first time around, with just two DS's, but they interfered with each other and both ended up looking at the same ROM address and reporting the same value as each oth...
by AndrewJ
09 Jan 2018, 17:25
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Hi Lisa, Just thought I'd post a screen shot of uPyEasy on my Lolin32 Lite board, working with three DS18B20 sensors (it seems these have to be on separate pins) and a BME280 showing all three readings (temperature, humidity, and pressure) and running nice and stable. :) It starts automatically, tha...
by AndrewJ
09 Jan 2018, 16:25
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

BertB wrote:
07 Jan 2018, 14:29
To avoid the errno 2 message, I created a main.py file, containing:
import upyeasy
upyeasy.main()

Is this the way to go?
Hello @BertB,
Thanks for this suggestion, I tried it and it worked. It now starts automatically without typing these commands each time. :) (LOLIN32 Lite board).
AndrewJ
by AndrewJ
09 Jan 2018, 10:18
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

If you test the latest Mega build of ESPeasy (not the one Lisa made, but for the ESP8266), you'll see what version it is. (use the BMx280 plugin) I've added a detection routine to show immediately what version is detected. Thanks, TD-er, I'll try that. BTW, did you mean test the latest Mega build o...
by AndrewJ
09 Jan 2018, 09:33
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Hi Lisa, BME280 is basically working for me, on LOLIN32 LITE board. :D And it's stable (touch wood!). Temperature and pressure look fine, but unfortunately Humidity is stuck on zero all the time, which seems unlikely here in Shropshire UK. ;) I also noticed a few "cosmetic" points. 1, The Humidity ...
by AndrewJ
08 Jan 2018, 18:19
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Thanks, that's fine, I have an account already so shouldn't be a problem. I'm still fairly new to it but getting there!

I'll put the ones I reported already into Github, and use it for any future issues.

Cheers
Andrew
by AndrewJ
07 Jan 2018, 21:25
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Hi Lisa, On a more general note, regarding issues or bugs that we testers may find. :shock: Do you prefer to continue to have them through this forum, or to use Github issues now that the repository is set up? Seems to me that Github has possible advantage of keeping all issues together, so maybe ea...
by AndrewJ
07 Jan 2018, 21:15
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Hi Lisa, BME280 is basically working for me, on LOLIN32 LITE board. :D And it's stable (touch wood!). Temperature and pressure look fine, but unfortunately Humidity is stuck on zero all the time, which seems unlikely here in Shropshire UK. ;) I also noticed a few "cosmetic" points. 1, The Humidity v...
by AndrewJ
07 Jan 2018, 17:08
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Hi Lisa,
Many thanks for the good work on Github! You have certainly been busy!! :D
It will make it much easier to track the version of things, and also for me to begin to understand how the software works (maybe ;) ).
Cheers
Andrew
by AndrewJ
07 Jan 2018, 13:30
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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 (empty response). T...
by AndrewJ
07 Jan 2018, 10:15
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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 (empty response). T...
by AndrewJ
06 Jan 2018, 21:56
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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 (empty response). Th...
by AndrewJ
06 Jan 2018, 21:28
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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...
by AndrewJ
06 Jan 2018, 20:32
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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...
by AndrewJ
06 Jan 2018, 17:39
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Version: v53 Fixed: - Time on ESP32 - Switch plugin Added: - I2C - BME280 sensor Database changes: - None I'm getting an error in the early part of startup.... log below. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00...
by AndrewJ
06 Jan 2018, 09:49
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Thanks Lisa I'll give it a try. :)
by AndrewJ
03 Jan 2018, 21:19
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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 at...
by AndrewJ
02 Jan 2018, 20:50
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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...
by AndrewJ
30 Dec 2017, 22:00
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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...
by AndrewJ
30 Dec 2017, 21:23
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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...
by AndrewJ
30 Dec 2017, 18:23
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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. Hi Lisa, I tried this on my LOLIN32 LITE board. First I erased, then flashed the latest version o...
by AndrewJ
29 Dec 2017, 20:40
Forum: ESP Easy: General Discussion
Topic: ESP Easy Flasher
Replies: 118
Views: 38906

Re: ESP Easy Flasher

That looks fantastically useful, thank you! :)
AndrewJ
by AndrewJ
29 Dec 2017, 15:56
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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 Hi Lisa, I did that and again got the OSError 128 as before. I t...
by AndrewJ
29 Dec 2017, 15:07
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

OK, thanks for that. I'll try it later and let you know how it goes.
Cheers
Andrew
by AndrewJ
29 Dec 2017, 10:10
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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...
by AndrewJ
28 Dec 2017, 13:37
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

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...
by AndrewJ
28 Dec 2017, 09:52
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Hi Lisa, thanks for the quick reply. I'll give this a try later today.
Good news about I2C.
by AndrewJ
27 Dec 2017, 19:06
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

I remembered that (several messages earlier) you said that if I still got OSError 128, I could try [/code]upyeasy.setwifi('<your ssid>', '<your ssid password>','', '',8000)[/code] So I put the wifi back to password-protected, then did the above (at the REPL >>>), then rebooted on the RESET button. I...
by AndrewJ
27 Dec 2017, 18:37
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

Hmmm, I realised that for the last few tests today my wifi has been back to password protected. Presumably it still needs to be open, for the ESP32 to connect? Anyway, I made it open again and rebooted the LOLIN32 LITE (still with the 2MB firmware). This time it got several steps further in the log,...
by AndrewJ
27 Dec 2017, 17:45
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 54831

Re: ESP32 boards

An update on the last post... I decided to try the solution to the "missing main.py" given in the Github issue 90, and created a file through the REPL. Rebooted (by pressing the RESET button on the ESP32 board) and it now starts without the ENOENT error, (and it says Hello!) but it still has... 2000...