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

[verisure] Verisure Binding initial contribution #4789

Merged
merged 68 commits into from
Jul 9, 2020

Commits on Jul 5, 2020

  1. Initial Verisure binding.

    Also-by: Jarle Hjortland <jarlebh@gmail.com> (github: jarlebh)
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    29797b0 View commit details
    Browse the repository at this point in the history
  2. Updated after review

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    216d050 View commit details
    Browse the repository at this point in the history
  3. Updated typo in README

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    3cbdda3 View commit details
    Browse the repository at this point in the history
  4. Updated after code review

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    bae3768 View commit details
    Browse the repository at this point in the history
  5. Binding now handles non-system adminstrator accounts

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    7777c7c View commit details
    Browse the repository at this point in the history
  6. Updated README with information about Administrator user. Added warni…

    …ng log if trying to lock/unlock, arm/disarm with no pin code configured.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    debfae7 View commit details
    Browse the repository at this point in the history
  7. Fixed URL encoding of password to handle special characters.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    a8d069c View commit details
    Browse the repository at this point in the history
  8. Updated README with correct support for channel humidity for some cli…

    …mate devices.
    
     Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    895f7b8 View commit details
    Browse the repository at this point in the history
  9. Updated Climate devices and removed channel humidity for those that d…

    …o not support the channel at the moment. Also changed siteId to support long.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    6f5827f View commit details
    Browse the repository at this point in the history
  10. Updated binding to support user presence status for many users.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    5159f81 View commit details
    Browse the repository at this point in the history
  11. Updated to handle manually configured Verisure IDs with either with n…

    …o separator or with '_' or space. Auto-detection will use no separator.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    be61bd6 View commit details
    Browse the repository at this point in the history
  12. Moved Verisure binding to new bnd

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    cf2a124 View commit details
    Browse the repository at this point in the history
  13. Updated pom.xml.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    8f5e614 View commit details
    Browse the repository at this point in the history
  14. Started to migrate to new Verisure API. Set calls uses new API endpoi…

    …nts, most get calls uses old endpoints still active.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    a41bdc9 View commit details
    Browse the repository at this point in the history
  15. Updated binding to new Verisure API, replaced JSONs and updated thing…

    …s modelling and README.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    f7a2501 View commit details
    Browse the repository at this point in the history
  16. Updated README

     Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    af9942d View commit details
    Browse the repository at this point in the history
  17. Fixed 2 typos in README

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    1d2ad01 View commit details
    Browse the repository at this point in the history
  18. Updated to handle 2 different API servers. m-api01 and m-api02.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    9166b8a View commit details
    Browse the repository at this point in the history
  19. Updated README.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    7fec758 View commit details
    Browse the repository at this point in the history
  20. Updated to latest development environment, fixed bom/pom.xml, added n…

    …ew feature.xml, fixed new code analysis findings, removed libs since currently not used. (causing problems with Resolve in bnd)
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    9a53263 View commit details
    Browse the repository at this point in the history
  21. Fix to handle a configuration without a pin-code.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    19f7ffc View commit details
    Browse the repository at this point in the history
  22. Updated after fixing code review comments

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    cdfbb7a View commit details
    Browse the repository at this point in the history
  23. Updated after code reviews, renamed all set-channels and removed old …

    …status channels.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    8f32c8c View commit details
    Browse the repository at this point in the history
  24. Updated after review comments

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    cf929e0 View commit details
    Browse the repository at this point in the history
  25. Changed pin-code to be represented as a String

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    1f92e60 View commit details
    Browse the repository at this point in the history
  26. Updated with SAT fixes.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    b5033bb View commit details
    Browse the repository at this point in the history
  27. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    859d4b8 View commit details
    Browse the repository at this point in the history
  28. Updated README and removed unnecessary channels that lacks humidity s…

    …upport.
    
    Fixed user presence status to show correct AWAY status and also
    changed name of channel userLocationName to userLocationStatus.
    Moved status updates for installation name and id to base class.
    Updated to 3.0 build environment.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    32fcef0 View commit details
    Browse the repository at this point in the history
  29. Added timestamp channel to DoorWindow thing.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    bc1d79e View commit details
    Browse the repository at this point in the history
  30. Changed to 2.5.2-SNAPSHOT

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    af995d5 View commit details
    Browse the repository at this point in the history
  31. Updated to new copyright statement and fixed new static code analysis…

    … faults
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    e3b113a View commit details
    Browse the repository at this point in the history
  32. Added support for Verisure Mice Detection, updated after code review

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    8d863e4 View commit details
    Browse the repository at this point in the history
  33. Added JSoup dependency to parse html for csrf in a better way

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    4ccfc60 View commit details
    Browse the repository at this point in the history
  34. Updated after code review

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    b731869 View commit details
    Browse the repository at this point in the history
  35. Removed all constructors for gson models

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    d635fb6 View commit details
    Browse the repository at this point in the history
  36. Better status on Bridge for failed login, changed to use background t…

    …asks for bridge/things initialization.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    6c70965 View commit details
    Browse the repository at this point in the history
  37. Handle Cookies in a method, fixed UTF-8 to be using StandardCharsets.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    3ffb5bd View commit details
    Browse the repository at this point in the history
  38. Updated faulty documentation in README

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    68a6d06 View commit details
    Browse the repository at this point in the history
  39. Updated to 2.5.3-SNAPSHOT

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    f0c23be View commit details
    Browse the repository at this point in the history
  40. Added better Trace logging support,

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    8f273bd View commit details
    Browse the repository at this point in the history
  41. Updated Trace debugging.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    757b9bc View commit details
    Browse the repository at this point in the history
  42. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    4bde170 View commit details
    Browse the repository at this point in the history
  43. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    0132d9f View commit details
    Browse the repository at this point in the history
  44. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    de4d13e View commit details
    Browse the repository at this point in the history
  45. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    5375b9c View commit details
    Browse the repository at this point in the history
  46. Updated after code review, new Java Generics implementation for Devic…

    …eStatusListener.
    
    VerisureSession no longer a member of VerisureThingHandler, new getSession() method
    implemented that fetches session from BridgeHandler when needed.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    9682019 View commit details
    Browse the repository at this point in the history
  47. Updated after code review, new Java Generics implementation for Devic…

    …eStatusListener has been updated
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    b94711a View commit details
    Browse the repository at this point in the history
  48. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    fec24c3 View commit details
    Browse the repository at this point in the history
  49. Updated after code review

    Updated to 2.5.5-SNAPSHOT.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    fb1adb6 View commit details
    Browse the repository at this point in the history
  50. Updated after code review

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    eb91bae View commit details
    Browse the repository at this point in the history
  51. Added support for Verisure Event Log

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    eb21174 View commit details
    Browse the repository at this point in the history
  52. Solved a lot of compiler warnings by renaming JSON model classes with…

    … extension DTO, renamed package from model to dto. Implemented support for Verisure Gateway.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    56e7f42 View commit details
    Browse the repository at this point in the history
  53. Updated to upcoming 2.5.6-SNAPSHOT.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    0637628 View commit details
    Browse the repository at this point in the history
  54. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    37d7236 View commit details
    Browse the repository at this point in the history
  55. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    d4b30d2 View commit details
    Browse the repository at this point in the history
  56. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    25be95d View commit details
    Browse the repository at this point in the history
  57. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    2af0867 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    b748904 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    6c1b7dc View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    d5105dd View commit details
    Browse the repository at this point in the history
  61. Updated README.

    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    1c2891d View commit details
    Browse the repository at this point in the history
  62. Updated after code review.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    4150658 View commit details
    Browse the repository at this point in the history
  63. Replaced apache equals/toString to Eclipse dito.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    9492da4 View commit details
    Browse the repository at this point in the history
  64. Updated README with trigger event channels examples.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    862d5a7 View commit details
    Browse the repository at this point in the history
  65. Fixed NPE when Device is null

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    5a5c3e9 View commit details
    Browse the repository at this point in the history
  66. Updated README with information on defined trigger events.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    cce2a9f View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Fixed conversion from big hex eventId to BigDecimal and updated a cor…

    …e review remark. Added more info to README.
    
    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    a47706a View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

  1. Fixed last formatting issues.

    Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com> (github: jannegpriv)
    jannegpriv committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    47afa47 View commit details
    Browse the repository at this point in the history