• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. heyjay
    3. Posts
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Simple custom button

      @jkandasa Thanks for the tip. I'm not familiar with AngularJS. I will try to learn a bit about this and make something!

      posted in Scripts
      H
      heyjay
    • RE: Simple custom button

      @jkandasa
      Actually I already know this example and I implemented this for other stuff. But this time, I would like to make a widget with mixed output text and buttons from html template. This button can looks like the default buttons for switch on/off lights, it doesn't really matter.
      I wonder if it is possible because it needs to catch a press button event to send payload to sensor ? or maybe there is a trick for that in java?

      posted in Scripts
      H
      heyjay
    • Simple custom button

      Hi,
      I would like to make a simple button to switch on/off a light integrated in a custom widget with some others information which I want to customize with some css.
      I found how to display easily temperature / humidity / text for example from uid tags but I can't find any equivalent example for creating this button with java.
      Is that possible?
      Thanks.

      posted in Scripts
      H
      heyjay
    • RE: start.sh command fail

      @tag
      Hi,
      I tried this :

      pi@raspberrypi:/opt/mycontroller/bin $ ls -l start.sh
      -rwxrwxr-x 1 pi pi 2061 Nov  7 21:21 start.sh
      

      then I did chmod as you proposed but I still have the same output and same problem...

      @jkandasa
      Then I followed your advice... Actually, I had transferred my zip file (that I have on my computer) with filezilla, so I guess rights are differents with filezilla even though I connected also with default user pi. Maybe someone has an explanation.

      So after following ALL exact instructions of the guide it works nicely!

      Thank you both so much!

      posted in Troubleshooting
      H
      heyjay
    • start.sh command fail

      Hi all,
      I decided to make a new installation of mycontroller with a fresh rpi. So I followed instructions step by step from : https://forum.mycontroller.org/topic/219/how-to-install-mycontroller-on-the-raspberrypi-or-any-other-linux-unix-system

      I went to the end with no problem, but when I enter the final command
      pi@raspberrypi:/opt/mycontroller/bin $ ./start.sh
      I get the answer -bash: ./start.sh: Permission denied
      If I remove "./" at front with or without sudo then the answer is sudo: start.sh: command not found
      I really don't understand where is the problem...
      I made apt-get update and upgrade in case but not better...
      Thanks to anyone can help!

      posted in Troubleshooting
      H
      heyjay
    • RE: How to start mycontroller at rpi bootup?

      @jkandasa
      Thanks !

      posted in General Discussion
      H
      heyjay
    • How to start mycontroller at rpi bootup?

      Hi everyone,
      I wonder how you start server automatically when rpi boots. I was with wheezy and used rc.local with a simple sudo /home/pi/mycontroller/bin/start.sh &.
      I decided to make a fresh install to go to alpha2 with Raspbian Jessie instead but it saw in internet that rc.local is not working anymore with Jessie.
      I just tested it and it works... cool for me!
      So my question is, does anyone do the boot differently?

      posted in General Discussion raspberry pi auto start server
      H
      heyjay