Robo-Tank v6.0 is Ready - Now v6.5 - 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: Robo-Tank v6.0 is Ready - Now v6.5 (/thread-1243.html) |
RE: Robo-Tank v6.0 is Ready - Now v6.4 - fred73 - 03-22-2022 Hi Rob On my V2 controller after many trial, i managed to get it to 6.4 But on my V1 board I'm also getting the black screen pi@raspberrypi:~ $ sudo systemctl stop robotank.service pi@raspberrypi:~ $ cd /var/www/html/cpp pi@raspberrypi:/var/www/html/cpp $ sudo ./robotank ./robotank: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./robotank) pi@raspberrypi:/var/www/html/cpp $ RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-22-2022 Hi Fred, another error I don't know about. At one point I had an SD card running an older version of operating system and when I copied the new c++ compiled file it wouldn't load, I had to recompile. Try that and see if it works, use the following four commands. sudo systemctl stop robotank.service cd /var/www/html/cpp g++ -o robotank robotank.cpp `mysql_config --cflags --libs` -lpthread -lquickmail -lcurl sudo ./robotank RE: Robo-Tank v6.0 is Ready - Now v6.4 - fred73 - 03-22-2022 (03-22-2022, 08:09 PM)Rob F Wrote: Hi Fred, another error I don't know about. At one point I had an SD card running an older version of operating system and when I copied the new c++ compiled file it wouldn't load, I had to recompile. Try that and see if it works, use the following four commands.That did the trick. It working now RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-22-2022 Alright, good to know. Any chance you're running a Pi 4? RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-22-2022 (03-21-2022, 11:14 PM)loksik.lubos Wrote: I tried to reinstall and also without success I think you may need to recompile the program, use the following four commands. sudo systemctl stop robotank.service cd /var/www/html/cpp g++ -o robotank robotank.cpp `mysql_config --cflags --libs` -lpthread -lquickmail -lcurl sudo ./robotank RE: Robo-Tank v6.0 is Ready - Now v6.4 - fred73 - 03-23-2022 (03-22-2022, 11:01 PM)Rob F Wrote: Alright, good to know. Any chance you're running a Pi 4? The p4 board worked without much trouble but it's the PI3 that gave me some grief and the errors listed above RE: Robo-Tank v6.0 is Ready - Now v6.4 - loksik.lubos - 03-24-2022 so on 6 installation attempts it succeeded RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-24-2022 Sorry it's been so difficult, it's a learning curve for some of this. I think I know how the last update got screwed up. I had a fresh SD card with bullseye OS variant installed which is what I compiled the program with however previously I was using the Buster OS variant. The program needs to be compiled separately for each of these, I didn't realize that would be the case. I know most of you have Buster as previous updates went ok. So going forward I'm going to still with Buster as it's more reliable than bullseye. If anyone is running Bullseye you will have to reinstall OS using Buster otherwise this will always be a problem. For the initial install I'm going to look at using an image file instead so it's not a confusion. RE: Robo-Tank v6.0 is Ready - Now v6.4 - zedron - 03-30-2022 I cant get 6.4 to work at all. I've tried to reinstall it multiple times, recompile based on above recommendations, reflash with Bullseye and Buster. Start with 6.3 then go to 6.4, start with 6.0 then go to 6.4. All get a black screen. Tried numerous browser, different devices to connect with. The Update feature in the GUI for 6.3 doesn't seem to do anything either. The one time I got 6.4 loaded was from a fresh install with a fresh flash but I couldn't change any settings. I went into settings, selected my board (v2) set my time format, temperature (even though I did this upon fist logon), software asked to reboot so I click yes and the window never went away. I manually refreshed and all the settings were back to what they were originally. Looks like I am going back to Reef-Pi. Code: Hello World RE: Robo-Tank v6.0 is Ready - Now v6.4 - zedron - 03-31-2022 Well, I decided to give it one more try this AM. I did a fresh install last night of 6.4 and still had the issues where nothing saved and was just acting weird. I investigated a little bit and saw there were errors related to the "quickmail" library. I went ahead and installed 6.4 again over the current install and like magic everything seems to be working now. PH probe, Temp sensors, float switches, and dosing pumps seem to be all working. RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-31-2022 Hi zedron, glad you got it running, sorry it's not so smooth yet. That quickmail error was something I just came across as well, I'm not sure why it decided to act up. Make sure you test everything you plan to run and monitor it closely the first few days, everything is still in beta testing. It's working pretty good but could be some bugs still. I'm going to have a nice update this weekend or shortly after which includes basic logs so a person can verify any actions taken, that should help with the testing. Thanks for giving it a whirl. RE: Robo-Tank v6.0 is Ready - Now v6.4 - zedron - 03-31-2022 Yeah no problem Rob. Always willing to try new stuff. Schedules are not saving for me. Not sure why since there are no logs. I create a simple On schedule for a CO2, save. and nothing appears in the list of schedules. I checked the SQL database int he schedule table and its empty. RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-31-2022 I just did a test and experiencing same thing, I should have a solution in 10 minutes hopefully. RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-31-2022 Looks like I broke it when I added the RTC. Month changed from 1-12 to 0-11 so it was trying to add feb 31 as date created which obviously isn't valid. You installed at a perfect time, if it was mid month I wouldn't have realized and data would be wrong. Not serious but not good. Anyways to fix open the /var/www/html/cpp/rtc.h file using Nano or whatever. Go down to line 44 which should be this. short rtc::getCurrentMonth() {return currentMonth;} // get currentMonth Change that line to the following short rtc::getCurrentMonth() {return currentMonth + 1;} // get currentMonth Then recompile the code but first stop robotank.service. sudo systemctl stop robotank.service cd /var/www/html/cpp g++ -o robotank robotank.cpp `mysql_config --cflags --libs` -lpthread -lquickmail -lcurl sudo ./robotank or sudo systemctl stop robotank.service RE: Robo-Tank v6.0 is Ready - Now v6.4 - zedron - 03-31-2022 That did the trick. The joys of beta testing. Thanks. -Will EDIT: Once a schedule is created I am unable to edit it or delete it. The changes dont take effect. RE: Robo-Tank v6.0 is Ready - Now v6.4 - gandalf - 03-31-2022 maybe even currentWeekday starts from 0 ? RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-31-2022 Hmmm, I'm able to edit and delete. What is the exact schedule you set? Gandalf could try if your able to? I will have to look into the currentWeekday to make sure but that won't relate to this. That's only used once while calculating the next schedule so if wrong it would trigger different day then should. RE: Robo-Tank v6.0 is Ready - Now v6.4 - zedron - 03-31-2022 Everything stopped working again so I restarted the Pi and it came back. Controller icon was in the red and had the disconnected icon, date was December 1969, nothing saved. All sensors showed NaN values. RE: Robo-Tank v6.0 is Ready - Now v6.4 - Rob F - 03-31-2022 Sounds like the program isn't starting, try recompiling the startup.cpp file. sudo systemctl stop robotank.service cd /var/www/html/cpp g++ -o startup startup.cpp `mysql_config --cflags --libs` Then power cycle the controller. RE: Robo-Tank v6.0 is Ready - Now v6.4 - zedron - 03-31-2022 Done. Schedules dont seem to work, atleast with the AC outlet I am trying to control. I created a schedule to turn off my CO2 regulator and it didnt do anything. The AC port is in auto mode (no red dot). Same applies for turning it on via a schedule. Both On and Off schedules were set for a time now to test and repeat every 1 day. |