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

[WIP][linky] Initial commit of Enedis Linky binding #6926

Closed
wants to merge 49 commits into from

Commits on Jan 28, 2020

  1. [linky] Initial commit of Enedis Linky binding

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    2315b96 View commit details
    Browse the repository at this point in the history
  2. Forgot pom file

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    be1a264 View commit details
    Browse the repository at this point in the history
  3. Adding reactor

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    c28623f View commit details
    Browse the repository at this point in the history
  4. Corrected version number

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    b510cdd View commit details
    Browse the repository at this point in the history
  5. Satisfaction of Travis SAT

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    d721fa6 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2020

  1. Remove usage of okhttp

    lolodomo committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    5de7269 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2020

  1. Starting to take in account @lolodomo observations

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    b150aba View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Add trusted certificate for HTTP client

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    73b195e View commit details
    Browse the repository at this point in the history
  2. Fix version in POM

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    cf41157 View commit details
    Browse the repository at this point in the history
  3. Encode username and password in the body (login request)

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    5d7855b View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2020

  1. Restore okhttp client

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 8, 2020
    Configuration menu
    Copy the full SHA
    67d42cd View commit details
    Browse the repository at this point in the history
  2. Logs info about each HHTP call response

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 8, 2020
    Configuration menu
    Copy the full SHA
    ed31580 View commit details
    Browse the repository at this point in the history
  3. Little change in log

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 8, 2020
    Configuration menu
    Copy the full SHA
    9d47bb5 View commit details
    Browse the repository at this point in the history
  4. Fix computation of day/week counters and force an initial call of dat…

    …a that will fail
    
    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 8, 2020
    Configuration menu
    Copy the full SHA
    c626ad3 View commit details
    Browse the repository at this point in the history
  5. Consider whether channels are linked or not

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 8, 2020
    Configuration menu
    Copy the full SHA
    b3e24ad View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. Implement relog + avoid concurrent HTTP calls

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    1e1aa3e View commit details
    Browse the repository at this point in the history
  2. Reset the cookies for a login call

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    33a00e5 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Avoid using a company name in function/variable/class names

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    6078877 View commit details
    Browse the repository at this point in the history
  2. Refresh data twice a day

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    e557b88 View commit details
    Browse the repository at this point in the history
  3. Add constants

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    6ddb731 View commit details
    Browse the repository at this point in the history
  4. Synchronized the login method

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    980df66 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Suppress useless initial call to updateData

    Alos suppress now useless configuration setting
    Update README
    
    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    5afb92e View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2020

  1. Example added in README

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 16, 2020
    Configuration menu
    Copy the full SHA
    05628f6 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. Implement a daily cache for requests

    Try 4 times per day to retrieve valid data
    
    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    0859052 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. Logs added for the cache

    lolodomo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    371b337 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2020

  1. Cache management fixed and enhanced

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    6e4643e View commit details
    Browse the repository at this point in the history
  2. Suppress commented code (Jetty HTTP client)

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    890a1ea View commit details
    Browse the repository at this point in the history
  3. Console command to produce a report

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    743faff View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2020

  1. Documentation updated

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Feb 22, 2020
    Configuration menu
    Copy the full SHA
    42ede30 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2020

  1. Fix retrieval of monthly values

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Mar 1, 2020
    Configuration menu
    Copy the full SHA
    b86cbdc View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2020

  1. Use 0 rather than UNDEF

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    a8c15c1 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Some small adjustments after @lolodomo great work.

    I think we're ready to go.
    
    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    5f75301 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Rebasing

    clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    e1497bd View commit details
    Browse the repository at this point in the history
  2. Satisfaction of Travis SAT

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    722d7cd View commit details
    Browse the repository at this point in the history
  3. Remove usage of okhttp

    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    2406c32 View commit details
    Browse the repository at this point in the history
  4. Starting to take in account @lolodomo observations

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    9630713 View commit details
    Browse the repository at this point in the history
  5. Add trusted certificate for HTTP client

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    590ac8a View commit details
    Browse the repository at this point in the history
  6. Encode username and password in the body (login request)

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    483e593 View commit details
    Browse the repository at this point in the history
  7. Restore okhttp client

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    a81be98 View commit details
    Browse the repository at this point in the history
  8. Logs info about each HHTP call response

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    e7ea303 View commit details
    Browse the repository at this point in the history
  9. Fix computation of day/week counters and force an initial call of dat…

    …a that will fail
    
    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    5c51a6c View commit details
    Browse the repository at this point in the history
  10. Consider whether channels are linked or not

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    a4adc23 View commit details
    Browse the repository at this point in the history
  11. Implement relog + avoid concurrent HTTP calls

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    b94dbd6 View commit details
    Browse the repository at this point in the history
  12. Avoid using a company name in function/variable/class names

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    cc6e9cb View commit details
    Browse the repository at this point in the history
  13. Refresh data twice a day

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    dd6ee22 View commit details
    Browse the repository at this point in the history
  14. Suppress useless initial call to updateData

    Alos suppress now useless configuration setting
    Update README
    
    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    ee763d6 View commit details
    Browse the repository at this point in the history
  15. Implement a daily cache for requests

    Try 4 times per day to retrieve valid data
    
    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    cffeb35 View commit details
    Browse the repository at this point in the history
  16. Suppress commented code (Jetty HTTP client)

    Signed-off-by: Laurent Garnier <[email protected]>
    Signed-off-by: Gaël L'hopital <[email protected]>
    lolodomo authored and clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    40af1f0 View commit details
    Browse the repository at this point in the history
  17. Rebased

    Signed-off-by: Gaël L'hopital <[email protected]>
    clinique committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    d501f33 View commit details
    Browse the repository at this point in the history