Open Deki60 opened 6 years ago
Home Assistant has changed the authentication flow in v 0.77, which is the likely culprit.
This issue is probably a duplicate of #37.
The issue remains, only way I can offer to fix it, is to implement the OAuth flow yourself :(
thank you for your reply so, application is dead....
in the meantime you can set the the HTTP API password and use that to login in the app https://www.home-assistant.io/components/http/
Thank you work fine and your application is top!!! Thank you for your work hope you continu and update app again Best regards.
De : Maximiliano Churichi notifications@github.com Envoyé : mercredi 26 septembre 2018 18:10:23 À : axzae/homeassist Cc : Arkan; Author Objet : Re: [axzae/homeassist] Login in HomeAssist app Android (#38)
in the meantime you can set the the HTTP API password and use that to login in the app https://www.home-assistant.io/components/http/
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/axzae/homeassist/issues/38#issuecomment-424771844, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF3pyYJDkU3KHcZPqXq4qMjQUiizLuDmks5ue6bvgaJpZM4WhBiX.
@Deki60 I recommend you close this ticket down as it is a duplicate of #37 (where a fix has been posted).
Hello, i applied the patch on my branch: https://github.com/payano/homeassist-ng
Dear thank you for information. Could you explain who it work please ? And how download for android !? Thank you. Best regards.
De : Johan Svensson notifications@github.com Envoyé : jeudi 20 décembre 2018 20:27:57 À : axzae/homeassist Cc : Arkan; Mention Objet : Re: [axzae/homeassist] Login in HomeAssist app Android (#38)
Hello, i applied the patch on my branch: https://github.com/payano/homeassist-ng
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/axzae/homeassist/issues/38#issuecomment-449109761, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF3pyXv453mVd-vDQr23mYJWSIG1kq-cks5u6-S9gaJpZM4WhBiX.
Hi @Deki60, so far @payano has not made a dev build available, so you would need to compile the app yourself. This is not hard if you have some time, but I uploaded my build from today here: http://s000.tinyupload.com/index.php?file_id=19597725772560943776
This is his clone, built from the master branch. If you feel uneasy about installing a random stranger's build uploaded to a random file hosting service (and you should), you can install the android dev env and run the build yourself.
You'll need to have unknown sources enabled in your phone's developer settings before you can install it. To install, simply copy the file to your phone, and open it with a file manager.
If you already have an older version of homeassist installed, you may have to remove that first, for me the update did not work.
Hi Axzae thank you for your reply
I have try your build but impossible to connect in HA app say invalid password but password is good because work fine with you application :) No problem i wait an official build.
De : Visa Parviainen notifications@github.com Envoyé : vendredi 21 décembre 2018 21:45:21 À : axzae/homeassist Cc : Arkan; Mention Objet : Re: [axzae/homeassist] Login in HomeAssist app Android (#38)
Hi @Deki60https://github.com/Deki60, so far @payanohttps://github.com/payano has not made a dev build available, so you would need to compile the app yourself. This is not hard if you have some time, but I uploaded my build from today here: http://s000.tinyupload.com/index.php?file_id=19597725772560943776
This is his clone, built from the master branch. If you feel uneasy about installing a random stranger's build uploaded to a random file hosting service (and you should), you can install the android dev env and run the build yourself.
You'll need to have unknown sources enabled in your phone's developer settings before you can install it. To install, simply copy the file to your phone, and open it with a file manager.
If you already have an older version of homeassist installed, you may have to remove that first, for me the update did not work.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/axzae/homeassist/issues/38#issuecomment-449494091, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF3pyX_LCKm--bdze5MHTF8oMX9XJrNIks5u7UhhgaJpZM4WhBiX.
Hello @Deki60 and @wizzor , i have created a release apk file and have published it to google play now, i am waiting for a confirmation if the app has been published, i will let you know. I would recommend going to my repo to discuss this matter further, because the development will be done on that repo: https://github.com/payano/homeassist-ng
Cheers :)
The app is now on google play: https://play.google.com/store/apps/details?id=com.payano.homeassistant
Dear Johan, thank you for this good new :) But i have allway problem for connection application say password is wrong but my legacy password is good i dont understand why app or HA refuse connexion. Best regards. Dejan
De : Johan Svensson notifications@github.com Envoyé : samedi 22 décembre 2018 14:21:48 À : axzae/homeassist Cc : Arkan; Mention Objet : Re: [axzae/homeassist] Login in HomeAssist app Android (#38)
The app is now on google play: https://play.google.com/store/apps/details?id=com.payano.homeassistant
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/axzae/homeassist/issues/38#issuecomment-449569818, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF3pyWTlRq7rmEdffQ99Rtaer5AdveKJks5u7jHsgaJpZM4WhBiX.
Hello @Deki60, i would like to further investigate why you are not able to log in. Could you sent me your configuration file with sensitive information washed out, so i can try to reproduce it on my development environment.
Cheers.
Hi here my configuration.yaml :
homeassistant:
name: Home
latitude: 49.354622 longitude: 2.405152
elevation: 0
unit_system: metric
time_zone: UTC
customize: !include customize.yaml
frontend: themes: !include devices/themes.yaml
config: http: api_password: superdeki
updater:
discovery:
conversation:
history:
logbook:
map:
sun:
sensor:
tts:
remote:
vacuum:
xiaomi_aqara: discovery_retry: 5 gateways:
input_boolean: mute_gateway_sounds: name: Mute icon: mdi:volume-off
script: play_sel_sound: alias: "Loop Play Sound" sequence:
service: script.play_sel_sound_loop
play_sel_sound_loop: alias: "Play selected sound in Loop" sequence:
service: script.play_sel_sound
play_sel_sound_single: alias: "Single Play Sound" sequence:
loop_delay: name: "Loop Delay" initial: 1 min: 0 max: 15 step: 1 icon: mdi:loop
input_select: gateway_sound: name: Ringtone options:
weather :
sensor:
ifttt : key:
light:
platform: group name: All Yeelight entities:
cloud:
group: !include groups.yaml automation: !include devices/automations.yaml script: !include scripts.yaml switch: !include devices/switches.yaml sensor: !include devices/sensor.yaml input_number: !include input_number.yaml
De : Johan Svensson notifications@github.com Envoyé : samedi 22 décembre 2018 23:28 À : axzae/homeassist Cc : Arkan; Mention Objet : Re: [axzae/homeassist] Login in HomeAssist app Android (#38)
Hello @Deki60https://github.com/Deki60, i would like to further investigate why you are not able to log in. Could you sent me your configuration file with sensitive information washed out, so i can try to reproduce it on my development environment.
Cheers.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/axzae/homeassist/issues/38#issuecomment-449601376, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF3pyb0mNExQ70Y3o_UgPNuVTRvVqCe7ks5u7rH8gaJpZM4WhBiX.
I needed to have the trusted network enabled to make it to work. It is indeed a bug, i will create a new issue on my repository and start working on it. New issue: #6 on HomeAssist-ng This is my configuration which i made it to work:
homeassistant: name: Home latitude: 0 longitude: 0 elevation: 0 unit_system: metric time_zone: UTC customize: !include customize.yaml
auth_providers:
http: api_password: password123 trusted_networks:
websocket_api: introduction: frontend: config: updater: discovery: conversation: history: logbook: map: sun: sensor:
tts:
cloud: group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml
Thank you :) is a good new and you make good work !!!!
Question : possible you add a solution to work with google home maybe ? Best regards. Dejan
De : Johan Svensson notifications@github.com Envoyé : dimanche 23 décembre 2018 19:42:12 À : axzae/homeassist Cc : Arkan; Mention Objet : Re: [axzae/homeassist] Login in HomeAssist app Android (#38)
I needed to have the trusted network enabled to make it to work. It is indeed a bug, i will create a new issue on my repository and start working on it. New issue: payano/homeassist-ng#6https://github.com/payano/homeassist-ng/issues/6 This is my configuration which i made it to work:
homeassistant:
Name of the location where Home Assistant is running
name: Home
Location required to calculate the time the sun rises and sets
latitude: 0 longitude: 0
Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
metric for Metric, imperial for Imperial
unit_system: metric
Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: UTC
Customization file
customize: !include customize.yaml
auth_providers:
**http: api_password: password123 trusted_networks:
websocke api
websocket_api:**
Show links to resources in log and frontend
introduction:
Enables the frontend
frontend:
Enables configuration UI
config: updater:
Optional, allows Home Assistant developers to focus on popular components. include_used_components: true Discover some devices automatically
discovery:
Allows you to issue voice commands from the frontend in enabled browsers
conversation:
Enables support for tracking state changes over time
history:
View all events in a logbook
logbook:
Enables a map showing the location of tracked devices
map:
Track the sun
sun:
Sensors
sensor:
Weather prediction
Text to speech
tts:
Cloud
cloud:
group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/axzae/homeassist/issues/38#issuecomment-449656085, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF3pyeAJDa-UtnJoi-jxbn3EJqByzxDzks5u786EgaJpZM4WhBiX.
The thing is that HomeAssist is currently using legacy_auth which is going to be obsolete in the near future. I will implement the websocket as the default authentication method instead.
Please, lets go to my repository instead, create a new issue with google home and what the issue is regarding that.
Best regards, Johan
Hi.
Made it work adding:
This way you can connect from anywhere.
Thanks for the app!
Hi.
Made it work adding:
- 0.0.0.0/0 to trusted_networks
This way you can connect from anywhere.
Thanks for the app!
I'm wondering if that's safe?
Hi. Made it work adding:
- 0.0.0.0/0 to trusted_networks
This way you can connect from anywhere. Thanks for the app!
I'm wondering if that's safe?
For me it's ok, I don't allow access through Internet, only local LAN.
cheers
Dear all, Sorry but for me impossible to login in app...
Always the same message : password failed
and in home assistant server i view failed connexion frome mobile device.
idea ? need add someone in configuration ? thank you for helping