| 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:28 | paul121[m] | canadrian: cool!! |
| 17:29 | paul121[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:29 | canadrian[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:29 | paul121[m] | if you are self-hosting you could go into the db and manually delete those entries |
| 17:30 | paul121[m] | but what I've done for my testing is just delete that sensor asset, and create a new one |
| 17:30 | paul121[m] | (I usually name that first sensor `testing sensor`) |
| 17:31 | paul121[m] | I'm not sure if the sensor's data is deleted when you delete a farmOS sensor `asset` - mstenta might know? |
| 17:31 | canadrian[m] | And yeah... I should be testing on a testing site, but.... 🙂 |
| 17:32 | paul121[m] | haha well this is a low-risk test :D |
| 17:33 | paul121[m] | I'm curious - does IFTTT have a tool for sending HTTP POSTs ? And you can configure the body, params, etc? |
| 17:35 | canadrian[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:36 | canadrian[m] | Daily high, low, precipitation, etc. |
| 17:38 | skipper_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:42 | paul121[m] | very cool! connecting that with Weather Underground makes it easy! |
| 17:42 | paul121[m] | skipper_is: you're posting that to a farmOS sensor? |
| 17:44 | paul121[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:45 | paul121[m] | I guess you could have the farmOS server parse the sensor data to create those on a regular interval. hmm... 🤔 |
| 17:47 | canadrian[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:47 | canadrian[m] | breaking. |
| 17:49 | paul121[m] | oh thats interesting |
| 17:50 | paul121[m] | this views module would auto-populate a spreadsheet in JS? |
| 17:50 | paul121[m] | the graphing of sensor data is very basic right now - it just loads the last 100 values |
| 17:50 | canadrian[m] | Yeah if I'm remembering correctly |
| 17:51 | paul121[m] | we need a views "module" "plugin" or "display type" (I forget the right term?) that graphs such data |
| 17:51 | paul121[m] | and could have some configurable options |
| 17:55 | canadrian[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:56 | paul121[m] | it does graph readings, but it only shows the past 100 values |
| 17:57 | paul121[m] | it seems like a View would make it easy to add filters (date range, only certain values, etc) "out of the box" |
| 18:04 | canadrian[m] | The module I'm thinking of is called Views Calc |
| 18:13 | canadrian[m] | The Computed Field module might also be useful |
| 18:15 | canadrian[m] | Views Aggregator looks good too |
| 18:15 | canadrian[m] | But now that I think of it, all this is moot if those sensor readings aren't stored as nodes |
| 18:15 | paul121[m] | ahhh computed field is interesting |
| 18:17 | paul121[m] | this is what I looked at for graphing: www.drupal.org/project/charts |
| 18:18 | paul121[m] | but the D7 module isn't too great. D8 supports more graphing libs & has more configuration options |
| 18:20 | paul121[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:20 | paul121[m] | so however the sensor data is stored, seems to be semi-compatible with views! |
| 18:22 | canadrian[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:24 | paul121[m] | Haha I'm on the opposite end - I've only been learning Drupal over the past year |
| 18:25 | paul121[m] | maybe you get back into it with farmOS! |
| 18:25 | paul121[m] | * maybe you can get back into it with farmOS! |
| 19:11 | canadrian[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:41 | paul121[m] | mmmm it might |
| 19:43 | * | sent a long message: < matrix.org/_matrix/media/r0/download/mat > |
| 19:44 | paul121[m] | so your request probably isn't failing - the data just isn't showing up. that could be confusing! |
| 22:39 | canadrian[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:42 | canadrian[m] | I suspect Open Pipe Kit may be the answer, but it's going to take some learning. |