laughing That is actually the procedure I am following but I can’t seem to get rid of some duplicate buttons.
1st attachment after deleting the duplicates - before reloading luup.
2nd attachment after luup reload finished and clicking back and panel layout (or browser reload). Duplicates are back.
The panel is a mess with overlapping buttons now.
I was tinkering with the layout options and created some junk but now I can’t get rid of it. I edited an existing toggle button and changed the value for the Text field. Rather than updating the existing button, it created a new identical one with the changed value.
Panel configuration from the top +. Looks like a right mess.
{ “stateIcons”: [ ], “elements”: [
{ “controlType”: “button”, “offState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “0”, “deviceId”: “61” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“buttonStyle”: “toggle”, “position”:
{ “top”: “0”, “height”: “20”, “left”: “10”, “width”: “60” },
“display”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“text”: “Front”, “onState”:
{ “command”:
{ “action”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “action”: “”, “deviceId”: “61” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “1”, “deviceId”: “61” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
{ “display”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
},
“text”: “Entry”, “position”:
{ “height”: “20”, “top”: “0”, “left”: “80”, “width”: “60” },
“offState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “0”, “deviceId”: “62” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“buttonStyle”: “toggle”, “onState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “1”, “deviceId”: “62” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“controlType”: “button” },
{ “controlType”: “button”, “offState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “0”, “deviceId”: “63” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“buttonStyle”: “toggle”, “position”:
{ “top”: “0”, “height”: “20”, “left”: “150”, “width”: “60” },
“command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
},
“text”: “Rear”, “onState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “1”, “deviceId”: “63” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“display”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” }
},
{ “display”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
},
“text”: “Side”, “position”:
{ “height”: “20”, “top”: “0”, “left”: “210”, “width”: “70” },
“offState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “0”, “deviceId”: “62” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“buttonStyle”: “toggle”, “onState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “1”, “deviceId”: “62” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“controlType”: “button” },
{ “display”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
},
“text”: “Entry”, “position”:
{ “height”: “20”, “top”: “0”, “left”: “180”, “width”: “70” },
“offState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “0”, “deviceId”: “62” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“buttonStyle”: “toggle”, “onState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “1”, “deviceId”: “62” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“controlType”: “button” },
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
},
“display”:
{ “serviceId”: “”, “variable”: “”, “value”: “”, “deviceId”: “65” },
“text”: “Side”, “position”:
{ “height”: “20”, “top”: “0”, “left”: “210”, “width”: “60” },
“offState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “0”, “deviceId”: “62” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“buttonStyle”: “toggle”, “onState”:
{ “command”:
{ “action”:
{ “serviceId”: “”, “action”: “”, “deviceId”: “65” },
“scene”:
{ “sceneId”: “1” },
“variable”:
{ “serviceId”: “urn:micasaverde-com:serviceId:SecuritySensor1”, “variable”: “Tripped”, “value”: “1”, “deviceId”: “62” },
“cmdType”: “SetVariable”, “http”:
{ “username”: “”, “url”: “”, “password”: “” }
}
},
“controlType”: “button” }
], “deviceId”: 65, “parentDeviceId”: 64, “icon”: “motion_sensor_tripped.png”, “watchVariables”: [ ], “ordinal”: “1” }