[FARMWARE] Mother's Little Helper (MLH)

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

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 for details.

Thank you,
Eugene

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

1 Like

@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


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

Thank you,
Eugene

1 Like

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

Your question must be about

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

Thanks for clarification, and yes it was in regard of Seedalot :wink:
In my case I want to plant carrots which are quite small :slight_smile: 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

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

Morning @etcipnja,

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

I’ve tried reinstalling the farmware same problem…

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

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

@etcipnja I know this is a typo :slight_smile:

BTW could you make sequence names not case sensitive?

MS

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

@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’, 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…

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

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.

Is it a plugin trouble or Farmbot Web app trouble?

Still having Problems eugene @etcipnja:

TYPE MESSAGE POSITION (X, Y, Z) TIME
2

Busy Syncing 211, 1, 0 Jun 29, 9:13pm
2

Busy Syncing 211, 1, 0 Jun 29, 9:13pm
2

Error CS Failed: [execute_script] - “Farmware failed” 211, 1, 0 Jun 29, 9:13pm
2

Warn #Farmware<Selfie(1.0.7)> completed with exit status: 1 211, 1, 0 Jun 29, 9:13pm
1

Error [Selfie] HTTP error 500 {“status”:500,“error”:“Internal Server Error”} 211, 1, 0 Jun 29, 9:13pm
1

Info [Selfie] (0,0) skipped as it was already taken less than 1h ago 211, 1, 0 Jun 29, 9:13pm
1

Info [Selfie] Selfie cache will be saved to tool id 45466 211, 1, 0 Jun 29, 9:13pm
1

Info [Selfie] {‘action’: ‘real’, ‘stepsize’: (400, 500), ‘bottomleft’: (1267, 1267), ‘topright’: (0, 0), ‘default_z’: 0} 211, 1, 0 Jun 29, 9:13pm
2

Busy Beginning execution of #Farmware<Selfie(1.0.7)>

and another one, maybe as helpful:
2

Error CS Failed: [execute_script] - “Farmware failed” 0, 0, 0 Jun 30, 10:45am
2

Warn #Farmware<Selfie(1.0.7)> completed with exit status: 1 0, 0, 0 Jun 30, 10:45am
1

Error [Selfie] HTTP error 500 {“status”:500,“error”:“Internal Server Error”} 0, 0, 0 Jun 30, 10:45am
3

Busy Image Watcher trying to upload /tmp/images/rotated_1530348318.jpg 0, 0, 0 Jun 30, 10:45am
2

Info Uploading: /tmp/images/rotated_1530348318.jpg 0, 0, 0 Jun 30, 10:45am
1

Success Image Watcher successfully uploaded: /tmp/images/rotated_1530348318.jpg 0, 0, 0 Jun 30, 10:45am
2

Success #Farmware<take-photo(1.0.2)> completed without errors. 0, 0, 0 Jun 30, 10:45am
3

Busy Image Watcher trying to upload /tmp/images/rotated_1530348318.jpg 0, 0, 0 Jun 30, 10:45am
2

Info Uploading: /tmp/images/rotated_1530348318.jpg 0, 0, 0 Jun 30, 10:45am
2

Busy Beginning execution of #Farmware<take-photo(1.0.2)> 0, 0, 0 Jun 30, 10:45am
2

Info [TAKE A PHOTO] - Sequence Executing: TakePhoto 0, 0, 0 Jun 30, 10:45am
2

Busy [TAKE A PHOTO] - Sequence init. 0, 0, 0 Jun 30, 10:45am
1

Info [Selfie] Executing sequence: TAKE A PHOTO(8680) 0, 0, 0 Jun 30, 10:45am
1

Success Movement to (0.0, 0.0, 0.0) complete. 0, 0, 0 Jun 30, 10:45am
1

Busy Moving to (0.0, 0.0, 0.0) 0, 0, 0 Jun 30, 10:45am
1

Info [Selfie] Moving absolute: {‘y’: 0, ‘x’: 0, ‘z’: 0} 0, 0, 0 Jun 30, 10:45am
1

Info [Selfie] Selfie cache will be saved to tool id 45466 0, 0, 0 Jun 30, 10:45am
1

Info [Selfie] {‘action’: ‘real’, ‘stepsize’: (400, 500), ‘bottomleft’: (1267, 1267), ‘topright’: (0, 0), ‘default_z’: 0} 0, 0, 0 Jun 30, 10:45am
2

Busy Beginning execution of #Farmware<Selfie(1.0.7)>

Thank you for report, I am currently on vacation but will take a look on this problem when I am back
Eugene

Hi,

This thread is about MLH. You seem to have a problem with Selfie. Please let me know what version of Selfie you have, what have changed since the last time you was able to run it successfully.
It would be great if we continue this topic in the Selfie thread.

Thank you,
Eugene

@etcipnja: Currently MLH does not work anymore o.O it was deleted from the farmware page for whatever reason:
When I tried to install it again I got:

CeleryScript: #PID<0.6398.0> died: {:badarg, {GenServer, :call, [Farmbot.HTTP, {:request, :get, " https://raw.githubusercontent.com/etcipnja/MLH/master/MLH/manifest.json", “”, [], []}, :infinity]}} -1192.6, 0.2, 0.5 Jul 29, 9:07pm
2

Busy Installing farmware from https://raw.githubusercontent.com/etcipnja/MLH/master/MLH/manifest.json. -1192.6, 0.2, 0.5 Jul 29, 9:07pm

Could you please revive it, I need to water my plants tomorrow latest :frowning: