buongiorno a tutti, ho appena finito di installare Homebridge su un raspberry P3. funziona alla grande e ho gia aggiunto due Platforms, una WeatherPlus che funziona, una per il mio broadlink RM pro, che funziona.
uso il broadlink per comandare una tapparella elettrica con comando RF, il riconoscimento dei codici da apple home ha funzionato, ma ora devo personalizzare il file config.json inserendo un Accessory con il dati raw del telecomando RF. e qui inizia il mio problema. il telecomando ha un apre, un chiude e uno stop. che tipo di accessory devo specificare? in allegato il file config.json
grazie a chi mi aiuta
{
"bridge": {
"name": "HomeBridge",
"username": "CC:22:3D:E3:CE:30",
"port": 39665,
"pin": "031-45-154"
},
"description": "",
"platforms": [{
"platform": "WeatherPlus",
"name": "WeatherPlus",
"service": "darksky",
"key": "xxxxxxxxxxxx",
"locationGeo": [xxxxxxxxx],
"language": "it"
},
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": false,
"hideLearnButton": false,
"hideWelcomeMessage": false
}
],
"accessories": [
{"accessory": "DummySwitch",
"name":"Tappagatto",
"type":"switch",
"data":{
"su":"b200a6019c310b190b180b18170c170c0c18160d170c0c170b18180c170c0b18060404180c18170c0b180b19160d170c170c0b190b180b180b180c180b18170c0b180b190b18170c0b180c17180c170c0b180b19170c170001489b320b180b190a19160d160d0b18170c170d0b180b18170c170d0b180b180b19160d0b180b18170d160c170d0b180b180b190b180b180b19160d0b180b180b18170c0b190b18160d170d0b180b18170c170001479b320b180b190b18170c170c0b19170c170c0b180b19160d170c0b180b190b18160d0b180b18170c180c160d0b180b190b180b180b180c18170c0b180b190b18170c0b180b19160d160d0b180b18170d160001489b320b190b180b18160d170d0b18160d160d0b180b19160d160d0b190a190b18160d0b180b19160d160d170c0b190a190b180b190a190b18170c0b190a190b18160d0b190a19160d170c0b180b19160d160001489b320b180b180c18170c170c0b18170d170c0b180b18170d160d0b180b190a19170c0b180b19160d160d170c0c170c180b180b180b190b18170c0b180b190b18170c0b180b19170c160d0b180c18160d170005dc0000",
"giu":"b200d0000b180b180b190a190b180b19160c0b190b180b18170c0b190b180b18170d0b180b180b18180001479b320b180c180b18170c170c0c17170d170c0b180b19170c170c0b180b180c18170c0b180c18170c170c170c0b190b180b180b180c180b18170c0b180c180b18170c0b190b180b18170c0b180c180b18170001479c310c180b180b18170c180b0c18170c170c0c170c17180c170c0c170c170c18170c0c170c18170c170c170c0c180b180c170c180b180b18170c0c180b180c17170c0c180b180c17180c0b180b180b18170005dc0000000000000000",
"stop":"b2006001160d0b18170c0b19160d0b18170001489b320b180b180c18160d170c0b18170c180c0b180b18170c180c0b180c170b18170d0b180b18170c170d170c0b180c170c180b180b180b18170d0b180b180c17180c0b18170c0c17180c0b18170c0c17180001469c310c180b180b18180b170c0c18170c170c0c180b18170c170c0c180b180b18180b0c180b18170c170c180c0b180c170c170c170c180c17180c0b180b180c17180b0c18170c0c17180b0c18170c0c17170001489b320b180c170c18170c170c0c17170c180c0b180b18170d160c0c180b180c18160d0b180b18170c180c170c0b180c170c180b180b180b19170c0b180b180c17180c0b18170c0c18170c0b18170c0c18170001469c320b180b180c17180c170c0b18170c180c0b180b18170c180c0b180b180b18180c0b180b18170c180c170c0b180c170c180b180b180c18170c0b180c170c18170c0b18170c0c18170c0b18180b0c18170005dc0000000000000000" }
}
]
}
uso il broadlink per comandare una tapparella elettrica con comando RF, il riconoscimento dei codici da apple home ha funzionato, ma ora devo personalizzare il file config.json inserendo un Accessory con il dati raw del telecomando RF. e qui inizia il mio problema. il telecomando ha un apre, un chiude e uno stop. che tipo di accessory devo specificare? in allegato il file config.json
grazie a chi mi aiuta
{
"bridge": {
"name": "HomeBridge",
"username": "CC:22:3D:E3:CE:30",
"port": 39665,
"pin": "031-45-154"
},
"description": "",
"platforms": [{
"platform": "WeatherPlus",
"name": "WeatherPlus",
"service": "darksky",
"key": "xxxxxxxxxxxx",
"locationGeo": [xxxxxxxxx],
"language": "it"
},
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": false,
"hideLearnButton": false,
"hideWelcomeMessage": false
}
],
"accessories": [
{"accessory": "DummySwitch",
"name":"Tappagatto",
"type":"switch",
"data":{
"su":"b200a6019c310b190b180b18170c170c0c18160d170c0c170b18180c170c0b18060404180c18170c0b180b19160d170c170c0b190b180b180b180c180b18170c0b180b190b18170c0b180c17180c170c0b180b19170c170001489b320b180b190a19160d160d0b18170c170d0b180b18170c170d0b180b180b19160d0b180b18170d160c170d0b180b180b190b180b180b19160d0b180b180b18170c0b190b18160d170d0b180b18170c170001479b320b180b190b18170c170c0b19170c170c0b180b19160d170c0b180b190b18160d0b180b18170c180c160d0b180b190b180b180b180c18170c0b180b190b18170c0b180b19160d160d0b180b18170d160001489b320b190b180b18160d170d0b18160d160d0b180b19160d160d0b190a190b18160d0b180b19160d160d170c0b190a190b180b190a190b18170c0b190a190b18160d0b190a19160d170c0b180b19160d160001489b320b180b180c18170c170c0b18170d170c0b180b18170d160d0b180b190a19170c0b180b19160d160d170c0c170c180b180b180b190b18170c0b180b190b18170c0b180b19170c160d0b180c18160d170005dc0000",
"giu":"b200d0000b180b180b190a190b180b19160c0b190b180b18170c0b190b180b18170d0b180b180b18180001479b320b180c180b18170c170c0c17170d170c0b180b19170c170c0b180b180c18170c0b180c18170c170c170c0b190b180b180b180c180b18170c0b180c180b18170c0b190b180b18170c0b180c180b18170001479c310c180b180b18170c180b0c18170c170c0c170c17180c170c0c170c170c18170c0c170c18170c170c170c0c180b180c170c180b180b18170c0c180b180c17170c0c180b180c17180c0b180b180b18170005dc0000000000000000",
"stop":"b2006001160d0b18170c0b19160d0b18170001489b320b180b180c18160d170c0b18170c180c0b180b18170c180c0b180c170b18170d0b180b18170c170d170c0b180c170c180b180b180b18170d0b180b180c17180c0b18170c0c17180c0b18170c0c17180001469c310c180b180b18180b170c0c18170c170c0c180b18170c170c0c180b180b18180b0c180b18170c170c180c0b180c170c170c170c180c17180c0b180b180c17180b0c18170c0c17180b0c18170c0c17170001489b320b180c170c18170c170c0c17170c180c0b180b18170d160c0c180b180c18160d0b180b18170c180c170c0b180c170c180b180b180b19170c0b180b180c17180c0b18170c0c18170c0b18170c0c18170001469c320b180b180c17180c170c0b18170c180c0b180b18170c180c0b180b180b18180c0b180b18170c180c170c0b180c170c180b180b180c18170c0b180c170c18170c0b18170c0c18170c0b18180b0c18170005dc0000000000000000" }
}
]
}