11-01-2015, 06:18 PM
I installed pilight on a new raspberry and added it to the existing network.
After adding the cpu temp and a ds18s20 which works fine
now i added the relay's to my config
but now i got the error
How can i see what device 16 is?
why is the GPIO range wrong?
could this be because the "master" is on a RPI b rev1 and the above numbers doesn't exist on the device itself?
After adding the cpu temp and a ds18s20 which works fine
Code:
/offtopic on the wiringX page the location of BMC GPIO 13 is wrong
now i added the relay's to my config
Code:
"RelayP05B01C01": {
"uuid": "0000-b8-27-eb-fb3e4e",
"protocol": [ "relay" ],
"id": [{
"gpio": 27
}],
"state": "off",
"default-state": "on"
},
"RelayP05B01C02": {
"uuid": "0000-b8-27-eb-fb3e4e",
"protocol": [ "relay" ],
"id": [{
"gpio": 28
}],
"state": "off",
"default-state": "on"
},
"RelayP05B01C04": {
"uuid": "0000-b8-27-eb-fb3e4e",
"protocol": [ "relay" ],
"id": [{
"gpio": 29
}],
"state": "off",
"default-state": "on"
},
"RelayP05B02C01": {
"uuid": "0000-b8-27-eb-fb3e4e",
"protocol": [ "relay" ],
"id": [{
"gpio": 21
}],
"state": "off",
"default-state": "on"
},
"RelayP05B02C02": {
"uuid": "0000-b8-27-eb-fb3e4e",
"protocol": [ "relay" ],
"id": [{
"gpio": 22
}],
"state": "off",
"default-state": "on"
},
"RelayP05B02C03": {
"uuid": "0000-b8-27-eb-fb3e4e",
"protocol": [ "relay" ],
"id": [{
"gpio": 23
}],
"state": "off",
"default-state": "on"
},
"RelayP05B02C04": {
"uuid": "0000-b8-27-eb-fb3e4e",
"protocol": [ "relay" ],
"id": [{
"gpio": 25
}],
"state": "off",
"default-state": "on"
},
but now i got the error
Code:
[Nov 01 17:06:49:266442] pilight-daemon: ERROR: relay: invalid gpio range
[Nov 01 17:06:49:267349] pilight-daemon: ERROR: config device #16, invalid
How can i see what device 16 is?
why is the GPIO range wrong?
could this be because the "master" is on a RPI b rev1 and the above numbers doesn't exist on the device itself?