En julio del 2017, decidí probar Jeedom, con la intención de migrar mi sistema de eedomus 1 a Jeedom, por unas cosas o por otras, abandoné la idea, principalmente por falta de tiempo y desesperación, se me hizo muy cuesta arriba la curva de aprendizaje y por ello decidí abandonar y seguir con eedomus 1 con el que llevaba desde el 2014.
Ahora vuelvo a intentarlo, las escenas básicas, las hago correctamente, pero cuando quiero realizar alguna escena más compleja, donde tienen que intervenir las famosas variables es donde no se como realizarlas, ya que tengo un problema de base, y es que no sé nada de ellas y buscando por la red, no he encontrado nada acorde a mi nivel de principiante.
Por ellos os lanzo estas dos preguntas, ¿dónde puedo encontrar información útil sobre las variables?
Y en segundo lugar, ¿esta escena que he creado esta bien construida?, la intención es que si el enchufe esta encendido y permanece encendido por más de dos minutos se apague, es importante que solo se apague sí esta encendido, esta condición es indispensable porque luego quiero trasladar la escena a la puerta del garaje que se maneja mediante un fibaro FGS221, con contacto seco, y en el solo tengo la opción de activarlo, (no se distingue entre abrir o cerrar).
[
{
"id": "23",
"name": null,
"type": "if",
"options": [],
"order": "0",
"subElements": [
{
"id": "47",
"name": null,
"scenarioElement_id": "23",
"type": "if",
"subtype": "condition",
"options": {
"enable": "1",
"allowRepeatCondition": "0"
},
"order": "0",
"expressions": [
{
"id": "51",
"scenarioSubElement_id": "47",
"type": "condition",
"subtype": null,
"expression": "#[Marta][5FGWPEFGWPF Wall Plug Gen5][Etat]# == 1 ",
"options": [],
"order": "0"
}
]
},
{
"id": "48",
"name": null,
"scenarioElement_id": "23",
"type": "then",
"subtype": "action",
"options": [],
"order": "1",
"expressions": [
{
"id": "52",
"scenarioSubElement_id": "48",
"type": "action",
"subtype": "",
"expression": "variable",
"options": {
"enable": "1",
"background": "0",
"name": "tiempo puerta garaje",
"value": "#timestamp#"
},
"order": "0"
},
{
"id": "64",
"scenarioSubElement_id": "48",
"type": "element",
"subtype": null,
"expression": "26",
"options": [],
"order": "1",
"element": {
"id": "26",
"name": null,
"type": "in",
"options": [],
"order": "0",
"subElements": [
{
"id": "56",
"name": null,
"scenarioElement_id": "26",
"type": "in",
"subtype": "condition",
"options": {
"enable": "1"
},
"order": "0",
"expressions": [
{
"id": "59",
"scenarioSubElement_id": "56",
"type": "condition",
"subtype": null,
"expression": "2",
"options": [],
"order": "0"
}
]
},
{
"id": "57",
"name": null,
"scenarioElement_id": "26",
"type": "do",
"subtype": "action",
"options": [],
"order": "1",
"expressions": [
{
"id": "62",
"scenarioSubElement_id": "57",
"type": "element",
"subtype": null,
"expression": "27",
"options": [],
"order": "0",
"element": {
"id": "27",
"name": null,
"type": "if",
"options": [],
"order": "0",
"subElements": [
{
"id": "58",
"name": null,
"scenarioElement_id": "27",
"type": "if",
"subtype": "condition",
"options": {
"enable": "1",
"allowRepeatCondition": "0"
},
"order": "0",
"expressions": [
{
"id": "60",
"scenarioSubElement_id": "58",
"type": "condition",
"subtype": null,
"expression": "#[Marta][5FGWPEFGWPF Wall Plug Gen5][Etat]# == 1 ET (#timestamp# - variable(#tiempo puerta garaje#) > 120)",
"options": [],
"order": "0"
}
]
},
{
"id": "59",
"name": null,
"scenarioElement_id": "27",
"type": "then",
"subtype": "action",
"options": [],
"order": "1",
"expressions": [
{
"id": "61",
"scenarioSubElement_id": "59",
"type": "action",
"subtype": "",
"expression": "#[Marta][5FGWPEFGWPF Wall Plug Gen5][Off]#",
"options": {
"enable": "1",
"background": "0"
},
"order": "0"
}
]
},
{
"id": "60",
"name": null,
"scenarioElement_id": "27",
"type": "else",
"subtype": "action",
"options": [],
"order": "2",
"expressions": []
}
]
}
},
{
"id": "63",
"scenarioSubElement_id": "57",
"type": "action",
"subtype": "",
"expression": "stop",
"options": {
"enable": "1",
"background": "0"
},
"order": "1"
}
]
}
]
}
}
]
},
{
"id": "52",
"name": null,
"scenarioElement_id": "23",
"type": "else",
"subtype": "action",
"options": [],
"order": "2",
"expressions": []
}
]
}
]