• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Tag
    T
    Offline
    • Profile
    • Following 2
    • Followers 2
    • Topics 21
    • Posts 233
    • Groups 1

    Tag

    @Tag

    MOD
    71
    Reputation
    2.2k
    Profile views
    233
    Posts
    2
    Followers
    2
    Following
    Joined
    Last Online

    Tag Unfollow Follow
    MOD

    Best posts made by Tag

    • RE: 0.0.3-Alpha2 pre-release - volunteers required to test

      Hi!

      Please sign me up for the beta testing of alpha2!

      posted in Announcements
      T
      Tag
    • RE: Display text based on sensor value, is that possible?

      @jkandasa

      Just tested and it works like a charm!!!
      Really great examples, that are easy to implement.

      Mycontroller was already great, now it is even better!!.

      Thank you!!

      posted in Scripts
      T
      Tag
    • Mycontroller on Raspberry PI (RPI)

      Hi All,

      I am working with Mycontroller for quite some time now on the RPI, works like a charm!!
      however for on thing, and this was already mentioned in the release notes, you have to use Oracle java instead of the opensource java.

      The issue is that if you are using the opensource java version the software responds slow, it becomes really annoying after some time..... So, today i decided to install the Oracle version of Java, and that made a HUGE difference!! Mycontroller is responding really fast and snappy now on the RPI!. below are the steps i found to install oracle java

      Before you start, make sure you have a backup of the RPI flash card, or at least you Mycontroller database!! (and of course on a different disk.......).

      I downloaded the 32bit version.... (Linux ARM 32 Hard Float ABI 77.77 MB jdk-8u101-linux-arm32-vfp-hflt.tar.gz)

      http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html, click the download button of Java Platform (JDK) 8. Click to Accept License Agreement, download jdk-8-linux-arm-vfp-hflt.tar.gz for Linux ARM v6/v7 Hard Float ABI.

      (If you are running your RPI headless you need to download the software and sftp it in binary mode into your RPI)

      • goto the directory where you downloaded the software.
      • sftp user@192.168.178.111 (192.168.178.111 is just an example, use the IP / hostname of the RPI)
      • bin
      • hash
      • put jdk-8u101-linux-arm32-vfp-hflt.tar.gz
      • press control-D to close the connection.

      Once the software is uploaded:

      1. Log-in Raspberry Pi, enter the command to extract jdk-8u101-linux-arm32-vfp-hflt.tar.gz to /opt directory.
        $ sudo tar zxvf jdk-8u101-linux-arm32-vfp-hflt.tar.gz -C /opt

      2. Set default java and javac to the new installed jdk8.
        $ sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_101/bin/javac 1
        $ sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_101/bin/java 1

      $ sudo update-alternatives --config javac
      $ sudo update-alternatives --config java

      1. After all, verify with the commands with -verion option.
        $ java -version
        $ javac -version

      (Source: http://www.rpiblog.com/2014/03/installing-oracle-jdk-8-on-raspberry-pi.html)

      Take my advice, you will not regret this, My controller is really great software and it runs even better now!!

      Tag.

      NOTE: If you plan to use RPI native serial port, you should enable serial port for user. By default it will be used for RPI console access. You may follow this tutorial to disable console output on RPI serial port.

      posted in Getting Started installation raspberry pi rpi java
      T
      Tag
    • RE: MyController version "1.4.0.Final" released

      :thumbs_up: Well done!!!

      posted in Announcements
      T
      Tag
    • RE: Mycontroller 2.x ideas

      @jkandasa

      Wow! great idea!
      I think that what makes mycontroller really great at this moment:

      • Clean GUI where all is easy to find
      • The black/white theme
      • Graphs that can be modified
      • Easy to setup

      For the future:

      • More different gauge like stuff
      • Ability to change the gui to have a black background
      • InfluxDB 🙂
      • Easier way to setup automated rules
      • Android App (this would realy be an addition)
      • Intergrate Serial2MQTT

      I am using InfluxDB for approx 1 week now where mycontroller simply "dumps" the data. This is a really cool feature. (when you mention influx are you planning to use the complete "TICK" stack which influxDB is part off?)

      The main platform for me is RaspberryPI/OrangePI zero, the reason is that these devices are not that power hungry, try to make this as "green" as possible, and mycontroller fits really nice in this setup 🙂

      Mycontroller as it is right now is already a very good project which i use from one of the earliest versions. I looked at different controllers, but kept coming back to Mycontroller.

      Keep up the good work, and if you need any help testing let me know! 👍

      posted in General Discussion
      T
      Tag
    • RE: Launch ./start.sh on startup , or like a service ?

      @Stephan35

      Here is how i got all working.

      1. Start your favorite editor (nano or vi) and make a file called mycontroller in /etc/init.d
      sudo vi /etc/init.d/mycontroller
      
      1. copy the following text into the file (Make sure to get the path to mycontroller right!! in my case i used /home/user/mycontroller)
      #! /bin/sh
      # /etc/init.d/mycontroller
      
      ### BEGIN INIT INFO
      # Provides:          mycontroller
      # Required-Start:    $remote_fs $syslog
      # Required-Stop:     $remote_fs $syslog
      # Default-Start:     2 3 4 5
      # Default-Stop:      0 1 6
      # Short-Description: Start daemon at boot time
      # Description:       Enable service provided by daemon.
      ### END INIT INFO
      
      # The following part always gets executed.
      # echo " Mycontroller rocks!!"
      
      # The following part carries out specific functions depending on arguments.
      case "$1" in
        start)
          echo "Starting Mycontroller"
              /home/user/mycontroller/bin/start.sh
          ;;
        stop)
          echo "Stopping Mycontroller"
              /home/user/mycontroller/bin/stop.sh
          ;;
        *)
          echo "Usage: /etc/init.d/mycontroller {start|stop}"
          exit 1
          ;;
      esac
      
      exit 0
      
      1. Make the file executable:
      sudo chmod 755 /etc/init.d/mycontroller
      
      1. Now add the script to the initd environment:
      sudo update-rc.d mycontroller defaults
      
      1. Test the script with the commands below:
      sudo /etc/init.d/mycontroller start
      

      and after mycontroller has started successfully:

      sudo /etc/init.d/mycontroller stop
      

      If troubleshooting is required/ search for mycontroller in /var/log/syslog this is the file where all output massages will appear.

      That should do the trick, depending on your version of linux, (in mycase armbian) it might be that a different startup mechanism is used.

      Tested all on an OrangPI Zero running armbian (Jesse) and RaspberryPI running Ubuntu Mate 15.10 both mycontroller applications are "up" after a reboot.

      posted in Getting Started
      T
      Tag
    • RE: How to install MC-agent?

      @jkandasa

      Great!, found this: https://github.com/Pi4J/pi4j/issues/230
      Seems support is being implemented for orange pi in PI4j... seems still experimental, maybe nice to test.

      See this link

      posted in Utilities
      T
      Tag
    • Gauge like widget (internal in mycontroller)

      Hi!,

      Not sure if this is the correct place to post a request, please point me to the right direction if not...

      I really like the graphs and use them a lot to visualize data, to take this to the next level it would be nice to have a gauge like widget.... Is that possible?

      I have tried to implement the gauge example from the demo site however it does not work for me, it seems to be running without any error but the gauge just stays "blank"

      Another issue is that it is not possible to run the gauge "offline", you always need an internet connection..

      Thanks for the help!!

      Kind regards,
      Tag

      posted in General Discussion
      T
      Tag
    • RE: Mycontroller 2.x ideas

      @wanvo

      Good point 🙂
      IMHO the "TICK" stack is very complex, and therefore maybe not so suitable for a larger audience, the beauty of mycontroller is that it is relatively easy to install and use.
      InfluxDB can be setup automatically..

      Another thing that needs to be taken into account is that the TICK stack is very resource hungry (ofcourse depending on the load from the sensor network), the OrangePIzero will have a hard time with just 512MB memory... even 1GB is small for the complete stack.

      Just my 2 cents..

      posted in General Discussion
      T
      Tag
    • RE: Launch ./start.sh on startup , or like a service ?

      @Stephan35

      What is your current runlevel? , check with the command

      runlevel
      

      Mycontroller is only started in runlevel 2-5 so if you enter runlevel 0,1 or 6 mycontroller is stopped. (make the changes in the top of the script..)

      Another issue might be that the cript itself in incorrect.... make sure that the startup script starts with

      #!/bin/sh
      

      This is really important.

      So the complete file should look like this:

      #! /bin/sh
      # /etc/init.d/mycontroller
      
      ### BEGIN INIT INFO
      # Provides:          mycontroller
      # Required-Start:    $remote_fs $syslog
      # Required-Stop:     $remote_fs $syslog
      # Default-Start:     2 3 4 5
      # Default-Stop:      0 1 6
      # Short-Description: Start daemon at boot time
      # Description:       Enable service provided by daemon.
      ### END INIT INFO
      
      
      # The following part always gets executed.
      #echo "This part always gets executed"
      
      # The following part carries out specific functions depending on arguments.
      case "$1" in
        start)
          echo "Starting Mycontroller"
              /home/user/mycontroller/bin/start.sh
          ;;
        stop)
          echo "Stopping Mycontroller"
              /home/user/mycontroller/bin/stop.sh
          ;;
        *)
          echo "Usage: /etc/init.d/mycontroller {start|stop}"
          exit 1
          ;;
      esac
      
      exit 0
      

      If you execute the following command,

      grep -i mycontroller /var/log/syslog
      

      what is the output?
      (if no output, look into an older file like i.e syslog.1)

      In my case the output is:

      root@orangepizero:~# grep -i mycontroller /var/log/syslog.1
      Feb 25 11:27:40 localhost mycontroller[474]: Starting Mycontroller
      Feb 25 11:27:40 localhost mycontroller[474]: /usr/bin/java
      Feb 25 11:27:43 localhost mycontroller[474]: java version: 1.8.0_121
      Feb 25 11:27:43 localhost mycontroller[474]: Start issued for Mycontroller
      
      posted in Getting Started
      T
      Tag

    Latest posts made by Tag

    • RE: Merry Christmas and a Happy New Year!

      @jkandasa

      Demo page looks great already!!
      keep up the good work!!

      posted in General Discussion
      T
      Tag
    • RE: Merry Christmas and a Happy New Year!

      @skywatch

      Thank you sir!
      To you and all the mysensors/mycontroller users out there,

      Merry christmas and a Happy new year!!!

      posted in General Discussion
      T
      Tag
    • RE: Time change

      @skywatch

      Or not at all in springtime when the clock will jump forward from 1AM to 2AM... that change in time will never see 1:30AM....

      Time to get rid of DST 😉

      posted in Comments & Feedback
      T
      Tag
    • RE: Cannot login to mycontroller 1.5.0

      @pw44

      Good!,

      Welcome to the forum!

      posted in Troubleshooting
      T
      Tag
    • RE: Cannot login to mycontroller 1.5.0

      Hi pw44,

      Have you checked of the issue changes if you connect to https://<local-ip>:8443
      I mean not using localhost... but the real ipaddess of the machine?

      posted in Troubleshooting
      T
      Tag
    • RE: Merry Christmas and a Happy New Year!!!

      Thank you!! All mycontroller forum members, Merry Cristmas, and all the best for 2020!!

      posted in General Discussion
      T
      Tag
    • RE: MyController version "1.5.0.Final" released

      YEAH!!! thank you for the cristmas present!! 🙂
      Will upgrade right away!

      Works like a charm as always!! thank you!!

      posted in Announcements
      T
      Tag
    • RE: How to install Mycontroller on the RaspberryPI (or any other linux/UNIX system)

      @sherif

      Hi Sherrif!,

      What error do you see?
      have you tried to create the file in /etc/init.d with the command:

      sudo touch /etc/init.d/mycontroller
      
      posted in Getting Started
      T
      Tag
    • RE: Graph strangeness

      @skywatch

      Congratulations!! 😄

      posted in Troubleshooting
      T
      Tag
    • RE: Graph strangeness

      @skywatch

      Ah yes, the special Mycontroller Version with codename schrodinger that supports superpositions! 😆

      I will have a look see if i can find something on my system

      posted in Troubleshooting
      T
      Tag