-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP, OpenEVSE merge 2020-08 #74
WIP, OpenEVSE merge 2020-08 #74
Conversation
Also moved all the board specific setup to the platform.ini and based on #defines, makes the code less complicated
both for the timer branch and (my)pre-timer branch
…ESP into openevse_merge_202007
- last data now a propper JSON doc - merged logs and latest value view models to stop extra fetches - added more units - added a few more system values to the input data
…ding the button for 5 secs
… much nicer solution as n memory allocations or copying.
Current issues remaining:
|
Both those issues should now be fixed |
I suspect this may be memory related, in my tests only 7k free when upgrading :( need to review the memory usage. |
…y time through the loop.
…different code for HTTP and HTTPS
…sh rather than taking up RAM
I've been testing the latest version for a few days now, It works perfectly on the Huzzah: receiving data from emonTx, posting to MQTT/HTTP and HTTP firmware update 👍 However, running on the WiFi relay the issue of losing the config when restarted / power cycled has returned. Also HTTP update does not work on the WiFi relay. It's a shame the firmware update does not work on the wifi relay but maybe it's not possible given the hardware limitation. However, the issue of losing the config and dropping off the WiFi on reboot is obviously a major issue. |
Heya, chipping in here that the wifi relay has only 1MB flash. The config as EEPROM emulation on the esp8266 will be put at the end of the flash, so EEPROM would be lost on the 1MB flash if it's expecting it to be elsewhere. |
Ah that would explain both issues, thanks @danbates2. |
@glynhudson I have fixed the WiFi relay image to be 1Mb, give it a try. |
Fantastic! It works great now 👍 I think we're good to merge this. The WiFi relay actually has 2Mb of flash. I've made the change to build the 2Mb image. |
Hi, I've just tried this firmware on an old SONOFF WIFI Relay (basic). It only has 1Mb flash. The version in the releases 3.1.0 seems to work fine, please stay at 1Mb !
|
The different envs should be configured with the correct amount of flash so that shouldn't be a problem. |
This is a merge of work from OpenEVSE back to EmonESP. Loads of features including, but not limited to
Still need to test on different devices, currently only really tested on a Huzzah