1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Python client library? (and Home Assistant)

Discussion in 'Archive' started by Dermot Duffy, 25 August 2020.

Thread Status:
Not open for further replies.
  1. Dermot Duffy

    Dermot Duffy New Member

    Messages:
    2
    Hardware:
    RPi1/Zero
    Hello all,

    I am new to Hyperion. However in finding that the Hyperion integration for Home Assistant does not appear to function, I've rewritten it against the current Hyperion API (not yet accepted -- https://github.com/home-assistant/core/pull/39097). In doing so, it would have been better if there was a ready made Python client library for the JSON API -- but I could not find one.

    I am now thinking of converting this Home Assistant integration work into two parts:
    - A general Python client library (if one does not exist already)
    - A Home Assistant integration that uses the above client library.

    (This is the preferred development model for Home Assistant -- for the integration code to not perform direct network communication)

    My question to the Hyperion development experts here is: Does such a Python client library already exist (and I've just not found it), or should I proceed as above (create both the library, and the integration that uses it).

    Thanks,
    Dermot.
     
  2. Dermot Duffy

    Dermot Duffy New Member

    Messages:
    2
    Hardware:
    RPi1/Zero
    • Like Like x 2
Thread Status:
Not open for further replies.