Svi videozapisi
Videozapisi

Stanje i otklanjanje grešaka

Pronađi problem prije nego što kreneš na teren: pročitaj stanje svakog dijela Home Assistanta, pogledaj povijest opterećenja i veza, provjeri zapise i ponovno pokreni na daljinu. Obilazak stvarne aplikacije.

Trajanje 4:38 Govor na engleskom, titlovi se uključuju u playeru Pogledaj na YouTubeu

Poglavlja

O čemu se radi

Agent u klijentovom Home Assistantu svake minute javlja opterećenje, stanje, vezu i najnovije zapise. HA Fleet Manager čuva povijest, pa vidiš što se događalo proteklih tjedana, a ne samo ono što se događa upravo sada. Video prati jedan slučaj od prvog simptoma do rješenja.

Što ćeš vidjeti

  • Stanje: Kartica Sustav prikazuje opterećenje, vrijeme rada i verzije. Temperatura se pojavljuje samo kad Home Assistant radi izravno na hardveru; virtualni stroj ne vidi senzore domaćina. Redak Stanje obuhvaća jezgru, sučelje, bazu podataka, Supervisor, dodatke i integracije: zeleno znači radi, žuto ograničeno, crveno greška. Opis svake točke navodi razlog i od kada, a upitnik objašnjava čemu služi svaki dio i po čemu bi klijent primijetio problem.
  • Povijest: Klik na trake opterećenja otvara njihovu povijest za 24 sata, 7 dana, 30 dana ili sve zabilježeno. Kartica Povijest veza pokazuje koliko je sustav bio online svakog dana; njezin dijalog navodi svaki dan, a prikaz Po vremenu pokazuje točno kada je veza prekinuta. Kartica Mreža sadrži ono što si dokumentirao za klijenta, primjerice UPS i pružatelja usluge.
  • Zapisi: Kartica Zapisi odražava trenutne greške i upozorenja iz Home Assistanta. Spremi unos kao zadatak da mu se kasnije vratiš ili očisti međuspremnik zapisa prije popravka, pa je sve što se nakon toga pojavi novo.
  • Ponovno pokretanje: Uz Ponovno pokreni sustav biraš samo Home Assistant, Supervisor ili cijeli uređaj, odmah ili u zadano vrijeme. Fleet Manager prati ponovno pokretanje dok se sustav ponovno ne javi.

U Free paketu povijest opterećenja seže 7 dana unatrag, a povijest veza 14 dana; plaćeni paketi čuvaju 365 i 30 dana. Sva imena klijenata, poruke i mjerenja u videu su demo podaci.

Transkript (engleski)

Intro

In this video, we’ll check how a customer’s Home Assistant is doing, and track down a problem from your desk.

The agent in your customer’s system reports every minute: load, health, connection and the latest log entries. Fleet Manager keeps the history, so you see what happened, not just what’s happening now.

We’ll go in four steps: check the health, look back, read the logs, and restart if needed.

Health

Your customer reports that the floor heating upstairs no longer responds. Open the customer. The System card shows load, uptime and versions.

Temperature only appears when Home Assistant runs directly on hardware. This system runs in a virtual machine, which can’t see the host’s sensors, so the field stays empty.

Below the load bars, the health row covers each part of Home Assistant, from core and database to add-ons and integrations. Green is running, amber degraded, red failing.

Integrations are amber. Hover over the dot to see why: Z-Wave JS keeps retrying, for two hours now.

The question mark explains every part, and how your customer would notice a problem. For integrations, whole groups of devices report unavailable. That fits.

History

Now look back. Click the load bars to open their history. Each dot is an average, and the thin line shows the range from minimum to maximum.

Switch between 24 hours, 7 days, 30 days, or everything recorded. The CPU peak every night at three is the backup, nothing to worry about.

On the Free plan, load history goes back seven days. Longer ranges are locked.

The Connection history card shows how long the system was online each day, for the last two weeks. One day stands out.

Click the card for the full history, with the average uptime and every single day.

The By time tab shows exactly when the connection dropped. Hover over a gap: almost four hours, in the middle of the night.

On the Free plan, you see the last fourteen days, and the rest is marked as Paid only.

The Network card shows what you documented for this customer. With a UPS in place, a power cut is unlikely, so it’s worth asking the provider about that night.

Logs

Back to the amber dot. The Logs card shows current errors and warnings from Home Assistant. Click an entry to read the full message.

To follow up later, save the entry as a task. The log text is already filled in. Add a note, save, and it lands in the customer’s task list.

Before you try a fix, clear the logs. This empties the whole log buffer in Home Assistant, so anything that comes back is new.

Restart

A stuck integration often just needs a restart. Click Restart system and choose what to restart: Home Assistant only, the Supervisor, or the whole device.

The info button explains each option. Always pick the smallest one that can fix the problem.

You could also schedule it for tonight. Here, we restart right away. Confirm that your customer knows, and click Restart now.

Fleet Manager follows the restart until the system checks back in. The health row is green again, and the logs stay empty.

Home Assistant Fleet Manager. See how every customer system is doing, and fix problems from your desk.

Želiš li isprobati?

Dvije Home Assistant instalacije trajno su besplatne, sa svim funkcijama. Bez kartice, bez obveze.

Započni besplatno