How to Install Robo-Tank App - Printable Version +- Robo-Tank DIY Aquarium Controller Forum (https://www.robo-tank.ca/forum) +-- Forum: Robo-Tank (https://www.robo-tank.ca/forum/forum-1.html) +--- Forum: Current News and Design Ideas (https://www.robo-tank.ca/forum/forum-8.html) +--- Thread: How to Install Robo-Tank App (/thread-1786.html) |
How to Install Robo-Tank App - Rob F - 02-14-2023 Installing Robo-Tank Installation is fairly easy once you have your Raspberry Pi running, here's a manual with pictures explaining how to install the operating system on your Pi, you need to do this before continuing. NOTE: You must install Raspberry Pi Debian Buster variant of the Operating System as shown in the pictures. https://docs.google.com/document/d/1fED4...N7COY/edit Follow the setup guide and it should go smooth. After the Pi restarts if the program won't open trying powering down the controller and power back up. If still won't load run the install script again. A couple things to note - important.
Advanced Users If you wish to explore the system or make changes you can't through the UI there's a few things you can do. One notable feature missing is ability to change DS18B20 temp sensor name after you give it the initial, you need to go to database DS18B20 table and edit the name there. This will come in UI soon, I kept forgetting about it. Run phpMyAdmin to access the database. Add /phpmyadmin/ to your Pi IP address like below. http://192.168.1.45/phpmyadmin/ Username = root Password = robotank You'll see 4 databases, the first 3 don't mess with, the robotank database is the one. Be careful. FTP Access You can access all the files on the Pi server using any FTP program, if you make any changes to the files upload this way and you'll be set. The source code for the C++ program is there but if you change anything in those it needs to be recompiled which is easy but I'll go over another day. The UI files just need to be updated and cache on browser cleared to see changes. host: 192.168.1.45 protocol: sftp port: 22 username: pi remotePath: /var/www/html/ password: raspberry Raspberry PI systemd System File The C++ program is launched using systemd system on Pi, if the program crashes it restarts in 3 seconds. Run the following command to stop the service, this will close Robo-Tank. sudo systemctl stop robotank.service Run the following command to start the service, this will start Robo-Tank. sudo systemctl start robotank.service Run the following command to disable the service, Robo-Tank will no longer run when Pi starts. sudo systemctl disable robotank.service Run the following command to enable the service, Robo-Tank will now launch when the Pi starts. sudo systemctl enable robotank.service Run the following command to view a log of main c++ program. sudo journalctl -fu robotank.service I think that's it, good luck and let me know how it goes. RE: How to Install Robo-Tank App - MarbleSpider76 - 02-01-2024 How to install and set up Robo-Tank. I did the guides.It doesn't ask me what board version I have and keeps loading reef pi RE: How to Install Robo-Tank App - MarbleSpider76 - 02-01-2024 (02-01-2024, 05:52 AM)MarbleSpider76 Wrote: How to install and set up Robo-Tank. I did the guides.It doesn't ask me what board version I have and keeps loading reef pi I got reef pi running v 5.3.
Status
(02-01-2024, 05:30 PM)MarbleSpider76 Wrote:(02-01-2024, 05:52 AM)MarbleSpider76 Wrote: How to install and set up Robo-Tank. I did the guides.It doesn't ask me what board version I have and keeps loading reef pi Now what?? RE: How to Install Robo-Tank App - Rob F - 02-02-2024 Hi, looks like you're using the wrong manual, here's a link. When you install the OS be sure to select the "legacy" version in the Pi Imager program. https://docs.google.com/document/d/1fED4R1cvlrzFk_XTM1_NAxNrTJSN7COY/edit RE: How to Install Robo-Tank App - MarbleSpider76 - 02-02-2024 Now I'm getting Forbidden You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe Apache/2.4.56 (Debian) Server at robo-tank45g Port 80 phpMyAdmin Home Log out phpMyAdmin documentation Documentation Navigation panel settings Reload navigation panel Collapse allUnlink from main panel New Expand/CollapseDatabase operationsinformation_schema Expand/CollapseDatabase operationsmysql Expand/CollapseDatabase operationsperformance_schema Server: localhost:3306 Databases Databases SQL SQL Status Status User accounts User accounts Export Export Import Import Settings Settings Replication Replication Variables Variables Charsets Charsets Engines Engines Plugins Plugins Click on the bar to scroll to top of page SQL Query Console Console ascendingdescendingOrder:Debug SQLExecution orderTime takenOrder by:Group queries Some error occurred while getting SQL debug info. OptionsSet default Always expand query messages Show query history at start Show current browsing query Execute queries on Enter and insert new line with Shift + Enter. To make this permanent, view settings. Switch to dark theme User accounts overview User name Host name Password Global privileges Grant Action mariadb.sys localhost No USAGE No Edit privileges Edit privileges Export Export mysql localhost Yes ALL PRIVILEGES Yes Edit privileges Edit privileges Export Export root localhost Yes ALL PRIVILEGES Yes Edit privileges Edit privileges Export Export With selected: Check all With selected: New Add user account Remove selected user accounts (Revoke all active privileges from the users and delete them afterwards.) Drop the databases that have the same names as the users. Note: phpMyAdmin gets the users’ privileges directly from MySQL’s privilege tables. The content of these tables may differ from the privileges the server uses, if they have been changed manually. In this case, you should reload the privileges before you continue. RE: How to Install Robo-Tank App - Rob F - 02-02-2024 Sorry it's being troublesome, I think you'll have to run the commands in this post. You may also need to do the database thing in the following post. https://www.robo-tank.ca/forum/thread-1790-post-8379.html#pid8379 RE: How to Install Robo-Tank App - MarbleSpider76 - 02-03-2024 Configuration of pmadb… not OKDocumentation General relation features Disabled Create a database named 'phpmyadmin' and setup the phpMyAdmin configuration storage there. i get to the Robo-Tank login page . put Robo-Tank and Robo-Tank in and nothing i got it i need the conntroller id RE: How to Install Robo-Tank App - MarbleSpider76 - 02-03-2024 my controller id say 0 RE: How to Install Robo-Tank App - Rob F - 02-04-2024 That's interesting. It should still work with that at 0 but you can change it in the database, it's "supportID" in the "systemSettings" table. I use 9 digit number but doesn't really matter. The database you create isn't named "phpmyadmin" you should have a database named "robotank". There's 35+ tables depending how may charts are running. |