Accès web
Voir sa PAC dans le navigateur
Ouvrir :
https://proxy-automate.latelier22.fr/pac.php?sim=eleveXX
Exemple :
https://proxy-automate.latelier22.fr/pac.php?sim=eleve03
Se connecter pour piloter sa PAC
Lien vers les mots de passe et les tokens (jetons pour connexion API)
https://www.fulgence-bienvenue.fr/2026/05/11/mots-de-passe-pac/
Ouvrir :
https://proxy-automate.latelier22.fr/login.php?sim=eleveXX&redirect=/pac.php?sim=eleveXX
Exemple :
https://proxy-automate.latelier22.fr/login.php?sim=eleve03&redirect=/pac.php?sim=eleve03
Après connexion, l’élève revient sur sa PAC.
Lire l’état brut en JSON
Ouvrir :
https://proxy-automate.latelier22.fr/api.php?sim=eleveXX
Commandes curl Windows
Remplacer :
eleveXXpar votre identifiantTOKEN_ELEVE_XXpar votre token
Lire l’état
curl "https://proxy-automate.latelier22.fr/api.php?sim=eleveXX"
START
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: TOKEN_ELEVE_XX" -d "action=start&sim=eleveXX"
STOP
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: TOKEN_ELEVE_XX" -d "action=stop&sim=eleveXX"
Consigne +
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: TOKEN_ELEVE_XX" -d "action=sp_plus&sim=eleveXX"
Consigne –
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: TOKEN_ELEVE_XX" -d "action=sp_minus&sim=eleveXX"
Mettre une consigne directe à 22.5
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: TOKEN_ELEVE_XX" -d "action=set_setpoint&setpoint=22.5&sim=eleveXX"
Mettre la température ambiante à 18
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: TOKEN_ELEVE_XX" -d "action=set_ambient&ambient_temp=18&sim=eleveXX"
RESET
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: TOKEN_ELEVE_XX" -d "action=reset&sim=eleveXX"
Exemple réel pour eleve10
Lire
curl "https://proxy-automate.latelier22.fr/api.php?sim=eleve10"
START
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: 0075073aa5c93c2a4c3cb73fedd6fd9f5f05fd618bc43a23" -d "action=start&sim=eleve10"
STOP
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: 0075073aa5c93c2a4c3cb73fedd6fd9f5f05fd618bc43a23" -d "action=stop&sim=eleve10"
RESET
curl -X POST "https://proxy-automate.latelier22.fr/control.php" -H "Content-Type: application/x-www-form-urlencoded" -H "X-Api-Token: 0075073aa5c93c2a4c3cb73fedd6fd9f5f05fd618bc43a23" -d "action=reset&sim=eleve10"
A faire
Modifier votre application mobile
Ajouter 2 boutons PLUS et MOINS pour augmenter / diminuer la consigne de température de la PAC
il faudra ajouter votre token, sinon vous ne serez pas autorisé à commander la PAC à distance….
