5:38 am

February 18, 2014

Hello,
I've just installed the thingspeak iobridge from GitHub (https://github.com/other/thingspeak)
The "results" option doesn't appear in menu and doesn't work with HTTP POST (ie) :
http://127.0.0.1:3000/channels/1/charts/1?results=30&dynamic=true
The database log take into account the HTTP POST but seems to not compute the "result" option (?) :
started GET "/channels/1/charts/1?results=10&dynamic=true" for 127.0.0.1 at 2014-02-18 11:36:11 +0100
Processing by ChartsController#show as HTML
Parameters: {"results"=>"10", "dynamic"=>"true", "channel_id"=>"1", "id"=>"1"}
User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
Rendered charts/show.html.erb (0.3ms)
Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms)
Many thanks
12:32 pm

Admin
March 14, 2011

Hi Fred,
I just tested this out on my end and everything works as expected:
SELECT created_at, entry_id, field1 FROM `feeds` WHERE `feeds`.`channel_id` = 1 AND (`feeds`.`created_at` BETWEEN '2010-01-01 05:00:00' AND '2014-02-18 17:27:52') ORDER BY created_at desc LIMIT 30
Can you try the following:
update your repository: `git pull origin master`
restart your server (control-c, `rails server`)
try opening the charts page again
lee
Most Users Ever Online: 166
Currently Online:
29 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormierModerators: cstapels: 460
Administrators: Hans: 405, lee: 457