{"action":"created","issue":{"url":"https://api.github.com/repos/dragino/dragino2/issues/3","labels_url":"https://api.github.com/repos/dragino/dragino2/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dragino/dragino2/issues/3/comments","events_url":"https://api.github.com/repos/dragino/dragino2/issues/3/events","html_url":"https://github.com/dragino/dragino2/issues/3","id":78903412,"number":3,"title":"RF Gateway error","user":{"login":"tpimh","id":1071872,"avatar_url":"https://avatars.githubusercontent.com/u/1071872?v=3","gravatar_id":"","url":"https://api.github.com/users/tpimh","html_url":"https://github.com/tpimh","followers_url":"https://api.github.com/users/tpimh/followers","following_url":"https://api.github.com/users/tpimh/following{/other_user}","gists_url":"https://api.github.com/users/tpimh/gists{/gist_id}","starred_url":"https://api.github.com/users/tpimh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpimh/subscriptions","organizations_url":"https://api.github.com/users/tpimh/orgs","repos_url":"https://api.github.com/users/tpimh/repos","events_url":"https://api.github.com/users/tpimh/events{/privacy}","received_events_url":"https://api.github.com/users/tpimh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T09:08:57Z","updated_at":"2015-06-10T21:30:52Z","closed_at":null,"body":"When I go to \"RF Gateway\" tab in web interface, I get this:\r\n```\r\n/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute cbi dispatcher target for entry '/admin/sensor/rfgateway'.\r\nThe called action terminated with an exception:\r\n/usr/lib/lua/luci/cbi.lua:75: Model 'admin_sensor/rfgateway' not found!\r\nstack traceback:\r\n\t[C]: in function 'assert'\r\n\t/usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'\r\n\t/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>\r\n```"},"comment":{"url":"https://api.github.com/repos/dragino/dragino2/issues/comments/110920824","html_url":"https://github.com/dragino/dragino2/issues/3#issuecomment-110920824","issue_url":"https://api.github.com/repos/dragino/dragino2/issues/3","id":110920824,"user":{"login":"Goran58","id":6393885,"avatar_url":"https://avatars.githubusercontent.com/u/6393885?v=3","gravatar_id":"","url":"https://api.github.com/users/Goran58","html_url":"https://github.com/Goran58","followers_url":"https://api.github.com/users/Goran58/followers","following_url":"https://api.github.com/users/Goran58/following{/other_user}","gists_url":"https://api.github.com/users/Goran58/gists{/gist_id}","starred_url":"https://api.github.com/users/Goran58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Goran58/subscriptions","organizations_url":"https://api.github.com/users/Goran58/orgs","repos_url":"https://api.github.com/users/Goran58/repos","events_url":"https://api.github.com/users/Goran58/events{/privacy}","received_events_url":"https://api.github.com/users/Goran58/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T21:30:51Z","updated_at":"2015-06-10T21:30:51Z","body":"I have the same issue. The file rfgateway.lua is missing in directory  /usr/lib/lua/luci/model/cbi/admin_sensor.\r\nThe file should have following content:\r\n \r\n--[[\r\nLuCI - Lua Configuration Interface\r\n\r\nCopyright 2008 Steven Barth <steven@midlink.org>\r\nCopyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>\r\n\r\nCopyright 2013 Edwin Chen <edwin@dragino.com>\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n        http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n$Id: rfgateway.lua 5948 2010-03-27 14:54:06Z jow $\r\n]]--\r\n\r\nlocal uci = luci.model.uci.cursor()\r\n\r\nm = Map(\"rfgateway\", translate(\"RF Radio Gateway settings\"), translate(\"Radio Se\r\n\r\ns = m:section(NamedSection, \"rfgateway\", \"rfgateway\", translate(\"RF Radio Gatewa\r\nlocal fre= s:option(ListValue, \"frequency\", translate(\"RF Frequency\"))\r\nfre:value(\"0\",\"315Mhz\")\r\nfre:value(\"1\",\"433Mhz\")\r\nfre:value(\"2\",\"868Mhz\")\r\nfre:value(\"3\",\"915Mhz\")\r\n\r\nlocal rf_module= s:option(ListValue, \"module\", translate(\"RF Module Type\"))\r\nrf_module.default=\"2\"\r\nrf_module:value(\"1\",\"RFM12B\")\r\nrf_module:value(\"2\",\"RFM69CW\")\r\n\r\nlocal rf_baud= s:option(Value, \"speed\", translate(\"RF Baud Rate\"), translate(\"(1\r\nrf_baud.datatype = \"range(1,65535)\"\r\n\r\nlocal groupid= s:option(Value, \"groupid\", translate(\"Network Group ID\"), transla\r\ngroupid.datatype = \"range(1,255)\"\r\n\r\nlocal nodeid= s:option(Value, \"nodeid\", translate(\"Gateway ID\"), translate(\"ID:\r\nnodeid.datatype = \"range(1,255)\"\r\n\r\nreturn m"}}