Tell us about yourself!

Complete Your Profile

Achievements

10K+ Views Earned a bronze medal
  • sshlyk commented on sshlyk's instructable Simple Home Automation. RaspberryPi + Android2 months ago
    Simple Home Automation. RaspberryPi + Android

    Hi. From what I read, NOOBS is OS installer, and it installs Raspbian OS, exactly what you need. In general, app will work with any OS that can run java (assuming you can also install pi4j library). Thx

    View Instructable »
  • sshlyk commented on sshlyk's instructable Simple Home Automation. RaspberryPi + Android3 months ago
    Simple Home Automation. RaspberryPi + Android

    You are right, for windows you need to use gradlew.bat, I am afraid I just deleted it. Looks like I am using this gradle versionhttps://services.gradle.org/distributions/gradle-2...And you can find bat file in the bin folder. I am afraid you are on your own, I have no windows machine to try that.

    View Instructable »
  • sshlyk commented on sshlyk's instructable Simple Home Automation. RaspberryPi + Android4 months ago
    Simple Home Automation. RaspberryPi + Android

    HiI am pretty sure it works on old devices, it is just an artificial restriction. I do not have an old device to verify it though. You could change minSdkVersion version to match your device and build apk locally: https://github.com/sshlyk/switch-android/blob/mast...Run "./gradlew assembleDebug" and you can find .apk file in build directory.If it works, create pull request, I'll merge it and publish to app store.

    View Instructable »
  • sshlyk commented on sshlyk's instructable Simple home automation. RaspberryPi + Android9 months ago
    Simple home automation. RaspberryPi + Android

    The default state is ON (HIGH), that's why they light up by default. It is currently hardcoded in the source code, by you can change that to PinState.LOW https://github.com/sshlyk/switch-server/blob/maste...You still should be able to control the device. Check server-side logs to see if there are incoming requests whey you use the app. If not, make sure both server and client run on the same home local network. Keep in mind, that some public routers drop broadcast packets and client wont be able to discover and send requests.

    View Instructable »
  • Simple home automation. RaspberryPi + Android

    I am using pi B and have not tried other models. As long as you can install pi4j library it will work since server is written in java. Server code and android app are opened sourced, feel free to make changesThx

    View Instructable »
  • Simple home automation. RaspberryPi + Android

    You need to run it as super user. pi4j need super user access sudo java -jar /home/pi/switch-server.jar

    View Instructable »