# \[FARMWARE\] Mother's Little Helper (MLH)

**URL:** <https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469>\
**Category:** Farmware\
**Created:** [April 28, 2018, 4:00am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469 "2018-04-28T04:00:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [April 28, 2018, 4:00am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/1 "2018-04-28T04:00:47Z")

</div>

The original idea belongs to @renaud with his Loop-Plants-With-Filters.  
This Farmware - is a simplified version of it with nice perks about saving/filtering meta data.

It turns out a very powerful tool for its 250 lines of code. Please see details on GitHub

> **[etcipnja/MLH](https://github.com/etcipnja/MLH)**
>
> MLH - \[FARMWARE\] Mother's little helper

Thank you,  
Eugene

---

<div class="post-metadata">

**Author:** ![Klimbim](https://forum.farmbot.org/user_avatar/forum.farmbot.org/klimbim/32/1240_2.png) [@Klimbim](https://forum.farmbot.org/u/Klimbim)\
**Post date:** [April 29, 2018, 5:18pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/2 "2018-04-29T17:18:57Z")

</div>

Hey Eugene,

great farmware you did and fully support and understand that you were buffled that this functionality does not exist today… 😉

Maybe you could explain the info messages during the test run a little bit more? My logs got flooded and it was hard for me to figure out what they meant actually because it was so much and different blocks of them as well. Some had [DEBUG] before their entry, some didn´t;

Would it be possible to later on include drop down menus? This would very much easen the set up.

And maybe the SEQUENCE NAME BEFORE NEXT MOVE should be also done for the last plant coordinate? Otherwise it won´t be cleanly possible to water all plants for instance. I have a water sequence which just opens the valve intermittendly for 4 seconds. That one I would like to exercise on all plants. So I would need the last sequence to be the water sequence. Cleaner would be to have the last sequence the homing sequence again?!

Great work, thanks a lot for you contribution!!!

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [April 29, 2018, 6:36pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/3 "2018-04-29T18:36:48Z")

</div>

Hello!

Yeah, I might need to enhance log messages a bit to make them more clean. Please see the attached images for explanations.  
In general Farmbot logs are VERY unstable.

- messages with DEBUG level are not persistent by design - so I use INFO level
- you need to refresh log page to see all the messages - otherwise it may display only a random subset of them
- I saw instances when messages change their relative order
- if your message has text “filtered” in it - it will never be displayed!!

 ![35 PM](https://forum.farmbot.org/uploads/default/original/2X/7/701832c002542dcd8fad4b1b056b4c058a704d24.png)  
 ![21 PM](https://forum.farmbot.org/uploads/default/original/2X/5/5963bea3b7122ad00ef1a8ff15701c0a87f3f82c.png)

Drop down menu: I don’t think it is possible at this time - Farmware web page doesn’t allow it

For watering you need to use AFTER sequence, not BEFORE. This sequence need to turn on water for desired amount of time and then shut it down.  
If you suspect that BEFORE sequence is not called for every plant - please see another attachment that proves you wrong 🙂

Thank you for your feedback!  
Eugene

 ![18 PM](https://forum.farmbot.org/uploads/default/original/2X/4/47a6a375313d1f55355dbce8c6de94a4c0f81a9e.png)

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [April 29, 2018, 7:29pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/4 "2018-04-29T19:29:52Z")

</div>

BTW: in 1.0.4 version of the firmware I updated logs. Functionality stays the same

---

<div class="post-metadata">

**Author:** ![Klimbim](https://forum.farmbot.org/user_avatar/forum.farmbot.org/klimbim/32/1240_2.png) [@Klimbim](https://forum.farmbot.org/u/Klimbim)\
**Post date:** [April 30, 2018, 7:12pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/5 "2018-04-30T19:12:21Z")

</div>

One more thing that came to my head yesterday: would it be possible to create a sequence out of this farmware? That would help me as I am currently planning to use FB differently… otherwise one could save different sequences for different plants and water demands for instace?!

Thanks again for the great piece of work @etcipnja

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [April 30, 2018, 7:16pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/6 "2018-04-30T19:16:53Z")

</div>

Hello,

You can call farmware from a sequence (see sequence builder) but you can’t pass parameters in this call!  
It will always take parameters that you specified on the Farmware page

see [Passing parameters to farmware from sequence](https://forum.farmbot.org/t/passing-parameters-to-farmware-from-sequence/3461?u=etcipnja) for details.

Thank you,  
Eugene

---

<div class="post-metadata">

**Author:** ![fuzzynickel](https://forum.farmbot.org/user_avatar/forum.farmbot.org/fuzzynickel/32/1333_2.png) [@fuzzynickel](https://forum.farmbot.org/u/fuzzynickel)\
**Post date:** [May 2, 2018, 12:45am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/7 "2018-05-02T00:45:35Z")

</div>

Eugene, this is an excellent mod to @renaud’s Farmware! The ability to do more complex filtering and set more metadata fields at once is a huge win! Two things:

1. In your documentation on GitHub, you indicate using Python’s tuple syntax (comma delimited), but in your examples, you use a more JSON syntax (colon delimited).

[( ‘last\_watered’ : ‘today’ )] vs [( ‘last\_watered’ , ‘today’ )]

1. Do have multiple copies like renaud’s up on GitHub so that we can have multiple configurations to support the lack of passing parameters to Farmware from sequences? (I know this is clumsy, but would help in the short term…unless you have a more clever idea).

Fuzzy

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [May 2, 2018, 3:21am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/8 "2018-05-02T03:21:37Z")

</div>

@fuzzynickel Thank you for the feedback!

I fixed documentation per your comment.  
As for the multiple copies: I understand that it might work, but it is soo bogus it makes me cringe.

Instead of complying with our miserable reality I’d propose to focus on promoting the following feature request

> [@Passing parameters to farmware from sequence](https://forum.farmbot.org/t/passing-parameters-to-farmware-from-sequence/3461):
>
> Hello, What is the best way to deal with the situation when I want to grow 400 carrots and 100 basils? Do I need to create 500 sequences for seeding and 500 sequences for weeding and another 500 for watering? I can use a single farmware like Loop-Plants-With-Filters for all these operations on all plants but I have no way to pass parameters to farmware from a sequence, The only way to pass parameters is to specify them on farmware page. This makes this universal farmware only usable for one o…

It should not be difficult to implement from what I understand about programming.

Thank you,  
Eugene

---

<div class="post-metadata">

**Author:** ![skuter](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@skuter](https://forum.farmbot.org/u/skuter)\
**Post date:** [May 2, 2018, 9:57am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/9 "2018-05-02T09:57:10Z")

</div>

@etcipnja  
Is it possible to put more than 20 rows/columns as parameters?  
Is the “20” the safe value?

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [May 2, 2018, 1:06pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/10 "2018-05-02T13:06:22Z")

</div>

Your question must be about

> [@\[FARMWARE\] Seedalot](https://forum.farmbot.org/t/farmware-seedalot/3453):
>
> Hello, If you’d like to plant a lot of carrot (or whatever) you may find this Farmware useful. You can place up to 400 plants of the same kind with one click. Noting fancy. Probably many of you already have similar one. This is my first farmware. Thank you, Eugene

Technically it is possible to put more than 20. I decided to limit it to a practical value to prevent people from abusing the server. If you want more - you can run it second time choosing new “Original Plant” from the plants created on the previous run.

Thank you,  
Eugene

---

<div class="post-metadata">

**Author:** ![skuter](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@skuter](https://forum.farmbot.org/u/skuter)\
**Post date:** [May 3, 2018, 10:58am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/11 "2018-05-03T10:58:58Z")

</div>

Thanks for clarification, and yes it was in regard of Seedalot 😉  
In my case I want to plant carrots which are quite small 🙂 so…  
Another question that came to my mind is if I put more plants in a row/column than the bed size will the farmware adjust the seed area?

Thanks

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [May 3, 2018, 3:29pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/12 "2018-05-03T15:29:20Z")

</div>

No, if plants go off the bed nothing is adjusted. The plants will be planted outside of the bed and in some cases you won’t be able to see them on the Farm Designer.

I probably need to prevent user from doing it and I guess Farmbot API shall do the same.

Thank you,  
Eugene

---

<div class="post-metadata">

**Author:** ![skuter](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@skuter](https://forum.farmbot.org/u/skuter)\
**Post date:** [May 15, 2018, 6:12am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/13 "2018-05-15T06:12:22Z")

</div>

Morning @etcipnja,

I think I’ve found a bug in MLH: since yesterday I’m unable to perform any actions with it:

 ![image](https://forum.farmbot.org/uploads/default/original/2X/a/a2d776a018a56adad82a42e78e7777f00551a967.png)

I’ve tried reinstalling the farmware same problem…

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [May 15, 2018, 11:00am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/14 "2018-05-15T11:00:19Z")

</div>

My bad!

It looks like Farmbot automatically updates installed farmware with every reboot. I am practicing now with intelligent watering and it seems my experiments affected you. I’ll try to fix it ASAP

Thank you  
Eugene

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [May 15, 2018, 12:00pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/15 "2018-05-15T12:00:29Z")

</div>

This shall be fixed in v 2.2.2. Water [MLH] Side Garden - is a hardcoded sequence that waters my side garden - it’s presence used to be required, now it is optional.  
BTW: I see error related to missing “runwater 1s” - this is on your side. Please check that this sequence exists.

Thank you,  
Eugene

---

<div class="post-metadata">

**Author:** ![skuter](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@skuter](https://forum.farmbot.org/u/skuter)\
**Post date:** [May 15, 2018, 2:58pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/16 "2018-05-15T14:58:52Z")

</div>

@etcipnja I know this is a typo 🙂

BTW could you make sequence names not case sensitive?

MS

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [May 16, 2018, 1:52am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/17 "2018-05-16T01:52:52Z")

</div>

@skuter sequence names are case insensitive. please send me a private message if you believe there is still a bug there

---

<div class="post-metadata">

**Author:** ![Klimbim](https://forum.farmbot.org/user_avatar/forum.farmbot.org/klimbim/32/1240_2.png) [@Klimbim](https://forum.farmbot.org/u/Klimbim)\
**Post date:** [June 25, 2018, 8:17pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/18 "2018-06-25T20:17:35Z")

</div>

@etcipnja: Do you think this could be due to an internet connection interrupt?

Error CS Failed: [execute\_script] - “Farmware failed” 850, 960, 0 Jun 25, 10:11pm  
2

Warn #Farmware\<MLH(2.4.12)\> completed with exit status: 1 850, 960, 0 Jun 25, 10:11pm  
1

Error [MLH] Something went wrong: HTTPSConnectionPool(host=‘[my.farmbot.io](http://my.farmbot.io)’, port=443): Max retries exceeded with url: /api/points/44723 (Caused by NewConnectionError(’\<urllib3.connection.VerifiedHTTPSConnection object at 0x76016130\>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)) 850, 960, 0 Jun 25, 10:11pm

I feel that still the bot disconnects quickly for whatever reason. This is in my opinion still an unsolved issues on the fb side and I do not see a way forward from the FB team to solving it…

---

<div class="post-metadata">

**Author:** ![etcipnja](https://forum.farmbot.org/user_avatar/forum.farmbot.org/etcipnja/32/1250_2.png) [@etcipnja](https://forum.farmbot.org/u/etcipnja)\
**Post date:** [June 26, 2018, 6:57am UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/19 "2018-06-26T06:57:25Z")

</div>

this looks like problem with your DNS which might be caused by unstable connection between FB and the internet.  
This doesn’t look like the problem of FB itself.

Thank you,  
Eugene

---

<div class="post-metadata">

**Author:** ![Diman4os](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/d/73ab20/32.png) [@Diman4os](https://forum.farmbot.org/u/Diman4os)\
**Post date:** [June 26, 2018, 3:03pm UTC](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469/20 "2018-06-26T15:03:42Z")

</div>

Hello! Thanks for your great Farmware. There is a trouble with non-English sequence names. When I name my sequences in Russian, and then link to it, plugin fails to run.

 ![Безымянный](https://forum.farmbot.org/uploads/default/original/2X/9/994e6732be9cbc4c95c9a5b72ca4137cb0ca8a45.png)

Is it a plugin trouble or Farmbot Web app trouble?

[Next page](https://forum.farmbot.org/t/farmware-mothers-little-helper-mlh/3469.md?page=2)
