The Sonoff Mini (and R3) also has an REST API, using the REST API you can also replace the firmware using OTA!
https://github.com/itead/Sonoff_Devices ... %20Doc.pdf
Search found 513 matches
- 17 Aug 2019, 22:47
- Forum: ESP Easy: Hardware
- Topic: SONOFF MINI
- Replies: 32
- Views: 80819
- 17 Aug 2019, 22:38
- Forum: uPyEasy: General Discussion
- Topic: ceiling fans with remote
- Replies: 3
- Views: 19246
Re: ceiling fans with remote
Which sensor remotes? Would you care to explain that in more detail?
- 29 May 2019, 00:24
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy
- Replies: 132
- Views: 324910
Re: uPyEasy
Lisa what ever happened to this? Will you be releasing an ESP8266 version? I think this firmware would be perfect for a project i have Hi iiot, The source code has grown to such a size that it's using to much heap memory to be able to use it on a ESP8266, so minimal requirements is still the ESP32....
- 25 Mar 2019, 00:03
- Forum: uPyEasy: General Discussion
- Topic: AurAir Launched!!!
- Replies: 6
- Views: 28067
Re: AurAir Launched!!!
Everything did not work out as planned, that's life. That doesn't mean we give up, it just means we are currently exploring a different way of selling our goods.
Cheers,
Lisa
Cheers,
Lisa
- 26 Feb 2019, 14:30
- Forum: uPyEasy: General Discussion
- Topic: AurAir Kickstarter Campaign
- Replies: 5
- Views: 23142
Re: AurAir Kickstarter Campaign
Thx!grovkillen wrote: ↑26 Feb 2019, 07:51 It's been shared in the Swedish FB group of "Home Automation". Good luck!
- 26 Feb 2019, 14:29
- Forum: uPyEasy: General Discussion
- Topic: AurAir Kickstarter Campaign
- Replies: 5
- Views: 23142
Re: AurAir Kickstarter Campaign
Birth woes apart, top. Question : Specs say plug 7/7 and socket 7/3 If I have it right, this is still usable in most of EU, as a 7/7 plug is compatible with earth pin or the 2 earthing clips “German” variant. It’s called a hybrid plug, the problem is that the plug is compatible but the socket isn’t...
- 26 Feb 2019, 01:12
- Forum: uPyEasy: General Discussion
- Topic: AurAir Kickstarter Campaign
- Replies: 5
- Views: 23142
AurAir Kickstarter Campaign
Come watch us at our Kickstarter campaign at https://www.kickstarter.com/projects/aurair/aurair-the-worlds-1st-affordable-iot-air-quality-m Or at our website https://www.aurair.eu Why? Because: We’re Open Source! Flash the AurAir with your own adapted source code! We give you our source code AND exp...
- 10 Feb 2019, 19:39
- Forum: uPyEasy: General Discussion
- Topic: AurAir Preview
- Replies: 0
- Views: 15719
AurAir Preview
Curious how it looks like?
Watch this link for the preview! https://www.facebook.com/AurAirQuality/ ... 8878399647
Watch this link for the preview! https://www.facebook.com/AurAirQuality/ ... 8878399647
- 05 Feb 2019, 23:44
- Forum: uPyEasy: Software
- Topic: mega-20190116 +oled +dht11 and ntp
- Replies: 1
- Views: 15349
- 05 Feb 2019, 23:41
- Forum: uPyEasy: Software
- Topic: Convert regular Py script to MicroPython
- Replies: 2
- Views: 27878
Re: Convert regular Py script to MicroPython
There are differences, CPython is way to big for any soc!
The differences are listed here: https://github.com/micropython/micropyt ... ifferences
The differences are listed here: https://github.com/micropython/micropyt ... ifferences
- 05 Feb 2019, 23:39
- Forum: uPyEasy: Software
- Topic: Serial Server
- Replies: 2
- Views: 17498
Re: Serial Server
Are you sure you asked this question on the right forum?
- 05 Feb 2019, 23:38
- Forum: uPyEasy: General Discussion
- Topic: AurAir Launched!!!
- Replies: 6
- Views: 28067
- 29 Jan 2019, 16:00
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy vs ESP Easy Mega
- Replies: 1
- Views: 16495
Re: uPyEasy vs ESP Easy Mega
That all depends on the platform!
For the esp8266 you can only choose ESP Easy.
For the esp32 you have a choice between ESP Easy and uPyEasy
For STM32 you have to choose uPyEasy.
It’s that easy...
For the esp8266 you can only choose ESP Easy.
For the esp32 you have a choice between ESP Easy and uPyEasy
For STM32 you have to choose uPyEasy.
It’s that easy...

- 28 Jan 2019, 15:11
- Forum: uPyEasy: General Discussion
- Topic: AurAir Launched!!!
- Replies: 6
- Views: 28067
AurAir Launched!!!
AurAir https://www.aurair.eu/ (our air) is the new startup, which will be making a hardware/software product for measuring indoor air quality. We’ll be working together with the LetsControlIt team to embed AurAir in the (new) LetsControlIt network. We’ll launch our new product in a KickStarter campa...
- 28 Jan 2019, 15:00
- Forum: uPyEasy: General Discussion
- Topic: Future of uPyEasy
- Replies: 7
- Views: 28714
Re: Future of uPyEasy
Thank you for the update Lisa, will the code be available to us as well, and under what licence? Most part yes, some part not due to the fact that sensitive data is in there (such as the Azure protocol driver which contains keys). The AurAir hardware can be reprogrammed using the open-source softwa...
- 06 Jan 2019, 20:30
- Forum: uPyEasy: General Discussion
- Topic: Sure is quiet around here.
- Replies: 5
- Views: 24489
Re: Sure is quiet around here.
Actually there's more development here then ever before, it's just under the radar.
We wanted to make a big jump instead of a lot of small steps, an all-or-nothing step...
Cheers,
Lisa

We wanted to make a big jump instead of a lot of small steps, an all-or-nothing step...

Cheers,
Lisa
- 06 Jan 2019, 20:13
- Forum: uPyEasy: Software
- Topic: branch into tall grass?
- Replies: 2
- Views: 17058
Re: branch into tall grass?
And... the ESP8266 is going out the door... The ESP32 is taking over it's role although the ESP8266 might be useful in certain projects (where cheap and/or batteries are required).
cheers,
Lisa
cheers,
Lisa
- 06 Jan 2019, 20:10
- Forum: uPyEasy: Hardware
- Topic: esp adaptor board?
- Replies: 8
- Views: 31233
Re: esp adaptor board?
ESP32 boot states and GPIO pins are perfectly described here: https://github.com/espressif/esptool/wi ... -Selection
Cheers,
Lisa
Cheers,
Lisa
- 06 Jan 2019, 20:06
- Forum: uPyEasy: General Discussion
- Topic: Future of uPyEasy
- Replies: 7
- Views: 28714
Re: Future of uPyEasy
Hi, It's still very much alive, although for a longer time there has been no update here. The code base has been revamped completely to make it faster, more stable and less memory consuming, since it's going to be used in it's first commercial (hardware) product. The last few bugs are now being inve...
- 07 Oct 2018, 21:28
- Forum: uPyEasy: General Discussion
- Topic: reading of events on gpio pins for switch
- Replies: 1
- Views: 15832
Re: reading of events on gpio pins for switch
It's interrupt based, but not as you're used to. Using the right libraries there is no need to program any interrupt routine. Just add this to the init function of the plugin (for a push button): from aswitch import Switch, Pushbutton from machine import Pin # init button pbpin = Pin(0, Pin.IN, Pin....
- 07 Oct 2018, 21:12
- Forum: uPyEasy: Software
- Topic: Use of MCP23017: No I2C devices found
- Replies: 1
- Views: 15864
Re: Use of MCP23017: No I2C devices found
Did you put your message in the right forum? This is the upyeasy forum and not the espeasy forum. 

- 02 Aug 2018, 22:49
- Forum: ESP Easy: General Discussion
- Topic: Can esp32 with EspEasy not multitask?
- Replies: 13
- Views: 12675
Re: Can esp32 with EspEasy not multitask?
Hello, yes, the bad functioität the pin control I can confirm again. Some pins can not be set to 0 via PWM and GPIO. If you set the pins to 0 by rules when starting, then there are sporadically other pins that can not be set to 0. These pins they can not go but put on PWM 1. But it's easy for consu...
- 11 Jul 2018, 18:45
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 204355
Re: STM32 boards
I am still getting I (3063) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (3073) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUS How can I get the log without being connected to the computer? Thanks But, you do g...
- 09 Jul 2018, 13:33
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
- 08 Jul 2018, 16:45
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
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...
- 08 Jul 2018, 16:38
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 204355
Re: STM32 boards
I (2715) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (2725) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE This is all I get consistently today. Is this an ESP32 or a STM32F4? It looks like this is a brown-ou...
- 08 Jul 2018, 16:35
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy installation
- Replies: 1
- Views: 16069
Re: uPyEasy installation
Hi,
The uPyEasy installation instructions are listed here: /forum/viewtopic.php?f=22&t=3906
Cheers,
Lisa
The uPyEasy installation instructions are listed here: /forum/viewtopic.php?f=22&t=3906
Cheers,
Lisa
- 29 Jun 2018, 18:34
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
- 29 Jun 2018, 18:33
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
Re: uPyEasy v0.3.0 released
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
- 02 Jun 2018, 18:31
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
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 memor...
- 01 Jun 2018, 18:44
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 204355
Re: STM32 boards
I gave the LoPy a try, the 2048 version loads and runs. I need to play with it more, but it appears to have issue keeping the AP information but that could be me not doing something correctly.. There were some other errors, something about MAC address not set, but that could be the LoPy comm module...
- 01 Jun 2018, 18:34
- Forum: uPyEasy: Hardware
- Topic: STM32 boards
- Replies: 66
- Views: 204355
Re: STM32 boards. How to determine which boards will work
Difficult to see in this forum topic which board specs will and won’t work. Ie. memory required for code, etc. Will this board work? STM32 ARM Mini System - 72Mhz https://www.robotics.org.za/6970622930693 And the pycom lopy? https://www.robotics.org.za/AF3339 The mini doesn work, you'll need at lea...
- 01 Jun 2018, 18:31
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
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...
- 19 May 2018, 14:42
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
Re: uPyEasy v0.3.0 released
>> >>> import upyeasy >>> >>> dir() ['machine', 'upyeasy', '__name__', 'pyb'] >>> upyeasy.main() Traceback (most recent call last): File "ulog.py", line 110, in do_log File "syslog_sink.py", line 76, in log File "usyslog.py", line 72, in warning File "usyslog.py&q...
- 16 May 2018, 20:59
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 699586
Re: ESP32 boards
Hi Bert,
This might be due to a to long build version in the config table, if have shortened it and put a new firmware version in the release section.
Can you erase/flash the esp32 again?
Cheers,
Lisa
This might be due to a to long build version in the config table, if have shortened it and put a new firmware version in the release section.
Can you erase/flash the esp32 again?
Cheers,
Lisa
- 12 May 2018, 02:56
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
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 lo...
- 11 May 2018, 21:18
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
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...
- 10 May 2018, 18:44
- Forum: Staff Announcements forum
- Topic: ESPEasy & uPyEasy Strategy
- Replies: 26
- Views: 63928
Re: ESPEasy & uPyEasy Strategy
Isn't "Twitter Bootstrap" just "Bootstrap" ? Twitter created it, open sourced it and named it Twitter Bootstrap. It's becoming more and more just Bootstrap... The reload time depends on the sensor delay time, if they are all 60s it doesn't make sense to reload every 6 s. So esse...
- 10 May 2018, 18:04
- Forum: Staff Announcements forum
- Topic: ESPEasy & uPyEasy Strategy
- Replies: 26
- Views: 63928
Re: ESPEasy & uPyEasy Strategy
ESPeasy C++ already has some JSON retrieval for the values. (sensor data also addressable per task) Maybe good for inspiraction? { "System":{ "Build":20102, "Git Build":"", "System libraries":"ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3), LWIP:...
- 10 May 2018, 17:17
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
Re: uPyEasy v0.3.0 released
Hi Lisa, I think I must be doing something wrong with the erase procedure. I never get red and green together on my boards while holding the reset and the user button - I've waited over a minute. One one of my STM32 boards the red is lit while holding; on the other board no LED. When I release RST ...
- 09 May 2018, 17:50
- Forum: uPyEasy: Hardware
- Topic: ESP32 boards
- Replies: 277
- Views: 699586
Re: ESP32 boards
Hi Bert,
There have been database changes, can you erase the esp32, reflash and then try again? If you have settings in the database you want to remember, save/write/note it down first.
Cheers,
Lisa
There have been database changes, can you erase the esp32, reflash and then try again? If you have settings in the database you want to remember, save/write/note it down first.
Cheers,
Lisa
- 09 May 2018, 17:48
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
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 settings...
- 09 May 2018, 01:39
- Forum: Staff Announcements forum
- Topic: ESPEasy & uPyEasy Strategy
- Replies: 26
- Views: 63928
Re: ESPEasy & uPyEasy Strategy
[...] For uPyEasy there is no need to do any JSON REST API encoding/decoding since everything is done by (another) (micro)python library. The input/output of these libraries (python dictionaries) match the input/output of the database (also python dictionaries), so it works together seamless.So lit...
- 09 May 2018, 00:01
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
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] uPy...
- 07 May 2018, 14:49
- Forum: Staff Announcements forum
- Topic: ESPEasy & uPyEasy Strategy
- Replies: 26
- Views: 63928
Re: ESPEasy & uPyEasy Strategy
ESPeasy itself is also somewhat moving into that same direction, al be it slowly. In C++ land we have to code it all ourselves. So maybe we could discuss together what kind of queries to the host are needed. Yesterday I made some changes to the Json pages in ESPeasy. One for the log (/logjson) and ...
- 06 May 2018, 01:18
- Forum: Staff Announcements forum
- Topic: ESPEasy & uPyEasy Strategy
- Replies: 26
- Views: 63928
Re: ESPEasy & uPyEasy Strategy
For my led-animation project i'm just using github as a repository. Only need to regenerate the repository index if plugins are added, but we could do that with Travis. When the repo is on github we could also make branches/tags and let the user choose if they want to browser "stable/testing/d...
- 05 May 2018, 22:06
- Forum: uPyEasy: General Discussion
- Topic: uPyEasy v0.3.0 released
- Replies: 32
- Views: 126784
uPyEasy v0.3.0 released
Version 0.3.0: Dxbootstate switched from server based to client-server based Changed hardware page from server based to client-server based, most processing on the page is now done by the browser. Database single/multi row caching Plugins optimized, bug fixing Memory optimization done: Mem debugging...
- 28 Apr 2018, 13:56
- Forum: uPyEasy: General Discussion
- Topic: support of INA219 and ADS1115
- Replies: 18
- Views: 48853
Re: support of INA219 and ADS1115
Hahahahahahahaha, you are funny. I‘d rather climb the mounteverest as I do the programming of a plugin :D Well, in that case you'll need one ESP per 16 channels (4x ADS1115 I2C per ESP). Since it requires switching I2C addresses, essentially building a new communication channel to the ADS115 for re...
- 28 Apr 2018, 12:41
- Forum: uPyEasy: Software
- Topic: New directory and file structure V024
- Replies: 23
- Views: 83027
Re: New directory and file structure V024
2015-01-01 00:00:00 [debug] uPyEasy: Init: rule Table filedb.py line 93: fname = 2000-01-01_00-00-001062930438 filedb.py line 97: f= <io.TextIOWrapper 2000e9b0> filedb.py line 98: f.read() = ������������������������������������������������������������������������������������������������������������...
- 24 Apr 2018, 20:34
- Forum: Experimental
- Topic: mega-20180421 and P076
- Replies: 7
- Views: 23913
Re: mega-20180421 and P076
It's probably still only available in test mode:
Change it to this for prod mode:
Code: Select all
#ifdef PLUGIN_BUILD_TESTING
Code: Select all
//#ifdef PLUGIN_BUILD_TESTING