Willkommen im Loxone Community Forum. Um alle Funktionen nutzen und sehen zu können, registriere dich bitte zuerst. Dies gilt auch für das herunterladen von Dateien.
I put them in context, I have 2 rooms, in each room I have a function block with the name "main_light", the problem comes from using the following command:
This command does not work for me, I realized that it is because I have 2 blocks with the same name, because if I rename one of the blocks the command works perfectly.
Time is where my question comes from, is there a way to solve this without changing the name of the block? I do not know if there is a way to position myself in the room inside the url so that the command knows which room to interact with.
Don’t know why you cannot rename the blocks, but you also can use the input number (if it’s an input, e.g. VI34 - look at the properties of the block), or the UID from the config xml.
Don’t know why you cannot rename the blocks, but you also can use the input number (if it’s an input, e.g. VI34 - look at the properties of the block), or the UID from the config xml.
hello thanks for answering, I can not change the name of the block because it is intended to establish a standard between rooms, for example, in each room there are "main lights", having the rooms section each has that switch but to be able to control the " main light "of a specific room per command from the url can not? I tried and it was that I realized that having several blocks with the same name could not make the command work, but I thought there was a way to include the room within the command or some other solution
For every block, you have a "Name" and a "Description" field.
If you fill the "Description" field, this one is used in the visu, and you can use any "Name" you like. Make all names unique, and use the description to label your blocks for the visu.
For every block, you have a "Name" and a "Description" field.
If you fill the "Description" field, this one is used in the visu, and you can use any "Name" you like. Make all names unique, and use the description to label your blocks for the visu.
Oh! excellent, that data I did not know, I thought the description was something more informative for me and not in the section of web / mobile visualization
Wir verarbeiten personenbezogene Daten über Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen, Werbung zu personalisieren und Websiteaktivitäten zu analysieren. Wir können bestimmte Informationen über unsere Nutzer mit unseren Werbe- und Analysepartnern teilen. Weitere Einzelheiten finden Sie in unserer Datenschutzrichtlinie.
Wenn Sie unten auf "Einverstanden" klicken, stimmen Sie unserer Datenschutzrichtlinie und unseren Datenverarbeitungs- und Cookie-Praktiken wie dort beschrieben zu. Sie erkennen außerdem an, dass dieses Forum möglicherweise außerhalb Ihres Landes gehostet wird und Sie der Erhebung, Speicherung und Verarbeitung Ihrer Daten in dem Land, in dem dieses Forum gehostet wird, zustimmen.
Kommentar