HAGearS3 icon indicating copy to clipboard operation
HAGearS3 copied to clipboard

Not showing lights

Open klaasnicolaas opened this issue 5 years ago • 19 comments

My galaxy watch active2 does not show the lights in the house.

If you need more information, please let me know.

klaasnicolaas avatar Jan 27 '20 21:01 klaasnicolaas

I have the same issue.... Tried deleting app and reinstalling...same issue. Scripts, groups, etc. seem to be okay...only lights and switches don't show

miraixyz avatar Jan 29 '20 03:01 miraixyz

I also have this problem, I suspect that it is because of entities with unavailable state

PiotrMachowski avatar Jan 29 '20 08:01 PiotrMachowski

@PiotrMachowski Why do you think it is due to lights that have that status?

klaasnicolaas avatar Jan 29 '20 10:01 klaasnicolaas

I have had varying degrees of success by disabling and deleting unavailable entities. I've got switches, but no lights....

miraixyz avatar Jan 29 '20 10:01 miraixyz

I can confirm that if you ensure that you don’t have any light entities with the status “unavailable”, you can use the light part in the watch app.

But I will keep this issue open for the time being, for whom it doesn't work.

klaasnicolaas avatar Feb 05 '20 00:02 klaasnicolaas

That seems like its working as designed. Why would you want lights and things that are marked unavailable to show up?

jerrod-lankford avatar Feb 05 '20 03:02 jerrod-lankford

That seems like its working as designed. Why would you want lights and things that are marked unavailable to show up?

You're not getting it. Its not that the unavailable devices aren't showing up. That's not the issue. The issue is that NO devices are showing up because of the unavailable devices. In my case, I have deleted the unavailable devices in HA, but the lights are still not showing up. There may be other issues.

miraixyz avatar Feb 05 '20 03:02 miraixyz

I see. Thats strange, I could try to walk you through debugging but it requires building up a request to home assistant. The code to render the lists is very simple. It hits /api/states and that returns an array of json objects. I then check the entity_id on each object to see if it starts with "light." for example and put it on the page. So if the entities show up in that list and start with "light." then they show up on the lights page

jerrod-lankford avatar Feb 05 '20 03:02 jerrod-lankford

I have the same issue on Active 2. I have no light showing at all. The other options work. How can we resolve this?

JohanPotgieter avatar Apr 09 '20 14:04 JohanPotgieter

I have finally removed all lights with unavailable state and it's working

PiotrMachowski avatar Apr 24 '20 09:04 PiotrMachowski

I have the same issue. Lists "Lights" and "Switches" do not open. When I click on their icon in the app nothing happens. Meanwhile "Scripts", "Covers", "Groups" and "Settings" work well. I have some lights and switches that have status "unavailable", because they are currently offline, but I use them frequently and can't delete. My Home Assistant version is 0.109.6 @Jerrkawz, I would really appreciate if you will find some time to help us with this bug! Thank you!

am1ter avatar May 19 '20 09:05 am1ter

@am1ter I've never been able to reproduce this issue. I tried pulling out my z-stick so that all my lights are marked unavailable, but the app still works as expected. If someone can provide me with a way to reproduce id be happy to fix it

jerrod-lankford avatar May 19 '20 18:05 jerrod-lankford

@Jerrkawz you can try installing browser mod, its lights were breaking my app

PiotrMachowski avatar May 19 '20 18:05 PiotrMachowski

I had the same issue, everything aside from the "lights" menu worked - and disabling the "unavailable" lights in HA entity configuration fixed the problem.

Is there any specific way I can find helpful information to assist you in reproducing the bug?

samhed avatar Jun 07 '20 22:06 samhed

I have now upgraded to a Galaxy Watch 3 and am now having trouble with all menus in the app. No menu even opens up (aside from the settings).

I have removed all unavailable entities from HA - it didn't help. Is there any way I can troubleshoot this further?

samhed avatar Sep 21 '20 10:09 samhed

It seems my issue is with the authentication after all.

I was using the external HA URL (nabu casa) with the "/lovelace/0" part at the end. I did not get any authentication errors. But when I try changing the token and it doesn't have any effect. The settings menu closes and I see a brief "loading" circle and it gives the impression the authentication succeeded. But none of the menus (lights, switches, scripts, covers, or groups) open.

When I remove the "/lovelace/0" part of the HA URL, I get:

Status code: 401
Messsage: Unauthorized

And in HA logs I see:

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:75
Integration: HTTP (documentation, issues)
First occurred: 14:28:37 (1 occurrences)
Last logged: 14:28:37

Login attempt or request with invalid authentication from 127.0.0.1

I have tried with 3 different long-lived tokens, same result every time. It's getting quite tedious to re-install the Home Assistant UI app on my watch, in order to get the hassgalaxy.app website link.


Edit:

My issue was resolved with the help of @michielscj in #13

samhed avatar Sep 21 '20 12:09 samhed

Have the sampe problem for a while. No lights but other menu are working. (Have browser mod, maybe this is the problem?) removed all unresponsive light entity, but not solve the problem. What can I do?

spider7611 avatar Dec 02 '20 13:12 spider7611

For me this was the problem:

browser_mod:
  devices:
    0a99add6-f0452ca2:
      name: tablet
      disable:
        - light
  disable:
    - all

In the browser mod must disable the light and after restart the lights again working good.

spider7611 avatar Dec 02 '20 13:12 spider7611

Hello folks! It's been a year now, and i wonder if anything has been done in this direction? i just found and installed this app on my watch and i have the same problem: no lights and no switches. Scripts, covers, groups are there. I can't delete my "unavailable" entities, sincer they are "occasional" ones, so they are in use when available (like plug-in wifi switch etc...). So... any other solution ?

Protoncek avatar Dec 21 '21 17:12 Protoncek