Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
189 commits
Select commit Hold shift + click to select a range
7fd44ce
Merge pull request #11 from JEALG/beta
Odolc Dec 21, 2019
bab777d
[ROBOT] Action all
Dec 22, 2019
bfab5c4
Suppression class expertModeVisible
JEALG Dec 28, 2019
cb04e45
Merge pull request #13 from JEALG/beta
Odolc Dec 29, 2019
4234bd4
Merge pull request #2 from Odolc/beta
JEALG Jan 19, 2020
4bcc929
Correction documentation
JEALG Jan 19, 2020
3ecbbfb
Merge pull request #15 from JEALG/beta
Odolc Jan 19, 2020
41e1c4a
[ROBOT] Action all
Jan 19, 2020
384fecc
Merge pull request #3 from Odolc/beta
JEALG Apr 13, 2020
3abd538
Update beautify + ajout nouveauté
JEALG Apr 13, 2020
0a10715
Update présentation
JEALG Apr 13, 2020
3d7fcca
1ere phase de mise à jour
JEALG Apr 13, 2020
b65210d
corrections bugs
JEALG Apr 13, 2020
ad1d0f8
déplacement des commandes + réecriture des logs
JEALG Apr 13, 2020
1147bff
Correction bugs
JEALG Apr 13, 2020
2af361f
Bugs sur création message + Typo
JEALG Apr 13, 2020
f405c2e
Mise à jour info logs
JEALG Apr 13, 2020
7614a56
correction humidité
JEALG Apr 13, 2020
0c6df3b
typo
JEALG Apr 13, 2020
9d770aa
add log + Typo
JEALG Apr 13, 2020
ef42df2
Bugs
JEALG Apr 13, 2020
f656f12
beautify
JEALG Apr 13, 2020
d8a5c69
Corrections présentation
JEALG Apr 13, 2020
68da9d4
Correction bug cron 5
JEALG Apr 13, 2020
22bab05
Update logs unité
JEALG Apr 13, 2020
fba8502
Update message maj
JEALG Apr 13, 2020
23fabde
Mise à jour du message update
JEALG Apr 13, 2020
c3c95a8
suppression variable visibilité $visibleWindchill
JEALG Apr 13, 2020
071583f
Update changelog
JEALG Apr 13, 2020
518e131
Ajout unité pour la vitesse du vent
JEALG Apr 14, 2020
5720fdd
Ajout convertion vistesse vent de m/s en km/h
JEALG Apr 14, 2020
7b3d12d
Ajout unité dans info bulle
JEALG Apr 14, 2020
3bd4825
Typo Log
JEALG Apr 14, 2020
e30c5d6
lien jeedom dans docs
JEALG Apr 14, 2020
be30516
suppression message
JEALG Apr 14, 2020
5cf74f3
Update changelog
JEALG Apr 16, 2020
176e760
widget + docs
JEALG Apr 17, 2020
56338b9
corrections affectation widget
JEALG Apr 17, 2020
a503977
Update temperature.class.php
JEALG Apr 17, 2020
0df1585
Uniformalisation des variables
JEALG Apr 17, 2020
b4dc0ce
suite
JEALG Apr 17, 2020
a2b5cf2
corrections
JEALG Apr 17, 2020
d24f6d9
add bouton configuration
JEALG Apr 17, 2020
12014bc
Update cron
JEALG Apr 18, 2020
19215e8
Uniformalisation ID et variable
JEALG Apr 18, 2020
4a33f22
update collection date
JEALG Apr 18, 2020
0202d43
Unité update
JEALG Apr 18, 2020
9403f5d
docs
JEALG Apr 18, 2020
f6332e6
Corrections lien
JEALG Apr 28, 2020
2e239f2
Update docs présentation
JEALG Apr 29, 2020
ceb29e3
docs
JEALG Apr 30, 2020
dd758ec
Update temperature
JEALG May 12, 2020
30f554c
update post save+ docs
JEALG May 12, 2020
91fa637
Update documentation
JEALG May 12, 2020
fb5881c
config docs
JEALG May 13, 2020
eb2751c
Update documentation
JEALG May 23, 2020
961b32a
Typo
JEALG May 23, 2020
973acfb
typo 2
JEALG May 23, 2020
b070c41
Clean + Ajout pour supprimer <tr>
JEALG Jun 9, 2020
17fb365
clean
JEALG Jun 11, 2020
1dc10ec
Clean
JEALG Jun 12, 2020
a2108b0
Clean
JEALG Jun 14, 2020
a74c5d4
Ajout BP reset recherche
JEALG Jun 24, 2020
9081f8b
Update temperature_icon.png
JEALG Jul 17, 2020
4ffde37
Début amélioration
JEALG Aug 14, 2020
2f8d479
Correction bug suppression commande Refresh
JEALG Sep 16, 2020
fc839d5
Amélioration Readme
JEALG Oct 4, 2020
a601669
Amélioration Affichage
JEALG Oct 4, 2020
a66eec7
Uniformalisation Affichage
JEALG Oct 4, 2020
a077c36
Ajout screenshot
JEALG Oct 4, 2020
cb7e716
Amélioration
JEALG Oct 4, 2020
2a63b9b
Correction bug création commande
JEALG Oct 26, 2020
4804612
Screenshot Ecran
JEALG Oct 27, 2020
553fb2f
doc
JEALG Oct 27, 2020
db0527a
Update changelog.md
freetronic Oct 27, 2020
e394194
typo
noodom Oct 27, 2020
894d74e
Merge pull request #7 from noodom/patch-1
JEALG Oct 27, 2020
636c930
Merge pull request #6 from freetronic/patch-1
JEALG Oct 27, 2020
a0b155b
typo
JEALG Oct 27, 2020
bd0a94c
typo
JEALG Oct 27, 2020
432db5c
Correction Ordre
JEALG Oct 27, 2020
7f7d18d
Ordre des objets
JEALG Oct 31, 2020
5115377
chiffre décimal
JEALG Nov 5, 2020
fe05877
amélioration des commandes
JEALG Nov 7, 2020
4c67168
Préparation pour l'ajout de commande
JEALG Nov 7, 2020
93d72d0
correction logical Id after mise a jour
JEALG Nov 7, 2020
8a860c3
AMélioration température
JEALG Nov 7, 2020
a1ac3f4
Typo
JEALG Nov 8, 2020
9810b89
ajout vitesse du vent dans les commandes
JEALG Nov 8, 2020
9062ae3
typo
JEALG Nov 8, 2020
992ea05
typo
JEALG Nov 8, 2020
c6cd9bf
Amélioration Affichage
JEALG Nov 19, 2020
03cc878
Début Amélioration Affichage
JEALG Nov 27, 2020
f3231a9
début amélioration affichage
JEALG Nov 28, 2020
9d1c320
Affichage fin suivant Template
JEALG Nov 28, 2020
52be05f
Amélioration Affichage
JEALG Nov 29, 2020
63510bd
typo log
JEALG Dec 6, 2020
76c86a6
typo log suite
JEALG Dec 6, 2020
65b9589
typo
JEALG Dec 6, 2020
208890f
typo
JEALG Dec 6, 2020
0859795
typo
JEALG Dec 7, 2020
69ecc41
modification nom des commandes
JEALG Dec 7, 2020
63fac23
corrrection Humidex
JEALG Dec 8, 2020
a60aefa
typo log
JEALG Dec 8, 2020
a88a20f
update doc
JEALG Dec 8, 2020
7c934be
update changelog
JEALG Dec 8, 2020
6bc88e7
typo
JEALG Dec 8, 2020
1d9e93e
Ajout fonctionnalité V4.2
JEALG Feb 7, 2021
4c5b95e
Amélioration présentation
JEALG Feb 7, 2021
7a3268b
Amélioration template
JEALG Feb 7, 2021
40f46b3
Température ressentie
JEALG Feb 13, 2021
8ff160c
AMélioration + changelog
JEALG Feb 13, 2021
19016b5
htaccess
JEALG Apr 7, 2021
b0976b1
Ajout Log
JEALG May 2, 2021
ffdfdbb
Amélioration pour Core v4.2
JEALG Jul 14, 2021
01cfbc8
changelog
JEALG Jul 28, 2021
138378e
info json
JEALG Oct 24, 2021
0097c63
Amélioration Affichage v4.2
JEALG Feb 5, 2022
9f7624f
Changelog
JEALG Feb 5, 2022
c037439
La méthode js jeedom.eqLogic.buildSelectCmd.
JEALG Feb 12, 2022
907f866
Methode deadCmd
JEALG Feb 12, 2022
c62f210
json update
JEALG Feb 12, 2022
02f4847
clean
JEALG Jul 15, 2022
283d214
Ajout fonctionnalité core 4.3
JEALG Sep 9, 2022
ea892fa
Ajout changelog
JEALG Sep 9, 2022
0c9c0f7
typo
JEALG Oct 21, 2022
636b817
typo
JEALG Mar 27, 2023
9b6da44
Correction Core 4.3
JEALG Apr 1, 2023
215c33f
changelog
JEALG Apr 2, 2023
76049c4
support core <4.2
JEALG Apr 2, 2023
13ef9da
compatibilité
JEALG Jun 2, 2023
ad55ce7
lien forum
JEALG Jun 2, 2023
bc72caa
lien community
JEALG Sep 14, 2023
d3450d6
Amélioration et typo
JEALG Oct 8, 2023
25522a2
typo
JEALG Oct 8, 2023
ed6f906
typo
JEALG Dec 31, 2023
cc71b0e
Amélioration pour core V4.4
JEALG Jan 13, 2024
55bee9f
typo
JEALG Jan 13, 2024
effd93e
Suppression lien community
JEALG Feb 4, 2024
080621e
Amélioration affichage core 4.4
JEALG Feb 4, 2024
20ae07f
typo
JEALG Jun 30, 2024
10f86d5
clean code
JEALG Jun 30, 2024
bb78c17
workflow traduction
JEALG Aug 12, 2024
944648b
Auto update translation done by Mips2648/plugins-translations workflow
JEALG Aug 12, 2024
49150f8
Merge pull request #8 from JEALG/translations
JEALG Aug 12, 2024
60d082b
workflows php 8.3
JEALG Aug 28, 2024
19085b2
Correction php 8.3
JEALG Aug 28, 2024
9f963fa
info json udpate
JEALG Sep 13, 2024
1eb4b75
Auto update translation done by Mips2648/plugins-translations workflow
JEALG Sep 13, 2024
890b40d
Merge pull request #9 from JEALG/translations
JEALG Sep 13, 2024
d37bc6f
Adaptation rosee -> temperature
JEALG Sep 13, 2024
a60cf06
Auto update translation done by Mips2648/plugins-translations workflow
JEALG Sep 13, 2024
c21695b
Merge pull request #10 from JEALG/translations
JEALG Sep 13, 2024
f4796a2
test update
JEALG Sep 13, 2024
e186ebe
suite test
JEALG Sep 13, 2024
fe5db34
Correction
JEALG Sep 13, 2024
b0ab402
test
JEALG Sep 13, 2024
47fef96
update test 3
JEALG Sep 13, 2024
e224db3
migration vent vers wind
JEALG Sep 13, 2024
d6fc458
Update mise à niveau par rapport a rosee
JEALG Sep 13, 2024
7c1897a
update preupdate
JEALG Sep 13, 2024
c1324e5
Correction CRON
JEALG Sep 13, 2024
99bb3bc
update mise a jour
JEALG Sep 13, 2024
5022140
mise à jour doc
JEALG Sep 13, 2024
7e1b84a
update pour traduction log
JEALG Sep 20, 2024
8b13176
Auto update translation done by Mips2648/plugins-translations workflow
JEALG Sep 20, 2024
f0360a0
Merge pull request #11 from JEALG/translations
JEALG Sep 20, 2024
21d0224
traductions
JEALG Sep 20, 2024
191fce0
Correction min/max uniquement pour les commandes numériques
JEALG Sep 20, 2024
655b12e
Correction bug installation depuis Market
JEALG Sep 27, 2024
18b1a47
typo
JEALG Nov 1, 2024
f2c9397
typo
JEALG Nov 1, 2024
275543e
typo
JEALG Nov 2, 2024
681443b
typo
JEALG Nov 2, 2024
58e671b
Auto update translation done by Mips2648/plugins-translations workflow
JEALG Nov 2, 2024
b8a31c5
Merge pull request #12 from JEALG/translations
JEALG Nov 2, 2024
c44e0e7
amélioration log
JEALG Dec 28, 2024
aeaab02
amélioration
JEALG Dec 28, 2024
3a53be6
correction lien
JEALG Dec 30, 2024
a4b7cad
Correction calcul température ressentie
JEALG Jan 14, 2025
f0db94f
contrôle unité
JEALG Jan 15, 2025
9f82687
Auto update translation done by Mips2648/plugins-translations workflow
JEALG Jan 15, 2025
ef60620
Merge pull request #13 from JEALG/translations
JEALG Jan 15, 2025
d02e4dd
clean code
JEALG Jan 15, 2025
67ed574
unité vent
JEALG Jan 16, 2025
197785b
ajout log
JEALG Jan 16, 2025
71d3724
Auto update translation done by Mips2648/plugins-translations workflow
JEALG Jan 16, 2025
3c4d4ac
Merge pull request #14 from JEALG/translations
JEALG Jan 16, 2025
2e2eb9b
migration documentation
JEALG Feb 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PHP8.3

on:
push:
branches:
- beta

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: PHP Syntax Checker (Lint)
uses: StephaneBour/actions-php-lint@8.3
with:
dir: "."
18 changes: 18 additions & 0 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: translate

on:
workflow_dispatch:
push:
branches:
- beta

jobs:
auto-translate:
runs-on: ubuntu-latest
steps:
- uses: Mips2648/plugins-translations@main
with:
deepl_api_key: ${{ secrets.DEEPL_API_KEY }}
source_language: "fr_FR"
use_core_translations: true
target_languages: "fr_FR,en_US,es_ES,de_DE,it_IT,pt_PT"
48 changes: 48 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
.vscode/settings.json
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<img align="right" src="plugin_info/temperature_icon.png" width="150">

[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/JEALG/Temperature/graphs/commit-activity)
[![GitHub contributors](https://img.shields.io/github/contributors/jeedom/core.svg)](https://github.com/JEALG/Temperature/graphs/contributors/)

# Plugin Température

Plugin pour calculer le windchill et l'indice de température", "usage": "Indiquer des équipements température, humidité relative et vitesse du vent. Indiquer un seuil d'alerte pour l'indice de température (40°C par défaut). Si les conditions météo de température et d'humidité s'y prêtent, le plugin calcul le Windchill et l'indice de température.

_[Documentation]https://jealg.github.io/documentation/plugin-temperature/fr_FR/)_

_[changelog](https://jealg.github.io/documentation/plugin-temperature/fr_FR/changelog)_
30 changes: 22 additions & 8 deletions core/ajax/temperature.ajax.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/* This file is part of Jeedom.
*
* Jeedom is free software: you can redistribute it and/or modify
Expand All @@ -18,16 +17,17 @@

try {
require_once dirname(__FILE__) . '/../../../../core/php/core.inc.php';
require_once dirname(__FILE__) . '/../../core/php/temperature.inc.php';
include_file('core', 'authentification', 'php');

if (!isConnect('admin')) {
throw new Exception(__('401 - Accès non autorisé', __FILE__));
}
if (init('action') == 'getTemperature') {

if (init('action') == 'getTemperature') {
$temperature = temperature::byId(init('id'));
if (!is_object($temperature)) {
throw new Exception(__('Plugin inconnu verifier l\'id', __FILE__));
throw new Exception(__('Plugin inconnu vérifier l\'id', __FILE__));
}
$return = utils::o2a($temperature);
$return['cmd'] = array();
Expand All @@ -37,12 +37,26 @@
$return['cmd'][] = $cmd_info;
}
ajax::success($return);
}
}

if (init('action') == 'autoDEL_eq') {
$eqLogic = temperature::byId(init('id'));
if (!is_object($eqLogic)) {
throw new Exception(__('Température eqLogic non trouvé : ', __FILE__) . init('id'));
}
foreach ($eqLogic->getCmd() as $cmd) {
$cmd->remove();
$cmd->save();
}
ajax::success();
}


throw new Exception(__('Aucune methode correspondante à : ', __FILE__) . init('action'));
/* * *********Catch exeption*************** */
} catch (Exception $e) {
ajax::error(displayExeption($e), $e->getCode());
if (version_compare(jeedom::version(), '4.4', '>=')) {
ajax::error(displayException($e), $e->getCode());
} else {
ajax::error(displayExeption($e), $e->getCode());
}
}
?>
2 changes: 2 additions & 0 deletions core/class/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order allow,deny
Deny from all
Loading