ReefRhythm - Advance Stepper Motor Controller with OpenSource

OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
204
Reaction score
149
Location
indo-pacific
Rating - 0%
0   0   0
Ohhh, sorry for my carelessness:disappointed-face:
I had the connection Rx/Rx and Tx/Tx:flushed-face:

Changed, now the engine works from the controller:slightly-smiling-face:
Buyaaa!
I've made this mistake often, it's kinda tricky that you need to connect Rx to Tx, not Rx to Rx :)

@yury88
I try to go to the local server, doser.local

But for some reason the page does not load, as if the address for the browser is not correct...
What could be the reason?
Hmm, I will double check these feature. Maybe I'm overlook something and its a bug.
Please use IP to connect for now.
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
204
Reaction score
149
Location
indo-pacific
Rating - 0%
0   0   0
@yury88
I try to go to the local server, doser.local

But for some reason the page does not load, as if the address for the browser is not correct...
What could be the reason?
Oh, my bad- its a bug!
Thank you for reporting.
Already fixed in v0.9.5

You can upgrade firmware pushing the "starting upgrade" button on OTA page.
Give it some time like 10min to upgrade and than restart the page
And do not forget to to push "cancel rollback" on OTA page after firmware upgrade.

<hostname>.local will start working again after upgrade.
 

Danchik

Community Member
View Badges
Joined
Jul 17, 2018
Messages
30
Reaction score
1
Location
UA
Rating - 0%
0   0   0
Mqtt broker- IP/Domain name of your broker
Login/password...
If possible, more details...:)
I understood that I need to install the client "MQTT Explorer" first? I downloaded it.
And then... at the first launch, it offers to enter some data...
And login/password, where to create it?

And in the dozer settings in the "MQTT" tab
MQTT broker - do I need to specify the same IP address here as for managing the dozer?
 

Attachments

  • mqtt.jpg
    mqtt.jpg
    138.5 KB · Views: 11

Danchik

Community Member
View Badges
Joined
Jul 17, 2018
Messages
30
Reaction score
1
Location
UA
Rating - 0%
0   0   0
Oh, my bad- its a bug!
Thank you for reporting.
Already fixed in v0.9.5

You can upgrade firmware pushing the "starting upgrade" button on OTA page.
Give it some time like 10min to upgrade and than restart the page
And do not forget to to push "cancel rollback" on OTA page after firmware upgrade.

<hostname>.local will start working again after upgrade.
Thank you, it's already working:)

I just wish I could change the color of the text (displaying the firmware version) from blue to another, because it blends in with the black background

ota.jpg
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
204
Reaction score
149
Location
indo-pacific
Rating - 0%
0   0   0
Thank you, it's already working:)

I just wish I could change the color of the text (displaying the firmware version) from blue to another, because it blends in with the black background

ota.jpg
Try to switch Themes in settings-> other.
Maybe one of Theme will work better for you.
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
204
Reaction score
149
Location
indo-pacific
Rating - 0%
0   0   0
If possible, more details...:)
I understood that I need to install the client "MQTT Explorer" first? I downloaded it.
And then... at the first launch, it offers to enter some data...
And login/password, where to create it?

And in the dozer settings in the "MQTT" tab
MQTT broker - do I need to specify the same IP address here as for managing the dozer?
First I should ask- do you have MQTT server?:)
Its usually hosted on reef-pi or Home Assistant.

Idea about this that users can have "Smart home" system that can integrate with devices using MQTT Broker(server)
In our case, for aquarium needs, its a replacement for all these fancy aquarium controllers like Neptune System. But you still need to invest in some kind of Single board computer to run "Smart home" system
 
Last edited:

Danchik

Community Member
View Badges
Joined
Jul 17, 2018
Messages
30
Reaction score
1
Location
UA
Rating - 0%
0   0   0
First I should ask- do you have MQTT server?:)
Its usually hosted on reef-pi or Home Assistant.

Idea about this that users can have "Smart home" system that can integrate with devices using MQTT Broker(server)
In our case, for aquarium needs, its a replacement for all these fance aquarium controllers like Neptune System. But you still need to invest in some kind of Single board computer to run "Smart home" system
Ah, there is no server.
I thought this controller would collect the dosing data...:(
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
204
Reaction score
149
Location
indo-pacific
Rating - 0%
0   0   0
Ah, there is no server.
I thought this controller would collect the dosing data...:(
Its has basic functionality like "container with remaining"
dosing_remaining.png


I want also to keep data on microcontroller, but I have problem with long-term consequences if I will write all these on build-in flash disk.
Because it has limited write cycles. So it will break the controller after some time.
 

Danchik

Community Member
View Badges
Joined
Jul 17, 2018
Messages
30
Reaction score
1
Location
UA
Rating - 0%
0   0   0
Hi @yury88

I would like to discuss the stage of the dosage planner...

Is it possible to link the “Frequency” to the “Amount ml” and not only to the dosing period (time) so that the liquid per dosing amount is also calculated?

I have a planner:
Dosage: 03:00-19:00
Frequency of dosing: 17
Daily dose: 25ml

In order not to create a whole bunch of lines (17) of frequency settings for (25ml/17 frequency) 1.47ml per hour.
I want it to be automatically calculated. It will only be enough to create one entry on the scheduler with a daily dose of 25ml. and not 1.47ml. for each term(

It will also be more convenient to change the volume of the liquid if a test for a particular reagent requires it.
Regarding editing, maybe there will be a button to change an existing record...) So as not to delete the record and create it again

And is there also a possibility that the pumps do not work at the same time? Is it possible to recalculate the time of dosing...
Because I noticed that when at the specified time in the hours of dosing (without the specified minutes), the next doses are shifted, I noticed that in minutes it has already reached 26.
And this already overlaps with other dosing pumps.
Which is critical so as not to dose alkalinity and calcium at the same time, etc. And there was a period of time between them. This time interval can be set at the very beginning of the dosing, but it shifts(
This is probably due to the fact that the dosage is fixed not at the beginning but at the end of the dosage, so it shifts...
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
204
Reaction score
149
Location
indo-pacific
Rating - 0%
0   0   0
Hi @yury88

I would like to discuss the stage of the dosage planner...

Is it possible to link the “Frequency” to the “Amount ml” and not only to the dosing period (time) so that the liquid per dosing amount is also calculated?

I have a planner:
Dosage: 03:00-19:00
Frequency of dosing: 17
Daily dose: 25ml

In order not to create a whole bunch of lines (17) of frequency settings for (25ml/17 frequency) 1.47ml per hour.
I want it to be automatically calculated. It will only be enough to create one entry on the scheduler with a daily dose of 25ml. and not 1.47ml. for each term
Lets me just fix if for you:)
Release v0.9.8 Auto-calculation of total dosing amount


It will also be more convenient to change the volume of the liquid if a test for a particular reagent requires it.
Regarding editing, maybe there will be a button to change an existing record...) So as not to delete the record and create it again
Yes, of course, table editing is possible.
I will add it; it's just some extra scripts that will check for valid input in the table..

And is there also a possibility that the pumps do not work at the same time? Is it possible to recalculate the time of dosing...
Because I noticed that when at the specified time in the hours of dosing (without the specified minutes), the next doses are shifted, I noticed that in minutes it has already reached 26.
And this already overlaps with other dosing pumps.
Which is critical so as not to dose alkalinity and calcium at the same time, etc. And there was a period of time between them. This time interval can be set at the very beginning of the dosing, but it shifts(
This is probably due to the fact that the dosage is fixed not at the beginning but at the end of the dosage, so it shifts...

Can you provide example?

Controller is following the settings that you add to the schedule. It's pretty accurate +/- a few seconds, depending on how busy the controller is.

So if you schedule dosing from 10:00 to 11:00 with frequency 6, it will dose:
10:00, 10:10, 10:20, 10:30, 10:40, 10:50

Its working by algorithm:
Start time = 10:00
End time = 11:00

Step between doses (11:00-10:00)/(frequency 6) =10min

So if you need to avoid pumps working at the at the same time, you can just add a schedule with a shift:
1)Pump1 10:00-11:00, Frequency 6
10:00, 10:10, 10:20, 10:30, 10:40, 10:50

2)Pump2 10:05-11:05, Frequency 6
10:05, 10:15, 10:25, 10:35, 10:45, 10:55

Probably it's just difficult to make such a calculation. I'm adding a helper in the UI that will show all scheduled dosing so you can check your settings right away.
 

Danchik

Community Member
View Badges
Joined
Jul 17, 2018
Messages
30
Reaction score
1
Location
UA
Rating - 0%
0   0   0
Lets me just fix if for you:)
Release v0.9.8 Auto-calculation of total dosing amount
Thank you! It has already become more convenient:smiling-face-with-smiling-eyes:

So if you schedule dosing from 10:00 to 11:00 with frequency 6, it will dose:
10:00, 10:10, 10:20, 10:30, 10:40, 10:50
Ah, understood. I thought that if the end time period was set to 03:00-19:00, then it should have been the last dosage at this time, which is why I set the frequency to 17.
03:00..05:00....19:00 (17)

That's why I also had a shift in time.

So it will be necessary to change the frequency (16), or the end of the dosing period before 20:00
:slightly-smiling-face:
 

Danchik

Community Member
View Badges
Joined
Jul 17, 2018
Messages
30
Reaction score
1
Location
UA
Rating - 0%
0   0   0
Hi @yury88,

do you plan to add the option of dosing on the specified days of the week?

And one more question about calibration...

I still don't understand how to do it... can you tell me in detail?

As far as I understood, there are default settings, but when I delete them and specify my own, they are not saved, when the pages are updated, they are automatically pulled up by default...
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
204
Reaction score
149
Location
indo-pacific
Rating - 0%
0   0   0
Hi @yury88,

do you plan to add the option of dosing on the specified days of the week?

And one more question about calibration...

I still don't understand how to do it... can you tell me in detail?

As far as I understood, there are default settings, but when I delete them and specify my own, they are not saved, when the pages are updated, they are automatically pulled up by default...
Yes, weekdays schedule support and maintenance mode will be main features in v1.0
Soon will be added.

About calibration. After adding all points you need to push "upload calibration data".
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
204
Reaction score
149
Location
indo-pacific
Rating - 0%
0   0   0
Actually I'm thinking to limit max RPM in firmware by default. With option to disable limits in settings.
I will make the maximum rpm equal to the maximum calibration point.

Mostly its because user can accidentally start motor with 1k RPM when setup(peristaltic pump head etc) can't handle it. Or to prevent dumping full bottle of traces in aquarium.

And as a bonus, this will make the calibration graph more readable because only the desired range will be displayed in it
 
Back
Top