attila700 ha scritto: ↑27/10/2019, 14:17
ciao a tutti,
fatto una prova stamattina, con un config.json contenente pochissime cose.
{
"bridge": {
"name": "HomeBridge",
"username": "CC:22:3D:E3:CE:30",
"port": 39665,
"pin": "031-45-154"
},
"description": "",
"platforms": [
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": false,
"hideLearnButton": false,
"hideWelcomeMessage": false
},
{
"platform": "config",
"name": "Config",
"port": 8080,
"sudo": "true",
"theme": "orange",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"restart": "sudo -n systemctl restart homebridge",
"log": {
"method": "systemd",
"service": "homebridge"
}
}
],
"accessories": [
{
"name":"tappagatto",
"type":"garage-door-opener",
"openCloseDuration":8,
"data":{
"open":"b200a6019c310b190b180b18170c170c0c18160d170c0c170b18180c170c0b18060404180c18170c0b180b19160d170c170c0b190b180b180b180c180b18170c0b180b190b18170c0b180c17180c170c0b180b19170c170001489b320b180b190a19160d160d0b18170c170d0b180b18170c170d0b180b180b19160d0b180b18170d160c170d0b180b180b190b180b180b19160d0b180b180b18170c0b190b18160d170d0b180b18170c170001479b320b180b190b18170c170c0b19170c170c0b180b19160d170c0b180b190b18160d0b180b18170c180c160d0b180b190b180b180b180c18170c0b180b190b18170c0b180b19160d160d0b180b18170d160001489b320b190b180b18160d170d0b18160d160d0b180b19160d160d0b190a190b18160d0b180b19160d160d170c0b190a190b180b190a190b18170c0b190a190b18160d0b190a19160d170c0b180b19160d160001489b320b180b180c18170c170c0b18170d170c0b180b18170d160d0b180b190a19170c0b180b19160d160d170c0c170c180b180b180b190b18170c0b180b190b18170c0b180b19170c160d0b180c18160d170005dc0000",
"close":"b200d0000b180b180b190a190b180b19160c0b190b180b18170c0b190b180b18170d0b180b180b18180001479b320b180c180b18170c170c0c17170d170c0b180b19170c170c0b180b180c18170c0b180c18170c170c170c0b190b180b180b180c180b18170c0b180c180b18170c0b190b180b18170c0b180c180b18170001479c310c180b180b18170c180b0c18170c170c0c170c17180c170c0c170c170c18170c0c170c18170c170c170c0c180b180c170c180b180b18170c0c180b180c17170c0c180b180c17180c0b180b180b18170005dc0000000000000000"
}
}
]
}
file validato e corretto.
ma errore rimane.
qualche anima buona ha voglia di provarlo?
grazie in anticipo
attilio
Ciao,
prova con questo son
{
"bridge": {
"name": "HomeBridge",
"username": "CC:22:3D:E3:CE:30",
"port": 39665,
"pin": "031-45-154"
},
"platforms": [
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": false,
"hideLearnButton": false,
"hideWelcomeMessage": false,
"accessories": [
{
"name":"tappagatto",
"type":"garage-door-opener",
"openCloseDuration":8,
"data":{
"open":"b200a6019c310b190b180b18170c170c0c18160d170c0c170b18180c170c0b18060404180c18170c0b180b19160d170c170c0b190b180b180b180c180b18170c0b180b190b18170c0b180c17180c170c0b180b19170c170001489b320b180b190a19160d160d0b18170c170d0b180b18170c170d0b180b180b19160d0b180b18170d160c170d0b180b180b190b180b180b19160d0b180b180b18170c0b190b18160d170d0b180b18170c170001479b320b180b190b18170c170c0b19170c170c0b180b19160d170c0b180b190b18160d0b180b18170c180c160d0b180b190b180b180b180c18170c0b180b190b18170c0b180b19160d160d0b180b18170d160001489b320b190b180b18160d170d0b18160d160d0b180b19160d160d0b190a190b18160d0b180b19160d160d170c0b190a190b180b190a190b18170c0b190a190b18160d0b190a19160d170c0b180b19160d160001489b320b180b180c18170c170c0b18170d170c0b180b18170d160d0b180b190a19170c0b180b19160d160d170c0c170c180b180b180b190b18170c0b180b190b18170c0b180b19170c160d0b180c18160d170005dc0000",
"close":"b200d0000b180b180b190a190b180b19160c0b190b180b18170c0b190b180b18170d0b180b180b18180001479b320b180c180b18170c170c0c17170d170c0b180b19170c170c0b180b180c18170c0b180c18170c170c170c0b190b180b180b180c180b18170c0b180c180b18170c0b190b180b18170c0b180c180b18170001479c310c180b180b18170c180b0c18170c170c0c170c17180c170c0c170c170c18170c0c170c18170c170c170c0c180b180c170c180b180b18170c0c180b180c17170c0c180b180c17180c0b180b180b18170005dc0000000000000000"
}
}
]
}
]
}
un consiglio, indenta bene cosi capisci dov'è l'errore
vedi cosa succede nel log di homebridge con questo comando
sudo tail -f /var/log/syslog | grep homebridge