{"action":"created","issue":{"url":"https://api.github.com/repos/pimatic/rfcontroljs/issues/36","labels_url":"https://api.github.com/repos/pimatic/rfcontroljs/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/pimatic/rfcontroljs/issues/36/comments","events_url":"https://api.github.com/repos/pimatic/rfcontroljs/issues/36/events","html_url":"https://github.com/pimatic/rfcontroljs/issues/36","id":57065200,"number":36,"title":"pir recognized as switch","user":{"login":"xCite1986","id":10913090,"avatar_url":"https://avatars.githubusercontent.com/u/10913090?v=3","gravatar_id":"","url":"https://api.github.com/users/xCite1986","html_url":"https://github.com/xCite1986","followers_url":"https://api.github.com/users/xCite1986/followers","following_url":"https://api.github.com/users/xCite1986/following{/other_user}","gists_url":"https://api.github.com/users/xCite1986/gists{/gist_id}","starred_url":"https://api.github.com/users/xCite1986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xCite1986/subscriptions","organizations_url":"https://api.github.com/users/xCite1986/orgs","repos_url":"https://api.github.com/users/xCite1986/repos","events_url":"https://api.github.com/users/xCite1986/events{/privacy}","received_events_url":"https://api.github.com/users/xCite1986/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-09T17:51:00Z","updated_at":"2015-02-09T20:42:19Z","closed_at":null,"body":"Hello.\r\n\r\nMy Name is Alex and i use a raspberry Pi B+ with 433mhz sender & reciever with pimatic and homeduino-plugin.\r\n\r\nI'm now getting pilight-less with your plugin and my old+new intertechnos and weathersensors works fine. many thanks for your awesome work ;)\r\n\r\nill see your homeduino-plugin has 2 pir-protocolls (pir1, pir2) included and i would use one of them with this PIR-sensor:\r\n\r\nhttp://www.importe-uzman.de//funkalarmanlagen-bewegungsmelder-kompatibel-zonen-anlage-p-4476.html?osCsid=0cd6b4f19f537ee2fd0a0afcf6a33f30\r\n\r\nmy problem was the rfcontroljs recognized the device as two-protocoll-switch, but i need them as pir\r\n\r\ndebug [pimatic-homeduino]: switch8: { systemcode: 18, programcode: 'A4', state: false }\r\ndebug [pimatic-homeduino]: switch6: { systemcode: 9, programcode: 28, state: true }\r\ndebug [pimatic-homeduino]: received: [ 170, 514, 5318 ] 01010110011001010110011001100101101010100101010102\r\ndebug [pimatic-homeduino]: data: \"RF receive 170 514 5318 0 0 0 0 0 01010110011001010110011001100101101010100101010102\"\r\n\r\nI try to add following lines in my config - but useless and give me error outputs\r\n\r\n{\r\n  \"id\": \"homeduino-pir\",\r\n  \"name\": \"PIR\",\r\n  \"class\": \"HomeduinoRFPir\",\r\n  \"protocols\": [\r\n    {\r\n      \"name\": \"switch6\",\r\n      \"options\": {\r\n        \"systemcode\": 9,\r\n        \"programcode\": 28\r\n      }\r\n    }\r\n  ],\r\n  \"resetTime\": 6000\r\n}\r\nDebuglog:\r\nerror [pimatic]: Error loading device homeduino-pir: \"switch6\" is not a pir protocol.\r\n\r\n{\r\n  \"id\": \"homeduino-pir2\",\r\n  \"name\": \"PIR2\",\r\n  \"class\": \"HomeduinoRFSwitch\",\r\n  \"protocols\": [\r\n    {\r\n      \"name\": \"switch6\",\r\n      \"options\": {\r\n        \"systemcode\": 9,\r\n        \"programcode\": 28\r\n      }\r\n    }\r\n  ],\r\n  \"resetTime\": 6000\r\n}\r\nMakes me a Switch in pimatic and Debuglog:\r\nerror [pimatic]: Error loading device homeduino-pir: \"switch6\" is not a pir protocol.\r\n\r\nMaybe you could help me with a new plugin for this type PIR-sensor?\r\n\r\nMany thanks in advance and sorry for my bad english.\r\n-Greedings from Austria - \r\nAlex"},"comment":{"url":"https://api.github.com/repos/pimatic/rfcontroljs/issues/comments/73585931","html_url":"https://github.com/pimatic/rfcontroljs/issues/36#issuecomment-73585931","issue_url":"https://api.github.com/repos/pimatic/rfcontroljs/issues/36","id":73585931,"user":{"login":"Yves911","id":7493675,"avatar_url":"https://avatars.githubusercontent.com/u/7493675?v=3","gravatar_id":"","url":"https://api.github.com/users/Yves911","html_url":"https://github.com/Yves911","followers_url":"https://api.github.com/users/Yves911/followers","following_url":"https://api.github.com/users/Yves911/following{/other_user}","gists_url":"https://api.github.com/users/Yves911/gists{/gist_id}","starred_url":"https://api.github.com/users/Yves911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yves911/subscriptions","organizations_url":"https://api.github.com/users/Yves911/orgs","repos_url":"https://api.github.com/users/Yves911/repos","events_url":"https://api.github.com/users/Yves911/events{/privacy}","received_events_url":"https://api.github.com/users/Yves911/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T20:42:19Z","updated_at":"2015-02-09T20:42:19Z","body":"Okay the could you pls make 1 additional test : remove jumper on pulse count and post result here..."}}