Bonjour,
j’ai constaté une commande manquante dans le Template des équipements du plugins
LCA0006.json (html/plugins/philipsHue/core/config/devices/LCA006.json)
Il manque les deux commandes concernant la « Température de la couleur » (Info&Commande).
Voici le fichier mis à jour et testé.
{
"LCA006": {
"name": "Hue White and Color 1100 B22",
"configuration" :{
"gammut" : "A"
},
"commands": [
{
"name": "Etat Luminosité",
"type": "info",
"subtype": "numeric",
"display": {
"generic_type": "LIGHT_STATE"
},
"isVisible": 0,
"isHistorized": 0,
"logicalId": "luminosity_state"
},
{
"name": "On",
"type": "action",
"subtype": "other",
"display": {
"generic_type": "LIGHT_ON"
},
"value" : "Etat Luminosité",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "on"
},
{
"name": "Off",
"type": "action",
"subtype": "other",
"display": {
"generic_type": "LIGHT_OFF"
},
"value" : "Etat Luminosité",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "off"
},
{
"name": "Luminosité",
"type": "action",
"subtype": "slider",
"display": {
"generic_type": "LIGHT_SLIDER"
},
"configuration" :{
"minValue" : 0,
"maxValue" : 255
},
"template":{
"dashboard" : "light",
"mobile" : "light"
},
"value" : "Etat Luminosité",
"isVisible": 1,
"isHistorized": 0,
"logicalId": "luminosity"
},
{
"name": "Etat Couleur",
"type": "info",
"subtype": "string",
"display": {
"generic_type": "LIGHT_COLOR"
},
"isVisible": 0,
"isHistorized": 0,
"logicalId": "color_state"
},
{
"name": "Couleur",
"type": "action",
"subtype": "color",
"display": {
"generic_type": "LIGHT_SET_COLOR"
},
"value" : "Etat Couleur",
"isVisible": 1,
"isHistorized": 0,
"logicalId": "color"
},
{
"name": "Etat Couleur temp",
"type": "info",
"subtype": "numeric",
"display": {
"generic_type": "DONT"
},
"configuration" :{
"minValue" : 153,
"maxValue" : 500
},
"isVisible": 0,
"isHistorized": 0,
"logicalId": "color_temp_state"
},
{
"name": "Couleur temp",
"type": "action",
"subtype": "slider",
"display": {
"generic_type": "DONT"
},
"configuration" :{
"minValue" : 153,
"maxValue" : 500
},
"value" : "Etat Couleur temp",
"isVisible": 1,
"isHistorized": 0,
"logicalId": "color_temp"
},
{
"name": "Etat Alerte",
"type": "info",
"subtype": "binary",
"display": {
"generic_type": "DONT"
},
"isVisible": 0,
"isHistorized": 0,
"logicalId": "alert_state"
},
{
"name": "Alerte On",
"type": "action",
"subtype": "other",
"display": {
"generic_type": "LIGHT_MODE"
},
"template":{
"dashboard" : "btnAlert",
"mobile" : "alert"
},
"value" : "Etat Alerte",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "alert_on"
},
{
"name": "Alerte Off",
"type": "action",
"subtype": "other",
"display": {
"generic_type": "LIGHT_MODE"
},
"template":{
"dashboard" : "btnAlert",
"mobile" : "alert"
},
"value" : "Etat Alerte",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "alert_off"
},
{
"name": "Etat Arc en ciel",
"type": "info",
"subtype": "binary",
"display": {
"generic_type": "DONT"
},
"isVisible": 0,
"isHistorized": 0,
"logicalId": "rainbow_state"
},
{
"name": "Arc en ciel On",
"type": "action",
"subtype": "other",
"display": {
"generic_type": "LIGHT_MODE"
},
"template":{
"dashboard" : "btnCircle",
"mobile" : "circle"
},
"value" : "Etat Arc en ciel",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "rainbow_on"
},
{
"name": "Arc en ciel Off",
"type": "action",
"subtype": "other",
"display": {
"generic_type": "LIGHT_MODE"
},
"template":{
"dashboard" : "btnCircle",
"mobile" : "circle"
},
"value" : "Etat Arc en ciel",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "rainbow_off"
},
{
"name": "Transition status",
"type": "info",
"subtype": "numeric",
"display": {
"generic_type": "DONT"
},
"isVisible": 0,
"isHistorized": 0,
"logicalId": "transition_state"
},
{
"name": "Transition",
"type": "action",
"subtype": "slider",
"display": {
"generic_type": "DONT"
},
"configuration" :{
"minValue" : 0,
"maxValue" : 1800
},
"value" : "Transition status",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "transition"
}
]
}
}
