Search found 513 matches
- 24 Apr 2018, 20:29
- Forum: uPyEasy: General Discussion
- Topic: support of INA219 and ADS1115
- Replies: 18
- Views: 32820
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...
- 23 Apr 2018, 19:33
- Forum: uPyEasy: General Discussion
- Topic: support of INA219 and ADS1115
- Replies: 18
- Views: 32820
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...
- 23 Apr 2018, 19:22
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 64356
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
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
- 20 Apr 2018, 18:54
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 64356
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, 18:48
- Forum: uPyEasy: General Discussion
- Topic: support of INA219 and ADS1115
- Replies: 18
- Views: 32820
- 18 Apr 2018, 16:21
- Forum: uPyEasy: General Discussion
- Topic: support of INA219 and ADS1115
- Replies: 18
- Views: 32820
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 ...
- 18 Apr 2018, 15:14
- Forum: ESP Easy: Hardware
- Topic: Support of E-Ink Displays
- Replies: 19
- Views: 19514
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...
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...
- 18 Apr 2018, 01:34
- Forum: uPyEasy: General Discussion
- Topic: support of INA219 and ADS1115
- Replies: 18
- Views: 32820
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,...
- 16 Apr 2018, 21:19
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 64356
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...
- 16 Apr 2018, 20:42
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 64356
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, 18:59
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 64356
- 15 Apr 2018, 23:29
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 64356
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...
- 14 Apr 2018, 14:42
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.2.4 released
- Replies: 0
- Views: 10588
uPyEasy v0.2.4 released
Added:
- AndrewJ's openhab adapter (thx Andrew!)
- Modbus uart/tcp plugin protocol
- STM32 bug fix
- AndrewJ's openhab adapter (thx Andrew!)
- Modbus uart/tcp plugin protocol
- STM32 bug fix
- 14 Apr 2018, 14:40
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 169703
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, 12:24
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 169703
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! :)...
- 14 Apr 2018, 00:11
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 169703
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
Cheers,
Lisa
- 13 Apr 2018, 18:14
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 169703
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...
- 11 Apr 2018, 21:48
- Forum: uPyEasy: General Discussion
- Topic: Modbus support
- Replies: 1
- Views: 12676
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
See here for more info how it works: https://github.com/pycom/pycom-modbus
- 09 Apr 2018, 23:10
- Forum: uPyEasy: Hardware
- Topic: Running uPyEasy from a SD Card
- Replies: 7
- Views: 17170
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
Cheers,
Lisa
- 05 Apr 2018, 01:08
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 169703
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'...
- 04 Apr 2018, 17:10
- Forum: uPyEasy: Hardware
- Topic: Running uPyEasy from a SD Card
- Replies: 7
- Views: 17170
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 ...
- 04 Apr 2018, 15:28
- Forum: uPyEasy: Hardware
- Topic: Running uPyEasy from a SD Card
- Replies: 7
- Views: 17170
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...
- 04 Apr 2018, 10:57
- Forum: uPyEasy: Hardware
- Topic: Running uPyEasy from a SD Card
- Replies: 7
- Views: 17170
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...
- 03 Apr 2018, 18:52
- Forum: ESP Easy: Software
- Topic: ESP-32 plans for ESPEasy (?)
- Replies: 58
- Views: 61459
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/...
- 02 Apr 2018, 20:19
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.2.3 released
- Replies: 1
- Views: 13113
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...
- 02 Apr 2018, 00:43
- Forum: ESP Easy: Software
- Topic: ESP-32 plans for ESPEasy (?)
- Replies: 58
- Views: 61459
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...
- 01 Apr 2018, 23:27
- Forum: ESP Easy: Software
- Topic: ESP-32 plans for ESPEasy (?)
- Replies: 58
- Views: 61459
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...
- 31 Mar 2018, 21:10
- Forum: ESP Easy: Software
- Topic: ESP-32 plans for ESPEasy (?)
- Replies: 58
- Views: 61459
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...
- 31 Mar 2018, 17:33
- Forum: ESP Easy: Software
- Topic: ESP-32 plans for ESPEasy (?)
- Replies: 58
- Views: 61459
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...
- 28 Mar 2018, 00:04
- Forum: uPyEasy: General Discussion
- Topic: SSL support
- Replies: 7
- Views: 16550
Re: SSL support
Yes, but it's not tested enough...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
- 28 Mar 2018, 00:02
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 169703
Re: STM32 boards
Bug is stated here: https://github.com/micropython/micropython/pull/3379
- 27 Mar 2018, 22:22
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 27 Mar 2018, 20:01
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
Re: ESP32 boards
Looks like a Domoticz bug... The values are there...
- 27 Mar 2018, 19:47
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 169703
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...
- 27 Mar 2018, 17:17
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 27 Mar 2018, 00:10
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy is going NB-IoT!
- Replies: 9
- Views: 21301
- 27 Mar 2018, 00:07
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 26 Mar 2018, 22:48
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy is going NB-IoT!
- Replies: 9
- Views: 21301
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...
- 26 Mar 2018, 22:26
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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
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
- 26 Mar 2018, 09:50
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
- 25 Mar 2018, 23:30
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 25 Mar 2018, 17:23
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 25 Mar 2018, 17:17
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
- 25 Mar 2018, 16:47
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 25 Mar 2018, 16:30
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 25 Mar 2018, 16:14
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 25 Mar 2018, 15:41
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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?
- 25 Mar 2018, 15:40
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 25 Mar 2018, 15:33
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...
- 25 Mar 2018, 15:19
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 602033
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...