Robo-Tank v6.7 is Ready

That'll mean there are to many records and the schedule ran over and over, same as happened to @GarrickG

I'll have an update shortly that will fix that log issue.
I unfortunately had to revert back to 6.6.

Last night it dumped my magnesium supplement reservoir into my tank like it did my calcium.

It was scheduled to dose 10ML per day at 3:30 AM.

I had already ran the updates yesterday that you posted for the dose issue.

I do have a second controller so I can still test fixes / updates.
 
Last edited:
I unfortunately had to revert back to 6.6.

Last night it dumped my magnesium supplement reservoir into my tank like it did my calcium.

It was scheduled to dose 10ML per day at 3:30 AM.

I had already ran the updates yesterday that you posted for the dose issue.

I do have a second controller so I can still test fixes / updates.
Very sorry to hear that. I have repackaged v6.7, hopefully I got it fixed but not 100% sure. I did change the logging for the dosing pumps, now it logs when the pump starts and when it stops.
 
I'm trying to build in fail safes for things, for the dosing pumps I added the "minimum delay between doses" setting for that reason however I can see that's not going to work for everyone. @GarrickG is a good example. Now I'm thinking of running an independent query on the schedules that will add up the total amount being dosed that day. Then as it doses throughout the day it will track how much has been dosed, once it hits the total amount expected to be dosed that day via schedules it will no longer dose and will send out an alert saying the system is trying to dose more than expected.

I also have a "minimum delay between doses" setting with the custom rules however this only overrides the main delay counter if it's set. I'm going to change the custom rule dose delay to only monitor custom rules. I think that would be more useful as you could say I don't want any more doses from a custom rule for X minutes after a custom rule ran. I'll still leave the main dose delay as that will be useful for some.

Let me know your thoughts, if you think this is good or anything else I could do? Obviously it's very important overdosing can't happen.
Did you find a fix for the over dousing issue? I setup a tester and clean loaded it a couple days ago. It ran find for a few days then went haywire again.

The one labeled Green Nitrate was suppose to dose once every 3 days 6 ML and it started its dose and kept going. Luckily it was not on my actual tank.

1721338090640.png
 
Did you find a fix for the over dousing issue? I setup a tester and clean loaded it a couple days ago. It ran find for a few days then went haywire again.

The one labeled Green Nitrate was suppose to dose once every 3 days 6 ML and it started its dose and kept going. Luckily it was not on my actual tank.

View attachment 754
Hi @Tea sorry for the long delay, I'm currently away. I was hoping I had fixed it but apparently not, seeing the log does help though as I can see it starts, stops and then repeats, before I wasn't sure if it just starts and doesn't stop. This tells me it's not the dosing code which makes sense as this wasn't a problem in 6.6. It seems like it's not recalculating the next schedule after the dose is finished so it thinks based on the last schedule time it has it still needs to schedule. The odd part is at 8:57:18PM it seems to have sorted itself out. I'll take a look as soon as I can and definitely don't trust it for dosing as this will happen again. Thanks for letting me know and sending the image.
 
Hi @Tea sorry for the long delay, I'm currently away. I was hoping I had fixed it but apparently not, seeing the log does help though as I can see it starts, stops and then repeats, before I wasn't sure if it just starts and doesn't stop. This tells me it's not the dosing code which makes sense as this wasn't a problem in 6.6. It seems like it's not recalculating the next schedule after the dose is finished so it thinks based on the last schedule time it has it still needs to schedule. The odd part is at 8:57:18PM it seems to have sorted itself out. I'll take a look as soon as I can and definitely don't trust it for dosing as this will happen again. Thanks for letting me know and sending the image.
I believe the reason why it stopped was the remaining level reached 0 of 1500ML
 
I believe the reason why it stopped was the remaining level reached 0 of 1500ML
Thanks @Tea that makes sense. I'm going to add an extra line to the log showing the details when it calculates the next dose after the dose is finished as I'm still not sure what's happening. I think it's simple and I'm just missing it so this should tell us. Unfortunately I haven't had this happen yet so it's making it hard to track down.
 
Hi Rob, it's great, but it could use a little more focus, when I connect about 12 sensors (3x PH probe, 4x float and 5x sensor) that I leave displayed on the main screen, the whole system freezes and the bottom list disappears. It cannot display more than 10 sensors on the main page. I emailed you this issue once.

Hi Rob, it's great, but it could use a little more focus, when I connect about 12 sensors (3x PH probe, 4x float and 5x sensor) that I leave displayed on the main screen, the whole system freezes and the bottom list disappears. It cannot display more than 10 sensors on the main page. I emailed you this issue once.
 
Last edited by a moderator:
Hi Rob, it's great, but it could use a little more focus, when I connect about 12 sensors (3x PH probe, 4x float and 5x sensor) that I leave displayed on the main screen, the whole system freezes and the bottom list disappears. It cannot display more than 10 sensors on the main page. I emailed you this issue once.

Hi Rob, it's great, but it could use a little more focus, when I connect about 12 sensors (3x PH probe, 4x float and 5x sensor) that I leave displayed on the main screen, the whole system freezes and the bottom list disappears. It cannot display more than 10 sensors on the main page. I emailed you this issue once.
Hi Loksik, sorry about that, that does make sense, sorry at this time you'll have to limit it to 10, I'll try and get this changed as soon as possible.
 
I made cron jobs to do my dosing and it's been working fine. Just unzip the attached file (edited to allow cli commands) into /var/www/html/php

run: tail -f /var/log/apache2/access.log | grep "v=80"
Do a manual dose
You should get an output similar to "GET /php/socketClient.php?v=80%2C+38%2C10&_=1724419272918 HTTP/1.1" 200 249 "
80=dose command
38=pin
10=amount
everything after & can be ignored

crontab -e
enter the job you want to run:
5 4 * * * /usr/bin/php /var/www/html/php/socketClientCLI.php "v=80\%2C+39\%2C19"

check out Crontab.guru - The cron schedule expression generator if you don't know how to schedule stuff with cron

tada. scheduled manual dosing.
 

Attachments

  • socketClientCLI.zip
    912 bytes · Views: 0
I made cron jobs to do my dosing and it's been working fine. Just unzip the attached file (edited to allow cli commands) into /var/www/html/php

run: tail -f /var/log/apache2/access.log | grep "v=80"
Do a manual dose
You should get an output similar to "GET /php/socketClient.php?v=80%2C+38%2C10&_=1724419272918 HTTP/1.1" 200 249 "
80=dose command
38=pin
10=amount
everything after & can be ignored

crontab -e
enter the job you want to run:
5 4 * * * /usr/bin/php /var/www/html/php/socketClientCLI.php "v=80\%2C+39\%2C19"

check out Crontab.guru - The cron schedule expression generator if you don't know how to schedule stuff with cron

tada. scheduled manual dosing.
Hi @matt very nice, thanks for sharing. I'm trying to stay away from cron jobs but I may look into it more. Nice to see you found a solution that works.
 
Hello, I'm running 6.6 and wanted to update to 6.7, but it can't find it. What command can I use to run the update without reinstalling?
Is there also an option for an autologin? Unfortunately, I can't enter any login details when I run the Fullybrowser with Lovelace.

Steffen
 
Hello, I'm running 6.6 and wanted to update to 6.7, but it can't find it. What command can I use to run the update without reinstalling?
Is there also an option for an autologin? Unfortunately, I can't enter any login details when I run the Fullybrowser with Lovelace.

Steffen
Hi @Steffen, sorry at this time there is no auto update available as 6.7 has an issue with dosing schedules so I haven't released it yet, at this time you can only do a fresh install using the link in the previous post. If you are dosing with schedules you'll have to stick with 6.6.

There is no auto login, as that's a problem I will include an option to disable login completely so it's not required. I just searched for Fullybrowser with Lovelace, is that Fully Kiosk browser for Android?
 
Hello
I have reposted my question in the correct thread. Yes, it is the Fully Browser for Android and the IOBroker browser runs in it and I cannot enter any login data. It keeps jumping back to the login despite saving it in the password manager. But it could also be due to the IFRAME.
Steffen
 
Hello
I have reposted my question in the correct thread. Yes, it is the Fully Browser for Android and the IOBroker browser runs in it and I cannot enter any login data. It keeps jumping back to the login despite saving it in the password manager. But it could also be due to the IFRAME.
Steffen
Sounds good, I hope to have the auto update out soon and will add the option to disable the login at that time.
 
Hi Rob,

It’s great to see that you have released the new version. Can you please provide the installation instructions via link at the end of your first post and update it with the latest install method. There is a lot of back and forth on this thread and difficult to follow. Thanks.

Ramana
 
Hi Rob,

It’s great to see that you have released the new version. Can you please provide the installation instructions via link at the end of your first post and update it with the latest install method. There is a lot of back and forth on this thread and difficult to follow. Thanks.

Ramana
Hi Ramana, yeah there is a new version however at this time the dosing schedules have an issue causing the schedule to repeat over and over. I just uploaded what I think may have fixed it but I can't be certain yet. If you want to test you can set up some dosing pumps in the app (nothing connected of course) and create some schedules. The reservoir on the home page will go down as schedules run, if one day you look and the reservoir is empty when it shouldn't be please let me know.

@Tea @Dilsh I updated the v6.7 files, if you want to test the dosing you'll have to do a fresh install

 
Back
Top