Comments (5)
I removed the service_registered
event internally so it should work as before. A new release is out, should be available via HACS soon.
from remote_homeassistant.
I've tried to connect two instances of home assistant together with remote_homeassistant version 3.1. My configuration is something like this:
Instance 1
remote_homeassistant:
instances:
- host: 192.168.10.1
port: 8123
entity_prefix: "ha2_"
access_token: !secret access_token_to_2
verify_ssl: false
secure: false
include:
entities:
- sensor.indoor_temperature
- sensor.indoor_humidity
- sensor.indoor_co2
- light.bedroom
subscribe_events:
- state_changed
- service_registered
- mobile_app_notification_action
Instance 2
remote_homeassistant:
instances:
- host: 192.168.20.1
port: 8123
entity_prefix: "ha1_"
access_token: !secret access_token_to_1
verify_ssl: false
secure: false
include:
entities:
- sensor.downstairs_temperature
- sensor.upstairs_temperature
Problem
While one instance is stopped or being restarted, the other one works fine.
When both instances are running, UI heavily decreases performance and it's almost impossible to interact with.
I haven't been able to see what happens in live because both instances get collapsed and I cannot see any relevant error or warning in logs. I think it could be happening something like this:
- Instance 1 updates some sensor
- Instance 2 is listening to event
state_changed
on instance 1, so it updates sensors - Instance 1 is listening to event
state_changed
on instance 2, so it updates sensors - Instance 2 is listening to event
state_changed
on instance 1, so it updates sensors - (and it gets stuck in a loop)
I've tried to disable subscription to state_changed
and service_registered
on instance 1 and now there is no performance decrease, but sensors are not updated either.
subscribe_events:
# - state_changed
# - service_registered
- mobile_app_notification_action
Is there any known solution for it? Thanks!
from remote_homeassistant.
@marc-romu I have the same issue using any version above 2.3. CPU goes through the roof on both instances.
Using the 2.3 on one instance and 3.3 on the other works. Same goes for 2.3 on both instances. No performance impact.
Would like to be able to run 3.3 on both instances.
I only use the following;
subscribe_events:
- state_changed
from remote_homeassistant.
Hah! Problem solved. Running 3.4 on both instances with normal system utilization.
Thank you!
from remote_homeassistant.
Yes, now works! Thanks!
from remote_homeassistant.
Related Issues (20)
- Main system has an IP change - How do I change on remote HOT 3
- 800+ exceptions in 2 hours while remote instance is not reachable HOT 1
- Expose remote entities to Google Assistant on main instance HOT 1
- Configuration stuck with button.press in remote services HOT 2
- Newly created entities not migrating/populating.
- I have an error "Unknown error occurred"
- "Invalid credentials"
- Remote Home Assistant
- How to remove entities is integration is removed or entities are un-synched
- Button from remote HA not visible in main HA
- dataplicity remote home assistant
- Still in development? Or is this dead? HOT 1
- Warning message "remote counter is unavailable". HOT 2
- Cloudflare access HOT 3
- Update HA-Core from 2024.3.1 to 2024.4.3 causes issues with REMOTE home assistant instance when calling remote scripts from the master HOT 1
- Remove messages in the logs about the connection HOT 1
- Remote Home Assistant over VPN
- HomeAssistantType will be deprecated in 2025.5 release of HA HOT 1
- weather forecasts are not fully forwarded to main instance.
- Services on remote instance have timeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remote_homeassistant.