Skip to content

Instantly share code, notes, and snippets.

@Katheesh
Created October 20, 2024 07:34
Show Gist options
  • Select an option

  • Save Katheesh/e63c6e9502bb0ebea58dae7093d60813 to your computer and use it in GitHub Desktop.

Select an option

Save Katheesh/e63c6e9502bb0ebea58dae7093d60813 to your computer and use it in GitHub Desktop.
Dasklug config.json
{"pins":{"gpi":[],"gpo":[]},"sensors":[{"name":"pir_sensor","displayname":"PIR Sensor","type":"pirsensor","io":"lh,pcfin,0,0","status":"nc","actions":{"on":[],"off":[]},"misc":{}}],"relays":[{"name":"covelight","type":"switch","io":"lh,pcf,0,0","displayname":"covelight","misc":{}},{"name":"ceiling_light","type":"switch","io":"lh,pcf,0,1","displayname":"ceiling light","misc":{}},{"name":"bathroom_light","type":"switch","io":"lh,pcf,0,2","displayname":"bathroom light","misc":{}},{"name":"dine_light","type":"switch","io":"lh,pcf,0,3","displayname":"dine light","misc":{}},{"name":"door_bell","type":"doorbell","io":"lh,mbo,19,40010","displayname":"Door bell","misc":{}},{"name":"dnd_light","type":"dndlight","io":"lh,mbo,17,40011","displayname":"DND light","misc":{}},{"name":"mur_light","type":"murlight","io":"lh,mbo,17,40012","displayname":"MUR light","misc":{}},{"name":"room_no_light","type":"roomnolight","io":"lh,mbo,17,40014","displayname":"Room No light","misc":{}},{"name":"fcu1","type":"thermostat","io":"lh,pcf,0,4","displayname":"thermostat low","misc":{}},{"name":"fcu1","type":"thermostat","io":"lh,pcf,0,5","displayname":"thermostat mid","misc":{}},{"name":"fcu1","type":"thermostat","io":"lh,pcf,0,6","displayname":"thermostat high","misc":{}},{"name":"fcu1","type":"thermostat","io":"lh,pcf,0,7","displayname":"air conditioner compressor","misc":{}},{"name":"sheer_curtain_open","type":"curtain","io":"lh,srmbo,1,0x01","displayname":"Sheer Curtain Open","misc":{"delay":10000,"before":"lh,srmbo,1,0x02,0"}},{"name":"sheer_curtain_close","type":"curtain","io":"lh,srmbo,1,0x02","displayname":"Sheer Curtain Close","misc":{"delay":10000,"before":"lh,srmbo,1,0x01,0"}},{"name":"bell_relay","type":"relaybell","io":"lh,srmbo,1,0x03","displayname":"Bell relay","misc":{}}],"scenes":[{"name":"dnd","type":"dnd","displayname":"do not disturb","actions":{"on":[],"off":[]}},{"name":"mur","type":"mur","displayname":"make my room","actions":{"on":[],"off":[]}},{"name":"normal","type":"normal","displayname":"normal","actions":{"on":[],"off":[]}},{"name":"master","type":"master","displayname":"master switch","actions":{"on":[],"off":[]}}],"mbdevices":[{"name":"8g_switch","deviceid":181,"serialtype":"holding_register","devicetype":"switch","addrstart":0,"datalength":8,"pointers":{"40000":["master"],"40001":["dnd"],"40002":["mur"],"40003":["bathroom_light"],"40004":["sheer_curtain_open"],"40005":["sheer_curtain_close"],"40006":["bell_relay"],"40007":["covelight"]}},{"name":"doorplate","deviceid":17,"serialtype":"holding_register","devicetype":"doorplate","addrstart":0,"datalength":14,"pointers":{"40000":["door_bell"],"40011":["dnd_light"],"40012":["mur_light"],"40014":["room_no_light"]}},{"name":"bellspeaker","deviceid":19,"serialtype":"holding_register","devicetype":"doorbell","addrstart":0,"datalength":11,"pointers":{"40010":[]}},{"name":"ac_ctrler","deviceid":20,"serialtype":"holding_register","devicetype":"thermostat","addrstart":0,"datalength":63,"pointers":{"40030":["fcu1"],"40031":["fcu1"],"40032":["fcu1"],"40061":["fcu1"]}},{"name":"ch16_relayctrlr","deviceid":1,"serialtype":"holding_register","devicetype":"relaymodule","addrstart":0,"datalength":16,"pointers":{}}],"mqtt":{"subscribe":["/HA/1/4107/grms/#"],"publish":["/HA/1/4107/grms/"]},"updates":{"version":0,"url":"https://smartomation.smartguest.ai/haadmin/firmware/fw_0.01.bin"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment