Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VM Home Assistant automatic restart with UserScripts

Featured Replies

My Home Assistant VM crashed nearly daily. Search for the logfile error or supervisor repair could not change anything so far.

 

Here is a Script for the "User Scripts" Plugin, to restart crashed VM:

 

#!/bin/bash
if netcat -z  Home.Assistant.IP.Nr  8123 >/dev/null; then
# if curl --url
http://Home.Assistant.IP.Nr:21080 >/dev/null; then
    echo "HAonline"
else
    echo "HAoffline reboot"
        virsh destroy  'Home Assistant'
        virsh start 'Home Assistant'
fi 

 

 

Costum Schedule 0,6,12,18,24,30,36,42,48,54 * * * * (every 6 min)

 

not the most elegant solution, but it works

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.