Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

authentication broken after Hassio update #5

Open
dasam opened this issue Oct 24, 2018 · 6 comments
Open

authentication broken after Hassio update #5

dasam opened this issue Oct 24, 2018 · 6 comments

Comments

@dasam
Copy link

dasam commented Oct 24, 2018

After Hassio introduced local accounts, i seem to not be able to get the values from Hassio.

Hassio recognizes this as a IP adress that tries to log in but is denied.

@ivanovd
Copy link

ivanovd commented Nov 25, 2018

Same here

@Kugelfang666
Copy link

I also encounter this problem. Especially with moving from HASSIO 0.82 to 0.83. apparently the legacy API password user lost the rights to read the values resulting in an error. It would be great if this module gets updated to work with the new authentication mechanism

@ivanovd
Copy link

ivanovd commented Dec 5, 2018

Has anyone sorted that out?

@ivanovd
Copy link

ivanovd commented Dec 20, 2018

This fork: https://github.com/leinich/MMM-homeassistant-sensors
Should have fixed the issue, however it is not working for me. Can somebody else try it?

@Kiina
Copy link

Kiina commented Feb 6, 2019

This fork: https://github.com/leinich/MMM-homeassistant-sensors
Should have fixed the issue, however it is not working for me. Can somebody else try it?

The fork seems to work for me. Just make sure you have the config right as it uses a different style and https: false config seems required for some reason.

@scuppasteve
Copy link

scuppasteve commented Feb 22, 2019

So i have a couple questions, i switched to this fork because it seems more up to date, but, i cant get either to work. I have a couple questions,

  1. Will it work with https: true
  2. Will it work without a token, but with apipassword?

Here is my config,

                {
                        module: 'MMM-homeassistant-sensors',
                        position: 'top_left',
                        config: {
                                host: "IP_Address",
                                port: "8123",
                                https: true,
                                title: "Travel Times",
                                apipassword: "API_PW",
                                debuglogging: true,
                                values: [{
                                                sensor: "sensor.steve_to_home"
                                        }, {
                                                sensor: "sensor.gina_to_home"
                                        }, {
                                                sensor: "sensor.boy_scouts"
                                        }, {
                                                sensor: "sensor.guitar_lessons"
                                        }, {
                                                sensor: "sensor.gymnastics"
                                        }, {
                                                sensor: "sensor.martial_arts"
                                        }
                                ]

                        }
                }

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

No branches or pull requests

5 participants