< 192022-12-20⋎21 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
15:07mstenta[m]paul121 Confirmed that both circular location/group constraints need to check for this "edge case"
15:08mstenta[m]I will update the group PR to include it (and test) before merging
15:08mstenta[m]As for the location one (which has already been merged), I suppose I'll just open a follow-up PR for it
15:46mstenta[m]github.com/farmOS/farmOS/pull/623
17:48mstenta[m]Alright! We're looking good on the 2.0.0 front!
17:49mstenta[m]Still not sure how to proceed on the CSV one... 🤔
17:49mstenta[m]I might try to take another pass at github.com/farmOS/farmOS/pull/583 too... although I am also OK with doing that post-2.0.0 if time runs out
17:51paul121[m]mstenta[m]: I like your idea for the new view mode!
17:51mstenta[m]Mmm yea, I suppose...
17:52mstenta[m]It probably means we'll need to override the Views field config for the csv display, yea?
17:52mstenta[m]Or maybe we can just alter that specific configuration via a hook?
17:52mstenta[m](just change the view mode in the csv display context i mean)
17:53paul121[m]but more generally are we just pushing the limits of csv export in views? iirc it doesn't work well for our other "views of logs" (assigned logs etc)
17:54mstenta[m]yea it's a good question - although i'm not familiar with an issue with "assigned logs"
17:56mstenta[m]paul121: alright, well re: this week and next week - i'm figuring that in order to get your eyes on stuff before 2.0.0 it pretty much needs to be ready for review by tomorrow
17:56mstenta[m]i have some other stuff to do too, so maybe i'll just focus on the CSV one, and if I can squeeze #583 in as well then I'll try to
18:13paul121[m]<mstenta[m]> "yea it's a good question..." <- mm yeah. the "assigned logs" doesn't have a CSV export button. I think we had it on all log views, but it was only compatible with the basic log views
18:13paul121[m]"Only show "Export CSV" link on "All" and "By type" quantity displays.": github.com/farmOS/farmOS/commit/7b65b7d8
18:15mstenta[m]aaah ok yea
18:15paul121[m]<mstenta[m]> "paul121: alright, well re..." <- more or less! I'll be around the 28-30 too
18:16mstenta[m]OK well I won't expect anything after this week :-)
18:17paul121[m]maybe more info here... but not important: www.drupal.org/project/farm/issues/32246
18:19*ludwa6[m] has joined
18:19ludwa6[m]Quick question re Quick Forms: is there one for Harvest logs? or only for Plantings?
18:19mstenta[m]no harvest quick form (yet)
18:19mstenta[m]that's one i want too
18:20ludwa6[m]mstenta[m]: ah -but there was one back on version 1.x, am i right?
18:20mstenta[m]no, i don't think we ever had a harvest quick form (unless i'm forgetting!)
18:20mstenta[m]the Planting quick form DOES have an option to create a harvest log
18:21mstenta[m]maybe that's what you're thinking?
18:21mstenta[m]it's not really useful for multi-harvest crops tho
18:22ludwa6[m]mstenta[m]: ah, that could be why i had this idea. But yeah: we're looking for a way to enter a single harvest event of multiple crops from our market garden.
18:24ludwa6[m]This .CSV upload process has been serving us well for over a year now... But i've finally got my Market Gardener thinking seriously about inputting both Plantings and Harvests directly in farmOS.
18:25mstenta[m]oh that's great news ludwa6 !
18:25mstenta[m](that they are warming up to directly using farmOS)
18:25mstenta[m]a harvest quick form would probably be pretty simple
18:26mstenta[m]i'm imagining just a few basic fields: Date, Asset(s), Quantity, Notes
18:26mstenta[m]Although probably want the "quantity" to be multi-value, so you could use one form to make a list of things that were harvested perhaps
18:26ludwa6[m]mstenta[m]: Yes: we're going through a bit of reorg, brought a new guy onto the team who convinced his boss in OMG (Organic Market Garden :-) to look into this... So i think it may well happen.
18:27mstenta[m](Makes me think about relationships to "packing list" ideas too)
18:28ludwa6[m]mstenta[m]: Right - it would have to be. That is the idea: just one form, into which there are usually some dozens of crops harvested... All denominated in kilos, as a rule.
18:29mstenta[m]And I imagine it might need to be able to handle cases where you DON'T have a Plant asset too
18:29mstenta[m]still useful to be able to create a harvest log to record, even without asset relationship
18:30ludwa6[m]I mean: each product harvested will of course have its own value, but the units are all kilos. But these will all be assets that exist, as a rule.
18:31ludwa6[m]One question we stumble on today is: when we set up the asset, it looks like Location is mandatory... but then Location can change in fact. Can we later edit a Plant asset to change its location?
18:31mstenta[m]location isn't mandatory
18:32mstenta[m]Oh... do you mean in the quick form?
18:32ludwa6[m]It is on the Planting quick form; has a red asterisk. Are we looking at the same/
18:32mstenta[m]ah gotcha yeaaa
18:32mstenta[m]location in general isn't mandatory :-)
18:32mstenta[m]but yes, to answer your question: location can be changed later
18:32mstenta[m]i suppose we could consider making location optional
18:33mstenta[m]in the quick form i mean
18:33ludwa6[m]See: We've got a crop plan for one full year ahead, in terms of the WHAT (plant type) and WHEN (estimated date of seeding/ transplant/ harvest)
18:33mstenta[m]thing is... the planting quick form creates seeding and/or transplanting logs... and THAT is ideally where the location gets recorded
18:33ludwa6[m]But Location is something that gets nailed down later, in terms of the exact bed where it gets transplanted in.
18:33mstenta[m]so ideally you'd go back in and edit those logs to add the location later
18:34mstenta[m](these all sound like good considerations for the v2 crop PLAN module)
18:34ludwa6[m]mstenta[m]: Is that a thing in the works already?
18:35mstenta[m]just ideas
18:35mstenta[m]well i did start a few commits: github.com/mstenta/farm_crop_plan/tree/2
18:35mstenta[m]but it doesn't do anything yet
18:36mstenta[m]there's a nitty gritty data architecture question to figure out for plans more generally that has prevented much work on it
18:36mstenta[m](or at least prevented me from diving in in my free time)
18:37mstenta[m]www.drupal.org/project/farm/issues/31878
18:37mstenta[m](quite nitty gritty0
18:45ludwa6[m]<mstenta[m]> "there's a nitty gritty data..." <- Yes: browsing that thread, i see how complex it can be- and probably should, to deliver desired functionality in an elegant way.
18:46mstenta[m]I just added another comment :-)
18:46ludwa6[m]I just wonder if there might not be a simpler way that could be "Safe enough to try/ good enough for now," as we so often say around this farm :-)
18:48mstenta[m]Perhaps! Either way we don't have dedicated funding for the crop plan modules unfortunately :-(
18:48mstenta[m]Although perhaps we can make a case for it under some of the USDA funding that will be coming in to OpenTEAM and PASA in the near future!
18:48ludwa6[m]Have you got a budget estimate for development?
18:49mstenta[m]No
18:49mstenta[m]We could probably estimate one if the goal was "replicate exactly what v1 had"
18:49mstenta[m]But I think there are genuine questions about whether or not the v1 crop plan module was the "right" design too
18:50mstenta[m]I think the ideal thing would be to have funding to do a dedicated design / speccing process with the larger community
18:50mstenta[m]With an outcome of requirements, which could then be used to estimate work
18:51mstenta[m]In comparison, implementing the thing I describe in my last comment in www.drupal.org/project/farm/issues/31878 is pretty small
18:52ludwa6[m]mstenta[m]: Sounds like the process you mentioned in farmos.discourse.group/t/project-wishlis
18:52mstenta[m]Exactly
18:53mstenta[m]Lots of these "big features" we talk about would benefit greatly from a more formal process like that
18:53mstenta[m]And the crop plan module could produce a number of the "reusable planning components" I mentioned in that thread
18:53mstenta[m]So maybe the ideal approach would be to try to spec TWO plan types in parallel
18:54mstenta[m]crop plan + general project plan
18:54mstenta[m]I know there are some who are interested in a grazing plan too
18:54mstenta[m]Then we could compare/contrast and find where there are overlaps in requirements/ideas
18:54ludwa6[m]+1 on that approach!
18:55ludwa6[m]So what's involved in making that happen?
18:55mstenta[m]time mostly
18:55mstenta[m]the most limited resource :-)
18:56mstenta[m]if i can make the case for this under the USDA funds, we could potentially hire someone to shepherd it
18:56mstenta[m]as well as people to help develop it
18:57mstenta[m]otherwise it's volunteer basis
18:57ludwa6[m]Well: this OpenTEAM HCD process: is it agile? something like a weekend sprint?
18:57mstenta[m]i think for something like this we'd want at least a few meetings, with as many stakeholders as we can gather
18:57mstenta[m]spend a few just talking about what's needed
18:58mstenta[m]then some time in between to put together mockups/ideas/solutions
18:58mstenta[m]then some more gatherings to show/discuss/refine those
18:59mstenta[m]with the crop plan one, we can show what we had in v1, discuss the good/bad of it... and looking at other existing options would be really helpful too
19:00mstenta[m]i almost feel like we'd need a few "sets" of stakeholders too - which we meet with separately... small diversified operations, big row-crop operations, etc
19:00ludwa6[m]mstenta[m]: wish i could remember very well what that was like. Have you got a v1.x instance online somewhere, so i could refresh my memory?
19:00mstenta[m]and then compare/contrast what comes out of each
19:01ludwa6[m]mstenta[m]: As this need is very top-of-mind w/ my team now, i'd be happy to work on the UseCase of a row crop market garden operation
19:02*uploaded an image: (555KiB) < libera.ems.host/_matrix/media/v3/downloa >
19:04mstenta[m]Here is the other way of viewing it (notice the "Display options"... "by planting" vs "by area"):
19:04*uploaded an image: (661KiB) < libera.ems.host/_matrix/media/v3/downloa >
19:04mstenta[m]everything looks terrible to me in v1 now haha - but the concepts were pretty sound I think
19:05mstenta[m]and we really didn't have the chance to go deeper with it... had a lot of ideas for next steps
19:05mstenta[m]github.com/mstenta/farm_crop_plan/issues
19:05mstenta[m]we did the first pass on a pretty shoestring budget
19:06mstenta[m]so it is VERY "mvp"
19:06mstenta[m]more of a proof of concept, really
19:10mstenta[m]if I had my druthers I would hire a CSS wizard too 😄🧙
19:12paul121[m]<mstenta[m]> "So maybe the ideal approach..." <- how realistic is openteam HCD getting involved? I'm just not optimistic.... it has been slow going....
19:13mstenta[m]i think it might be possible if we made a strong case for a sustained effort
19:14mstenta[m]but it would require someone to guide the process - I'd love to have Ankita do it but she might be busy
19:15mstenta[m]still - i don't see it being a high priority in 2023, unfortunately
19:15mstenta[m]they are just getting their feet under them with these big grants
19:15paul121[m]it totally makes sense for Crop plan, but for project plan it just feels like that's too much effort
19:15mstenta[m]yea agreed
19:16paul121[m]I think a project plan just needs simple metadata as various outlined the forum post... not really a part of conversation for the larger "farm data model" IMO
19:16paul121[m]just like "I need to do this thing" lol
19:16ludwa6[m]Need for a planning module is something i think anyone in the business of farming would be very interested in, so... the case for sustained effort should be pretty easy to make, seems to me.
19:16paul121[m]fwiw I hope to polish my module over the holidays :-)
19:18ludwa6[m]I'd love to give Paul's module a whirl, soon as it shows up in Farmier. As i said in that thread: crop planning is one thing, but we've got all sorts of projects on the farm that should be put into our farmOS database, however high-level the data model may be.
19:19ludwa6[m]Starting w/ the compost test we are planning right now!
19:19mstenta[m]Yea! Happy to drop the module in for you to test ludwa6 !
19:20mstenta[m]It sounds like the main problem it will solve is "grouping logs" under the umbrella of a "Project" plan
19:20mstenta[m](correct me if I'm wrong paul121 )
19:20ludwa6[m]mstenta[m]: that's a big win right there
19:22ludwa6[m]mstenta[m]: If we could group the Planting logs, the harvest logs, and some observations logs (w/ photos) on the test & control beds, all in the context of one Project Plan, that solves a real need.
19:24ludwa6[m]No sensor data involved in this particular test. Does involve compost inputs, so i guess that's another type of log (haven't used those yet, but for this one i guess we will)
19:26FarmerEd[m]Are you collecting much data with sensors ludwa6: ?
19:26paul121[m]<mstenta[m]> "It sounds like the main problem..." <- yeah. and just having a place to add metadata (notes, due date, files, etc) about a project seems useful. before logs are even created
19:26paul121[m]gotta run for a bit! ttyl
19:27ludwa6[m]FarmerEd[m]: not any more. Had a big sensor test going pre-covid, but never got around to setting it up in farmOS, except for sensor, just to test.
19:28ludwa6[m]but i read your post about Ruuvi sensors w/ real interest, Farmer Ed
19:30ludwa6[m]Sounds like sensor tech has come a long way in last few years; could be near time to rekindle our old dream of a Smart Greenhouse
19:33FarmerEd[m]😁still early days with them, just bouncing ideas at the moment.
19:33FarmerEd[m]Not full decided on how much they'll be integrated with farmOS.
19:36FarmerEd[m]Sensors are definitely getting more accessible in general. I also have a small smart greenhouse project going on with some LoRa sensors built with Arduinos.
19:37FarmerEd[m]* 😁still early days with them, just bouncing ideas with postmanp at: at the moment.
19:37FarmerEd[m]Not fully decided on how much they'll be integrated with farmOS.
19:38ludwa6[m]> <@farmer-ed:matrix.org> 😁still early days with them, just bouncing ideas with postmanp at: at the moment.
19:38ludwa6[m]> Not fully decided on how much they'll be integrated with farmOS.
19:38ludwa6[m]good to know. On this one, i'll bide my time and stay off the bleeding edge for now -but will be following progress from the armchair. Thanks for the update, Farmer Ed !
19:38*eats
19:38ludwa6[m]gotta go assist w/ dinner, so -ciao for now!
19:39FarmerEd[m]👍

< 192022-12-20⋏21 >