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

Allow the setting of the API password #7

Open
fabaff opened this issue Jun 7, 2018 · 2 comments
Open

Allow the setting of the API password #7

fabaff opened this issue Jun 7, 2018 · 2 comments

Comments

@fabaff
Copy link
Member

fabaff commented Jun 7, 2018

The CLI mystrom doesn't allow to include additional parameters for the URL. This is necessary if one wants to integrate the buttons in Home Assistant while api_password is set.

https://next.home-assistant.io/components/binary_sensor.mystrom/#setup-of-mystrom-buttons

@Apsysikal
Copy link
Contributor

How do you provide authentication for Home Assistant to be called via the action from the button. I'm working on the myStrom PIR and am not able to get it to send authenticated requests.
Home Assistant blocks them, because they're unauthorized. According to the docs a 'Authorization: Bearer Token' header should be sent with any request but according to myStrom this is not currently supported.

@fabaff
Copy link
Member Author

fabaff commented Dec 6, 2023

How do you provide authentication for Home Assistant to be called via the action from the button.

The buttons can't be used with Home Assistant anymore. The work-around was https://github.com/home-assistant-ecosystem/mystrom2mqtt and https://github.com/home-assistant-ecosystem/mystrom2mqtt. But I haven't used them in a while and they are unmaintained currently.

The PIR uses the same approach as the buttons, thus it could be possible to integrate those devices with mystrom2mqtt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants