mega-20180421 and P076
Moderators: rtenklooster, Voyager, BertB, Stuntteam
Forum rules
You have entered the experimental forum, beware!!!
You have entered the experimental forum, beware!!!
mega-20180421 and P076
On this moment i work with the papperone/LisaM version for my Sonoff Pow.
I saw that TD-er did some changes on the mega-20180421 version.
TD-er (7):
[WiFi] Init static IP before connect to wifi
[Toast message] Change "Settings saved" to "Submitted"
[info] Add more build related info to the log and wifi info link to wiki
[Sonoff Pow] Add support for HLW8012
[Sonoff Pow] Add support for HLW8012
[Sonoff POW] Change Plugin ID to 76
[Sonoff POW] Set some proper defaults for the Sonoff POW
So i downloaded the ESPEasy_mega-20180421.zip and used the ESP_Easy_mega-20180421_dev_ESP8266_4096 on a Wemos D1 mini to see the differences.
But i can't find the P076_HLW8012 under devices. Do i something wrong?
Info from the Main tab:
Firmware
Build 20101 - Mega (ESP82xx Core 2_4_0)
GIT version mega-20180421
Plugins 72 [Normal] [Testing] [Development]
Build Md5 a151ccbdf98982e6ba287180a4e2ac
Md5 check passed.
Build time Apr 21 2018 02:08:42
Binary filename firmware.bin
I saw that TD-er did some changes on the mega-20180421 version.
TD-er (7):
[WiFi] Init static IP before connect to wifi
[Toast message] Change "Settings saved" to "Submitted"
[info] Add more build related info to the log and wifi info link to wiki
[Sonoff Pow] Add support for HLW8012
[Sonoff Pow] Add support for HLW8012
[Sonoff POW] Change Plugin ID to 76
[Sonoff POW] Set some proper defaults for the Sonoff POW
So i downloaded the ESPEasy_mega-20180421.zip and used the ESP_Easy_mega-20180421_dev_ESP8266_4096 on a Wemos D1 mini to see the differences.
But i can't find the P076_HLW8012 under devices. Do i something wrong?
Info from the Main tab:
Firmware
Build 20101 - Mega (ESP82xx Core 2_4_0)
GIT version mega-20180421
Plugins 72 [Normal] [Testing] [Development]
Build Md5 a151ccbdf98982e6ba287180a4e2ac
Md5 check passed.
Build time Apr 21 2018 02:08:42
Binary filename firmware.bin
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
Re: mega-20180421 and P076
For the PlatformIO environment, you can select it via the build selection box.
It is not yet tested, I only uploaded it to my own POW, but it has not yet been run on 230V.
The thing is the library for this chip does use a bit too much iRAM, so I cannot combine it in a 'normal' build.
But on the other hand, the typical 'product uses' like for the Sonoff POW are unlikely to have other devices connected. So it was a good candidate to create a first 'product specific' build.
I eventually would like to make one build that already has all present devices of the product pre-configured to allow a good "out-of-the-box" experience.
But like I said, it has not yet been tested.
A number of users were asking for it, so I merged it like this. Maybe it can already be of use to someone.
It is not yet tested, I only uploaded it to my own POW, but it has not yet been run on 230V.
The thing is the library for this chip does use a bit too much iRAM, so I cannot combine it in a 'normal' build.
But on the other hand, the typical 'product uses' like for the Sonoff POW are unlikely to have other devices connected. So it was a good candidate to create a first 'product specific' build.
I eventually would like to make one build that already has all present devices of the product pre-configured to allow a good "out-of-the-box" experience.
But like I said, it has not yet been tested.
A number of users were asking for it, so I merged it like this. Maybe it can already be of use to someone.
Re: mega-20180421 and P076
Thanks for the answers TD-er, but the PlatformIO is a level to high for me.TD-er wrote: ↑24 Apr 2018, 22:08 For the PlatformIO environment, you can select it via the build selection box.
It is not yet tested, I only uploaded it to my own POW, but it has not yet been run on 230V.
The thing is the library for this chip does use a bit too much iRAM, so I cannot combine it in a 'normal' build.
But on the other hand, the typical 'product uses' like for the Sonoff POW are unlikely to have other devices connected. So it was a good candidate to create a first 'product specific' build.
I eventually would like to make one build that already has all present devices of the product pre-configured to allow a good "out-of-the-box" experience.
But like I said, it has not yet been tested.
A number of users were asking for it, so I merged it like this. Maybe it can already be of use to someone.
I was thinking that the the bin-files of the nightly builds are exact equal then the source file. But that's not true.
In the source file i see plugins from _P001 till _P076 and in the bin file from P001 till P072
But appreciate it if you want to made a bin file with all present devices.
Re: mega-20180421 and P076
The Sonoff POW will be a separate binary, as soon as it is tested.
The current implementation of the sensor used in the POW is taking a bit too much memory, so it cannot be combined in a single binary with all plugins.
The current implementation of the sensor used in the POW is taking a bit too much memory, so it cannot be combined in a single binary with all plugins.
Re: mega-20180421 and P076
As written in the original post of this plugin, the HLW8012 is not used only in Sonoff POW but there are external modules (http://www.electrodragon.com/product/en ... out-board/) and as well I've at least 2 type of PCb designed by my with HLW8012 onboard... I understand this is not high priority but I'll try to find some time to understand why the library uses so much iRAM in order to make this as standard plugin possibly...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: mega-20180421 and P076
I will wait papperone. Your version works fine on the moment.papperone wrote: ↑25 Apr 2018, 22:57As written in the original post of this plugin, the HLW8012 is not used only in Sonoff POW but there are external modules (http://www.electrodragon.com/product/en ... out-board/) and as well I've at least 2 type of PCb designed by my with HLW8012 onboard... I understand this is not high priority but I'll try to find some time to understand why the library uses so much iRAM in order to make this as standard plugin possibly...
Who is online
Users browsing this forum: No registered users and 1 guest