# Integration watchman et Spook

**URL:** <https://forum.hacf.fr/t/integration-watchman-et-spook/36478>\
**Category:** Entraide Home Assistant\
**Tags:** intégration\
**Created:** [Février 12, 2024, 4:29 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478 "2024-02-12T16:29:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal\_ha](https://forum.hacf.fr/user_avatar/forum.hacf.fr/pascal_ha/32/10823_2.png) [@pascal\_ha](https://forum.hacf.fr/u/pascal_ha)\
**Post date:** [Février 12, 2024, 4:29 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/1 "2024-02-12T16:29:09Z")

</div>

## Mon problème

Bonjour à tous

J'ai installé l'intégration watchman en suivant ce tuto vidéo :

[![](https://forum.hacf.fr/uploads/default/original/3X/d/3/d35c3c065526cacc009fe537b060a0b57da957be.jpeg "Intégration Watchman pour nettoyer son Home Assistant") ](https://www.youtube.com/watch?v=WWzsTqeHCTc)

Intégration fonctionne. J'ai bien corrigé les problèmes pour les entités "Missing" et "unaivaible".  
Mais il me trouve des entités inconnues et je ne comprends pas trop, car les entités sont bien existantes et comment corriger cela ?

Merci pour votre aide

Je pense que quelque chose m'échappe...

 ![Capture d’écran 2024-02-12 171521_1](https://forum.hacf.fr/uploads/default/original/3X/f/d/fdd0b89aa4dc9efc114a3f811c2de3b1884029ec.png)

 ![Capture d’écran 2024-02-12 171617_2](https://forum.hacf.fr/uploads/default/original/3X/6/7/67c6d90b84723910a20cfff73e48768aa1b7229b.png)

 ![Capture d’écran 2024-02-12 172449_3](https://forum.hacf.fr/uploads/default/original/3X/a/8/a8573c50f6f3564eeeb2c60e09263d916dc9586e.png)

## Ma configuration

## System Information

| version | core-2024.2.1 |
| --- | --- |
| installation\_type | Home Assistant OS |
| dev | false |
| hassio | true |
| docker | true |
| user | root |
| virtualenv | false |
| python\_version | 3.12.1 |
| os\_name | Linux |
| os\_version | 6.1.74-haos |
| arch | x86\_64 |
| timezone | Europe/Paris |
| config\_dir | /config |

> **Home Assistant Community Store**
>
> | GitHub API | ok |
> | --- | --- |
> | GitHub Content | ok |
> | GitHub Web | ok |
> | GitHub API Calls Remaining | 3690 |
> | Installed Version | 1.34.0 |
> | Stage | running |
> | Available Repositories | 1409 |
> | Downloaded Repositories | 49 |

> **Home Assistant Cloud**
>
> | logged\_in | false |
> | --- | --- |
> | can\_reach\_cert\_server | ok |
> | can\_reach\_cloud\_auth | ok |
> | can\_reach\_cloud | ok |

> **Home Assistant Supervisor**
>
> | host\_os | Home Assistant OS 11.5 |
> | --- | --- |
> | update\_channel | stable |
> | supervisor\_version | supervisor-2024.01.1 |
> | agent\_version | 1.6.0 |
> | docker\_version | 24.0.7 |
> | disk\_total | 228.5 GB |
> | disk\_used | 18.7 GB |
> | healthy | true |
> | supported | true |
> | board | generic-x86-64 |
> | supervisor\_api | ok |
> | version\_api | ok |
> | installed\_addons | Terminal & SSH (9.9.0), Samba share (12.3.0), File editor (5.8.0), Duck DNS (1.15.0), Mosquitto broker (6.4.0), MariaDB (2.6.1), NGINX Home Assistant SSL proxy (3.8.0), Nginx Proxy Manager (1.0.1), Node-RED (17.0.6), Home Assistant Google Drive Backup (0.112.1), ESPHome (2023.12.9), Network UPS Tools (0.13.0), Zigbee2MQTT (1.35.3-1), MQTT Explorer (browser-1.0.1), Samba Backup (5.2.0), Let's Encrypt (5.0.15), Linky (1.2.0), Simple Scheduler (2.2.1) |

> **Dashboards**
>
> | dashboards | 2 |
> | --- | --- |
> | resources | 39 |
> | views | 22 |
> | mode | storage |

> **Recorder**
>
> | oldest\_recorder\_run | 5 février 2024 à 17:41 |
> | --- | --- |
> | current\_recorder\_run | 12 février 2024 à 17:07 |
> | estimated\_db\_size | 658.39 MiB |
> | database\_engine | sqlite |
> | database\_version | 3.44.2 |

---

<div class="post-metadata">

**Author:** ![vincen](https://forum.hacf.fr/user_avatar/forum.hacf.fr/vincen/32/84998_2.png) [@vincen](https://forum.hacf.fr/u/vincen)\
**Post date:** [Février 12, 2024, 4:49 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/2 "2024-02-12T16:49:36Z")

</div>

Merci pour la découverte de cet outil sympa 👍 (désolé pour l’intrusion)

---

<div class="post-metadata">

**Author:** ![Ludoc](https://forum.hacf.fr/user_avatar/forum.hacf.fr/ludoc/32/79819_2.png) [@Ludoc](https://forum.hacf.fr/u/Ludoc)\
**Post date:** [Février 12, 2024, 5:50 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/3 "2024-02-12T17:50:01Z")

</div>

Hello,  
excellente cette intégration,  
j'ai pareil pour certaines entités en unknown, mais toutes en zigbee, alors qu'elles remontent bien ailleurs

 ![Capture d'écran 2024-02-12 185044](https://forum.hacf.fr/uploads/default/original/3X/e/0/e0f6ceb67d16cfb19840d38cdea00ec246e78528.png)

---

<div class="post-metadata">

**Author:** ![pascal\_ha](https://forum.hacf.fr/user_avatar/forum.hacf.fr/pascal_ha/32/10823_2.png) [@pascal\_ha](https://forum.hacf.fr/u/pascal_ha)\
**Post date:** [Février 12, 2024, 5:53 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/4 "2024-02-12T17:53:44Z")

</div>

> [@Ludoc](#):
>
> j’ai pareil pour certaines entités en unknown, mais toutes en zigbee, alors qu’elles remontent bien ailleurs

Pareil dans mon cas, ce sont que des entités zigbee…

---

<div class="post-metadata">

**Author:** ![Herbs](https://forum.hacf.fr/user_avatar/forum.hacf.fr/herbs/32/8029_2.png) [@Herbs](https://forum.hacf.fr/u/Herbs)\
**Post date:** [Février 12, 2024, 5:54 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/5 "2024-02-12T17:54:11Z")

</div>

Bonsoir,

> [@vincen](#):
>
> Merci pour la découverte de cet outil sympa 👍 (désolé pour l’intrusion)

Pas mieux, merci @pascal_ha pour la découverte 😉

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Février 12, 2024, 6:21 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/6 "2024-02-12T18:21:24Z")

</div>

Salut,  
doit avoir des bugs dans c'est intégration. 1 ans sans maj, et des issues. Le dev est pas trop réactifs je pense.

> <https://github.com/dummylabs/thewatchman/issues/113>
>
> Watchman reports missing entity which is attribute indeed.
> 
> Config example:
> !…\[Screen Shot 2024-01-17 at 8 02 18 AM\](https://github.com/dummylabs/thewatchman/assets/56259169/3409b060-b7cc-48c0-b6af-887c7ef85f06)
> 
> Report:
> !\[Screen Shot 2024-01-17 at 7 59 53 AM\](https://github.com/dummylabs/thewatchman/assets/56259169/29590a36-b263-4865-b0c0-6b622ef3a79e)

> <https://github.com/dummylabs/thewatchman/issues/116>
>
> Hi,
> 
> I do have an automation which shows an error (" switch.2 \[missing\] office….yaml ") in Watchman
> 
> 
> \`\`\`
> \# Send reminder if desk power is still on
> \- alias: "123"
> trigger:
> - platform: time
> at: "19:00:00"
> condition:
> - condition: state
> entity\_id: switch.xyz
> state: 'on'
> action:
> - service: notify.ios\_devices
> data\_template:
> title: "Message Title"
> message: \>-
> Message Message Message
> data:
> priority: 0
> actions:
> - action: "DESKOFF"
> title: "Turn off!"
> icon: 'sfsymbols:switch.2'
> \`\`\`
> 
> Apparently, Watchman is having issues with the icon configuration, see data part of the action. 
> 
> \> icon: 'sfsymbols:switch.2'
> 
> One can ignore the entitiy \_switch.2\_ within the service configuration, but would be nice if such configurations wouldn't be listed as issue.
> 
> Thanks for building Watchman!

---

<div class="post-metadata">

**Author:** ![pascal\_ha](https://forum.hacf.fr/user_avatar/forum.hacf.fr/pascal_ha/32/10823_2.png) [@pascal\_ha](https://forum.hacf.fr/u/pascal_ha)\
**Post date:** [Février 12, 2024, 7:00 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/7 "2024-02-12T19:00:52Z")

</div>

Il y a aussi cette integration, mais c’est en anglais, me parait plus complet, mais plus complexe.

Donc j’ai pas testé

[https://spook.boo/about](https://spook.boo/about)

---

<div class="post-metadata">

**Author:** ![jerome6994](https://forum.hacf.fr/user_avatar/forum.hacf.fr/jerome6994/32/13064_2.png) [@jerome6994](https://forum.hacf.fr/u/jerome6994)\
**Post date:** [Février 12, 2024, 7:45 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/8 "2024-02-12T19:45:20Z")

</div>

Elle vient de sortir il y a peu et surtout faite par un dev plus qu’actif : longue vie au fantôme

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Février 13, 2024, 3:39 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/9 "2024-02-13T03:39:24Z")

</div>

Ah oui, avec frenck au commande je vais l'essayer. Merci @pascal_ha pour la découverte de Spook 😉

> [@jerome6994](#):
>
> Elle vient de sortir il y a peu

Il y a 1 ans déja 😅

> **[Release Boo! · frenck/spook](https://github.com/frenck/spook/releases/tag/v0.0.1)**
>
> 👻👻👻👻👻👻👻👻👻👻
> 
> Add service: spook.random\_fail
> 
> 👻👻👻👻👻👻👻👻👻👻
> Full Changelog: https://github.com/frenck/spook/commits/v0.0.1

---

<div class="post-metadata">

**Author:** ![pascal\_ha](https://forum.hacf.fr/user_avatar/forum.hacf.fr/pascal_ha/32/10823_2.png) [@pascal\_ha](https://forum.hacf.fr/u/pascal_ha)\
**Post date:** [Février 13, 2024, 4:01 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/10 "2024-02-13T04:01:34Z")

</div>

> [@WarC0zes](#):
>
> je vais l’essayer.

Tu nous feras un retour, avant que je test 😁 (surtout pour les soucis)

---

<div class="post-metadata">

**Author:** ![jerome6994](https://forum.hacf.fr/user_avatar/forum.hacf.fr/jerome6994/32/13064_2.png) [@jerome6994](https://forum.hacf.fr/u/jerome6994)\
**Post date:** [Février 13, 2024, 6:27 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/11 "2024-02-13T06:27:58Z")

</div>

Je l’ai mis il y a 1 mois ou 2 au moment où il y’a eu un peu de pub.  
Je pense qu’au début il était au chaud en partage limité.

Mais c’est cool j’ai corrigé pas mal de truc grâce à ça.

---

<div class="post-metadata">

**Author:** ![pascal\_ha](https://forum.hacf.fr/user_avatar/forum.hacf.fr/pascal_ha/32/10823_2.png) [@pascal\_ha](https://forum.hacf.fr/u/pascal_ha)\
**Post date:** [Février 13, 2024, 1:38 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/12 "2024-02-13T13:38:10Z")

</div>

> [@jerome6994](#):
>
> Mais c’est cool j’ai corrigé pas mal de truc grâce à ça.

Bonjour Jerome  
Comme tu utilises cette application depuis deux mois, peux-tu nous faire un petit retour de ton expérience.

- As-tu eu des effets secondaires (dysfonctionnement) depuis l’installation de spook ?
- Installation et la configuration est-elle simple ?
- Utilisation est facile (instinctif) ou plutôt complexe ? (en clair, c’est accessible à un débutant ?)

---

<div class="post-metadata">

**Author:** ![pascal\_ha](https://forum.hacf.fr/user_avatar/forum.hacf.fr/pascal_ha/32/10823_2.png) [@pascal\_ha](https://forum.hacf.fr/u/pascal_ha)\
**Post date:** [Février 13, 2024, 2:00 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/13 "2024-02-13T14:00:40Z")

</div>

Bonjour à tous

J'ai trouvé la solution de mon problème (si on peut dire…)

 ![Capture d’écran 2024-02-13 145325_4](https://forum.hacf.fr/uploads/default/original/3X/b/1/b1517409b34658387dca29bc5336810fb24b320e.png)

Je n'ai rien fait de particulier, sauf la manipulation suivante :  
J'ai relancé le service après avoir attendu quelques minutes après le redémarrage de HA.  
Je pense que la première fois, les équipements Zigbee n'avaient pas eu le temps de rejoindre le réseau (il était dans un état inconnu).

J'ai renommé le titre du sujet, qui me parait plus approprié.  
Je ne sais pas si je dois mettre le sujet comme résolu ? peut-on compléter nos avis après sur Watchman ou spook ?

---

<div class="post-metadata">

**Author:** ![wibeweb](https://forum.hacf.fr/user_avatar/forum.hacf.fr/wibeweb/32/47974_2.png) [@wibeweb](https://forum.hacf.fr/u/wibeweb)\
**Post date:** [Février 13, 2024, 2:21 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/14 "2024-02-13T14:21:06Z")

</div>

J'aime bien WatchMan  
Avec la carte markdown, c'est aussi sympa

 ![image](https://forum.hacf.fr/uploads/default/original/3X/0/4/04fb225a4a9a166550b79ef3cdd57d7619fb58ee.png)

```auto
<h2> <ha-icon icon='mdi:shield-half-full'></ha-icon> Rapport Watchman</h2>
<h3>Entités manquantes: {{ states.sensor.watchman_missing_entities.state }} </h3>
{%- for item in state_attr("sensor.watchman_missing_entities", "entities") %}
  <hr> <table><tr> <td>
  <ha-icon icon='mdi:
  {%- if item.state=="missing"-%}cloud-alert'
  {%- elif item.state=="unavail" -%}cloud-off-outline' {%- else-%}cloud-question'
  {%- endif -%} ></ha-icon>
  {{ item.id }} [{{item.state}}] <a title="{{item.occurrences}}">
  {{item.occurrences.split('/')[-1].split(':')[0]}}</a>
  </td></tr></table>
{%- endfor %}

<!-- Ajouter le lien -->
[Accéder à Studio Code Server](https://xxxxxxxxxxxxxxxxxx/_vscode/ingress)

```

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Février 13, 2024, 3:03 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/15 "2024-02-13T15:03:50Z")

</div>

@pascal_ha  
j'ai installer spook, après un rédémarrage j'ai eu ces corrections proposer.

 ![image](https://forum.hacf.fr/uploads/default/original/3X/5/5/5562b2145dbd6e91708441042b8eb859864fb78c.png)

 ![image](https://forum.hacf.fr/uploads/default/original/3X/f/4/f4c0650d2464e71cd0ec9538836a48e24005edfc.png)

 ![image](https://forum.hacf.fr/uploads/default/original/3X/3/1/31465a30337072812700193cb0b8af8a9f2859a3.png)

EDIT:  
wtf ?  
Ta tester @jerome6994 ?

 ![image](https://forum.hacf.fr/uploads/default/original/3X/9/0/90154778431690e99f499a7b0bc2f70792be9fdc.png)

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Février 13, 2024, 3:28 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/16 "2024-02-13T15:28:05Z")

</div>

Quand ta corriger un problème, comment supprimer l’avertissement ?

---

<div class="post-metadata">

**Author:** ![jerome6994](https://forum.hacf.fr/user_avatar/forum.hacf.fr/jerome6994/32/13064_2.png) [@jerome6994](https://forum.hacf.fr/u/jerome6994)\
**Post date:** [Février 13, 2024, 9:59 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/17 "2024-02-13T21:59:18Z")

</div>

Alors je vais tenter de répondre à tous

Installation la plus simple du monde sur HACS  
Redémarrage de la bête et hop tu as des avertissements à lire avec attention.

Tu procèdes ou non au correction et au fur et à mesure que tu corriges les alertes disparaissent si tu relance les le sensor qui va bien.  
Mais sinon un redémarrage remets les éléments dans l’ordre.

Si je redémarre que le yaml jnai parfois des erreurs supplémentaires alors que si je redémarre normalement plus rien

Tu peux cliquer sur ignorer pour virer l’alerte et elle disparaîtra au prochain démarrage

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Février 14, 2024, 3:06 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/18 "2024-02-14T03:06:09Z")

</div>

Merci pour ces explications. Je pensais qu’il y avait un service pour nettoyer les corrections éffectuer ou un scan interval qui les supprime seul. Pas pratique 😉

---

<div class="post-metadata">

**Author:** ![vingerha](https://forum.hacf.fr/user_avatar/forum.hacf.fr/vingerha/32/30749_2.png) [@vingerha](https://forum.hacf.fr/u/vingerha)\
**Post date:** [Février 14, 2024, 5:17 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/19 "2024-02-14T05:17:18Z")

</div>

Chez moi, j’avais qq qui se sont disparus après la correction …sans intervention manuelle de ma part…mais je me rapelle qu’il y a aussi un ou deux ou j’avis dû clicquer ‹&nbsp;ingnore&nbsp;›. C’est un projet en développement donc si t’as des choses…ouvre un issue sur son git ?

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Février 14, 2024, 5:19 UTC](https://forum.hacf.fr/t/integration-watchman-et-spook/36478/20 "2024-02-14T05:19:46Z")

</div>

a toute hasard tu sais ce que fait ce service:

 ![image](https://forum.hacf.fr/uploads/default/original/3X/9/0/90154778431690e99f499a7b0bc2f70792be9fdc.png)

[Page suivante](https://forum.hacf.fr/t/integration-watchman-et-spook/36478.md?page=2)
