Hi!
Please sign me up for the beta testing of alpha2!
Hi!
Please sign me up for the beta testing of alpha2!
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!!
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)
Once the software is uploaded:
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
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
(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.
Wow! great idea!
I think that what makes mycontroller really great at this moment:
For the future:
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!
Here is how i got all working.
sudo vi /etc/init.d/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
sudo chmod 755 /etc/init.d/mycontroller
sudo update-rc.d mycontroller defaults
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.
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
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
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..
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
Demo page looks great already!!
keep up the good work!!
Thank you sir!
To you and all the mysensors/mycontroller users out there,
Merry christmas and a Happy new year!!!
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
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?
Thank you!! All mycontroller forum members, Merry Cristmas, and all the best for 2020!!
YEAH!!! thank you for the cristmas present!!
Will upgrade right away!
Works like a charm as always!! thank you!!
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
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