| 08:52 | Ujeeee[m] | Hi all, how to get summary of my plant asset? I want to know qty (inventory) of my plants group by plant family |
| 12:16 | mstenta[m] | Ujeeee: there might not be a way to get exactly what you want in the farmOS UI, but you can build a module to generate a report, or export data to a CSV and summarize outside of farmOS in the meantime, or use the API to get inventories |
| 14:42 | Ujeeee[m] | <mstenta[m]> "Ujeeee: there might not be a way..." <- is there reading material to make this module.? |
| 14:43 | symbioquine[m] | farmos.org/development/module/ |
| 14:44 | symbioquine[m] | Then also possibly: www.drupal.org/docs/user_guide/en/views- |
| 14:45 | symbioquine[m] | Alternatively, if you want to go for the scripting route and you're self-hosting, one option is to install the [jupyterlite module](www.drupal.org/project/jupyterlite) and try out some of the examples in farmos.discourse.group/t/share-your-jupy |
| 14:54 | symbioquine[m] | Or, yet another approach, if you wanted to make a farmOS module that displays your report/table within farmOS but wanted to write it in Javascript/Vue, you could check out [my land drawing tool](github.com/symbioquine/farmOS_land_drawi) as a starting point. The map part of that might not be relevant, but it generates a table of assets and uses the API for getting data so that part could be very similar. |
| 15:15 | Ujeeee[m] | <symbioquine[m]> "farmos.org/development/..." <- thanks for your help |
| 15:20 | Ujeeee[m] | btw, in the "sensor" asset, can we subscribe to mqtt server? |
| 15:22 | FarmerEd[m] | Not directly, but I'd do it using Node-Red |
| 15:24 | Ujeeee[m] | FarmerEd[m]: oh, I see, is there a guide for this? does farmOS get the data from Node-Red then? |
| 15:26 | FarmerEd[m] | farmer-eds-shed.com/farmos-sensors-with- |
| 15:27 | FarmerEd[m] | I made this one a while back |
| 15:27 | FarmerEd[m] | Doesn't include mqtt but that's trivial to add. |
| 15:31 | FarmerEd[m] | Oops that was for V1, but V2 is similar, I can share a flow later when back at my computer. |
| 15:31 | Ujeeee[m] | <FarmerEd[m]> "farmer-eds-shed.com/..." <- thanks, it is even better because I am also using home assistant |
| 16:04 | mstenta[m] | farmOS dev call is now - all are welcome! [https](meet.jit.si/farmos-dev) |
| 16:04 | mstenta[m] | s/[//, s/](https// |
| 18:33 | mstenta[m] | symbioquine paul121 turns out we need Gatsby 5+ for both gatsby-remark-videos and gatsby-remark-copy-linked-files :-/ |
| 18:33 | mstenta[m] | on a scale of 1-5, how hard do you think updating gatsby will be? 😅 |
| 18:51 | paul121[m] | Ugh. And neither of those have an older version that might be compatible? I guess npm would have resolved it |
| 18:51 | paul121[m] | <mstenta[m]> "on a scale of 1-5, how hard do..." <- No idea! |
| 18:52 | mstenta[m] | I'm falling down a wormhole trying |
| 18:53 | mstenta[m] | Gatsby 5 needs React 18 which needs Material UI 5 which needs........................ |
| 18:53 | mstenta[m] | 😵💫 |
| 18:54 | * | is trying to understand how complicated this is: mui.com/material-ui/migration/migration- |
| 18:55 | mstenta[m] | when did we rebuild farmOS.org? how has this much changed already?? lol |
| 18:56 | mstenta[m] | maybe i'll just upload the mp4s to youtube 🤦 |
| 19:07 | mstenta[m] | bah. gatsby-material-ui-components requires gatsby 3 or 4, but not 5 🫠 github.com/hupe1980/gatsby-theme-materia |
| 19:08 | mstenta[m] | oy i think github.com/hupe1980/gatsby-theme-materia is no longer maintained |
| 19:15 | mstenta[m] | github.com/farmOS/farmOS.org/issues/78 |
| 19:25 | * | peko[m] has quit (Excess Flood) |
| 19:39 | paul121[m] | bummer :-( |
| 19:42 | paul121[m] | can't help but think about mkdocs... 😁 the fact that it's designed to do one thing, it would likely be easier to maintain? |
| 19:42 | mstenta[m] | i did love mkdocs :-) |
| 19:42 | paul121[m] | less customizable, but if we could get our multi-repo structure working that'd be cool |
| 19:43 | mstenta[m] | yea that's the main thing - the new multi-repo aggregation stuff is 💯 |
| 19:43 | mstenta[m] | this may just be an issue of finding a new (maintained) gatsby theme, though? |
| 19:44 | mstenta[m] | to be fair, we had to jump through some hoops to have the material theme in mkdocs too, iirc |
| 19:45 | paul121[m] | ;-) github.com/jdoiro3/mkdocs-multirepo-plug |
| 19:47 | mstenta[m] | Ha! |
| 19:48 | paul121[m] | mstenta[m]: is this the material theme? or did we only have material for a brief time? v1.farmos.org/ |
| 20:16 | mstenta[m] | yes that's material i think? |
| 20:17 | mstenta[m] | oh wait maybe not... maybe that's just bootstrap theme |
| 20:17 | mstenta[m] | maybe it was bootstrap we had to jump through hoops for - i forget now |