Skip to content

Error when running src/main.py #6

Description

@Tasdevil96

Hi Eric!

Thanks so much for creating this. After thinking I was going to have to spend hours upon hours learning each code and copying the base64 manually, I started to wonder if someone had done what you had.

Thankfully, I was able to get the code working after installing this integration locally on the Raspberry PI on which I run HA. I am not sure if there was something I did wrong or if my firewall was preventing it though I was unable to get this to operate from my home pc as the device was not found. I would see the message saying no devices found only. I can ping the Broadlink IP from that same device though which I though was strange.

Once I got the python script to run on the HA terminal though, I was faced with an issue where the logging was producing an error. I had to run through each step and remove the problematic 'getLogger()' and 'import Logging' lines or references to prevent this error from showing up and then I could run the rest of the script without issues and managed to produce the expected JSON file.

I just wanted to let you know that I had issues in case you weren't aware of them.

I'm sorry i didn't take any screenshots of the errors I saw at the time. If you need me to reproduce, I can.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions