< 182019-01-19⋎20 >

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
05:43*garciadc3[m] has joined
05:52*svenn has quit (Ping timeout: 250 seconds)
10:21*svenn has joined
16:22*chewymuc[m] has joined
16:23chewymuc[m]Hi there, i'm not sure wether I'm right here, but I've a question concerning FarmOS and sensor assets. Does anyone can help me?
16:30mstenta[m]Hi chewymuc what's your question?
16:30mstenta[m]I'm currently cleaning my chimney, but feel free to ask and I'll answer when I can. :-)
16:33chewymuc[m]When I try to add a asset of type Sensor I can't find it in the list of asset types on the type selection list.
16:35mstenta[m]Ah yeah you need to enable the sensor modules
16:35mstenta[m]Are you hosting farmOS yourself? Or on farmier?
16:35chewymuc[m]How
16:42chewymuc[m]Because I want to test it first my farm is on farmier.
16:43mstenta[m]Ok what's your url?
16:44chewymuc[m]chewysfarm.farmos.net/farmier
16:45mstenta[m]Ok refresh - you should see it in the assets menu now
16:48chewymuc[m]Wau, that's cool. Thank you very much. Now I've 19 days left for my test. Best regards from Bavaria
16:51mstenta[m]Awesome! :-)
16:55chewymuc[m]thx
17:33chewymuc[m]sorry, may I ask you hopefully one more question?
17:37mstenta[m]Ask anytime chewymuc
17:38chewymuc[m]thx
17:38chewymuc[m]sensor seems to run well. i can add sensor data and I can receive them via my browser.
17:40chewymuc[m]I try to get all values greater or equal to timestamp by "...&start=1547917069". I allways get one json data entry
17:41chewymuc[m]I'm expecting more than one item in the list
17:42mstenta[m]farmos.org/guide/assets/sensors/
17:42mstenta[m]Add `limit=X` to specify how many data points you want to return
17:42mstenta[m]It defaults to 1
17:43mstenta[m]The API doesn't allow getting "all" data points, but you can use that to page through results
17:43mstenta[m]Also the `offset` parameter
17:45chewymuc[m]Wau, that helps. Thank you very much.aybe it would be a good idea to mention the default values or simply add a more complex example too.
17:46mstenta[m]In the docs it does say "Only the most recent data point will be returned, unless additional query parameters are provided for limiting/filtering the data."
17:46mstenta[m]But maybe that could be made more prominent
17:47mstenta[m]Here's the markdown file that creates that page if you're interested in working on it: github.com/farmOS/farmOS.org/blob/7.x-1.
17:48chewymuc[m]Great, thank you. Nice evening!
19:05*svenn has quit (Ping timeout: 246 seconds)
19:17*svenn has joined

< 182019-01-19⋏20 >