Skip to content
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

Release 2.4.1. #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Release 2.4.1. #4

wants to merge 3 commits into from

Conversation

dlyubimov
Copy link
Contributor

Hydra EVSE version 2.4.1

  • WARNING: EEPROM format is incompatible with previous releases, this release will
    reset all the eeprom settings

  • Unit test mode in a standard uno 3 board

  • Display and pin assignments hardware abstractions

  • A lot of redundant code and constants eliminated

    • display duplication
    • symmetrical code duplication
    • timezone library is gone. Funcationality rewritten in more compact way
    • the production versuib removes serial logging and its related strings completely
  • eprom persitence and validation:

    • save/load via one operation as the whole struct
    • added eeprom "magic" signature to validation logic
  • exponentially weighed average online symmarizer with irregular sampling to smooth out the current displays
    (display only; internal analytic is seeing original raw values)

  • experimental: learn and apply RTC calibration with a fast convergent model with embedded Bayesian treatment

  • up to 4 attemtps to restart EVSE charging after a GFI fault separated by 15 minute pause. The
    attempt count is reset by one of the following:

    • EVSE restart
    • EVSE enter into paused mode by short-pushing the button
    • Unplugging both cars thus clearing both states into state A

Squashed commit of the following:

Minor release notes 2.4.1 adjustments

commit 3ba1df1
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Wed Aug 9 13:27:30 2017 -0700

    hardware-tested the GFI restarts. Small fix to the count accumulation.
    2.4.1 release tag change.

commit 10842dd
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jul 21 14:42:59 2017 -0700

    more release notes

commit 709625d
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jul 21 14:31:19 2017 -0700

    uncomment production value

commit f1de5b6
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jul 21 14:30:04 2017 -0700

    Release notes.

commit f29a07d
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jul 21 14:10:50 2017 -0700

    removing check for state_e when resetting gfi error on retry timeout

commit fb33001
Merge: 9c4f13e ca62d2b
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 11 09:57:15 2017 -0700

    Merge branch 'june-2.4.1-gfi-retry' into june-2.4.1-rtc-autocalib

commit ca62d2b
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 11 09:52:19 2017 -0700

    debug gfi clear timeout 1 min

commit ce9d8fd
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 11 09:50:34 2017 -0700

    yet one more gfi clear bug. wrong mask for error code to start gfi timer.

commit e627df3
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 11 08:23:14 2017 -0700

    GFI clear attempts were off by one.

commit 9c4f13e
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 11 09:52:19 2017 -0700

    debug gfi clear timeout 1 min

commit 1058834
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 11 09:50:34 2017 -0700

    yet one more gfi clear bug. wrong mask for error code to start gfi timer.

commit 9a869b4
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 11 08:23:14 2017 -0700

    GFI clear attempts were off by one.

commit f93c610
Merge: 842f203 735dc51
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 10 23:19:45 2017 -0700

    Merge branch 'june-2.4.1-gfi-retry' into june-2.4.1-rtc-autocalib

commit 735dc51
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 10 23:12:51 2017 -0700

    yet another attempt to clear gfi retry bug

commit 842f203
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 10 23:12:51 2017 -0700

    yet another attempt to clear gfi retry bug

commit 5fd00d8
Merge: 290c624 6eda3ff
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 10 13:45:31 2017 -0700

    Merge branch 'june-2.4.1-gfi-retry' into june-2.4.1-rtc-autocalib

commit 6eda3ff
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 10 13:44:48 2017 -0700

    fix

commit 290c624
Merge: c2ee92e c46138a
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 10 11:00:39 2017 -0700

    Merge branch 'june-2.4.1-gfi-retry' into june-2.4.1-rtc-autocalib

commit c46138a
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 10 10:58:42 2017 -0700

    hopefully, fixing gfi retry

commit 0e5b25b
Merge: ed8b65b 1e9d551
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 10 10:20:37 2017 -0700

    Merge branch 'june-2.4.1' into june-2.4.1-gfi-retry

commit c2ee92e
Merge: c57db21 1e9d551
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 23:56:16 2017 -0700

    Merge branch 'june-2.4.1' into june-2.4.1-rtc-autocalib

commit 1e9d551
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 23:55:04 2017 -0700

    Hot fix again: and isSummer() of course.

commit c57db21
Merge: 79e5cc1 a7b94db
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 23:52:10 2017 -0700

    Merge branch 'june-2.4.1' into june-2.4.1-rtc-autocalib

commit ed8b65b
Merge: 3d93c7c a7b94db
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 23:49:28 2017 -0700

    Merge branch 'june-2.4.1' into june-2.4.1-gfi-retry

commit 79e5cc1
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 23:46:59 2017 -0700

    forgotten files.

commit a7b94db
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 23:46:02 2017 -0700

    Fix for clock adjustment when DST is enabled and it is summer time.

commit eece451
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 23:28:04 2017 -0700

    unsetting unit tests

commit 190177b
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 23:27:11 2017 -0700

    Unit test and small fix.

commit 9efc7d7
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 22:43:37 2017 -0700

    small-er bugs

commit b65e52b
Merge: 6882bc8 3d93c7c
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 22:30:33 2017 -0700

    Merge branch 'june-2.4.1-gfi-retry' into june-2.4.1-rtc-autocalib

commit 6882bc8
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 22:29:39 2017 -0700

    bugfix

commit d622633
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 22:25:57 2017 -0700

    RTC auto calibration

commit 3d93c7c
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 9 13:12:30 2017 -0700

    dead code removal. reconstituting some of the timeouts.clear() use after the separating out the relay.change.

commit 1fa12da
Merge: 2a587fd a47cdef
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jul 7 11:51:15 2017 -0700

    Merge branch 'june-2.4.1' into june-2.4.1-gfi-retry

commit a47cdef
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jul 7 11:44:07 2017 -0700

    hw version 4.3.1

commit f7bbebe
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jul 7 11:39:41 2017 -0700

    removing test-specific project.

commit 2a587fd
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Wed Jul 5 23:50:26 2017 -0700

    bug fixes. DO NOT CLEAR change relay time timeout except for on the timeout
    itself (not even because we err out etc.)

commit 765cd45
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 4 23:03:04 2017 -0700

    gfi clear timeout attempts implemented.

commit 8828fef
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 4 17:11:26 2017 -0700

    one more timeout

commit bee360a
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 4 17:05:45 2017 -0700

    timeouts

commit 268956e
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Jul 4 16:44:49 2017 -0700

    clearing the dead code

commit 816280a
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 3 23:16:37 2017 -0700

    Irregularly sampled exponentially weighted average for current displays.
    (merging branch june-2.4.1-amm-ewa)

    Squashed commit of the following:

    commit af23c49
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Mon Jul 3 23:15:46 2017 -0700

        binaries recompiled, unit test flag switched off.

    commit a51ee9d
    Merge: ebe9994 923284d
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Mon Jul 3 23:09:48 2017 -0700

        Merge branch 'june-2.4.1' into june-2.4.1-amm-ewa

    commit ebe9994
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Sun Jul 2 22:45:39 2017 -0700

        regenerating binaries after merge

    commit bcaefd2
    Merge: e941499 4f7d133
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Sun Jul 2 22:45:16 2017 -0700

        Merge branch 'june-2.4.1' into june-2.4.1-amm-ewa

    commit e941499
    Merge: 4281b96 7b34d3f
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Sun Jul 2 19:23:42 2017 -0700

        Merge branch 'june-2.4.1' into june-2.4.1-amm-ewa

    commit 4281b96
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Sun Jul 2 09:01:46 2017 -0700

        more comments, binary.

    commit cfc1fa2
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Sat Jul 1 17:22:20 2017 -0700

        Bug fixes; recompiled binary; probably ok to try with the smoother.

commit 923284d
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Jul 3 22:51:54 2017 -0700

    merging june-2.4.1-tzone-drop branch.
    Removing timezone dependency and reimplementing DST functionality here on our own.
    this saves barely 300 bytes on code footprint, or about 1%.

    Squashed commit of the following:

    commit 007634f
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Mon Jul 3 22:45:59 2017 -0700

        final unit tests seem to be working.

    commit 90a673c
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Mon Jul 3 18:15:56 2017 -0700

        finishing up isSummer() method and DST rule operator<(time_t).
        TODO: need to add unit tests for isSummer.

    commit ce4a27a
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Mon Jul 3 15:08:37 2017 -0700

        temp removing ewa sum test -- this is updated on another branch.

    commit a15b41c
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Mon Jul 3 15:02:46 2017 -0700

        a bit of tests reorg; added some time/dst funcs.

    commit bf0ff25
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Mon Jul 3 00:39:31 2017 -0700

        wip

    commit dcd2174
    Author: Dmitriy Lyubimov <dlyubimov@apache.org>
    Date:   Mon Jul 3 00:31:54 2017 -0700

        wip

commit 4f7d133
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 2 22:43:47 2017 -0700

    Sequential handover fix

commit 7b34d3f
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sun Jul 2 19:21:07 2017 -0700

    Bug fixes. Sequential handover symmetric logic dedup.

commit a0a90a4
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sat Jul 1 15:50:48 2017 -0700

    Commenting more dead code

commit ddc771c
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sat Jul 1 15:43:09 2017 -0700

    Update binary. switch off tests.

commit 2a5cadd
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sat Jul 1 15:42:08 2017 -0700

    EWA summarizer (in tests only).

commit c0a1696
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sat Jul 1 14:31:19 2017 -0700

    remove comments from defines.

commit fa19d5f
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Sat Jul 1 01:35:12 2017 -0700

    Bug fixes

commit 161470c
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jun 30 23:22:13 2017 -0700

    Tentative elimination of (most of) the symmetrical duplicates in the main loop.
    the footprint is down to 68% with no serial logging, or to 78% with INFO serial logging.

commit 9d54c85
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jun 30 22:17:01 2017 -0700

    Default event hours per PG&E EV-A schedule. First 2 for weekdays off peak (go/stop),
    3rd for weekend (go) and peak any day (stop). So on weedays, if manually unpaused during partial peak,
    will pause again on full peak start.

commit f6d25f2
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jun 30 13:37:31 2017 -0700

    setting debounce time to 400ms.

commit cfcfbc5
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jun 30 13:17:38 2017 -0700

    Revert "bumping up GFI_TEST_DEBOUNCE_TIME 150ms for additional time to help preventing err G on unpause"

    This reverts commit a21e29d.

commit a21e29d
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jun 30 12:33:04 2017 -0700

    bumping up GFI_TEST_DEBOUNCE_TIME 150ms for additional time to help preventing err G on unpause

commit cc8122a
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jun 30 12:22:52 2017 -0700

    SW 2.4.1-dev version tag

commit b6318cb
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jun 30 12:18:12 2017 -0700

    Verified current level of symmertrical elimination and status display, bug fixes for eeprom write. Seems working.
    More graceful software and hardware version print out on startup.

commit 0b5f48e
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Jun 30 01:00:35 2017 -0700

    WIP : introducing car structures and eliminating symmetric repeitions (beginning)

commit 45b036b
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Thu Jun 29 23:16:42 2017 -0700

    binary at 71% code

commit 5ef85ac
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Thu Jun 29 23:06:39 2017 -0700

    preprocessor-based logging (do not even generate log strings that are not
    in the level)

commit bb61954
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Thu Jun 29 22:23:36 2017 -0700

    binary

commit 4bfb7de
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Thu Jun 29 22:22:52 2017 -0700

    switching off unit test, recompiling binaries.

commit f6deeef
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Thu Jun 29 22:20:46 2017 -0700

    converting displays to a single routine

commit 8ca11cd
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Thu Jun 29 18:25:07 2017 -0700

    prototype for centralized car status print

commit cc9b3ce
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Thu Jun 29 17:01:00 2017 -0700

    WIP -- refactored for different hardware configuration and added unit tests for eeprom and menus (which flushed out some bugs)

commit 2d229b1
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Thu Jun 29 12:14:38 2017 -0700

    unit tests

commit a1bdb54
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Wed Jun 14 21:54:56 2017 -0700

    WIP
commit bcd583e
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Sep 22 19:21:55 2017 -0700

    Closing out 2.4.2 release.

commit 60ac277
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Sep 22 18:47:47 2017 -0700

    ms GFI restart timeout overflow

commit a9b2ce1
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Mon Sep 4 20:04:05 2017 -0700

    ERR F on car a fix

commit 46aac9e
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Sep 1 14:35:14 2017 -0700

    Added #if to prevent problems in case EVENT_COUNT is changed

commit 42e9729
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Fri Sep 1 12:27:59 2017 -0700

    adding fifth event to switch off on weekdays at 2pm by default (PG&E end of partial peak time).
commit c8c8780
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Oct 16 21:59:31 2018 -0700

    closing out 2.4.3

commit 83bf2a2
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Oct 16 21:18:14 2018 -0700

    * GFI_TEST_DEBOUNCE_TIME 250
    * release 2.4.3

commit 484f1b0
Author: Dmitriy Lyubimov <dlyubimov@apache.org>
Date:   Tue Oct 24 09:46:21 2017 -0700

    Forking 2.4.3-dev. Bug fix: gfi_count reset on pause.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant