Hi guys,
Since this has to do with GPIO Im hoping someone could help me. I've finally just got done setting up OpenHab after a grueling few days of reading endless tutorials. I have a simple LED connected with resistor to GPIO 22.. I am able to turn on/off the light manually through command line. I unexport and run Openhab (have the GPIO specified in items file also) but when I switch on/off it doesn't work. I am not seeing the GPIO file loaded on startup. Hopefully my startup output would help. I'd appreciate ANY help you guys can provide:
pi@raspberrypi /opt/openhab $ sudo ./start.sh
Launching the openHAB runtime...
osgi> 19:27:08.969 INFO o.o.c.internal.CoreActivator[:61] - openHAB runtime has been started (v1.5.1).
19:27:34.716 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'exec.persist'
19:27:38.031 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'logging.persist'
19:27:39.317 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'db4o.persist'
19:27:39.594 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'rrd4j.persist'
19:27:40.654 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'demo.items'
19:27:56.476 INFO o.o.i.s.i.DiscoveryServiceImpl[:72] - mDNS service has been started
19:28:04.955 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'demo.sitemap'
19:28:11.967 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'demo.script'
19:28:21.317 INFO o.o.io.rest.RESTApplication[:143] - Started REST API at /rest
19:28:27.779 INFO o.o.u.w.i.s.WebAppServlet[:79] - Started Classic UI at /
openhab.app19:28:35.445 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'demo.rules'
19:29:04.575 ERROR o.o.m.r.i.engine.RuleEngine[:267] - Error during the execution of startup rule 'Initialize light states': Could not invoke method: org.openhab.model.script.actions.BusEvent.postUpdate(org.openhab.core.items.Item,java.lang.Number) on instance: null
19:29:10.670 ERROR o.o.m.r.i.engine.RuleEngine[:267] - Error during the execution of startup rule 'Initialize heating states': Could not invoke method: org.openhab.model.script.actions.BusEvent.postUpdate(org.openhab.core.items.Item,java.lang.Number) on instance: null
19:29:13.842 ERROR o.o.m.r.i.engine.RuleEngine[:267] - Error during the execution of startup rule 'Initialize contact states': Could not invoke method: org.openhab.model.script.actions.BusEvent.postUpdate(org.openhab.core.items.Item,java.lang.Number) on instance: null
19:29:20.280 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:29:20.305 ERROR o.o.m.r.i.engine.RuleEngine[:267] - Error during the execution of startup rule 'Update max and min temperatures': cannot invoke method public abstract org.openhab.core.types.State org.openhab.core.persistence.HistoricItem.getState() on null
19:29:20.541 INFO o.o.c.s.AbstractActiveService[:169] - Exec Refresh Service has been started
19:29:20.600 INFO runtime.busevents[:26] - Temperature_GF_Corridor state updated to 20.80000000
19:29:20.736 INFO runtime.busevents[:26] - Temperature_GF_Toilet state updated to 21.00000000
19:29:20.766 INFO runtime.busevents[:26] - Temperature_GF_Living state updated to 20.40000000
19:29:20.798 INFO runtime.busevents[:26] - Temperature_GF_Kitchen state updated to 20.70000000
19:29:20.838 INFO runtime.busevents[:26] - Temperature_FF_Bath state updated to 20.10000000
19:29:20.883 INFO runtime.busevents[:26] - Temperature_FF_Office state updated to 20.80000000
19:29:20.917 INFO runtime.busevents[:26] - Temperature_FF_Child state updated to 22.00000000
19:29:20.947 INFO runtime.busevents[:26] - Temperature_FF_Bed state updated to 20.10000000
19:29:21.928 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:29:21.947 WARN o.o.c.p.e.PersistenceExtensions[:130] - There is no queryable persistence service registered with the name 'rrd4j'
19:30:00.100 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:30:00.133 WARN o.o.c.p.e.PersistenceExtensions[:130] - There is no queryable persistence service registered with the name 'rrd4j'
19:30:00.298 INFO runtime.busevents[:26] - Temperature_GF_Corridor state updated to 18.10000000
19:30:00.375 INFO runtime.busevents[:26] - Temperature_GF_Toilet state updated to 21.60000000
19:30:00.473 INFO runtime.busevents[:26] - Temperature_GF_Living state updated to 17.80000000
19:30:00.547 INFO runtime.busevents[:26] - Temperature_GF_Kitchen state updated to 21.30000000
19:30:00.638 INFO runtime.busevents[:26] - Temperature_FF_Bath state updated to 18.30000000
19:30:00.700 INFO runtime.busevents[:26] - Temperature_FF_Office state updated to 20.20000000
19:30:00.764 INFO runtime.busevents[:26] - Temperature_FF_Child state updated to 18.10000000
19:30:00.868 INFO runtime.busevents[:26] - Temperature_FF_Bed state updated to 19.70000000
19:31:00.068 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:31:00.077 WARN o.o.c.p.e.PersistenceExtensions[:130] - There is no queryable persistence service registered with the name 'rrd4j'
19:32:00.054 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:32:00.063 WARN o.o.c.p.e.PersistenceExtensions[:130] - There is no queryable persistence service registered with the name 'rrd4j'
19:32:29.183 WARN o.o.c.t.i.s.MapTransformationService[:70] - Could not find a mapping for '-' in the file 'en.map'.
19:32:31.949 INFO runtime.busevents[:22] - Light_GF_Kitchen_Ceiling received command ON
19:32:32.707 WARN o.o.c.t.i.s.MapTransformationService[:70] - Could not find a mapping for '-' in the file 'en.map'.
19:33:00.048 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:33:00.057 WARN o.o.c.p.e.PersistenceExtensions[:130] - There is no queryable persistence service registered with the name 'rrd4j'
19:34:00.076 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:34:00.086 WARN o.o.c.p.e.PersistenceExtensions[:130] - There is no queryable persistence service registered with the name 'rrd4j'
19:35:00.098 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:35:00.132 WARN o.o.c.p.e.PersistenceExtensions[:130] - There is no queryable persistence service registered with the name 'rrd4j'
19:35:00.277 INFO runtime.busevents[:26] - Temperature_GF_Corridor state updated to 19.50000000
19:35:00.349 INFO runtime.busevents[:26] - Temperature_GF_Toilet state updated to 17.70000000
19:35:00.406 INFO runtime.busevents[:26] - Temperature_GF_Living state updated to 18.10000000
19:35:00.463 INFO runtime.busevents[:26] - Temperature_GF_Kitchen state updated to 19.30000000
19:35:00.523 INFO runtime.busevents[:26] - Temperature_FF_Bath state updated to 18.70000000
19:35:00.607 INFO runtime.busevents[:26] - Temperature_FF_Office state updated to 21.10000000
19:35:00.703 INFO runtime.busevents[:26] - Temperature_FF_Child state updated to 19.80000000
19:35:00.805 INFO runtime.busevents[:26] - Temperature_FF_Bed state updated to 22.50000000
19:35:00.771 WARN o.o.c.t.i.s.MapTransformationService[:70] - Could not find a mapping for '-' in the file 'en.map'.
19:36:00.050 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:36:00.552 WARN o.o.c.p.e.PersistenceExtensions[:130] - There is no queryable persistence service registered with the name 'rrd4j'
19:37:00.081 WARN o.o.c.p.e.PersistenceExtensions[:404] - There is no queryable persistence service registered with the name 'rrd4j'
19:37:00.098 WARN o.o.c.p.e.PersistenceExtensions[:130] - There i