Override Feeding Mode Speed...
Re: Issues I've seen in the current Dev Library.
Is there a way to exclude the DCPumps from feeding mode? I.e., ignore ReefAngel.DCPump.FeedingSpeed when in feeding mode?
Thanks,
--Colin
Thanks,
--Colin
Override Feeding Mode Speed...
That sets it to the portal speed value.lnevo wrote:Put this in your loop:cosmith71 wrote:Is there a way to exclude the DCPumps from feeding mode? I.e., ignore ReefAngel.DCPump.FeedingSpeed when in feeding mode?
Thanks,
--Colin
ReefAngel.DCPump.FeedingSpeed=InternalMemory.DCPumpSpeed_read();
I dont know if i have the function name right but essentially you can set the feeding mode speed to what you've set in memory.
Maybe roberto has a better suggestion.
You could also do math on it, lets say you want it 50% of the usual, you can add /2
What I'd really like is to override it with a pump mode.
--Colin
Re: Issues I've seen in the current Dev Library.
The mode doesn't change, just the speed when you go into feeding mode.
If you want to change the mode during feeding mode, just put an if (DISPLAYED_MENU==FEEDING_MODE)...
I thought you were trying to eliminate the spin-down during feeding mode...
If you want to change the mode during feeding mode, just put an if (DISPLAYED_MENU==FEEDING_MODE)...
I thought you were trying to eliminate the spin-down during feeding mode...
Re: Override Feeding Mode Speed...
Let me play with it some more. I was thinking it went to a constant speed of whatever was set when I tried it. I'll report back.
--Colin
--Colin
Re: Override Feeding Mode Speed...
Verified. Feeding mode sets the pumps to a constant speed of whatever is set.
I tried the displayed menu==feeding mode thing, it was ignored too.
--Colin
I tried the displayed menu==feeding mode thing, it was ignored too.
--Colin
Re: Override Feeding Mode Speed...
Ok i'll take a look closer at the libraries and see how we can ignore that.
Re: Override Feeding Mode Speed...
Ok, I see the issue. Regardless of setting and everything we were just setting the channels to the FeedingSpeed and WaterChangeSpeed.
I've added a check that will now only do this if the value is less than 100. So if you want to override just set it to 101 or 255, just like we do with the PWM overrides.
You can test the patch from this branch. If it works for you, open an issue and I'll put a pull request through.
https://github.com/lnevo/Libraries/tree/modespeedfix
I've added a check that will now only do this if the value is less than 100. So if you want to override just set it to 101 or 255, just like we do with the PWM overrides.
You can test the patch from this branch. If it works for you, open an issue and I'll put a pull request through.
https://github.com/lnevo/Libraries/tree/modespeedfix
Re: Override Feeding Mode Speed...
Thanks! I'll give it a try this weekend.
--Colin
--Colin
Re: Override Feeding Mode Speed...
Created the pull requests. It's simple enough and should be there...
Re: Override Feeding Mode Speed...
Appears to be working as intended now. I set the feeding speed to 255 and the pumps kept on doing what they were doing during feeding mode. Just like I wanted.
--Colin
--Colin