remote_homeassistant icon indicating copy to clipboard operation
remote_homeassistant copied to clipboard

Remote updates shown only after reload

Open embcla opened this issue 3 years ago • 20 comments

Hello and happy new year!

I am new to remote so forgive me if there is something not clear for me. My need is to allow for second zwave and zigbee controllers far away from my primary ones to transmit information (receive not strictly needed but good to have, still have to figure out the workarounds).

So right now my remote is a PI4 with a conbee 2 stick and a couple sensors hooked up. What I notice is that in my master there is no update (or it takes way too long, like more than 8h) unless I forcibly reload the integration. Logs don't show anything related to remote and I didn't find a way to enable debug logging.

What can I do to fix this?

embcla avatar Dec 31 '20 09:12 embcla

Please provide which version you installed and how you set it up.

postlund avatar Dec 31 '20 10:12 postlund

I installed via HACS, v3.1 configured via UI to mirror binary and sensors, also explicitly selected which entities to consider

Can't find a way to copy the configuration, it's not explicitly written anywhere

embcla avatar Dec 31 '20 12:12 embcla

Try upgrading to 3.2 released yesterday, it should hopefully solve the problem.

postlund avatar Dec 31 '20 12:12 postlund

image

3.2 doesn't show, is it "master" ?

embcla avatar Dec 31 '20 12:12 embcla

I have exactly the same problem. Main: Home Assistant OS 5.9 running on ESXi Slave: Home Assistant OS 5.9 running on raspberry pi 3b

The pi is used as a bluetooth tracker. The pi updates like it should with constantly changing rssi values. However on the main the values are only updated on a complete restart or after a force reload of the remote_homassistant component.

I installed the 3.1 version of the component, the 3.2 version I don't see.

viper1978 avatar Jan 02 '21 16:01 viper1978

@viper1978 Honestly I ended up moving to zigbee2mqtt and zwave2mqtt, they work flawlessly.ù

@postlund There still is no 3.2 available anywhere, also not here on github

embcla avatar Jan 04 '21 14:01 embcla

@embcla Think we need https://github.com/hacs/default/pull/757 merged to have it fixed. I'll see if Lukas can fix the issues.

postlund avatar Jan 04 '21 18:01 postlund

Exactly the same situation as @viper1978. I have some additional BLE climate entities on the slave which I need forwarded to the master. They don't update the state neither.

clau-bucur avatar Jan 05 '21 10:01 clau-bucur

Same problem with zigbee devices.. needs to be given a kick to update.

danmed avatar Jan 06 '21 16:01 danmed

Isn't this because state_changed event is not being subscribed? I just learnt that this was required by looking at the example in the README.md

felipealmeida avatar Jan 07 '21 22:01 felipealmeida

I think state_changed should be added to the config_flow UI as a warning

felipealmeida avatar Jan 07 '21 22:01 felipealmeida

state_changed and service_registered must be subscribed to manually when running latest released version. This has been fixed on master (so you never have to specify these) and will be part of next release. But if you pick master it should work fine.

postlund avatar Jan 07 '21 22:01 postlund

@postlund thank you for your comment, manually registering these state_changed and service_registered events solved this issue on my installation (ARM cortex-a7, python 3.9).

DRracer avatar Jan 17 '21 16:01 DRracer

in hacs version i couldnt get 3.2 either, so I selected "master" and it seems to be fixed now.

shanem2004 avatar Jan 17 '21 17:01 shanem2004

Having the exact same problem here, the initial import of entities is good but then they don’t update, I’ve tried 3.1 & master tried going through integrations and entering manually in the yaml with no success.

I’m trying to import Bluetooth temperatures but I’ve noticed any kind of entity responds in the same way

c3reeman avatar Feb 12 '21 15:02 c3reeman

Having the exact same problem here, the initial import of entities is good but then they don’t update, I’ve tried 3.1 & master tried going through integrations and entering manually in the yaml with no success.

I’m trying to import Bluetooth temperatures but I’ve noticed any kind of entity responds in the same way

https://github.com/custom-components/remote_homeassistant/issues/99#issuecomment-756421747

danmed avatar Feb 12 '21 15:02 danmed

Having the exact same problem here, the initial import of entities is good but then they don’t update, I’ve tried 3.1 & master tried going through integrations and entering manually in the yaml with no success. I’m trying to import Bluetooth temperatures but I’ve noticed any kind of entity responds in the same way

#99 (comment)

same problem here. i have 1 HA running in the garden to get my miflora sensor data. on that pi it is OK. but on the "master" its not updating only after an restart

pro2call-nl avatar Feb 25 '21 02:02 pro2call-nl

I tried this again yesterday. Using the configuration yaml, with the right events subscriptions, and still nothing happens.

remote_homeassistant:
  instances:
    - host: !secret ha_garage_ip
      port: 8123
      access_token: !secret ha_garage_token
      entity_prefix: "_garage_"
      secure: false
      verify_ssl: false
      subscribe_events:
        - state_changed
        - service_registered
        - zwave.network_ready
        - zwave.node_event

I honestly have no idea what else to try here, for me it's definitely broken.

embcla avatar Feb 25 '21 14:02 embcla

Please try with the latest release (3.2 or later) in HACS.

postlund avatar Mar 04 '21 21:03 postlund

Try upgrading to the latest release (and you can also remove state_changed and service_registered now). Hopefully it works better.

postlund avatar Mar 08 '21 11:03 postlund