loading
2CommentsJoined January 13th, 2016

Tell us about yourself!

Complete Your Profile
  • ssm16 followed sshlyk1 year ago
  • Simple home automation. RaspberryPi + Android

    Hi,I have had a look at the link you mentioned and it seems I have the correct pin numbers. Looking at this link (http://pi4j.com/pins/model-2b-rev1.html) and the switch-config.json file, my allocations are:"Garage Door">"switchPinNumber": 0>GPIO_0>Pin 11"House Ceiling Fan">"switchPinNumber": 2>GPIO_2>Pin 13"Furnace Blower">"switchPinNumber": 3>GPIO_3>Pin 15These physical allocated pins (11,13,15) work with a simple test version of java code using pi4j enumerations you have described. Actually the test code uses the same code from switch-server>SingleSwitch.java>toPin().Could you provide further advice.thanks

    View Instructable »
  • ssm16 followed sshlyk1 year ago
  • Simple home automation. RaspberryPi + Android

    Hi,Nice project and well written code for both Android & RPI.I have a few questions:Have followed the steps described, both Android and RPI are running but the relays do not operate on Android key presses. I have logs enabled on both Android & RPI, the RPI logs show SingleSwitch.java, turnOn() and turnOff() methods are called correctly, but the relays cannot be controlled. Physical pins 13 & 17 are always low.I have written a simpler java code that does toggle the relays correctly. I have RPI 2 B.Can you please advice.Thanks

    View Instructable »