Ariela - Home Assistant Android Client

Already it seems that connections are more stable now :slight_smile:
But Permanent Notification is permanent even if I change it in settings.
And the map function draw the maps with Zones, but does not show my location. (Home assistant does)

1 Like

Thank you for the feedback. Looking into the issues you mentioned.

can confirm what Rocklobster said about connections and notification.
However it does show my location.

Uninstalling owntracks now, I have faith in Ariela from now on :slight_smile:

Also, the webview does not remember that I want lovelace, but I guess that is a HA issue, same thing happens when I use browser.

I will investigate and i thank you for having faith in Ariela :smiley:

Also, version 1.2.1.2 is uploaded to Play Store
What’s new:

  • UI changes in thermostat options
  • added UI to see the last time the entity was updated
  • added support for setting fan speed
  • if the GPS coordinates are not available use the last know location
  • small UI updates
    Please test it and let me know how it goes.
    Have a nice day

Ignore the webview part, it was an error on my part.

I understand thank you.

Hello all,
Just wanted to let you know what is my plan for the application:

  • server configuration & developers tools (same like in web ui)
  • WearOS support
  • shortcuts support
  • other issues reported

Here is a small screenshot of what will be available soon:

Please let me know if you want some changes / features to be available.
Have a nice day.

A quick question. My Pi3 is connected to my network via an Ethernet cable and Wifi is not configured.
When I try to connect the app it always fails. I have tried the duckdns URL as I am configured with SSL. I have also tried the IP address with both ports 8123 and 443 but it fails to connect and can not find my HA server.

Any ideas and has anyone else had these issues? I would love to test out the app but I just can not get it to connect?

I had one last try and managed to get it connected so I will have a look at the app.

I am glad that you succeeding in connecting app to the server. Please let me know how it works.
Have a nice day.

Hello @Ionut, I would like to use your Ariela, but unfortunately I cannot connect to my HA server. I have the same issue as others, that I configured https and I get always ‘Server Connection Fails’. I tried your latest version. It would be helpful if you can add a button in this step to send you an email with logs. Instead for now I paste here a relevant logcat when it tries to connect to my HA server. For explaination, I am running HA on an odroid c1 sbc with a Ubuntu 18.04 minimal installation with IP 192.168.1.62.
Please forgive if it is to much spam, I don’t know how I can send you this by email.

11-01 08:11:44.181 26842 28126 D HA_NetworkSniffTask: Probing network = 192.168.1.62
11-01 08:11:44.181 26842 28126 I System.out: [CDS][DNS] getAllByNameImpl netId = 0
11-01 08:11:44.181 26842 28126 D libc-netbsd: [getaddrinfo]: hostname=192.168.1.62; servname=(null); netid=0; mark=0
11-01 08:11:44.181 26842 28126 D libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
11-01 08:11:44.181 26842 28126 I System.out: [CDS]connect[/192.168.1.62:7] tm:0
11-01 08:11:44.181 26842 28126 D Posix   : [Posix_connect Debug]Process com.surodev.ariela :7 
11-01 08:11:44.182   345   949 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.186   345   946 D FrameworkListener: dispatchCommand data = (gethostbyaddr 192.168.1.92 4 2 0)
11-01 08:11:44.187   345   946 D FrameworkListener: dispatchCommand data = (gethostbyaddr 192.168.1.62 4 2 0)
11-01 08:11:44.188   345 28360 D libc-netbsd: netid=1005, dns0:192.168.1.1
11-01 08:11:44.188   345 28360 D libc-netbsd: netid=1005, dns1:8.8.8.8
11-01 08:11:44.189   345 28359 D libc-netbsd: netid=1005, dns0:192.168.1.1
11-01 08:11:44.189   345 28359 D libc-netbsd: netid=1005, dns1:8.8.8.8
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: 222
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: odroid.fritz.box
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: ��>
11-01 08:11:44.191   345 28360 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.193 26842 28127 D HA_NetworkSniffTask: Probing network = 192.168.1.93
11-01 08:11:44.193 26842 28127 I System.out: [CDS][DNS] getAllByNameImpl netId = 0
11-01 08:11:44.193 26842 28127 D libc-netbsd: [getaddrinfo]: hostname=192.168.1.93; servname=(null); netid=0; mark=0
11-01 08:11:44.193 26842 28127 D libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
11-01 08:11:44.194 26842 28127 I System.out: [CDS]connect[/192.168.1.93:7] tm:0
11-01 08:11:44.194 26842 28127 D Posix   : [Posix_connect Debug]Process com.surodev.ariela :7 
11-01 08:11:44.194   345   949 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.194 26842 28126 D HA_NetworkSniffTask: Host: odroid.fritz.box(192.168.1.62) is reachable!
11-01 08:11:44.195 26842 28126 D libc-netbsd: [getaddrinfo]: hostname=192.168.1.62; servname=(null); netid=0; mark=0
11-01 08:11:44.195 26842 28126 D libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
11-01 08:11:44.195 26842 28126 I System.out: [CDS][DNS] getAllByNameImpl netId = 0
11-01 08:11:44.195 26842 28126 D libc-netbsd: [getaddrinfo]: hostname=192.168.1.62; servname=(null); netid=0; mark=0
11-01 08:11:44.195 26842 28126 D libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
11-01 08:11:44.195 26842 28126 I System.out: [CDS]rx timeout:0
11-01 08:11:44.195 26842 28126 I System.out: [socket][51] connection /192.168.1.62:8123;LocalPort=40084(1000)
11-01 08:11:44.195 26842 28126 I System.out: [CDS]connect[/192.168.1.62:8123] tm:1
11-01 08:11:44.195 26842 28126 D Posix   : [Posix_connect Debug]Process com.surodev.ariela :8123 
11-01 08:11:44.198   345   949 D SocketClient: SocketClient sendData done: 
11-01 08:11:44.201 26842 28126 I System.out: [socket][/192.168.1.41:40084] connected
11-01 08:11:44.201 26842 28126 I System.out: [CDS]rx timeout:0
11-01 08:11:44.201 26842 28126 I System.out: [CDS]SO_SND_TIMEOUT:0
11-01 08:11:44.201 26842 28126 I System.out: [OkHttp] sendRequest>>
11-01 08:11:44.201 26842 28126 I System.out: [OkHttp] sendRequest<<
11-01 08:11:44.215 26842 28126 E HA_NetworkSniffTask: Server discovery 1 exception while reaching the address = 192.168.1.62 . Error =java.io.IOException: unexpected end of stream on Connection{192.168.1.62:8123, proxy=DIRECT@ hostAddress=192.168.1.62 cipherSuite=none protocol=http/1.1} (recycle count=0)
11-01 08:11:44.215 26842 28126 I System.out: Close in OkHttp
11-01 08:11:44.215 26842 28126 I System.out: close [socket][/192.168.1.41:40084]

Hello,
Please try the manual way of connecting(leave the discovery to finish and when it says it couldn’t find the server, enter the the IP address manually). I will see what i can do to improve the detection of the server while setup it.

Hello, I have tried already the manual setup, but the same. Many thanks for your effort.

Can you send me the log from the moment you tried manual setup also? Thank you.

Hello Ionut, now it is connecting. Thanks to your question I looked at the log again and saw that I have to install my self signed certification on my tablet. After that Ariela connected to the HA server.

Glad to hear that it works :slight_smile:

Guys, you can’t use internal IP with SSL (why would you?).

I’m Interested

You can download the application to test directly from the play store. Please check the first post for the links.

Hello,

Version 1.2.1.3 is out.
What is new :

  • better widgets handling
  • adding home assistant server configuration
  • fix issue in disabling the permanent notification
  • fix issue in device tracker
  • improved setup server detection
  • small changes in the Ariela Settings page
  • other fixes
    Please test it and let me know any issues you encounter with it.
1 Like