< 172019-11-18⋎19 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
00:27*JustTB has quit (Ping timeout: 252 seconds)
00:34*JustTB has joined
04:08*FijiDave has quit (Remote host closed the connection)
04:10*FijiDave has joined
04:40*JustTB has quit (Quit: Leaving.)
04:45*lupine has quit (Ping timeout: 245 seconds)
05:06*lupine has joined
09:05*JustTB has joined
09:12ludwa6jgaehring: yes - v-0.4.9 brings the MapBox functionality that was missing in previous version… And i guess i will need that to geolocate Observations in the field (using Movement function), until Observations and photos are automatically geolocated -which should be coming in the next version, yes? :-)
09:15*JustTB has quit (Quit: Leaving.)
09:54*JustTB has joined
14:55ludwa6Hello, room: if there is anyone here using mobile FieldKit app for posting Observations data to farmOS, i would like to know if it’s working for you, and if so how. I’m experiencing some issues with it, and would like to compare notes w/ another user, to know if it is just me or not.
14:55jgaehring[m]ludwa6: I don't think we'll be making geolocation automatic for all observations, but it should be pretty simple to manually add geolocation for any log, and with the next version the accuracy should be much improved
14:56ludwa6jgaehring: good to hear, thanks.
14:56ludwa6But i wonder: if one has location enabled on one’s iPhone or droid, and photos are geocoded by default...
14:58ludwa6… Wouldn’t it be nice if one could just hit the + button in FieldKit, then just shoot a photo, that is both geocoded and date/timestamped by default? Would be dead-easy from enduser perspective, but from dev perspective… whaddya think?
14:58mstenta[m]That would be pretty cool if Field Kit could read the EXIF data from the image and auto-fill the location based on it.
14:59ludwa6Yes -but can it not ready EXIF data?
14:59mstenta[m]I wonder if that's possible with JavaScript - I think that's basically what would be required though (of course, there are still then the considerations about what the best UX around that feature would be)
15:00mstenta[m]stackoverflow.com/questions/5784459/java
15:00mstenta[m]> Yes -but can it not ready EXIF data?
15:00mstenta[m]The real question is: can JavaScript read EXIF?
15:00ludwa6For me, the simpler the UI, the better; just a big + button, then another big button on the log entry form, asking if i want to add a photo -right at the top of form.
15:00mstenta[m]Field Kit is a bit different than other "native apps"
15:01mstenta[m]It isn't written using Android/iOS SDKs (software development kits)
15:01mstenta[m]Which have more capabilities with regard to reading filesystem etc
15:02mstenta[m]Field Kit is 100% JavaScript
15:02ludwa6Ah. maybe that is why it’s slow. I find it takes time for the form to fully load, and to scroll thru.
15:02mstenta[m]But based on that SO thread... it does sound like it's possible... just not in older browsers
15:03mstenta[m]Hmm really? I've always had a very fast/snappy experience with it
15:03mstenta[m](not including the times when data is being sent/received from the server)
15:04mstenta[m]Do you experience different speeds in the iOS app vs farmOS.app?
15:04ludwa6Not me, not so much. Not on this iPhone 7, w/ latest iOS, out in the field. will have to check if it’s the network (test WiFi vs 3g)
15:05ludwa6farmos.app is… i gave that a little try out in the field, but didn’t see any advantage to it, vs using either FieldKit or my farmos.net site in browser.
15:06mstenta[m]but loading the log edit form should be instant... no network requests involved in that
15:07ludwa6just did it here at my desk, it was instant. but out in field, i have had to wait while trying to scroll down to location and photo features.
15:07ludwa6and the scrolling is not easy with cold and/or muddy fingers!
15:08mstenta[m]oh weird - yea i wonder if it's more of a touch screen issue than a code issue then
15:08ludwa6which reminds me of another issue i have with FieldKit: i would really prefer that the sort order of log be rev-chrono (like in farmOS) instead of forward chrono.
15:09ludwa6means i’m looking at ancient history by default, having to scroll as a rule to bottom of screen, before i can see the most current entries.
15:14mstenta[m]ah yea that's on my wishlist too :-)
15:15mstenta[m]i'll create an issue for it so we don't forget
15:15ludwa6great thanks
15:18mstenta[m]github.com/farmOS/farmOS-client/issues/2
15:21ludwa6meanwhile, my FieldKit workflow for recording Observations (not editing; it is too slow, i wait until back at my desk to do that) is: click the plus button, enter a name if i can (else accept default date-timestamp name), scroll to bottom of form to hit the photo button, then geolocate using the movement tab, even tho it’s usually not an asset movement (which doesn’t tend to work anyway, because the lookup of assets doesn’t seem to
15:21ludwa6work).
15:23mstenta[m]> then geolocate using the movement tab
15:23mstenta[m]i'd recommend waiting for the geolocate feature on the main edit tab
15:24mstenta[m]the movement geodata should only be used if you are moving assets
15:24mstenta[m]they are two separate fields on logs... so if you use the movement tab, it won't go to the right place in farmOS
15:26ludwa6So you are saying: there’s no good way to geolocate now? i mean: no way to do it without screwing up one’s records?
15:27mstenta[m]This is the only way to do it:
15:27*uploaded an image: Screenshot from 2019-11-18 10-27-00.png (35KB) < matrix.org/_matrix/media/r0/download/mat >
15:27ludwa6I’m not clear what is the nature of the forthcoming geolocation feature, and when to expect it… But absent geolocation feature, FieldKit is a non-starter for my field ops.
15:28mstenta[m]The "Add my GPS location to the log" is what is *supposed* to do it anyway...
15:28mstenta[m]And it does work sometimes
15:28mstenta[m]Ok I can explain:
15:28ludwa6I’ve tried using it in different sites on the farm, and it always adds the same precise point location.
15:28ludwa6or else i wind up watching a spinner that never stops.
15:29mstenta[m]We already have a button to add geolocation (pictured above)... but there were two issues we've experienced with it:
15:29mstenta[m]1) sometimes it doesn't work at all
15:29mstenta[m]2) other times the accuracy is bad
15:29mstenta[m]jgaehring: found that the code we are using for it has an optional setting to "enable high accuracy" - which was not enabled
15:30mstenta[m]so that's the change he made
15:30mstenta[m]which might help with 2... but i'm not sure if it will help with 1
15:30mstenta[m]> I’ve tried using it in different sites on the farm, and it always adds the same precise point location.
15:30mstenta[m]Question: are you on wifi?
15:30ludwa6ATM, yes.
15:31mstenta[m]The location will be taken from the devices GPS -OR- from the IP address of your wifi connection
15:31mstenta[m]It could be that it's using the IP addess point... which would not change as you walk around
15:31ludwa6ohh! i wonder if it was remembering my IP; that could explain it.
15:32mstenta[m]I'm not familiar with all the code involved in geolocation in Field Kit... but i have a pretty good understanding of the basic capabilities of GPS/Wifi Geolocation in Javascript... so i'm just speaking from that knowledge
15:33mstenta[m]to test... you could try disabling the wifi on your phone, which would force it to use your GPS
15:33ludwa6ok, i will try that next time i go outside.
15:33mstenta[m]i think
15:33mstenta[m]that might tell you if that's the problem or not
15:34mstenta[m]also: i DON'T know if Field Kit specifically is set up to listen for changes in location while you're walking around or not...
15:34mstenta[m]I know the map can do that (separate code)
15:34mstenta[m]so it might lock in the location that it receives first, and then doesn't update
15:35ludwa6that’s what it seems like it’s doing to me.
15:35mstenta[m]we should create an issue for that
15:36ludwa6not sure i understand the issue well enough to write it up correctly -but i could try if you want :-)
15:37mstenta[m]github.com/farmOS/farmOS-client/issues/2
15:37ludwa6perfect
15:37ludwa6One other thing i need to solve is: how can i enable easy “viewer” access in FarmOS for unregistered users?
15:38jgaehring[m]> which might help with 2... but i'm not sure if it will help with 1
15:38jgaehring[m]for #1 (sometimes it doesn't work at all) I've added a timeout, so it should just fail gracefully, rather than keep spinning ad infinitum, so that you can try again
15:38mstenta[m]there isn't a way to open a farmOS instance up to the general public (yet) - but you can create a single user login with the "Farm Viewer" role if you want
15:38mstenta[m]eg: "Guest"
15:39mstenta[m]jgaehring: oh excellent! i remember you mentioning that now
15:39ludwa6right -got that- but then: how can i modify the default welcome screen to hold the codes?
15:39ludwa6in my vdl.farmos.net instance
15:39jgaehring[m]> It could be that it's using the IP addess point... which would not change as you walk around
15:39jgaehring[m]that's very possible... I'll have to look into it
15:40mstenta[m]ludwa6: no way to do that unfortunarely
15:40mstenta[m]not on farmier hosting anyway
15:40mstenta[m]if you have another website for the farm, you could post a link there, with the login credentials
15:40ludwa6so: i have to send guest access codes via side-channel. hm, this is awkward.
15:42ludwa6if i could point user to a page on our website, configured to look just like the default farmier login, only with the codes… I guess that’s what i must do.
15:42mstenta[m]yea sorry - unless you want to self-host and create a custom module that alters the login page
15:43*very happy w/ Farmier hosting :-)
15:43mstenta[m]i'm glad! :-)
15:48ludwa6mstenta: there’s another thing i must ask about, in order to. get this thing into production on our farm -that is the data import feature.
15:49ludwa6I see that most log types have an import affordance, described thusly: Import CSV files with one or more of these columns: Done, Date, Log name, Asset IDs, Asset names, Areas, Notes, Categories, Quantity measure, Quantity value, Quantity unit, Quantity label, Lot number.
15:50ludwa6So are these columens ALL optional? in other words, could be all optional, so long as each line of the CSV contains one of those items populated?
15:51ludwa6sorry: those fields are from the Log:Harvest import form.
15:54mstenta[m]The date field is required for logs
15:54mstenta[m]but yes everything else is optional (if i remember correctly)
15:54mstenta[m]seedings and transplantings also require a planting asset
15:54mstenta[m]farmos.org/guide/import/
15:55mstenta[m](we need to better document "required" fields... some specific log types have some extra required fields that others don't... but for the most part the general types (activities, harvests, inputs, observations) only require a date)
15:56ludwa6good -thanks
19:25*FijiDave_ has joined
19:25*FijiDave has quit (Ping timeout: 276 seconds)

< 172019-11-18⋏19 >