Is there a command I can execute from a mac command line via ssh to refresh the Home Assistant app and/or reload a dashboard?
I’m running HAOS via VMWare on a mac mini. We plugged a touchscreen display directly into the Mac as its primary display as our kitchen kiosk, and are running the Home Assistant mac app full-screen.
I have added shell commands to HA that ssh to the mac host and run caffeinate -u -t 1 to wake up when we enter the kitchen, and pmset displaysleepnow when we leave.
So far so good, except for one thing: the Home Assistant app seems to lose its connection. When we enter the kitchen in the morning, the screen wakes up and shows last night’s weather, stale events, and a ‘Reconnecting’ message.
I’m not sure why it’s disconnecting, since we’re only putting the display to sleep and the mini still carries on, running HAOS on the very same host.
I can use cmd+reload on the attached keyboard to reconnect, but that’s clearly not optimal. I’m thinking I may be able to add another ssh command that reloads or resets the app as part of the automation.
