< 082019-05-09⋎10 >

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
02:32*JustTB has quit (Ping timeout: 248 seconds)
02:46*JustTB has joined
03:51*JustTB has quit (Quit: Leaving.)
04:02*JustTB has joined
09:03*JustTB has quit (Quit: Leaving.)
09:27*JustTB has joined
12:13*karna[m] has joined
12:17karna[m]Hey everyone, I'm working on an aquaponics project, where we're looking to push sensor (temp, humidity, lux, pH) data to farmOS, which we'll possibly be hosting our own implementation of. Our aquaponics unit will be in a public space. Initially we are concerned with integrating with farmOS to help us in troubleshooting when things go wrong, but eventually the public may be able to interact with this
12:18karna[m]Just wanted thoughts on best thing to use for time-series graphing of data. Sensors will be pushing data to farmOS using a listener
12:31MockingbirdConsuAt the moment, all sensor data is stored one row per measurement in a table for sensor data. We're hoping to work out a better way of doing this for our IoT sensors, but for now we're sending data to both FarmOS (so it can be graphed in the UI) and either InfluxDB or Elasticsearch depending on the customer.
12:31MockingbirdConsuGraphing is done via Grafana.
12:31MockingbirdConsuWhich technology are you using to send the data back from the sensor to the platform?
13:09karna[m]ESP32 + RaspPi
13:09karna[m]What are InfluxDB/Elasticsearch used for?
13:12MockingbirdConsuMetrics storage, but they're designed for it unlike MySQL which is fine for low-volume ( < 10 metrics/5 minutes ) sensors, but as soon as you start to hit a couple of hundred (or even thousand!) metrics points/minute it tends to get unhappy about the number of writes you're doing.
13:12MockingbirdConsuwww.influxdata.com/ and elastic.co are the respective websites
13:13MockingbirdConsuWe're partners for Elastic, and working on getting Influx Partner status, so I'm more than happy to talk about either of them :)
13:19karna[m]Nice one, I'll check them out :) need to check with my team how frequently we intend to be posting sensor data to work out whether a MySQL solution is sufficient for now or not. It's very much a proof of concept piece of work atm so it's just the one unit we're getting data from
13:23MockingbirdConsuNo worries. Also, depending on where the public space is and how far away you are from the access point, it might be worth considering LoRaWAN - it'll cost you about £300GBP to buy a gateway, and then you buy the sensors like www.nke-watteco.com/product/lora-tempera or build your own using arduino-style devices, but it's got a range of up to 1km in buildings, 3km in urban areas, and 20km
13:23MockingbirdConsuin rural environments
13:23MockingbirdConsu(it's entirely possible that it's also complete overkill for your use case ;) )
13:27MockingbirdConsuFWIW, I just created www.drupal.org/project/farm/issues/30536 to look at the way we deal with metrics in FarmOS, but as I don't really know PHP I'd appreciate some help!
15:06ludwa6G’day room. Nice surprise in my inbox this morning, from @jgaehring -thanks for the invite to test farmOS Field Kit, mate (and thanks @mstenta for the quick response to my request in last nite’s Google Hangout). Installed the app on my iPhone, entered a new log entry, clicked to sync… And it appears via web interface to my account at Farmier, so that’s a fair bit of coolness right there. Lovin’ it! :-)
15:07mstenta[m]> so that’s a fair bit of coolness right there. Lovin’ it! :-)
15:07mstenta[m]YES!
15:07mstenta[m]all credit goes to jgaehring and @alexasbeet for that coolness ;-)
15:08mstenta[m]they made it happen!
15:08jgaehring[m]ludwa6: that's great, glad you're finding it useful!
15:10ludwa6Yep, that’s an important bit of utilty right there: to capture & sync log entries in field. Usability could be improved, but of course -it’s early days. Have you got a list of function points or features you’d like feedback on?
15:20mstenta[m]ludwa6: if you're interested, take a look through some of the issues in Github: github.com/farmOS/farmOS-client/issues
15:20mstenta[m]I think jgaehring
15:21mstenta[m].. is hoping to "feature freeze" (meaning no new features) until some of the behind-the-scenes things are stabilized
15:21mstenta[m]and a v1.0.0 is released, and made officially available on app stores (not in beta/test-flight)
15:22mstenta[m]But feel free to add ideas to the issue queue, for after that's done
15:22ludwa6yeah -my early (i.e. 1st 10 min :-) impression is: refinement is needed, before you add features.
15:22mstenta[m]There's always lots to do! :-)
15:22mstenta[m]And ideas are always welcome
15:23mstenta[m]No gaurantees that they'll happen, but that's the nature of open source dev... :-)
15:23mstenta[m]Working with limited time and resources
15:23ludwa6ok, so: about this issue tracker at GitHub: is this just for the Field Kit? iOS and Android versions both?
15:23mstenta[m]Yup - all of those
15:24mstenta[m]farmOS-client is a JavaScript app, which we wrap into a native app (for Android/iOS) using Cordova
15:24mstenta[m]called "farmOS Field Kit"
15:25mstenta[m]In the future... I'd like to see farmOS-client become the default offline-first UI for farmOS in general, though... and what we have now becomes more of the "advanced" UI for data management, searching, etc
15:25mstenta[m]So it serves both short-term and long-term goals right now
15:28ludwa6OK. I’m struggling a bit right now to know how to use this thing; it’s not perfectly intuitive. Like, first off: it default names the log entry (an observation or an activity) the current date/time...
15:29ludwa6… Which is good default logic, i guess… But the two log entries i have just created where (1) a retroactive observation from yesterday; and (2) a planned activity for tomorrow.
15:30mstenta[m]Yea, it's just default logic. You can edit the default name.
15:30mstenta[m]Open to alternative ideas
15:31ludwa6Yes, but… Since the first field is freeform text, and the 2nd field is a structured date entry widget, i guessed that i should stick to the default for log entry name, and use the structured widget for either retroactive entry or planned entry, as the case may be.
15:31mstenta[m]farmOS has similar default log name logic... the difference is that when you open a new log form, the name field is blank. And it gets an automatic name only if you leave it blank.
15:32mstenta[m]So maybe the field kit log form should work similary
15:32ludwa6It makes as much sense as anything, mstenta, and so i’m gonna stick with that default, is my inclination.
15:33ludwa6But there’s a qualitative difference between log entries and planned activities, IMHO. That is not reflected in the mobile app, tho the drupal interface has the “Done” button at bottom to let you know the status.
15:38mstenta[m]In the mobile app, there is a "Done" toggle at the top of the log edit form
15:38mstenta[m]And icons in the "My Logs" list
15:38ludwa6Now i see that there is a “Done” button in the mobile app… But i’m not clear if that means the planned activity is done, or just the entry in the form field.
15:38ludwa6See what i mean?
15:39mstenta[m]Maybe this would clarify?
15:39mstenta[m]farmos.org/guide/logs/#planning-ahead
15:40mstenta[m]In the database, there is no difference between a planned event and a completed event, apart from the date and "done" status
15:40ludwa6thanks, i’ve read that mstenta, but it does not clarify the confusion in mobile app UI
15:40mstenta[m]Maybe we need to make that more clear?
15:40ludwa6It seems in this iOS app that, to get an entry in a form field to update, i have to click “Done”
15:41ludwa6But then i see that it shows up in the web app as a finished activity, when really it’s a planned activity.
15:42ludwa6This feels to me like a significant usability issue in the mobile app.
15:42mstenta[m]> It seems in this iOS app that, to get an entry in a form field to update, i have to click “Done”
15:42mstenta[m]Not sure I know what you mean by this...
15:43mstenta[m]Specifically: "to get an entry in a form field to update"
15:43mstenta[m]Do you mean on the server? Or just saving changes locally in the app?
15:43ludwa6have you got an iOS device to see what i mean in the UI, mstenta?
15:43mstenta[m]No, I have Android (but should be identical, unless there's a bug)
15:44ludwa6OK. I just created an activity, which is: grafting 100 trees in my carob orchard this coming Saturday.
15:44mstenta[m]You should be able to make changes to any field in the log form, and click the back arrow to get back to "My logs", then click that log again and the changes are still there... is that not working for you?
15:45*testing...
15:46ludwa6I got two versions now, both of which report “error in syncing”
15:47ludwa6yet they both appear in the web interface, so evidently they did sync.
15:50mstenta[m]huh
15:50mstenta[m]time to file a bug report :-)
15:50ludwa6now i just tried to create a new log event, and even that blank entry (which has “Done” selected by default) says at the top in a purple band “406 erro whuile syncing “5/9/2019 - 4:34:39 PM”: Not Acceptable””
15:52ludwa6If you say so -i’ll try to recreate and document.
15:53ludwa6huh - i see an issue somebody else filed that sounds similar, only it involves a photo: CFWHISPERER commented 10 days ago
15:53ludwa6We are testing out the photo upload from the farmOS mobile app, trying to add a planting, taking a photo from the phone, then trying to sync we get this error..."406 error syncing 4/29/2019 - 8:41:27 AM 406 Not Acceptable Unknown data property equipment"
15:54ludwa6This reminds me of another issue: This app appears to have no connection to Areas… So do i presume correctly that it relies on the GPS co-ordinates (presuming that you are making entry in-sitiu) to localize it to a particular area?
15:56mstenta[m]ludwa6: thanks yea add your details to github... i need to run in a minute...
15:56mstenta[m]re: areas - you can select from a list of areas
15:56mstenta[m]or, it can also attempt to figure out what area you're in based on GPS
15:57ludwa6ok -will keep trying on it.
15:57mstenta[m]although that really varies based on how accurate your phone's GPS is
15:57mstenta[m]most phones are not very accurate
16:34karna[m]Mockingbird Consulting: have access to a LoRaWAN gateway already :) we've modified the ESP32 to include a LoRa chip so we might well make use of this
16:48MockingbirdConsu<karna[m] "Mockingbird Consulting: have acc"> Cool, well, if you want a data store, as long as you're happy for the data to be public I'd be happy to host the proof of concept on shared.ourdata.network as well as you sending it to your farmos installation?
17:09*ludwa6 has quit (Quit: ludwa6)
17:16karna[m]Mockingbird Consulting: that could work. I'll hopefully chat with my team soon and see what they reckon. there seems to be a preference for the project to use Wi-Fi rather than LoRaWAN. I need to get clear on why that is
17:36MockingbirdConsu<karna[m] "Mockingbird Consulting: that cou"> Sure, no worries, let me know. Either way, I can give you a script that should get the data into FarmOS and InfluxDB (which is what we use on the backend of that grafana installation) at the same time :)
17:45karna[m]Nice one. Checking out an Andreas Speiss vid on use of InfluxDB and Grafana right now. Looks like 'The Business' :)
23:18*JustTB1 has joined
23:18*JustTB has quit (Quit: Leaving.)

< 082019-05-09⋏10 >