Ariela - Home Assistant Android Client

Hi,

I started using your app a few days ago, and after a few hours looking around and testing some configurations, I’m starting to be convinced that it’s good. I have 2 questions though:

1- can you confirm that, with the notification hidden through Settings -> App -> Ariela -> Notifications -> Show Notification, gps position and sensors states are still updated regularly? I do have allowed Ariela to run into the background and to be started as a service on boot.

2- is there any way to have the connected devices in the bluetooth sensor alongside the discovered and bonded devices? I would like to be able to detect when I’m connected to my bikes gps to notify HA that i’m on my bike.

Thanks a lot for your help, and great work on the app!

Cheers

V.

Hi @Ionut

Could you perhaps expand a bit the MQTT Camera page? I’m having a bit of a struggle to understand how to set it up.

What I’ve done:

Ariela on the phone, enable front and back mqtt camera sensors. I read on the page you need build-in broker for it to work, I have selected this (and tested connection, says it’s OK).

Now what do I need to do in HA? The camera entity is not appearing in the entity list.
On the info page you say to do an mqtt.publish with the topic being the text when hitting the triple dots on the phone next to the camera entry in the menu.

So I do as follows:

But (as I slightly expected) there is no reaction, also no error on the info page.

What I would like is to have a picture entity, when clicked on, starts the camera stream. How would I set this up?

Could you provide an example configuration? That would be a great help :slight_smile:

Edit:

Obviously the second after I post this, I get some progress. It seems I had to close Ariela and re-open it for the mqtt sensors to appear in HA. But still now I have the camera sensors on “idle”. What do I do now?

Edit 2:

So far I made script for the mqtt.publish action so I can add it on the picture glance card as tap action to update the image.

It seems to work most of the time for Front, but I always get the following error when I try to call it for the back camera:

Can't decode payload b'\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xff\xdb\x00C\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xff\xc0\x00\x11\x08\x01@\x00\xf0\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x15\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\xff\xc4\x00\x14\x10\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xc4\x00\x15\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\xff\xc4\x00\x14\x11\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\x80p\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xd9' on homeassistant/camera/android_skyassistant_backcamera with encoding utf-8

Other than that, is it possible to have a camera stream, rather than having to call the mqtt.publish for every frame?

Edit 3 aug:

I also notice that the exposure of the front camera is pretty bad when taking a picture over mqtt than when checking and using the built in camera app and seeing what it captures on the phone’s screen.

Easiest first step will be to use one of the many MQTT clients to see if you can connect to your MQTT broker. I recommend MQTT Explorer. Discovery is the step after that once you know the broker is accessible. It looks like your broker is not starting up.

1 Like

Xappo, thanks for chiming in; as stated i can connect just fine ( just tried with mqtt explorer aswell. )

For the first time today i could see the wifi sensor show up under the states ui, the camera didnt though, both show fine in MQTT explorer.

Edit:

After fiddling some more i finally got it working ! So indeed the config.yaml entries were needed, opposed to the latest mosquitto plugin docs.

Discovery still behaves strange ( im unsure if its supposed to work this way ) the devices show up in the states ui but nowhere else.

I manually added the camera to the config yaml aswell and am able to get updated pictures via mqtt.publish trigger.

I only need the cam pic from two devices so thats just fine for me.

What happened to the auto reconnect feature? I’m assuming the Allow Background running feature replaced it?

I have to constantly hit reconnect after it times out / gets disconnected and its not as reliable for presence detection because of it.

Yes, im missing that also.

Furthermore ariela is very sluggish ( webui ) in comparison to native chrome mobile, sliders etc are pretty much unusable ( might be one of my js sliders etc ? )

This feature was moved to Ariela → Settings → Server connection :slight_smile:

That’s because of web ui tabs swap feature. Please try to disable that feature and see if the behavior is improved.

1 Like

Thanks, found it !

I did a b2b comparison on the tablet ( galaxy tab s8.4 ) with this slider:

lovelace-slider-entity-row ( other sliders like the climate card exibit the same behaviour )

in plain android chrome its responsive and works

in ariela web view i can barely bring it to move at all.

Tabs swap is off.

I will do more investigations regarding this.

1 Like

Hi, on the last version, i started with an issue, with the next alarm sensor, i set my alarm to 05:56 am, but when my phone is idle, ariela update the value of next alarm every 5 minutes, setting to 5 minutes after now, and when i wake up my phone, the sensor value restore to 05:56, but again when idle change

Hello,

There weren’t any changes on the next alarm sensor for a while. Ariela just sends whatever Android system tells to. Are you sure you do not have any other apps or similar that create those alarms?

Hello, I started to resarch on my phone where is the issue, and I found the “problem” that causes it, I just do not know if it is a problem of ariela or “tasker”,i see when I have an active notification of tasker, ariela sends the same as my next alarm when my phone is inactive, and when I activate it again, the original alarm is reset, right now deactivate the tasker notification, and I no longer have an update of the next alarm sensor

1 Like

Apologies if answered previously and a bit new to this but on the app none of my light group toggle switches work as expected. On the web ui (lovelace) the light groups work (i.e. all off or all on) but in the app the group toggle either does nothing (if all on or off) or swaps the state if some are on (i.e. those off turn on and those off turn on). Am I missing something obvious?

Please send me Ariela logs so i can check it out. Thank you.

Hello all,

New Ariela function that will be available very soon:

1 Like

Hello all,

Version 1.3.5.7 is out.
What’s new:

  • NEW: Build in MJPEG front & back camera streaming
  • NEW: French localization
  • fixed mobile_app location update issue
1 Like

Sent. To clarify I think it is only groups of lights inside of a group that fail to be triggered by the toggle. Individual lights seem to work. It may be my old setup should have been updated to use the light group componant.

1 Like

Hello everybody,
Would you like an app as Ariela to have build-in Alexa support (meaning Ariela can act as an Amazon Echo for example -> meaning you can transform an old or new Android device to an Alexa Amazon Echo)?

I just tried the mjpeg streaming and right now it doesnt seem to work, do i have to configure my tablet to open the port or something along the lines ?

The sliders are fixed though and work great.

Here are some steps that could help debugging:

  1. Use the exit function to close Ariela
  2. Go to Settings -> Apps -> Ariela -> Permissions and check if camera permission is given
  3. Open Ariela and check now if the streaming works

If this do not work, please send me your configuration camera you put in configuration.yaml and also if possible Ariela logs.

1 Like