< 302022-03-31⋎01 >

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
14:58TheSlurpee[m]mstenta: does log entity work with Feeds? Example, I want to import a fair amount of log data.
14:59mstenta[m]i haven't tried it myself in Drupal 9, but it worked in Drupal 7
15:00mstenta[m]Feeds is what we used for the CSV importers in farmOS v1
15:00mstenta[m]not (yet) ported to v2
15:00mstenta[m]farmos.discourse.group/t/csv-importers-i
15:00mstenta[m]Some have been experimenting with alternatives using Python scripts that push to farmOS API
15:02*reads thread 942,,,
15:02* * reads thread 942...
15:03mstenta[m]Farmer Ed also wired up NodeRed to import CSVs for his needs
15:04TheSlurpee[m]Feeds in D9 works better than ever. I was looking into the new Storage entity module because Chart module suggests storing log data in it for charts in D9. Figured I would ask before I try same thing with the log entity.
15:07mstenta[m]Oh good to hear! I haven't had a chance to explore yet
15:08mstenta[m]Still deciding if farmOS core should implement core CSV importers, and if so, whether or not to pursue that with Feeds or Migrate API
15:08paul121[m]Storage entity is interesting www.drupal.org/project/storage 👀
15:10mstenta[m]TheSlurpee: have you seen this? www.drupal.org/project/feeds_migrate
15:12TheSlurpee[m]Feeds UI is simple enough these days that you can (probably) allow FarmOS users use the default module's UI/UX. I imagine a bit of custom FarmOS stuff can help a lil but, but not much is needed. Feeds finally just works as expected these days.
15:14TheSlurpee[m]Example, farmos will want to verify all the fields are exposed in the Feeds mapping section. That is the biggest piece. Allow user to create a Feed type. Create a Feed of CSV, tab, |, whatever. Then verify all the log entity field stuff is exposed to the Feeds mapping to clean up the CSV. Tamper module works great these days too for additional clean up.
15:14mstenta[m]Cool
15:15mstenta[m]Yea in v1 we had some custom logic to auto-generate Feeds importers for each asset and log type
15:15mstenta[m]Along with standard tamper plugins
15:15TheSlurpee[m]paul121: I'm starting to think there is a bit of overlap between log entity and storage entity accomplishing similar goals.
15:16TheSlurpee[m]paul121: Now I want to know what the Chart module people think about this log/storage topic :)
15:18TheSlurpee[m]The only reason I found the storage entity method of storing this type of log data, was finally finding a video that showed charts working properly in D9 with this method @ www.youtube.com/watch?v=DlMIYQ6VhLc&t=41
15:23paul121[m]Yeah, it actually reminds of our data stream data as well. The simple data stream stores simple timestamps + values in the SQL DB. I had started integrating this with Charts, was working well!
15:24paul121[m]But the latest version of the Charts module isn't super stable.. so we've been holding off
15:24paul121[m]Maybe we could chat more about this on the dev call in 30 min?

< 302022-03-31⋏01 >