[APP][Pro] Home Assistant - Community App

Hi @RonnyW , I experience the same as described here.
Debug log: a01d24bb-e93d-40d7-894a-4c5cadce5940
I tried the latest version of Home assistant community as well as the beta.

Any tips, tricks? I’ve removed, restarted, reinstalled the lot to no avail unfortunately.
I guess it’s on the HA side they’ve changed something (but what…?)



I can only see the error code “1” (ERR_CANNOT_CONNECT).
That means that the app can’t connect to HA via WebSocket connection.

Is it a new app install oder did it work before with an older HA version?

I guess you’d use HTTP instead of HTTPS

I think @Peter_Kawa is right.
You are using dyndns. But locally, your HA is running on http as default. So you also have to use http for dyndns/port forwarding.

Yes, it worked before with an older HA version.
Because of repairs I needed to be done to a propriatary bridge it has been disabled for approx 2 months.
When I re-instated the connection nothing happened so I started troubleshooting.

I tried a local http connection as well.
http://172.x.x.x:8123

Same result unfortunately

I think it can be certificate related when using DDNS.
Error: request to https://xxxxxxxxxx.dyndns.org:3689/ failed, reason: unable to verify the first certificate
HA shows this with network setting;

However, bypassing certificate verification by just plain and simple HTTP results in error as well.
Perhaps you can check again? f86e6dec-3a73-4fc1-a7f0-44263fde8949

If https is set in HA settings, you can only use https, not both parallel because the same port is used.

I’m not sure if selfsigned certificates are accepted. I use https only via reverse proxy and a real letsencrypt cert.

After installation of my new Aqara T1M Zigbee ceiling light in HA, I was adding it to Homey as 2 separate devices (lights), as expected because it also have a RGB ring that can be controlled separately. I can control both lights in Homey - HOWEVER, when I turn on the main light from within Homey, it does not fade in, as it does in HA when I turn it on from there. Is it because that the HA Community App in Homey first sends the brightness, and afterwards the turn on command? Because it have the behavior if I just change the brightness while the light is off, and on the RGB Ring it fades in if I change the brightness while off. (Strange that they are acting differently on this).
image

If I remeber right, the app sends the “on” command and (last known) color/brightness in one API call.
You can try a flow action with duration. Perhaps that’s what you want. If yes, the HA integration perhaps uses duration as default.

1 Like

Aaarh, the duration works. I’ve never used this option before…! :laughing:
Thank you very much Ronny! :pray:

The only issue is that it can’t be turned on with duration using the “mood” action. But that’s ok!

I can imagine a device setting for default duration. This can be used as default if no other value is set in a flow card.
So all actione like Mood, manual on/off would use a duration.

1 Like

If you find this default duration setting somewhere, please let me know. :wink:

Hi the integration stop worked for me around 5 days ago.
I regenerate the new token and now I cant connect.


Any ideas

(m)DNS issues?
You could try using the HA IP address instead,
I.e.:
http://192.168.10.20:8123/

New live version 1.5.24:

  • Added token for previous state to app trigger ‘entity state changed’.

With this trigger you get now the new and previous entity state. If you want to react on a special state chage (from x to y), you can now use the tokens without needing other variables.

grafik

1 Like

@RonnyW Is there a way to prevent devices without a battery from showing up in the More > Batteries section of the Homey app?

I’ve added some sensor devices without a battery capability, but they still show up in the list with Battery devices.

I thought, only devices with measure_battery are listed.
The driver has a battery setting “others” to be able to add battery data.

Perhaps that’s a but in mobile app. I have to ask Athom…

1 Like

New test version 1.6.0:

  • “only” a technical performance optimization to reduce CPU usage significantly

Check your app CPU insights the next hours/days. It should look like this now :grinning:

2 Likes

Hi.
After update to v1.6.0 most of my Homey HA devices does not update anymore. The entities do not update in Homey when they change in HA.