build custom 8285 with platformIO

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
chromo23
Normal user
Posts: 827
Joined: 10 Sep 2020, 16:02
Location: germany

build custom 8285 with platformIO

#1 Post by chromo23 » 18 Feb 2022, 14:45

Hi there,

i already compiled a custom firmware(mega-20211224 release) for the 8266 with changing parameters in Custom.h
Since there is no custom entry for the 8285 how do i do this?

TD-er
Core team member
Posts: 8748
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: build custom 8285 with platformIO

#2 Post by TD-er » 18 Feb 2022, 15:31

Maybe you can check this PR: https://github.com/letscontrolit/ESPEasy/pull/3934
The idea is to detect ESP8285 at runtime, so we don't need to have different versions anymore.
But have not tested it myself yet, as the ESP8285 I have are a bit out of reach right now.

User avatar
chromo23
Normal user
Posts: 827
Joined: 10 Sep 2020, 16:02
Location: germany

Re: build custom 8285 with platformIO

#3 Post by chromo23 » 18 Feb 2022, 16:22

I know of this but i don´t want to do experiments right now and just wanted to use the release because the serial header of the device is hard to reach.
Its a gosund sp111 and i wanted to add the HLW8012/BL0937 plugin. Or is there a 1m build i missed which already has the plugin?

User avatar
Ath
Normal user
Posts: 3508
Joined: 10 Jun 2018, 12:06
Location: NL

Re: build custom 8285 with platformIO

#4 Post by Ath » 18 Feb 2022, 17:08

chromo23 wrote: 18 Feb 2022, 16:22 i wanted to add the HLW8012/BL0937 plugin. Or is there a 1m build i missed which already has the plugin?
This? https://github.com/letscontrolit/ESPEasy/pull/3929
/Ton (PayPal.me)

User avatar
chromo23
Normal user
Posts: 827
Joined: 10 Sep 2020, 16:02
Location: germany

Re: build custom 8285 with platformIO

#5 Post by chromo23 » 18 Feb 2022, 20:59

i just testet this branch and had after a few minutes a "maximum flash writes reached" warning.
and unfortunately no log button to figure out why...

User avatar
Ath
Normal user
Posts: 3508
Joined: 10 Jun 2018, 12:06
Location: NL

Re: build custom 8285 with platformIO

#6 Post by Ath » 18 Feb 2022, 21:36

chromo23 wrote: 18 Feb 2022, 20:59 i just testet this branch and had after a few minutes a "maximum flash writes reached" warning.
and unfortunately no log button to figure out why...
Well, the log is missing because of the minimal build I assume, but those flash writes shouldn't be abnormal, as nothing in the plugin does a save, do you have anything in rules that could cause that?
/Ton (PayPal.me)

User avatar
chromo23
Normal user
Posts: 827
Joined: 10 Sep 2020, 16:02
Location: germany

Re: build custom 8285 with platformIO

#7 Post by chromo23 » 18 Feb 2022, 21:44

but 100+ flashwrites in some minutes aren´t normal either since it was a fresh build with settings erased and the writes i caused were adding two plugins.... who knows what happend. maybe i´ll investigate when i have some time and energy for this....

TD-er
Core team member
Posts: 8748
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: build custom 8285 with platformIO

#8 Post by TD-er » 18 Feb 2022, 21:50

Was the unit power cycled in between?
If not, then it keeps the flash write count.

User avatar
chromo23
Normal user
Posts: 827
Joined: 10 Sep 2020, 16:02
Location: germany

Re: build custom 8285 with platformIO

#9 Post by chromo23 » 18 Feb 2022, 22:07

it definitely was because i wanted to test the plugin and with these devices it is not a good idea to leave your computer connected while plugging the device into main power.

Post Reply

Who is online

Users browsing this forum: No registered users and 48 guests