@jjlmoya/utils-home 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jjlmoya/utils-home",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -1,24 +1,105 @@
1
1
  import type { CategoryLocaleContent } from '../../types';
2
2
 
3
3
  export const content: CategoryLocaleContent = {
4
- slug: 'template-category',
5
- title: 'Template Category',
6
- description: 'Category description.',
4
+ slug: 'home',
5
+ title: 'Home Calculators and Utilities',
6
+ description: 'Optimize your home with real data. Free tools to calculate energy savings, compare electricity tariffs, size solar panels, prevent condensation, and plan your audiovisual setup.',
7
7
  seo: [
8
8
  {
9
- type: 'summary',
10
- title: 'Summary',
11
- items: ['Point 1', 'Point 2', 'Point 3'],
9
+ type: 'title',
10
+ text: 'Why calculate before making home decisions?',
11
+ level: 2,
12
+ },
13
+ {
14
+ type: 'paragraph',
15
+ html: 'Most home decisions are made on gut feeling: "I think these solar panels will be enough", "switching bulbs should save something". The truth is that a five-minute calculation can save you hundreds of euros a year or spare you an expensive renovation. Our tools are based on <strong>real physics</strong>: solar irradiation by latitude, measured wattage consumption, moist air psychrometry, projection optics.',
16
+ },
17
+ {
18
+ type: 'paragraph',
19
+ html: 'An efficient home is not a luxury — it is a technical decision. The difference between a household with a spiralling electricity bill and one with controlled consumption is rarely the tariff price: it is knowing exactly how much each device consumes, when it makes sense to self-generate energy, and where the losses occur.',
12
20
  },
13
21
  {
14
22
  type: 'title',
15
- text: 'Section title',
23
+ text: 'Residential solar energy: beyond the marketing',
16
24
  level: 2,
17
25
  },
18
26
  {
19
27
  type: 'paragraph',
20
- html: 'Category SEO content.',
28
+ html: 'Residential photovoltaic installations have a real return on investment that depends on three variables: the irradiation at your location, the tilt angle of the panels, and your hourly consumption. A panel tilted 10° below optimal can lose <strong>15–20% of annual output</strong>. Our solar calculator gives you the exact angle and monthly generation estimate.',
29
+ },
30
+ {
31
+ type: 'paragraph',
32
+ html: 'The optimal orientation and tilt of a solar panel vary with latitude. In continental Europe, the ideal angle ranges between 30° and 40° depending on the season. Optimising for total annual output is not the same as optimising for winter months, when electricity demand is highest.',
33
+ },
34
+ {
35
+ type: 'title',
36
+ text: 'Real energy savings: LED bulbs and electricity tariffs',
37
+ level: 2,
38
+ },
39
+ {
40
+ type: 'paragraph',
41
+ html: 'Switching from halogens to LED is not simply "using fewer watts". It means understanding that a 9 W LED replaces a 60 W halogen while delivering the same luminous flux (800 lumens), achieving an <strong>85% reduction in consumption</strong>. Multiplied by annual hours of use and the price per kWh, savings can be quantified to the cent. Our calculator does exactly that.',
42
+ },
43
+ {
44
+ type: 'paragraph',
45
+ html: 'Choosing the right electricity tariff is equally important. Fixed-price market contracts can be advantageous for consumers with regular habits; indexed tariffs fluctuate with the wholesale market and reward those who shift consumption to off-peak hours. Comparing both options with your actual consumption data can make a difference of <strong>100–300 € per year</strong>.',
46
+ },
47
+ {
48
+ type: 'title',
49
+ text: 'Humidity and condensation: the silent problem',
50
+ level: 2,
51
+ },
52
+ {
53
+ type: 'paragraph',
54
+ html: 'Sustained relative humidity above 70% leads to condensation at thermal bridges, mould growth, and structural deterioration. The dew point temperature — the value at which water vapour in the air condenses — is the key metric. If your interior wall surface is below that point, condensation will form regardless of whether you can see it.',
55
+ },
56
+ {
57
+ type: 'paragraph',
58
+ html: 'Knowing the dew point of your environment lets you act before mould appears: ventilate at the right moment, adjust heating, or identify cold spots in the home where condensation is inevitable without additional insulation.',
59
+ },
60
+ {
61
+ type: 'title',
62
+ text: 'Audiovisual installations: calculating throw distance',
63
+ level: 2,
64
+ },
65
+ {
66
+ type: 'paragraph',
67
+ html: 'A projector is not placed "wherever it fits". The throw ratio — the relationship between projection distance and image width — determines exactly how far back you need to position the unit to achieve the desired screen size. A 50 cm positioning error can mean an image 20 cm smaller, or force a digital zoom that reduces effective resolution.',
68
+ },
69
+ {
70
+ type: 'paragraph',
71
+ html: 'Our projector calculator gives you the exact distance based on your model\'s throw ratio, the target screen size, and the image ratio (16:9, 4:3, 2.35:1). Ideal for planning the installation before drilling walls or purchasing the mount.',
72
+ },
73
+ {
74
+ type: 'title',
75
+ text: 'Connectivity and digital utilities for the modern home',
76
+ level: 2,
77
+ },
78
+ {
79
+ type: 'paragraph',
80
+ html: 'The modern home integrates technology at every level: Wi-Fi networks, IoT devices, QR-code-based access. The QR code generator lets you create shortcuts to your home Wi-Fi, contact cards, smart device URLs, or any information you want to share easily with guests or between devices — no typing required.',
81
+ },
82
+ {
83
+ type: 'list',
84
+ items: [
85
+ '<strong>Quantifiable savings:</strong> Each tool returns concrete numbers — euros saved per year, kWh generated per month, optimal tilt degrees. No vague estimates.',
86
+ '<strong>No installation needed:</strong> Online calculators that run directly in the browser, no apps or accounts required.',
87
+ '<strong>Based on technical standards:</strong> Psychrometric formulas (ASHRAE), projection optics, solar radiation by latitude, and relevant electrical regulations.',
88
+ '<strong>Useful before you buy:</strong> Validate purchasing decisions before committing. Do solar panels pay off on your roof? How much do LEDs actually save? Calculate first.',
89
+ ],
90
+ },
91
+ {
92
+ type: 'title',
93
+ text: 'The efficient home: an investment with measurable returns',
94
+ level: 2,
95
+ },
96
+ {
97
+ type: 'paragraph',
98
+ html: 'Home energy efficiency improvements have a concrete ROI. A well-sized photovoltaic installation can pay for itself in 6–9 years at current electricity prices. A full LED retrofit in an average home pays back in under 2 years. A well-chosen tariff saves money from the first month. The starting point is always the same: <strong>measure before you act</strong>.',
99
+ },
100
+ {
101
+ type: 'paragraph',
102
+ html: 'These tools were built from the need to make home decisions with the same rigour applied to professional ones. The physics of a home are no different from those of industry: same laws, same formulas, same potential for optimisation. The difference is having access to the calculations.',
21
103
  },
22
104
  ],
23
105
  };
24
-
@@ -1,24 +1,105 @@
1
1
  import type { CategoryLocaleContent } from '../../types';
2
2
 
3
3
  export const content: CategoryLocaleContent = {
4
- slug: 'categoria-template',
5
- title: 'Categoría Template',
6
- description: 'Descripción de la categoría.',
4
+ slug: 'hogar',
5
+ title: 'Calculadoras y Herramientas para el Hogar',
6
+ description: 'Optimiza tu hogar con datos reales. Herramientas gratuitas para calcular el ahorro energético, comparar tarifas de luz, dimensionar placas solares, evitar condensaciones y planificar tu instalación audiovisual.',
7
7
  seo: [
8
8
  {
9
- type: 'summary',
10
- title: 'Resumen',
11
- items: ['Punto 1', 'Punto 2', 'Punto 3'],
9
+ type: 'title',
10
+ text: '¿Por qué calcular antes de actuar en casa?',
11
+ level: 2,
12
+ },
13
+ {
14
+ type: 'paragraph',
15
+ html: 'La mayoría de decisiones domésticas se toman por intuición: "creo que con estas placas solares me llega", "cambiando las bombillas debería ahorrar algo". La realidad es que un cálculo de cinco minutos puede ahorrarte cientos de euros al año o evitarte una reforma cara. Nuestras herramientas están basadas en <strong>física real</strong>: irradiación solar por latitud, consumo medido en watios, psicrometría del aire húmedo, óptica de proyección.',
16
+ },
17
+ {
18
+ type: 'paragraph',
19
+ html: 'Un hogar eficiente no es un lujo; es una decisión técnica. La diferencia entre una casa con factura de luz desbocada y una con consumo controlado no suele ser el precio de la tarifa: es saber exactamente cuánto consume cada dispositivo, cuándo conviene generar energía propia y dónde se producen las pérdidas.',
12
20
  },
13
21
  {
14
22
  type: 'title',
15
- text: 'Título de sección',
23
+ text: 'Energía solar en casa: más allá del marketing',
16
24
  level: 2,
17
25
  },
18
26
  {
19
27
  type: 'paragraph',
20
- html: 'Contenido SEO de la categoría.',
28
+ html: 'Las instalaciones fotovoltaicas residenciales tienen un retorno de inversión real que depende de tres variables: la irradiación de tu ubicación, el ángulo de inclinación de los paneles y tu consumo horario. Un panel inclinado 10° menos de lo óptimo puede perder un <strong>15-20% de producción anual</strong>. Nuestra calculadora solar te da el ángulo exacto y la estimación de generación mensual.',
29
+ },
30
+ {
31
+ type: 'paragraph',
32
+ html: 'La orientación y la inclinación óptima de un panel solar varían con la latitud. En España peninsular, el ángulo ideal oscila entre 30° y 40° según la estación. No es lo mismo optimizar para producción anual total que para los meses de invierno, cuando la demanda eléctrica es mayor.',
33
+ },
34
+ {
35
+ type: 'title',
36
+ text: 'Ahorro energético real: bombillas LED y tarifas eléctricas',
37
+ level: 2,
38
+ },
39
+ {
40
+ type: 'paragraph',
41
+ html: 'Cambiar de halógenos a LED no es simplemente "usar menos vatios". Es entender que una bombilla LED de 9 W sustituye a una halógena de 60 W manteniendo el mismo flujo luminoso (800 lúmenes), con una <strong>reducción del 85% en consumo</strong>. Multiplicado por las horas de uso anuales y el precio por kWh, el ahorro se puede cuantificar al céntimo. Nuestra calculadora hace exactamente eso.',
42
+ },
43
+ {
44
+ type: 'paragraph',
45
+ html: 'Elegir bien la tarifa eléctrica es igualmente importante. El mercado libre ofrece precios fijos que pueden ser ventajosos para consumidores de hábitos regulares; el PVPC (precio voluntario para el pequeño consumidor) fluctúa con el mercado mayorista y premia a quienes desplazan consumo a horas valle. Comparar ambas opciones con datos reales de tu consumo puede suponer una diferencia de <strong>100-300 € anuales</strong>.',
46
+ },
47
+ {
48
+ type: 'title',
49
+ text: 'Humedad y condensación: el problema silencioso',
50
+ level: 2,
51
+ },
52
+ {
53
+ type: 'paragraph',
54
+ html: 'La humedad relativa por encima del 70% sostenida en el tiempo genera condensación en puentes térmicos, formación de moho y deterioro de estructuras. La temperatura de punto de rocío —el valor al que el vapor de agua del aire se condensa— es la métrica clave. Si tu pared interior está por debajo de ese punto, habrá condensación, independientemente de si lo notas a simple vista.',
55
+ },
56
+ {
57
+ type: 'paragraph',
58
+ html: 'Conocer el punto de rocío de tu ambiente permite actuar antes de que aparezca el moho: ventilar en el momento adecuado, ajustar la calefacción, o identificar zonas frías de la vivienda donde la condensación es inevitable sin aislamiento adicional.',
59
+ },
60
+ {
61
+ type: 'title',
62
+ text: 'Instalaciones audiovisuales: cálculo de distancias de proyección',
63
+ level: 2,
64
+ },
65
+ {
66
+ type: 'paragraph',
67
+ html: 'Un proyector no se coloca "donde quepa". El <em>throw ratio</em> —relación entre distancia de proyección y ancho de imagen— determina exactamente la distancia necesaria para conseguir el tamaño de pantalla deseado. Un error de 50 cm en la posición puede significar una imagen 20 cm más pequeña o forzar un zoom digital que reduce resolución efectiva.',
68
+ },
69
+ {
70
+ type: 'paragraph',
71
+ html: 'Nuestra calculadora de proyector te da la distancia exacta según el throw ratio de tu modelo, el tamaño de pantalla objetivo y las proporciones de imagen (16:9, 4:3, 2.35:1). Ideal para planificar la instalación antes de perforar paredes o adquirir el soporte.',
72
+ },
73
+ {
74
+ type: 'title',
75
+ text: 'Conectividad y utilidades digitales para el hogar moderno',
76
+ level: 2,
77
+ },
78
+ {
79
+ type: 'paragraph',
80
+ html: 'El hogar moderno integra tecnología en cada rincón: redes WiFi, dispositivos IoT, accesos con código QR. El generador de códigos QR permite crear accesos directos a redes WiFi del hogar, fichas de contacto, URLs de dispositivos inteligentes o cualquier información que quieras compartir fácilmente con visitas o entre dispositivos, sin necesidad de teclear.',
81
+ },
82
+ {
83
+ type: 'list',
84
+ items: [
85
+ '<strong>Ahorro cuantificable:</strong> Cada herramienta devuelve cifras concretas: euros ahorrados al año, kWh generados al mes, grados de inclinación óptimos. No estimaciones vagas.',
86
+ '<strong>Sin instalación:</strong> Calculadoras online que funcionan directamente en el navegador, sin apps ni registros.',
87
+ '<strong>Basadas en estándares técnicos:</strong> Fórmulas de psicrometría (ASHRAE), óptica de proyección, radiación solar por latitud y normativa eléctrica española.',
88
+ '<strong>Útiles antes de comprar:</strong> Valida tus decisiones de compra antes de invertir. ¿Compensan las placas solares en tu tejado? ¿Cuánto ahorras realmente con LED? Calcula primero.',
89
+ ],
90
+ },
91
+ {
92
+ type: 'title',
93
+ text: 'El hogar eficiente: una inversión con retorno medible',
94
+ level: 2,
95
+ },
96
+ {
97
+ type: 'paragraph',
98
+ html: 'Las mejoras de eficiencia energética en el hogar tienen un ROI concreto. Una instalación fotovoltaica bien dimensionada puede amortizarse en 6-9 años con los precios actuales de la luz. El cambio completo a LED en una vivienda media se amortiza en menos de 2 años. Una tarifa bien elegida ahorra dinero desde el primer mes. El punto de partida es siempre el mismo: <strong>medir antes de actuar</strong>.',
99
+ },
100
+ {
101
+ type: 'paragraph',
102
+ html: 'Estas herramientas nacieron de la necesidad de tomar decisiones domésticas con la misma rigor que se aplica a decisiones profesionales. La física del hogar no es diferente de la física industrial: mismas leyes, mismas fórmulas, mismas posibilidades de optimización. La diferencia es tener acceso a los cálculos.',
21
103
  },
22
104
  ],
23
105
  };
24
-
@@ -1,24 +1,105 @@
1
1
  import type { CategoryLocaleContent } from '../../types';
2
2
 
3
3
  export const content: CategoryLocaleContent = {
4
- slug: 'categorie-template',
5
- title: 'Catégorie Template',
6
- description: 'Description de la catégorie.',
4
+ slug: 'maison',
5
+ title: 'Calculatrices et Outils pour la Maison',
6
+ description: 'Optimisez votre maison avec des données réelles. Outils gratuits pour calculer les économies d\'énergie, comparer les tarifs électriques, dimensionner vos panneaux solaires, prévenir la condensation et planifier votre installation audiovisuelle.',
7
7
  seo: [
8
8
  {
9
- type: 'summary',
10
- title: 'Résumé',
11
- items: ['Point 1', 'Point 2', 'Point 3'],
9
+ type: 'title',
10
+ text: 'Pourquoi calculer avant d\'agir à la maison ?',
11
+ level: 2,
12
+ },
13
+ {
14
+ type: 'paragraph',
15
+ html: 'La plupart des décisions domestiques se prennent à l\'intuition : "je pense que ces panneaux solaires suffiront", "changer les ampoules devrait faire des économies". La réalité, c\'est qu\'un calcul de cinq minutes peut vous faire économiser des centaines d\'euros par an ou vous éviter des travaux coûteux. Nos outils reposent sur de la <strong>physique réelle</strong> : irradiation solaire par latitude, consommation mesurée en watts, psychrométrie de l\'air humide, optique de projection.',
16
+ },
17
+ {
18
+ type: 'paragraph',
19
+ html: 'Un logement efficace n\'est pas un luxe, c\'est une décision technique. La différence entre un foyer avec une facture d\'électricité incontrôlée et un autre avec une consommation maîtrisée tient rarement au prix du tarif : elle tient à savoir exactement combien consomme chaque appareil, quand il est rentable de produire sa propre énergie, et où se situent les pertes.',
12
20
  },
13
21
  {
14
22
  type: 'title',
15
- text: 'Titre de section',
23
+ text: 'Énergie solaire résidentielle : au-delà du marketing',
16
24
  level: 2,
17
25
  },
18
26
  {
19
27
  type: 'paragraph',
20
- html: 'Contenu SEO de la catégorie.',
28
+ html: 'Le retour sur investissement d\'une installation photovoltaïque résidentielle dépend de trois variables : l\'irradiation de votre emplacement, l\'angle d\'inclinaison des panneaux et votre consommation horaire. Un panneau incliné 10° en dessous de l\'optimum peut perdre <strong>15 à 20 % de production annuelle</strong>. Notre calculateur solaire vous donne l\'angle exact et l\'estimation mensuelle de production.',
29
+ },
30
+ {
31
+ type: 'paragraph',
32
+ html: 'L\'orientation et l\'inclinaison optimales d\'un panneau solaire varient selon la latitude. En Europe continentale, l\'angle idéal se situe entre 30° et 40° selon la saison. Optimiser pour la production annuelle totale n\'est pas la même chose qu\'optimiser pour les mois d\'hiver, quand la demande électrique est la plus forte.',
33
+ },
34
+ {
35
+ type: 'title',
36
+ text: 'Économies d\'énergie réelles : ampoules LED et tarifs électriques',
37
+ level: 2,
38
+ },
39
+ {
40
+ type: 'paragraph',
41
+ html: 'Passer des halogènes aux LED, ce n\'est pas simplement "utiliser moins de watts". C\'est comprendre qu\'une ampoule LED de 9 W remplace un halogène de 60 W en produisant le même flux lumineux (800 lumens), avec une <strong>réduction de 85 % de la consommation</strong>. Multiplié par les heures d\'utilisation annuelles et le prix du kWh, l\'économie se calcule au centime. Notre calculateur fait exactement cela.',
42
+ },
43
+ {
44
+ type: 'paragraph',
45
+ html: 'Bien choisir son tarif électrique est tout aussi important. Les offres à prix fixe peuvent être avantageuses pour les consommateurs aux habitudes régulières ; les tarifs indexés fluctuent avec le marché de gros et récompensent ceux qui décalent leur consommation aux heures creuses. Comparer les deux options avec vos données réelles de consommation peut représenter une différence de <strong>100 à 300 € par an</strong>.',
46
+ },
47
+ {
48
+ type: 'title',
49
+ text: 'Humidité et condensation : le problème silencieux',
50
+ level: 2,
51
+ },
52
+ {
53
+ type: 'paragraph',
54
+ html: 'Une humidité relative supérieure à 70 % maintenue dans le temps provoque de la condensation aux ponts thermiques, le développement de moisissures et la dégradation des structures. La température de point de rosée — valeur à laquelle la vapeur d\'eau de l\'air se condense — est la métrique clé. Si la surface de votre mur intérieur est en dessous de ce seuil, il y aura condensation, que vous la voyez ou non.',
55
+ },
56
+ {
57
+ type: 'paragraph',
58
+ html: 'Connaître le point de rosée de votre environnement permet d\'agir avant l\'apparition des moisissures : ventiler au bon moment, ajuster le chauffage, ou identifier les zones froides du logement où la condensation est inévitable sans isolation supplémentaire.',
59
+ },
60
+ {
61
+ type: 'title',
62
+ text: 'Installations audiovisuelles : calculer la distance de projection',
63
+ level: 2,
64
+ },
65
+ {
66
+ type: 'paragraph',
67
+ html: 'Un projecteur ne se place pas "là où ça rentre". Le <em>throw ratio</em> — rapport entre la distance de projection et la largeur de l\'image — détermine exactement la distance nécessaire pour obtenir la taille d\'écran souhaitée. Une erreur de 50 cm dans le positionnement peut se traduire par une image 20 cm plus petite, ou imposer un zoom numérique qui réduit la résolution effective.',
68
+ },
69
+ {
70
+ type: 'paragraph',
71
+ html: 'Notre calculateur de projecteur vous donne la distance exacte selon le throw ratio de votre modèle, la taille d\'écran cible et le format d\'image (16:9, 4:3, 2.35:1). Idéal pour planifier l\'installation avant de percer les murs ou d\'acheter le support.',
72
+ },
73
+ {
74
+ type: 'title',
75
+ text: 'Connectivité et outils numériques pour la maison moderne',
76
+ level: 2,
77
+ },
78
+ {
79
+ type: 'paragraph',
80
+ html: 'La maison moderne intègre la technologie à tous les niveaux : réseaux Wi-Fi, appareils IoT, accès par QR code. Le générateur de QR codes vous permet de créer des raccourcis vers votre réseau Wi-Fi domestique, des fiches de contact, des URL d\'appareils connectés, ou toute information à partager facilement avec des invités ou entre appareils — sans saisie manuelle.',
81
+ },
82
+ {
83
+ type: 'list',
84
+ items: [
85
+ '<strong>Économies quantifiables :</strong> Chaque outil retourne des chiffres concrets — euros économisés par an, kWh produits par mois, degrés d\'inclinaison optimaux. Pas d\'estimations vagues.',
86
+ '<strong>Sans installation :</strong> Calculatrices en ligne qui fonctionnent directement dans le navigateur, sans application ni inscription.',
87
+ '<strong>Basées sur des normes techniques :</strong> Formules psychrométriques (ASHRAE), optique de projection, rayonnement solaire par latitude et réglementation électrique en vigueur.',
88
+ '<strong>Utiles avant d\'acheter :</strong> Validez vos décisions d\'achat avant d\'investir. Les panneaux solaires sont-ils rentables sur votre toit ? Combien économisez-vous vraiment avec les LED ? Calculez d\'abord.',
89
+ ],
90
+ },
91
+ {
92
+ type: 'title',
93
+ text: 'La maison efficiente : un investissement au retour mesurable',
94
+ level: 2,
95
+ },
96
+ {
97
+ type: 'paragraph',
98
+ html: 'Les améliorations de l\'efficacité énergétique à la maison ont un ROI concret. Une installation photovoltaïque bien dimensionnée peut s\'amortir en 6 à 9 ans aux prix actuels de l\'électricité. Le remplacement complet des ampoules par des LED dans un logement moyen est amorti en moins de 2 ans. Un tarif bien choisi fait économiser de l\'argent dès le premier mois. Le point de départ est toujours le même : <strong>mesurer avant d\'agir</strong>.',
99
+ },
100
+ {
101
+ type: 'paragraph',
102
+ html: 'Ces outils sont nés du besoin de prendre des décisions domestiques avec la même rigueur que les décisions professionnelles. La physique d\'un logement n\'est pas différente de celle de l\'industrie : mêmes lois, mêmes formules, mêmes possibilités d\'optimisation. La différence, c\'est d\'avoir accès aux calculs.',
21
103
  },
22
104
  ],
23
105
  };
24
-