< 272020-05-28⋎29 >

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:28*younes__auto[m] has quit (Ping timeout: 246 seconds)
00:28*samrose[m] has quit (Ping timeout: 246 seconds)
00:28*symbioquine[m] has quit (Ping timeout: 246 seconds)
00:28*zedrckr[m] has quit (Ping timeout: 246 seconds)
00:28*mindcls has quit (Ping timeout: 246 seconds)
00:30*younes__auto[m] has joined
00:31*symbioquine[m] has joined
00:31*samrose[m] has joined
00:32*zedrckr[m] has joined
00:36*mindcls has joined
09:15*JustTB has quit (Quit: Leaving.)
10:15*JustTB has joined
17:28paul121[m]canadrian: cool!!
17:29paul121[m]the sensor listener data gets saved in a separate DB table, so its not actually saved as farmOS logs
17:29*canadrian[m] has joined
17:29canadrian[m]Howdy! I'm just testing a sensor listener with IFTTT, and I was wondering: how can I delete the test sensor data once I'm happy with how it works? There don't seem to be log entries or something to delete.
17:29paul121[m]if you are self-hosting you could go into the db and manually delete those entries
17:30paul121[m]but what I've done for my testing is just delete that sensor asset, and create a new one
17:30paul121[m](I usually name that first sensor `testing sensor`)
17:31paul121[m]I'm not sure if the sensor's data is deleted when you delete a farmOS sensor `asset` - mstenta might know?
17:31canadrian[m]And yeah... I should be testing on a testing site, but.... 🙂
17:32paul121[m]haha well this is a low-risk test :D
17:33paul121[m]I'm curious - does IFTTT have a tool for sending HTTP POSTs ? And you can configure the body, params, etc?
17:35canadrian[m]Yeah they have a "Webhook" thing (formerly called "Maker") that can be a trigger or an action. Basically I don't have any weather sensors (I'm just using FarmOS for my home garden) but I want to log daily weather information. So I'm going to build a recipe with Weather Underground as a trigger, sending the daily weather info as a Webhook action to my sensor listener.
17:36canadrian[m]Daily high, low, precipitation, etc.
17:38skipper_is[m]Ah that's cool! I've got a python script doing cumulative counts on my server with data from my weather station and posting that to FarmOS
17:42paul121[m]very cool! connecting that with Weather Underground makes it easy!
17:42paul121[m]skipper_is: you're posting that to a farmOS sensor?
17:44paul121[m]the next step would be auto-creating Observation Logs... probably not for hourly data, but weekly rainfall totals? that would be kinda interesting
17:45paul121[m]I guess you could have the farmOS server parse the sensor data to create those on a regular interval. hmm... 🤔
17:47canadrian[m]I used to do a lot of Drupal site building, but it's been a while. But I seem to recall there was a Views module that could present data as a spreadsheet with calculations, so you could make a View that includes numerical data (like sensor readings) and have it summed for a column. There's actually a lot of stuff I could see doing with Views and FarmOS, but I'm a bit worried how sensitive it is to such stuff without
17:47canadrian[m]breaking.
17:49paul121[m]oh thats interesting
17:50paul121[m]this views module would auto-populate a spreadsheet in JS?
17:50paul121[m]the graphing of sensor data is very basic right now - it just loads the last 100 values
17:50canadrian[m]Yeah if I'm remembering correctly
17:51paul121[m]we need a views "module" "plugin" or "display type" (I forget the right term?) that graphs such data
17:51paul121[m]and could have some configurable options
17:55canadrian[m]Well the Sensor asset already graphs readings. Do you mean you want to be able to sum up totals, and then graph the totals?
17:56paul121[m]it does graph readings, but it only shows the past 100 values
17:57paul121[m]it seems like a View would make it easy to add filters (date range, only certain values, etc) "out of the box"
18:04canadrian[m]The module I'm thinking of is called Views Calc
18:13canadrian[m]The Computed Field module might also be useful
18:15canadrian[m]Views Aggregator looks good too
18:15canadrian[m]But now that I think of it, all this is moot if those sensor readings aren't stored as nodes
18:15paul121[m]ahhh computed field is interesting
18:17paul121[m]this is what I looked at for graphing: www.drupal.org/project/charts
18:18paul121[m]but the D7 module isn't too great. D8 supports more graphing libs & has more configuration options
18:20paul121[m]oh you think so? The table that is rendered with Sensor data right now is configured with Views (only the graphs are separate)
18:20paul121[m]so however the sensor data is stored, seems to be semi-compatible with views!
18:22canadrian[m]Oh, ok. Like I said, it's been a long time since I did much Drupal work. I mostly used Drupal 6 as well.
18:24paul121[m]Haha I'm on the opposite end - I've only been learning Drupal over the past year
18:25paul121[m]maybe you get back into it with farmOS!
18:25paul121[m] * maybe you can get back into it with farmOS!
19:11canadrian[m]I was banging my head against this IFTTT webhook, but I think I just realized something... does the sensor listener only accept numerical data? Like does it choke on a value like "Cloudy"?
19:35*calbasi has quit (Quit: Leaving)
19:41paul121[m]mmmm it might
19:43*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
19:44paul121[m]so your request probably isn't failing - the data just isn't showing up. that could be confusing!
22:39canadrian[m]Sadly I can only get high temp, low temp, humidity and UV index from that IFTTT recipe. It's a start. So now I'm trying to figure out how - as a basically non-programmer - I subscribe to the 24h rainfall totals from Edmonton's Open Data portal: dev.socrata.com/foundry/data.edmonton.ca
22:42*stefanie[m] has joined
22:42canadrian[m]I suspect Open Pipe Kit may be the answer, but it's going to take some learning.

< 272020-05-28⋏29 >