Search found 513 matches

by LisaM
24 Apr 2018, 20:29
Forum: uPyEasy: General Discussion
Topic: support of INA219 and ADS1115
Replies: 18
Views: 15598

Re: support of INA219 and ADS1115

Maybe I‘m too dumb for that. I checked the espeasy wiki on the mcp23017 https://www.letscontrolit.com/wiki/index.php/MCP23017 How the hell can I read analog values via the mcp23017 when a ltc2499 is connected to it. I would use udp as a protocoll for sending data. In that case, following schematics...
by LisaM
23 Apr 2018, 19:33
Forum: uPyEasy: General Discussion
Topic: support of INA219 and ADS1115
Replies: 18
Views: 15598

Re: support of INA219 and ADS1115

But is the ltc2499 supported by espeasy either...? Ltc2499 is really cool but it also lacking in nodered support... Reards Karl The LTC2499 is connected to the MCP23017 and the latter is supported by ESPEasy! The link above also has the gerber files, so you could simply have the pcb made by an onli...
by LisaM
23 Apr 2018, 19:22
Forum: uPyEasy: Software
Topic: New directory and file structure V024
Replies: 23
Views: 17372

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
by LisaM
20 Apr 2018, 18:54
Forum: uPyEasy: Software
Topic: New directory and file structure V024
Replies: 23
Views: 17372

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...
by LisaM
20 Apr 2018, 18:48
Forum: uPyEasy: General Discussion
Topic: support of INA219 and ADS1115
Replies: 18
Views: 15598

Re: support of INA219 and ADS1115

karl222 wrote: 20 Apr 2018, 11:49 But is the ltc2499 supported by espeasy either...?

Ltc2499 is really cool but it also lacking in nodered support...

Reards
Karl
It is a single PCB containing an 8/16 channel 24-bit ADC (LTC2499) coupled with a 16 channel digital I/O (MCP23017).
;)
by LisaM
18 Apr 2018, 16:21
Forum: uPyEasy: General Discussion
Topic: support of INA219 and ADS1115
Replies: 18
Views: 15598

Re: support of INA219 and ADS1115

Hi lisa, Thx for your input! I am thinking of an application where I need more than 16 adc‘s but I can split up in two or more esp32. Sorry for the dumb question but How do I get upyeasy running with those libs? Just copy paste (to where) or do I have to compile something (which I’m not capable of ...
by LisaM
18 Apr 2018, 15:14
Forum: ESP Easy: Hardware
Topic: Support of E-Ink Displays
Replies: 13
Views: 8126

Re: Support of E-Ink Displays

Supported in uPyEasy, since there's a micropython driver for it: https://github.com/dhallgb/eInk-micropython
Writing a plugin that uses the driver isn't that hard to do.
Actually almost all display types (oled,tft,e-ink) have micropython drivers...
by LisaM
18 Apr 2018, 01:34
Forum: uPyEasy: General Discussion
Topic: support of INA219 and ADS1115
Replies: 18
Views: 15598

Re: support of INA219 and ADS1115

Hi, 1. for one of my projects I would need support of INA219 (voltage and current) as well as ADS1115 (ADC). 2. As the ADS1115 is limited on 4 addresses it also would be helpful if i could Setup 2 or 3 separate i2c Interfaces instead of just one - is this anyhow possible. It would make life easier,...
by LisaM
16 Apr 2018, 21:19
Forum: uPyEasy: Software
Topic: New directory and file structure V024
Replies: 23
Views: 17372

Re: New directory and file structure V024

Hi Andrew, Just also fixed a modules bug, asyn.py file was empty and re.py was missing. Both are fixed and now uploaded. I guess the benefit of the new structure is that all the separate parts, (upyeasy, micropython, micropython-lib etc etc) are together and can be kept updated individually? Exactly...
by LisaM
16 Apr 2018, 20:42
Forum: uPyEasy: Software
Topic: New directory and file structure V024
Replies: 23
Views: 17372

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...
by LisaM
16 Apr 2018, 18:59
Forum: uPyEasy: Software
Topic: New directory and file structure V024
Replies: 23
Views: 17372

Re: New directory and file structure V024

AndrewJ wrote: 16 Apr 2018, 08:06 Thanks, Lisa - sorry to be the bearer of bad tidings! :(
Andrew.
No problem Andrew, i've fixed the problem. Should all work now.
by LisaM
15 Apr 2018, 23:29
Forum: uPyEasy: Software
Topic: New directory and file structure V024
Replies: 23
Views: 17372

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/m...
by LisaM
14 Apr 2018, 14:42
Forum: uPyEasy: General Discussion
Topic: uPyEasy v0.2.4 released
Replies: 0
Views: 6361

uPyEasy v0.2.4 released

Added:
- AndrewJ's openhab adapter (thx Andrew!)
- Modbus uart/tcp plugin protocol
- STM32 bug fix
by LisaM
14 Apr 2018, 14:40
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 44263

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....
by LisaM
14 Apr 2018, 12:24
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 44263

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! :)...
by LisaM
14 Apr 2018, 00:11
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 44263

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
by LisaM
13 Apr 2018, 18:14
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 44263

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 u...
by LisaM
11 Apr 2018, 21:48
Forum: uPyEasy: General Discussion
Topic: Modbus support
Replies: 1
Views: 6574

Modbus support

I've added modbus support, for both serial as tcp.
See here for more info how it works: https://github.com/pycom/pycom-modbus
by LisaM
09 Apr 2018, 23:10
Forum: uPyEasy: Hardware
Topic: Running uPyEasy from a SD Card
Replies: 7
Views: 9886

Re: Running uPyEasy from a SD Card

PYcom also has an ESP32 micropython version for their ESP32's, i'll order one to see if that's working as planned. I was going to order the NB-IoT ESP32 version from them anyway...

Cheers,

Lisa
by LisaM
05 Apr 2018, 01:08
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 44263

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'...
by LisaM
04 Apr 2018, 17:10
Forum: uPyEasy: Hardware
Topic: Running uPyEasy from a SD Card
Replies: 7
Views: 9886

Re: Running uPyEasy from a SD Card!

Hi Lisa, Thanks for the tip - it should avoid a quantity of hair-pulling! :) Andrew Sorry Andrew, i have run into a wall. See first page. You can still mount the SD however and use it using the uPyEasy firmware version, with the uPyEasy firmware version it's not possible to run uPyEasy from the SD ...
by LisaM
04 Apr 2018, 15:28
Forum: uPyEasy: Hardware
Topic: Running uPyEasy from a SD Card
Replies: 7
Views: 9886

Re: Running uPyEasy from a SD Card!

Very nice!! :D :D I'll give it a try on a TTGO T8 ESP32 board which arrived recently, which has an SD card slot. (I do/did have a Lolin32 Pro, which also has SD, but it seems to have died.... :cry: ) Cheers Andrew In that case, you'll need to adjust the parameters: spi = machine.SPI(1, baudrate=100...
by LisaM
04 Apr 2018, 10:57
Forum: uPyEasy: Hardware
Topic: Running uPyEasy from a SD Card
Replies: 7
Views: 9886

Running uPyEasy from a SD Card

Cheered to early... :( It is using the standard Loboris firmware for the ESP32-WROVER, like a Lolin32 Pro, which has both an SD Card and 4MB of PsRam (url: https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/tree/master/MicroPython_BUILD/firmware/esp32_psram_all ). Then put all of the modules co...
by LisaM
03 Apr 2018, 18:52
Forum: ESP Easy: Software
Topic: ESP-32 plans for ESPEasy (?)
Replies: 58
Views: 29809

Re: ESP-32 plans for ESPEasy (?)

If your still worried that micropython is to slow, here's a discussion about the speed: https://forum.micropython.org/viewtopic.php?f=2&t=1349 To be short, the speed at toggling pin's: Viper: 18,618,506 toggles/s, 9.31 MHz, 18 Clock Cycles/iter ASM: 27,929,060 toggles/s, 14 MHz, 12 Clock Cycles/...
by LisaM
02 Apr 2018, 20:19
Forum: uPyEasy: General Discussion
Topic: uPyEasy v0.2.3 released
Replies: 1
Views: 8102

uPyEasy v0.2.3 released

The firmware can be found in the uPyEasy releases section: https://github.com/letscontrolit/uPyEasy/releases/tag/BETA Added: uPyEasy AP mode when no SSID is set. This will make uPyEasy behave the same as ESPEasy when freshly flashed. If you have already uPyEasy installed and want to try this new fun...
by LisaM
02 Apr 2018, 00:43
Forum: ESP Easy: Software
Topic: ESP-32 plans for ESPEasy (?)
Replies: 58
Views: 29809

Re: ESP-32 plans for ESPEasy (?)

I guess that this requirement prohibits higher level languages like microPython from handling this properly. As explained at the end of this topic https://forum.micropython.org/viewtopic.php?t=2904&start=30 The reported maximum latency is 380us, that leaves 19.620us for the micropython ISR to c...
by LisaM
01 Apr 2018, 23:27
Forum: ESP Easy: Software
Topic: ESP-32 plans for ESPEasy (?)
Replies: 58
Views: 29809

Re: ESP-32 plans for ESPEasy (?)

OK, that's good to know about the hardware ints, or actually the lack of. About the ESPeasy + ESP32 combo. I just tested an ESP32 module with the PlatformIO build I made yesterday and it just works :) So expect some more debugging on that platform too. (Already found the first bug...) From the ESP3...
by LisaM
31 Mar 2018, 21:10
Forum: ESP Easy: Software
Topic: ESP-32 plans for ESPEasy (?)
Replies: 58
Views: 29809

Re: ESP-32 plans for ESPEasy (?)

At the moment we have about 4 build environments: - PlatformIO with ESP8266 and ESP32 - Arduino IDE with ESP8266 and ESP32. Four? Pfff, i only have one... :lol: Even the one is to much, i hope to make it zero. Using standard micropython firmware on a ESP32-WROVER with 4MB PsRam, i can just ftp my s...
by LisaM
31 Mar 2018, 17:33
Forum: ESP Easy: Software
Topic: ESP-32 plans for ESPEasy (?)
Replies: 58
Views: 29809

Re: ESP-32 plans for ESPEasy (?)

At the moment we have about 4 build environments: - PlatformIO with ESP8266 and ESP32 - Arduino IDE with ESP8266 and ESP32. Four? Pfff, i only have one... :lol: Even the one is to much, i hope to make it zero. Using standard micropython firmware on a ESP32-WROVER with 4MB PsRam, i can just ftp my s...
by LisaM
28 Mar 2018, 00:04
Forum: uPyEasy: General Discussion
Topic: SSL support
Replies: 7
Views: 9226

Re: SSL support

suisk1ptitmotard wrote: 06 Feb 2018, 11:36 I am using a nginx proxy reverse with a client certificate to access Domoticz.
It's possible to upload a ssl client certificate in uPyEasy :?:
Yes, but it's not tested enough...
by LisaM
28 Mar 2018, 00:02
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 44263

Re: STM32 boards

by LisaM
27 Mar 2018, 22:22
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Looks like a Domoticz bug... The values are there... bme1.JPG bme2.JPG Probably not. This is with the BME on a ESPEasy: 364 ESP16 141BC 1 BME1 Temp + Humidity + Baro THB1 - BTHR918, BTHGN129 22.0 C, 37 %, 1005 hPa It looks like the string has a different format then. Owwwww, then it must be a uPyEa...
by LisaM
27 Mar 2018, 20:01
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Looks like a Domoticz bug... The values are there...
bme2.JPG
bme2.JPG (18.53 KiB) Viewed 19697 times
bme1.JPG
bme1.JPG (17.83 KiB) Viewed 19697 times
by LisaM
27 Mar 2018, 19:47
Forum: uPyEasy: Hardware
Topic: STM32 boards
Replies: 66
Views: 44263

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's...
by LisaM
27 Mar 2018, 17:17
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

With the latest firmware, the Dallas sensor is working towards Domoticz and has been running for several hours. One strange thing however: This module has previously been used to check Dallas on ESPEasy32 and it has two dallas sensors attached (same pin). uPyEasy has only 1 device configured but it...
by LisaM
27 Mar 2018, 00:10
Forum: uPyEasy: General Discussion
Topic: uPyEasy is going NB-IoT!
Replies: 9
Views: 10303

Re: uPyEasy is going NB-IoT!

pppp33 wrote: 26 Mar 2018, 23:10 .....AAAargh....it's in Dutch.....Let me find something in english......and I'll be back.....
Chrome -> install google translate extension-> translate page -> done
I use it all the time for Chinese...
by LisaM
27 Mar 2018, 00:07
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Update: The Dallas show up correctly in Domoticz. The BME has two devices in Domoticz, one for temp and one for weather. Neither one sohwas values, but 'last seen' is correct. BME should be one device: 1244 VirtualSwitches 1452C 1 uPyEasy Test Temp_Hum_Baro Temp + Humidity + Baro THB1 - BTHR918, BT...
by LisaM
26 Mar 2018, 22:48
Forum: uPyEasy: General Discussion
Topic: uPyEasy is going NB-IoT!
Replies: 9
Views: 10303

Re: uPyEasy is going NB-IoT!

Hi Lisa, now we have esp32 boards with LORA and NB-IOT. Do you think we can setup a common interface layer, i.e. something to support TCP/IP, so we can use MQTT from anywhere ? Or they're only serial, point-2-point simple protocols ? Thanx for the great work you're sharing..... Paolo An explanation...
by LisaM
26 Mar 2018, 22:26
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

V0.2.2 released, firmware can be found in the release section.

Issues solved:
- Async ESP32 not working (work-around implemented: devices should be sending data to domoticz now)

Features added:
- Fixed IP Address possible for ESP32
by LisaM
26 Mar 2018, 09:50
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

karl222 wrote: 26 Mar 2018, 06:34 Hi
Ssid and pw do have the right values, but i can’t enter values in ip settings field, they are greyed out...
So far, when using wifi uPyEasy is using dhcp to get the ip-address. Do you have a need to specify a specific ip-address?
by LisaM
25 Mar 2018, 23:30
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

It is not possible to set IP Settings in Config tab. Can this somehow be changed. regards karl Hmmm, checking... @karl: can you verify the correct values are written in the config? To verify: - Goto webgui - tools - filesystem - files - click on config - click on network - click the edit button &qu...
by LisaM
25 Mar 2018, 17:23
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Can you post the tail of your log? Let's say 20 lines? The web log only shows this: 2018-03-25 14:34:04 [debug] uPyEasy-uPyEasy: Utils: uPyEasy Name 2018-03-25 14:34:14 [debug] uPyEasy-uPyEasy: Pages: Authorize User!? 2018-03-25 14:34:14 [debug] uPyEasy-uPyEasy: Pages: Entering Devices Page 2018-03...
by LisaM
25 Mar 2018, 17:17
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Martinus wrote: 25 Mar 2018, 17:15 Ok, i fixed it using crtl-c to get into repl again.

But wouldn't it be easier to launch an AP if no SSID is set, like we do with ESPEasy?
In hindsight, that might very well be the case... :)
by LisaM
25 Mar 2018, 16:47
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Just did a fresh install of the latest firmware. Now it automatically connects to my neighbors Wifi printer (!). It does not seem to listen to serial input. How to get it connect to my network again? Oops, :oops: , that's because in absence of the network config uPyEasy connects to the strongest op...
by LisaM
25 Mar 2018, 16:30
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Noticed same here. DS sensor is working, but no data to Domoticz. Log does not reveal any clue. Can you post the tail of your log? Let's say 20 lines? The web log only shows this: 2018-03-25 14:34:04 [debug] uPyEasy-uPyEasy: Utils: uPyEasy Name 2018-03-25 14:34:14 [debug] uPyEasy-uPyEasy: Pages: Au...
by LisaM
25 Mar 2018, 16:14
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Figured out how: created boot.py on desktop, then: ampy --port COM3 put boot.py But there might be an easier way? PLEASE note that due to an header bug the file edit only works with the firmware release 20180325 and higher (put in the releases section a few minutes ago) when flashing,the filesystem...
by LisaM
25 Mar 2018, 15:41
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Seems its running again, with the 4096 bin. But, it does not pass the data to Domoticz, using HTTP, nor does it auto update once every 60 seconds. Noticed same here. DS sensor is working, but no data to Domoticz. Log does not reveal any clue. Can you post the tail of your log? Let's say 20 lines?
by LisaM
25 Mar 2018, 15:40
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

Seems its running again, with the 4096 bin. But, it does not pass the data to Domoticz, using HTTP, nor does it auto update once every 60 seconds. After a manual update (by clicking Devices) I getnew values, as expected and this: stack: 2032 out of 15360 GC: total: 96000, used: 75856, free: 20144 N...
by LisaM
25 Mar 2018, 15:33
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

2000-01-01 00:03:43 [debug] uPyEasy-uPyEasy: Hal: Entering SetTime 2000-01-01 00:03:43 [debug] uPyEasy-uPyEasy: Hal: Entering GetNtpTime 2000-01-01 00:03:43 [debug] uPyEasy-uPyEasy: Hal: network Table 2000-01-01 00:03:43 [debug] uPyEasy-uPyEasy: Hal: Using NTP Hostname: pool.ntp.org 2000-01-01 00:0...
by LisaM
25 Mar 2018, 15:19
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 170873

Re: ESP32 boards

OK. Installed ESP tool on a different computer. (non win 10) Windows 7 ult. Got pyserial working ok. Set up a brand new module on a protoboard. https://www.ebay.com/itm/ESP-WROOM-32-ESP32-ESP-32S-Module-Board-WIFI-Bluetooth-BLE-Dual-Mode-Core-CPU/322478985655?ssPageName=STRK%3AMEBIDX%3AIT&_trks...