Closed kgd192 closed 3 years ago
Hey! A bit of googling hints that this might be issues with the self signed certificates. Do you see any logs on home assistant side? I'm using the app with https and certs from letsencrypt (using traefik reverse proxy)
@Fahrenheit92 https://github.com/Johboh/hassalarm/issues/17
I will check the logs, just fyi the Homeassistant Android app started working properly with the same SSL Connection when I imported the Root and Intermediate CAs into Android so the actual Certificate could be verified as valid
EDIT: Nothing suspicious in the Server Logs. For me it looks like hassalarm is not taking user imported CAs/Certificates into account when validating the connection?!
Hmm, I will take a look in the coming days!
Hmm, I will take a look in the coming days!
Thank you very much in advance, I will have a glance over the source code myself, unfortunately i am not very familiar with the Android API
@Fahrenheit92 Pushed a new version (1.17) just now, please test with that one.
@Johboh SSL Error seems to be fixed. I am now stuck with an Error 400, but I will investigate a bit this seems to be an error on my server side. Will keep you posted
Tanks
EDIT: Only happens in "Test Connection" when no actual Alarm is set! Actual App Functionality is NOT affected, works as advertised ;)
@Johboh So it seems like something is wrong with the request send, this is whats send in "input_datetime"-mode
and this is the request send with "legacy/sensor"-mode selected
@Fahrenheit92 yes, looks like it fails when there is no next alarm set. I will fix that. In the meantime, try setting a next alarm and try again.
@Fahrenheit92 yes, looks like it fails when there is no next alarm set. I will fix that. In the meantime, try setting a next alarm and try again.
Sorry, already edited :D Yes this is the issue, furthermore, when the alarm is switched off the input_datetime on HA is not cleared, i.e. remains the last published.
Yes, its because the request fails. Will fix :)
@Fahrenheit92 I pushed an 1.18 version now, will take some hours to propagate. Works locally here for me, let me know how it works for you.
@Johboh Works like a charm Thanks for the quick support!
Great!
The following issue is occuring when trying to connect to my HA Instance via SSL using self signed certificates. Both the Root and Intermediate CA are installed in Android and Chrome showes the connections certificates as valid. Is there any remediation for that issue?