فهرست منبع

docs: explain that NetPulse does not duplicate routers that expose themselves (#835)

Manual, README and the landing page; bumps the asset cache-busting version.
Nacho 2 ماه پیش
والد
کامیت
9471f64364
8فایلهای تغییر یافته به همراه20 افزوده شده و 11 حذف شده
  1. 2 1
      README.es.md
  2. 2 1
      README.md
  3. 2 0
      docs/manual.en.md
  4. 2 0
      docs/manual.es.md
  5. 3 3
      web/features.html
  6. 4 3
      web/home-assistant.html
  7. 2 0
      web/i18n.js
  8. 3 3
      web/index.html

+ 2 - 1
README.es.md

@@ -143,7 +143,8 @@ por SNMP también son ciudadanos de primera.
   con swap atómico.
 - **MQTT + Home Assistant (opcional)**: publica el estado de la flota (salud,
   clientes, vitales por router y alertas) en un broker MQTT; Home Assistant
-  descubre las entidades solo. Desactivado por defecto y sin nube: se configura
+  descubre las entidades solo. Los routers que se exponen solos con NetGrip no
+  se duplican. Desactivado por defecto y sin nube: se configura
   con las variables de entorno `NETPULSE_MQTT_*` (o las opciones UCI `mqtt_*` en
   on-box). Topics, entidades y limitaciones en el
   [manual](docs/manual.es.md#home-assistant-mqtt).

+ 2 - 1
README.md

@@ -136,7 +136,8 @@ client splits. SNMP-polled managed switches are first-class citizens too.
   with an atomic swap.
 - **MQTT + Home Assistant (opt-in)**: publish the fleet state (health, clients,
   per-router vitals and alerts) to an MQTT broker; Home Assistant discovers the
-  entities on its own. Off by default and cloud-free: configured with the
+  entities on its own. Routers that expose themselves with NetGrip are not
+  duplicated. Off by default and cloud-free: configured with the
   `NETPULSE_MQTT_*` environment variables (or the equivalent `mqtt_*` UCI options
   on-box). Topics, entities and limits in the
   [manual](docs/manual.en.md#home-assistant-mqtt).

+ 2 - 0
docs/manual.en.md

@@ -567,6 +567,8 @@ A periodic snapshot of the install, meant for Home Assistant dashboards and auto
 
 NetPulse is **publish-only**: it writes to the broker, it does not listen for commands. From Home Assistant you read and automate; to act on a router (guest WiFi, firewall, reboot...) you use NetGrip (the router panel), which speaks MQTT too.
 
+**Who exposes each router.** If a router runs NetGrip with its MQTT on, NetGrip itself is the one exposing it to Home Assistant (with more entities and commands): NetPulse detects it and does not publish that router, so it is not duplicated. Routers that do not expose themselves keep publishing the same six entities.
+
 ### What it needs
 
 - An **MQTT broker** reachable from wherever NetPulse runs. The usual choice is Home Assistant's **Mosquitto** add-on; any broker works.

+ 2 - 0
docs/manual.es.md

@@ -567,6 +567,8 @@ Una foto periódica del estado de la instalación, pensada para paneles y automa
 
 NetPulse es **solo publicador**: escribe en el broker, no escucha órdenes. Desde Home Assistant puedes leer y automatizar; para actuar sobre un router (WiFi invitado, firewall, reinicio...) se usa NetGrip (el panel del router), que también habla MQTT.
 
+**Quién expone cada router.** Si un router lleva NetGrip con su MQTT activado, es el propio NetGrip quien lo expone a Home Assistant (con más entidades y con comandos): NetPulse lo detecta y no publica ese router, para no duplicarlo. Los routers que no se exponen solos siguen publicando las seis entidades de siempre.
+
 ### Qué necesita
 
 - Un **broker MQTT** accesible desde donde corre NetPulse. Lo más común es el add-on **Mosquitto** de Home Assistant; vale cualquier broker.

+ 3 - 3
web/features.html

@@ -28,7 +28,7 @@
   <link rel="preconnect" href="https://fonts.googleapis.com" />
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
   <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
-  <link rel="stylesheet" href="styles.css?v=20260923a" />
+  <link rel="stylesheet" href="styles.css?v=20260923b" />
   <script type="application/ld+json">
   {
     "@context": "https://schema.org",
@@ -451,8 +451,8 @@
     </div>
   </div>
 
-  <script src="i18n.js?v=20260923a"></script>
-  <script src="app.js?v=20260923a"></script>
+  <script src="i18n.js?v=20260923b"></script>
+  <script src="app.js?v=20260923b"></script>
 <script defer src="https://stat.domatix.com/script.js" data-website-id="b9a57c48-cfbb-59fb-af00-e21b868371d9"></script>
 </body>
 </html>

+ 4 - 3
web/home-assistant.html

@@ -28,7 +28,7 @@
   <link rel="preconnect" href="https://fonts.googleapis.com" />
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
   <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
-  <link rel="stylesheet" href="styles.css?v=20260923a" />
+  <link rel="stylesheet" href="styles.css?v=20260923b" />
 <script data-goatcounter="https://stats.netpulse.cloudless.club/count" async src="//stats.netpulse.cloudless.club/count.js"></script>
 </head>
 <body>
@@ -185,6 +185,7 @@ NETPULSE_MQTT_INSTANCE=casa</code>
           </tbody>
         </table>
       </div>
+      <p class="caption text-muted" style="margin-top:0.9rem;" data-i18n="haPage.entNote">Si un router lleva NetGrip con su MQTT activado, es NetGrip quien lo expone a Home Assistant y NetPulse no lo publica: solo verás un dispositivo por router.</p>
 
       <div class="browser-frame reveal" style="margin-top:2rem;">
         <img data-hashot="device" src="assets/ha-device-es-dark.webp" alt="" width="1440" height="900" data-i18n-aria="haPage.shotDeviceAlt" />
@@ -313,8 +314,8 @@ NETPULSE_MQTT_INSTANCE=casa</code>
     </div>
   </div>
 
-  <script src="i18n.js?v=20260923a"></script>
-  <script src="app.js?v=20260923a"></script>
+  <script src="i18n.js?v=20260923b"></script>
+  <script src="app.js?v=20260923b"></script>
 <script defer src="https://stat.domatix.com/script.js" data-website-id="b9a57c48-cfbb-59fb-af00-e21b868371d9"></script>
 </body>
 </html>

+ 2 - 0
web/i18n.js

@@ -60,6 +60,7 @@ const I18N = {
       entEyebrow: 'Entities',
       entTitle: 'What shows up in Home Assistant',
       entLead: 'One device for the install and one per router, hanging from the first. These are the entities created on their own:',
+      entNote: 'If a router runs NetGrip with its MQTT on, NetGrip is the one exposing it to Home Assistant and NetPulse does not publish it: you only see one device per router.',
       thDevice: 'Device', thEntity: 'Entity', thType: 'Type', thUnit: 'Unit',
       devRouter: 'each router',
       typeSensor: 'sensor', typeSensorDiag: 'sensor (diagnostic)', typeBinary: 'binary (connectivity)',
@@ -242,6 +243,7 @@ const I18N = {
       entEyebrow: 'Entidades',
       entTitle: 'Lo que aparece en Home Assistant',
       entLead: 'Un dispositivo para la instalación y uno por router, colgando del primero. Estas son las entidades que se crean solas:',
+      entNote: 'Si un router lleva NetGrip con su MQTT activado, es NetGrip quien lo expone a Home Assistant y NetPulse no lo publica: solo verás un dispositivo por router.',
       thDevice: 'Dispositivo', thEntity: 'Entidad', thType: 'Tipo', thUnit: 'Unidad',
       devRouter: 'cada router',
       typeSensor: 'sensor', typeSensorDiag: 'sensor (diagnóstico)', typeBinary: 'binario (conectividad)',

+ 3 - 3
web/index.html

@@ -28,7 +28,7 @@
   <link rel="preconnect" href="https://fonts.googleapis.com" />
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
   <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
-  <link rel="stylesheet" href="styles.css?v=20260923a" />
+  <link rel="stylesheet" href="styles.css?v=20260923b" />
   <script type="application/ld+json">
   {
     "@context": "https://schema.org",
@@ -848,8 +848,8 @@
     <p class="lightbox-caption" id="lightboxCaption"></p>
   </div>
 
-  <script src="i18n.js?v=20260923a"></script>
-  <script src="app.js?v=20260923a"></script>
+  <script src="i18n.js?v=20260923b"></script>
+  <script src="app.js?v=20260923b"></script>
 <script defer src="https://stat.domatix.com/script.js" data-website-id="b9a57c48-cfbb-59fb-af00-e21b868371d9"></script>
 </body>
 </html>