-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 #281
Comments
With no hope of having a remote-homeassistant update, i'm in the process of MIGRATE all the communications (scripts, sensors, switches, lights) handled by remote-homeassistant integration TO MQTT messaging and the mosquitto broker installed on the master raspberry pi. |
@ecou2508 I’m also not getting the “warm and fuzzies” this integration will continue. Can you provide an example how your handling comms using MQTT? |
Assuming you have a MQTT broker (mosquito) up and running, and MQTT enabled on both Home assistant instances....
and example how you call the script (on the master):
On the "slave" where the audio has to be played:
and the script:
|
For switches (and lights) and sensors, i can also share the code if you need it ? |
This is good input. Yes, I would like to see the code for switches/lights/sensors |
Thanks. I’ll give it a try |
in the above latest automation, i think it would be preferable to use states('entity_id') instead of states['entity_id'].state and check also for unknown state (unknown or unavailable). |
The problem
I have 2 raspberry pi4 setups: a master and a slave, connected together with "remote home-assistant" integration. Both were working fine since years with every updates UNTIL i updated core from 2024.3.1 to 2024.4.3 on both systems:
Strange behaviour appears : remote scripts run TWICE and even 3 times.....
Reinstall of REMOTE HA integration on both systems did NOT help.
Downgrading SLAVE HA Core to previous one (backup) seems ok for a very short time: bug come back in a short time.
Downgrading the MASTER instance HA Core to 2024.3.1 from backup completely solves the problem.
Pay attention to the fact that the problem does not appear immediately, it may takes few min to few hours (i did not measure).
The problem seems to only affect SCRIPTS (Master calls remote HA scripts)
The remote system is on the same LAN
The prefix of the remote instance is 'remote_' (and has always been so...)
The problem only appears with the remote system scripts which are called from the master and therefore are executed on the slave.
thanks :-)
Eddy
The text was updated successfully, but these errors were encountered: