Robo-Tank v6.7 is Ready

Version 6.7 is working great for me. I've been running dosing schedule for 3 weeks now with no issues! The only change I'd like to see is another place value on the reservoir size limit as I dose kalk from a 5 gallon bucket...
Good to hear and thanks for letting me know, a couple others have reported the same so feeling good about it.

Yes 18,000+ milliliters is a lot, down the road I'll see what I can do to make it more friendly.
 
I really wanted to use v6.7 but a bug is bugging me. Here is my issue. I use Reef-pi extension 6 DC port and 2 sensors connected to one of two DB9 ports. I set up 6 dosing pumps for 6 DC ports and disable them. Dosing pump will not go away from home page. The screenshot for the 6 dosing pump was taken after all dosing pump is disabled. If I enable those dosing pumps in the setting, home page would display 12 dosing pump. If I repeat it, dosing pumps will be kept adding on home page. Can you test it on your board with v6.7? If I use the DC ports on the main board, it seems ok. But it is an issue if I use the extension connected to the DB9
 

Attachments

  • Capture.PNG
    Capture.PNG
    365.4 KB · Views: 6
  • Capture1.PNG
    Capture1.PNG
    72.9 KB · Views: 6
These are dosing pumps I ended up with. But no ports are enabled as dosing pump in Robo-tank software. I don't even have many ports available to set up these many dosing pumps LOL
 

Attachments

  • Capture2.PNG
    Capture2.PNG
    221.9 KB · Views: 5
I really wanted to use v6.7 but a bug is bugging me. Here is my issue. I use Reef-pi extension 6 DC port and 2 sensors connected to one of two DB9 ports. I set up 6 dosing pumps for 6 DC ports and disable them. Dosing pump will not go away from home page. The screenshot for the 6 dosing pump was taken after all dosing pump is disabled. If I enable those dosing pumps in the setting, home page would display 12 dosing pump. If I repeat it, dosing pumps will be kept adding on home page. Can you test it on your board with v6.7? If I use the DC ports on the main board, it seems ok. But it is an issue if I use the extension connected to the DB9
Right on, thanks for bringing this up again with the extra details, I found the problem. Reason this is happening is you are enabling/disabling them all at once then pressing save. There's a special script to clean up when disabling but that's only running for one of the items as that's how it was setup, I didn't think about the DB9's and possibility of disabling all at once.

First you'll have to clean up the mess manually in the database. Here's how you do that.
  1. First in the interface go the configure ports screen and disable all dosing pumps, of course they will remain on the dashboard but they do get disabled in the backend
  2. Now log into phpMyAdmin by adding /phpmyadmin/ to your IP address. The username is root and password is robotank
    1. The URL should looks something like this but your IP address. http://192.168.1.120/phpmyadmin/
  3. Once you log in you'll see some databases on the left side, the last one will be robotank, click on the + sign to the left of it and all the tables will appear under it.
  4. Now click on the table dosingPumps and to the right you'll see all the records.
  5. On each record click the delete button and confirm, do this for all records in the table. You can also click the checkbox at the beginning of each record and press the delete button at the bottom of the screen.
  6. Once all the records are deleted reboot the controller so the backend can read the database again.
  7. When the controller comes back online refresh the webpage and all the dosing pumps should be gone.
  8. Now you can go back to the configure ports screen and enable the dosing pumps but only enable one, then press save, enable another then press save and so on. If you want to disable them do the same but again one at a time.
I'll be sure to get that sorted for the next update. Let me know how it goes or if you need more info.
 
Thanks a lot Rob.
I don’t know why I am having all of these issues. Last night, i installed fresh v6.7 and tried to setup some dosing schedules. But it didn’t work for me. When I save a schedule, it doesn’t show up. I wasn’t able to create any schedules. If I remember correctly, it worked a few weeks ago, when I installed v6.7 first time. Now it doesn’t work. What could be an issue?
 
Thanks a lot Rob.
I don’t know why I am having all of these issues. Last night, i installed fresh v6.7 and tried to setup some dosing schedules. But it didn’t work for me. When I save a schedule, it doesn’t show up. I wasn’t able to create any schedules. If I remember correctly, it worked a few weeks ago, when I installed v6.7 first time. Now it doesn’t work. What could be an issue?
Sorry it's giving you so many issues, I just tried setting up a schedule for a dosing pump set on the DB9 and it works. Maybe try disabling all dosing pumps so the system shows none on the dashboard then add a single dosing pump and try and add schedules for it. Maybe there's another bug I'm missing and only showing up based on how you have it configured.
 
Hi Rob, How is it going with the Dosing problems on the v6.7? I'm currently running my tank with Reef-Pi and some customs boards made by 3x PCA9685 expansion. I'll definitely test Robo-Tank on a separate Raspberry.
How many PCA9685 will Robo-Tank app support?
There will be an integration with Home Assistant like Reef-Pi in the future?
Thank you!
Simone
 
Hi Rob, How is it going with the Dosing problems on the v6.7? I'm currently running my tank with Reef-Pi and some customs boards made by 3x PCA9685 expansion. I'll definitely test Robo-Tank on a separate Raspberry.
How many PCA9685 will Robo-Tank app support?
There will be an integration with Home Assistant like Reef-Pi in the future?
Thank you!
Simone
Hi Simon, I think the dosing is working ok, the problem with it continually running has been fixed.

The program is setup to use up to 6 of them, on is on the controller so there's 5 left. When you connect it to the controller you should get a popup asking if it was a pH circuit or pca9685, click it and go through the process. With that said I think you'll have problems configuring on the "configure ports" screen as I somehow broke it in 6.7. I will be releasing 6.8 in the next couple weeks so it should be ok then.

One day I will add API or the like so it can connect to other systems like reef-pi does. Could be a while though as I have quite a bit of other things to add.
 
Hi Simon, I think the dosing is working ok, the problem with it continually running has been fixed.

The program is setup to use up to 6 of them, on is on the controller so there's 5 left. When you connect it to the controller you should get a popup asking if it was a pH circuit or pca9685, click it and go through the process. With that said I think you'll have problems configuring on the "configure ports" screen as I somehow broke it in 6.7. I will be releasing 6.8 in the next couple weeks so it should be ok then.

One day I will add API or the like so it can connect to other systems like reef-pi does. Could be a while though as I have quite a bit of other things to add.
Thank you Rob, For now I'll test the Robo-Tank app on a separate build not connected to any tank.
I'm now testing the basic temperature sensor which trigger an outlet (an heater?) and with custom rules I'm not able to turn the output on based on the temperature reading.. Am I missing something?
Thank you!
 
Thank you Rob, For now I'll test the Robo-Tank app on a separate build not connected to any tank.
I'm now testing the basic temperature sensor which trigger an outlet (an heater?) and with custom rules I'm not able to turn the output on based on the temperature reading.. Am I missing something?
Thank you!
Any chance you manually switched the heater putting it in manual mode? Someone recently did discover a bug where the red dot didn't appear on the outlet icon indicating it was in manual mode even though it was. If at one time you did manually switch the outlet switch it again until the red dot appears and then click the dot to put back in manual mode.

To be sure it's not in manual mode you can go into the database and view the "pinsAvailable" table. Find the record with the matching "portName" and verify the "manual" column is set to 0. If it's set to 1 it's in manual mode and nothing will switch the outlet.
 
The issue I ran with custom rules is if you switch the output manually, the red dot seems to appear like 1 hour after the toggle or never. The way to solve this 100% of the time is to use the restart controller button. This seems to clear the stored value and let the custom rules work again. I have several custom rules and this solve the manual mode issue 100% of the time.

Except that everything is working perfectly with v6.7.

Im using dosing, schedule,custom rules.
 
The issue I ran with custom rules is if you switch the output manually, the red dot seems to appear like 1 hour after the toggle or never. The way to solve this 100% of the time is to use the restart controller button. This seems to clear the stored value and let the custom rules work again. I have several custom rules and this solve the manual mode issue 100% of the time.

Except that everything is working perfectly with v6.7.

Im using dosing, schedule,custom rules.
Thanks for the reminder, this is interesting, it's sounding like your feeling even if it's in manual mode and you reboot it will be taken out of manual mode? I've never experienced that and just tested it now. The database is being updated when it's activated and the backend is loading them. I have noticed sometimes when switching the outlet, then disabling the manual mode by clicking the red dot, it doesn't update as expected but the database is doing what it should, for now all I'm seeing is interface issue. A reboot would refresh the webpage which will reload the correct value from the database and update the dot accordingly. When this happens to me I refresh the page and I know for sure what mode the outlet is in.
 
Thank you! I'll do some test!!
Edit. I've setup again the custom rule to control the heater. Manual fot that pin is set to 0 in the database but the rule doesn't work...

Regarding the dosing, if I set a schedule and then click on it to verify I have this screen..
Screenshot 2024-11-18 205912.png

I think I have some problems with the database.. When I enter in phpMyAdmin on the bottom I have an error which says:
" The phpMyAdmin storage configuration is not complete, so some additional features have been disabled. Find out why.
Alternatively, go to the 'Operations' tab of any database to configure it from there."


I haven't cleared the cache on my browser.. using another browser it works :D
 
Last edited:
Thank you! I'll do some test!!
Edit. I've setup again the custom rule to control the heater. Manual fot that pin is set to 0 in the database but the rule doesn't work...

Regarding the dosing, if I set a schedule and then click on it to verify I have this screen..
View attachment 777

I think I have some problems with the database.. When I enter in phpMyAdmin on the bottom I have an error which says:
" The phpMyAdmin storage configuration is not complete, so some additional features have been disabled. Find out why.
Alternatively, go to the 'Operations' tab of any database to configure it from there."


I haven't cleared the cache on my browser.. using another browser it works :D
What browser were you using? I have heard that some browsers have issues, likely due to the javascript. I use Chrome and sometimes do some testing in Firefox.

If you delete the custom rules and create them in Chrome does it start working?

That error is "normal", it doesn't cause any issues. One day I'll have to get it fixed as it does look bad.
 
Thank you Rob, I've tryed Chrome and Edge, after the cache clear everything works just fine :D
Tell me if you need any other test as I have my test Rpi un and running...
 
Great, glad to hear. Nothing to test specifically but if you run across any issues please let me know.
 
Thank you Rob, I've tryed Chrome and Edge, after the cache clear everything works just fine :D
Tell me if you need any other test as I have my test Rpi un and running...
Great, glad to hear. Nothing to test specifically but if you run across any issues please let me know.
 
Thanks for the reminder, this is interesting, it's sounding like your feeling even if it's in manual mode and you reboot it will be taken out of manual mode? I've never experienced that and just tested it now. The database is being updated when it's activated and the backend is loading them. I have noticed sometimes when switching the outlet, then disabling the manual mode by clicking the red dot, it doesn't update as expected but the database is doing what it should, for now all I'm seeing is interface issue. A reboot would refresh the webpage which will reload the correct value from the database and update the dot accordingly. When this happens to me I refresh the page and I know for sure what mode the outlet is in.
I redid some test today. I used the manual mode to switch off my return pump during water change. After this, the heater custom rule was not working anymore until I hit the restart controller button. I wad not 100% sure this happened last week but now I am 100% sure. Its weird because the rule will work perfectly all the week but as soon as I hit a manual button the rule is not anymore. I stopped using the manual mode for the ATO since that. But now the return afecting the heater ? Its 2 different output and nothing is common. I monitored the tank for 6 hours and refreshed the browser but no red dot on anything.
 
I redid some test today. I used the manual mode to switch off my return pump during water change. After this, the heater custom rule was not working anymore until I hit the restart controller button. I wad not 100% sure this happened last week but now I am 100% sure. Its weird because the rule will work perfectly all the week but as soon as I hit a manual button the rule is not anymore. I stopped using the manual mode for the ATO since that. But now the return afecting the heater ? Its 2 different output and nothing is common. I monitored the tank for 6 hours and refreshed the browser but no red dot on anything.
Sorry for the trouble, something must be wrong with an array that tracks the manual mode, this is helpful and I'll dig into it. You're right, turning the ATO on manually should not effect the heater outlet, it should only stop the custom rule for the ATO from running. The easiest way to verify is to look at the pinsAvailable table in the database in the "manual" column. If the value is 1 it's in manual mode, if 0 it should switch via schedules and custom rules.
 
Back
Top