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

Rfid and timer #167

Closed
wants to merge 40 commits into from
Closed

Rfid and timer #167

wants to merge 40 commits into from

Commits on Feb 11, 2021

  1. Added RFID support and pause timer

    Oliver Norin committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    6124a1f View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2021

  1. settings for RFID and sleep timer in gui

    Oliver Norin committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    829353d View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2021

  1. Moved PN532 library to platform.ini

    Oliver Norin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    0585bac View commit details
    Browse the repository at this point in the history
  2. Don't allow voltage to be set <= 0.0 via MQTT

    Voltage is used by divert mode, as well as sent along to the OpenEVSE
    module for power calculations.
    
    Setting this to zero could result in a lot of issues. The divert code
    would see divide by zero happen, and the energy montoring code on the
    OpenEVSE module would result in the recorded energy usage being
    incorrect.
    
    While this shouldn't happen reguarly, I found myself in this situation
    by sending a null/zero-length message to the relevant topic that the
    ESP32 was listening on. Because there is no error checking in the float
    parsing code, a null value parsed to zero, which resulted in the voltage
    value being set to zero.
    
    An alternative here would be to reset the voltage to `DEFAULT_VOLTAGE`
    if a zero or invalid value was received. As written, this will simply do
    nothing and ignore the invalid/zero value.
    toofishes authored and Oliver Norin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    4dc4278 View commit details
    Browse the repository at this point in the history
  3. Restrict voltage via MQTT to a known sane range

    A value between 60 and 300 volts, while being a generous range, should
    prevent issues where the value read from MQTT is read as a `0` or
    erroneously specified in millivolts.
    toofishes authored and Oliver Norin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    c334b5c View commit details
    Browse the repository at this point in the history
  4. Update readme.md

    glynhudson authored and Oliver Norin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    2547b50 View commit details
    Browse the repository at this point in the history
  5. Update wired-ethernet.md

    glynhudson authored and Oliver Norin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    334553b View commit details
    Browse the repository at this point in the history
  6. Added RFID support and pause timer

    Oliver Norin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    b9edf7f View commit details
    Browse the repository at this point in the history
  7. Moved PN532 library to platform.ini

    Oliver Norin committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    68f4e6c View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. RFID MicroTask

    Oliver Norin committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    b06d727 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'rfid_and_timer' of github.com:notima/ESP32_WiFi_V3.x in…

    …to rfid_and_timer
    Oliver Norin committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    fd54b0c View commit details
    Browse the repository at this point in the history
  3. removed sleep timer

    Oliver Norin committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    9be12bc View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2021

  1. wake up PN532 every 30 seconds

    Oliver Norin committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    1b278ab View commit details
    Browse the repository at this point in the history
  2. server endpoints for adding rfid tags

    Oliver Norin committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    61cb664 View commit details
    Browse the repository at this point in the history
  3. timer utilizing scheduler

    Oliver Norin committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    a0b669c View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. Wire library initiated in main

    Oliver Norin committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    c8db15d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from OpenEVSE/jeremypoulter/issue5

    Jeremypoulter/issue5
    Olverine authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    35ccdb0 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'jeremypoulter/issue5' into rfid_and_timer

    Oliver Norin committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    a97215c View commit details
    Browse the repository at this point in the history
  4. renamed lastState to state

    Oliver Norin committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    cd3ed56 View commit details
    Browse the repository at this point in the history
  5. Added RFID info to lcd

    Oliver Norin committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    e03e9f6 View commit details
    Browse the repository at this point in the history
  6. Using OpenEVSE api instead of rapiSender

    Oliver Norin committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    597e9a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. Don't allow voltage to be set <= 0.0 via MQTT

    Voltage is used by divert mode, as well as sent along to the OpenEVSE
    module for power calculations.
    
    Setting this to zero could result in a lot of issues. The divert code
    would see divide by zero happen, and the energy montoring code on the
    OpenEVSE module would result in the recorded energy usage being
    incorrect.
    
    While this shouldn't happen reguarly, I found myself in this situation
    by sending a null/zero-length message to the relevant topic that the
    ESP32 was listening on. Because there is no error checking in the float
    parsing code, a null value parsed to zero, which resulted in the voltage
    value being set to zero.
    
    An alternative here would be to reset the voltage to `DEFAULT_VOLTAGE`
    if a zero or invalid value was received. As written, this will simply do
    nothing and ignore the invalid/zero value.
    toofishes authored and Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    4fd6112 View commit details
    Browse the repository at this point in the history
  2. Restrict voltage via MQTT to a known sane range

    A value between 60 and 300 volts, while being a generous range, should
    prevent issues where the value read from MQTT is read as a `0` or
    erroneously specified in millivolts.
    toofishes authored and Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    d5963f9 View commit details
    Browse the repository at this point in the history
  3. Update readme.md

    glynhudson authored and Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    2e529d1 View commit details
    Browse the repository at this point in the history
  4. Added RFID support and pause timer

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    991c5ce View commit details
    Browse the repository at this point in the history
  5. Moved PN532 library to platform.ini

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    cb83f99 View commit details
    Browse the repository at this point in the history
  6. RFID MicroTask

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    d5bf8c9 View commit details
    Browse the repository at this point in the history
  7. Added RFID support and pause timer

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    d92e04d View commit details
    Browse the repository at this point in the history
  8. Moved PN532 library to platform.ini

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    3465f59 View commit details
    Browse the repository at this point in the history
  9. removed sleep timer

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    24bdd82 View commit details
    Browse the repository at this point in the history
  10. wake up PN532 every 30 seconds

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    fcd0893 View commit details
    Browse the repository at this point in the history
  11. server endpoints for adding rfid tags

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    d9993b2 View commit details
    Browse the repository at this point in the history
  12. timer utilizing scheduler

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    10ba912 View commit details
    Browse the repository at this point in the history
  13. Wire library initiated in main

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    e3278cd View commit details
    Browse the repository at this point in the history
  14. renamed lastState to state

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    fec1fbc View commit details
    Browse the repository at this point in the history
  15. Added RFID info to lcd

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    45b4043 View commit details
    Browse the repository at this point in the history
  16. Using OpenEVSE api instead of rapiSender

    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    a4c65da View commit details
    Browse the repository at this point in the history
  17. Merge branch 'rfid_and_timer' of github.com:notima/ESP32_WiFi_V3.x in…

    …to rfid_and_timer
    Oliver Norin committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    91ce0ef View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. Better authentication mechanism

    Presenting a tag will enter an authenticated state that can be cancelled by presenting the same tag again
    Oliver Norin committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    082820a View commit details
    Browse the repository at this point in the history
  2. The currently authenticated tag is sent over mqtt

    Oliver Norin committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    10cec03 View commit details
    Browse the repository at this point in the history