Hello everyone,
I’ve just set up the gpio binding to perform a simple test to enable a led in Raspberry and, although I’m not getting any error, nothing happens:
OH log: 2015-08-24 12:47:44.463 [INFO ] [runtime.busevents ] - LED received command ON
The setup is like this one: https://devicediscovery.wordpress.com/2014/09/22/openhab-on-raspberrypi/ and, when I test in command line, the led turns on and off.
default.items
Group All
Group gGroundFloor (All)
Group GF_Living “Living Room” (gGroundFloor)
Number TestTemperature “Luminosidade Exterior [%.1f ]” (GF_Living) {mqtt="<[mymosquitto:Exterior/temperature:state:default]"}
Switch LED “LED” { gpio=“pin:17” debounce:10 activelow:yes}
default.sitemap
sitemap default label=“Main Menu”
{
Frame label=“Outside” {
Text item=TestTemperature
Switch item=LED
}
}
Hardware: Raspberry Pi 2
Software: (followed this sample project: http://www.homeautomationforgeeks.com/project/project.shtml)
Mosquitto, OpenHab, GPIO Addon
Help to solve this would be very appreciated.
Best regards,
Nuno