Heej Bruno,
Sorry for my late response! it where a couple of busy weeks on my work and home so i could not find the time sorry.
I see how you mean i like the way youre strategy is and i will set the mine like that also!
Switch NB_S1_02_Afzuig_Toilet {nikobus=“3786:2”}
-> is this an input or an output?
This is an output on the switch
/ BUSDRUKKERS */
Switch RB_BP3_D_Alles_uit {Nikobus="#N493A8E"}
-> i think this is an input.
This is a real button on the wall so its a input
I dont know what you mean with that i only have the state of the buttons? what i do is the only way i know. can you tell me how to update the output?
hahaha that a wasted
We more use the buttons an habpanel on the iPhone. And i have to say the dim function on it is working great butt not the update off it
here’s my habpanel code from the Phone. i’m still trying some things butt the status updates ar importend to me
{
“Telefoon”: {
“updatedTime”: “2018-11-10T07:22:25.056Z”,
“dashboards”: [
{
“id”: “Home”,
“name”: “1e etage”,
“widgets”: [
{
“name”: “Led kantoor”,
“sizeX”: 8,
“sizeY”: 5,
“item”: “NB_D1_07_Led_Kantoor”,
“type”: “slider”,
“row”: 1,
“col”: 4,
“floor”: 15,
“ceil”: 100,
“step”: 1,
“hidelimits”: true,
“hidepointer”: true
},
{
“name”: “Led kantoor switch”,
“sizeX”: 4,
“sizeY”: 5,
“item”: “NB_D1_07_Led_Kantoor”,
“type”: “switch”,
“row”: 1,
“col”: 0,
“hidelabel”: true,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32
},
{
“name”: “Led wand slaapkamer switch”,
“sizeX”: 4,
“sizeY”: 5,
“item”: “NB_D1_03_Led_Wand”,
“type”: “switch”,
“row”: 6,
“col”: 0,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32,
“hidelabel”: true,
“hideicon”: false,
“hideonoff”: true
},
{
“name”: “Led wand slaapkamer”,
“sizeX”: 8,
“sizeY”: 5,
“item”: “NB_D1_03_Led_Wand”,
“type”: “slider”,
“row”: 6,
“col”: 4,
“floor”: 15,
“ceil”: 100,
“step”: 1,
“hidelimits”: true,
“hidepointer”: true
}
],
“row”: 1,
“col”: 0,
“tile”: {
“backdrop_iconset”: “eclipse-smarthome-classic”,
“backdrop_icon”: “firstfloor”,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “firstfloor”,
“title_color”: “#99FF66”
},
“sizeX”: 3,
“sizeY”: 1,
“$$hashKey”: “object:5294”
},
{
“id”: “Begaande grond”,
“name”: “Begaande grond”,
“widgets”: [
{
“name”: “Led woonkamer switch”,
“sizeX”: 4,
“sizeY”: 4,
“item”: “NB_D1_01_Woonkamer_Led”,
“type”: “switch”,
“row”: 0,
“col”: 0,
“hidelabel”: true,
“hideonoff”: true,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32
},
{
“name”: “Led woonkamer”,
“sizeX”: 8,
“sizeY”: 4,
“item”: “NB_D1_01_Woonkamer_Led”,
“type”: “slider”,
“row”: 0,
“col”: 4,
“floor”: 15,
“ceil”: 100,
“step”: 1,
“hidelabel”: false,
“hidelimits”: true,
“hidepointer”: true,
“showticks”: false,
“showticksvalues”: false,
“inverted”: false,
“bigslider”: false,
“backdrop_center”: true
},
{
“name”: “Sfeer kast”,
“sizeX”: 8,
“sizeY”: 4,
“item”: “NB_D1_02_Sfeer_Kast”,
“type”: “slider”,
“row”: 4,
“col”: 4,
“floor”: 25,
“ceil”: 100,
“step”: 1,
“hidelimits”: true,
“hidepointer”: true
},
{
“name”: “Sfeer kast switch”,
“sizeX”: 4,
“sizeY”: 4,
“item”: “NB_D1_02_Sfeer_Kast”,
“type”: “switch”,
“row”: 4,
“col”: 0,
“hidelabel”: true,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32,
“hideonoff”: true
},
{
“name”: “Led keuken”,
“sizeX”: 8,
“sizeY”: 4,
“item”: “NB_D1_05_Led_Keuken”,
“type”: “slider”,
“row”: 8,
“col”: 4,
“floor”: 15,
“ceil”: 100,
“step”: 1,
“hidelimits”: true,
“hidepointer”: true
},
{
“name”: “Led keuken switch”,
“sizeX”: 4,
“sizeY”: 4,
“item”: “NB_D1_05_Led_Keuken”,
“type”: “switch”,
“row”: 8,
“col”: 0,
“hidelabel”: true,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32,
“hideonoff”: true
},
{
“name”: “Led eettafel switch”,
“sizeX”: 4,
“sizeY”: 4,
“item”: “NB_D1_04_Led_Eettafel”,
“type”: “switch”,
“row”: 12,
“col”: 0,
“hidelabel”: true,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32,
“hideonoff”: true
},
{
“name”: “Led eettafel”,
“sizeX”: 8,
“sizeY”: 4,
“item”: “NB_D1_04_Led_Eettafel”,
“type”: “slider”,
“row”: 12,
“col”: 4,
“floor”: 15,
“ceil”: 100,
“step”: 1,
“hidelimits”: true,
“hidepointer”: true
},
{
“name”: “Led hal”,
“sizeX”: 4,
“sizeY”: 4,
“item”: “NB_S1_03_Led_Hal_Bg”,
“type”: “switch”,
“row”: 16,
“col”: 4,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32,
“hidelabel”: false,
“hideonoff”: true
},
{
“name”: “Led bijkeuken”,
“sizeX”: 4,
“sizeY”: 4,
“item”: “NB_S1_04_Led_Bijkeuken”,
“type”: “switch”,
“row”: 16,
“col”: 8,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32,
“hideonoff”: true
},
{
“name”: “Sfeer dressoir”,
“sizeX”: 4,
“sizeY”: 4,
“item”: “NB_S1_07_Sfeer_Dressior”,
“type”: “switch”,
“row”: 16,
“col”: 0,
“hideonoff”: true,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32
}
],
“row”: 2,
“col”: 0,
“sizeX”: 3,
“sizeY”: 1,
“tile”: {
“backdrop_iconset”: “eclipse-smarthome-classic”,
“backdrop_icon”: “groundfloor”,
“backdrop_center”: false,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “groundfloor”,
“title_color”: “#66FF33”
},
“$$hashKey”: “object:5295”
},
{
“id”: “Ventilatie”,
“name”: “Ventilatie”,
“widgets”: [
{
“name”: “Afzuig ventilatie toilet”,
“sizeX”: 12,
“sizeY”: 4,
“item”: “NB_S1_02_Afzuig_Toilet”,
“type”: “switch”,
“row”: 0,
“col”: 0,
“iconset”: “eclipse-smarthome-classic”
}
],
“row”: 4,
“col”: 0,
“sizeX”: 3,
“tile”: {
“backdrop_iconset”: “eclipse-smarthome-classic”,
“backdrop_icon”: “fan_box”,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “fan_box”,
“title_color”: “#99FF66”
},
“$$hashKey”: “object:5296”
},
{
“id”: “2e etage”,
“name”: “2e etage”,
“widgets”: [
{
“name”: “Led overloop”,
“sizeX”: 4,
“sizeY”: 4,
“item”: “NB_S2_03_Led_Overloop_2e”,
“type”: “switch”,
“row”: 0,
“col”: 0,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32,
“hideonoff”: true
}
],
“row”: 0,
“col”: 0,
“sizeX”: 3,
“tile”: {
“backdrop_iconset”: “eclipse-smarthome-classic”,
“backdrop_icon”: “attic”,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “attic”,
“title_color”: “#99FF66”
},
“drawer”: {},
“header”: {},
“$$hashKey”: “object:5297”
},
{
“id”: “Hal”,
“name”: “Hal en trappenhuis”,
“widgets”: [
{
“name”: “Led trap bg/1e”,
“sizeX”: 12,
“sizeY”: 5,
“item”: “NB_S1_05_Led_Trap_Bg_1e”,
“type”: “switch”,
“row”: 0,
“col”: 0,
“backdrop_iconset”: “freepik-household”,
“backdrop_icon”: “stairs”,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: “32”
},
{
“name”: “Led trap 1e/2e”,
“sizeX”: 12,
“sizeY”: 5,
“item”: “NB_S2_02_Led_Trap_1e_2e”,
“type”: “switch”,
“row”: 5,
“col”: 0,
“iconset”: “eclipse-smarthome-classic”,
“icon”: “light”,
“icon_size”: 32
}
],
“row”: 3,
“col”: 0,
“sizeX”: 3,
“sizeY”: 1,
“tile”: {
“backdrop_iconset”: “freepik-household”,
“backdrop_icon”: “stairs-1”,
“iconset”: “freepik-household”,
“icon”: “stairs-1”,
“title_color”: “#99FF66”
},
“$$hashKey”: “object:5298”
}
],
“menucolumns”: 3,
“settings”: {
“theme”: “default”,
“panel_name”: “Home Sweet Home”
},
“customwidgets”: {
“blind-control-4way (1)”: {
“template”: “<div style=”\n \t\t\t\t font-size: 2.2em;\n \t\t\t\t font-family: Roboto, Helvetica, sans-serif;\n text-align: center;\n border: 0px; \n \t\t\t\t border-style: solid;\n border-color: red;\n display: flex;\n position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; \n \t\t\t\t “> \n<div style=“margin:5%; width:inherit”> \n\n <div class=“row” style=”\n border: 0px; \n \t\t\t\t border-style: solid;\n border-color: green;\n height: 10%;\n \t\t\t\t ">{{ngModel.name}}\n \n <div class=“row” style="background: rgba(0,0,0,0.5);\n border-radius: 10px;\n border: 1px;\n border-style: solid;\n border-color: rgb(100,100,100) ;\n margin-top: 8%; margin-left: 2%; margin-right:2%;\n height: 21%; \n text-align: center;\n ">\n \t\t\t<button class=“test” \n style= "border: none; \n background: rgba(0,0,0,0);\n outline:none;\n font-size: 1.2em;\n height: 100%;\n width: 100% " \n ng-click=“sendCmd(config.blind_name, config.value_one)”>\n {{config.label_one}}\n \n \n <div class=“row” style="background: rgba(0,0,0,0.5);\n border-radius: 10px;\n border: 1px;\n border-style: solid;\n border-color: rgb(100,100,100) ;\n margin-top: 4%; margin-left: 2%; margin-right:2%;\n height: 21%;\n text-align: center;\n ">\n \t\t\t<button class=“test” \n style= "border: none; background: rgba(0,0,0,0); outline:none;height: 100%; width: 100%; font-size: 1.2em; " \n ng-click=“sendCmd(config.blind_name, config.value_two)”>\n {{config.label_two}}\n \n \n <div class=“row” style="background: rgba(0,0,0,0.5);\n border-radius: 10px;\n border: 1px;\n border-style: solid;\n border-color: rgb(100,100,100) ;\n margin-top: 4%; margin-left: 2%; margin-right:2%;\n height: 21%;\n text-align: center;\n ">\n \t\t\t<button class=“test” \n style= "border: none; background: rgba(0,0,0,0); outline:none;height: 100%; width: 100% ;font-size: 1.2em; " \n ng-click=“sendCmd(config.blind_name,config.value_tree)”>\n {{config.label_tree}}\n \n \n\n <div class=“row” style="background: rgba(0,0,0,0.5);\n border-radius: 10px;\n border: 1px;\n border-style: solid;\n border-color: rgb(100,100,100) ;\n margin-top: 4%; margin-left: 2%; margin-right:2%;\n height: 21%;\n text-align: center;\n ">\n \t\t\t<button class=“test” \n style= “border: none; background: rgba(0,0,0,0); outline:none;height: 100%; width: 100%; font-size: 1.2em; " \n ng-click=“sendCmd(config.blind_name,config.value_four)”>\n {{config.label_four}}\n \n \n\n”,
“settings”: [
{
“type”: “item”,
“id”: “blind_name”,
“label”: “Blind Name”
},
{
“type”: “number”,
“id”: “value_one”,
“label”: “1st Value”
},
{
“type”: “string”,
“id”: “label_one”,
“label”: “1st Label”
},
{
“type”: “number”,
“id”: “value_two”,
“label”: “2nd Value”
},
{
“type”: “string”,
“id”: “label_two”,
“label”: “2nd Label”
},
{
“type”: “number”,
“id”: “value_tree”,
“label”: “3rd Value”
},
{
“type”: “string”,
“label”: “3rd Label”,
“id”: “label_tree”
},
{
“type”: “number”,
“id”: “value_four”,
“label”: “4th Value”
},
{
“type”: “string”,
“id”: “label_four”,
“label”: “4th Label”
}
],
“name”: “Blind-4way”
}
}
}
}