{"action":"created","issue":{"url":"https://api.github.com/repos/ethersex/ethersex/issues/472","repository_url":"https://api.github.com/repos/ethersex/ethersex","labels_url":"https://api.github.com/repos/ethersex/ethersex/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/ethersex/ethersex/issues/472/comments","events_url":"https://api.github.com/repos/ethersex/ethersex/issues/472/events","html_url":"https://github.com/ethersex/ethersex/issues/472","id":182724070,"number":472,"title":"Very strange DHT22 bug in menuconfig","user":{"login":"tobox","id":4719666,"avatar_url":"https://avatars.githubusercontent.com/u/4719666?v=3","gravatar_id":"","url":"https://api.github.com/users/tobox","html_url":"https://github.com/tobox","followers_url":"https://api.github.com/users/tobox/followers","following_url":"https://api.github.com/users/tobox/following{/other_user}","gists_url":"https://api.github.com/users/tobox/gists{/gist_id}","starred_url":"https://api.github.com/users/tobox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobox/subscriptions","organizations_url":"https://api.github.com/users/tobox/orgs","repos_url":"https://api.github.com/users/tobox/repos","events_url":"https://api.github.com/users/tobox/events{/privacy}","received_events_url":"https://api.github.com/users/tobox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"eku","id":418685,"avatar_url":"https://avatars.githubusercontent.com/u/418685?v=3","gravatar_id":"","url":"https://api.github.com/users/eku","html_url":"https://github.com/eku","followers_url":"https://api.github.com/users/eku/followers","following_url":"https://api.github.com/users/eku/following{/other_user}","gists_url":"https://api.github.com/users/eku/gists{/gist_id}","starred_url":"https://api.github.com/users/eku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eku/subscriptions","organizations_url":"https://api.github.com/users/eku/orgs","repos_url":"https://api.github.com/users/eku/repos","events_url":"https://api.github.com/users/eku/events{/privacy}","received_events_url":"https://api.github.com/users/eku/received_events","type":"User","site_admin":false},"assignees":[{"login":"eku","id":418685,"avatar_url":"https://avatars.githubusercontent.com/u/418685?v=3","gravatar_id":"","url":"https://api.github.com/users/eku","html_url":"https://github.com/eku","followers_url":"https://api.github.com/users/eku/followers","following_url":"https://api.github.com/users/eku/following{/other_user}","gists_url":"https://api.github.com/users/eku/gists{/gist_id}","starred_url":"https://api.github.com/users/eku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eku/subscriptions","organizations_url":"https://api.github.com/users/eku/orgs","repos_url":"https://api.github.com/users/eku/repos","events_url":"https://api.github.com/users/eku/events{/privacy}","received_events_url":"https://api.github.com/users/eku/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-10-13T08:18:22Z","updated_at":"2016-10-25T07:20:40Z","closed_at":"2016-10-23T18:14:13Z","body":"I tried to connect a DHT22 to my AVR NetIO, without success. It compiled fine, but reading values from the sensor only resulted in temp 0.0 and humidity 0.0 or 2.0.\r\n\r\nAfter many hours of debugging, I found (part of) the problem. When I run \"make menuconfig\" and go to \"I/O\", \"Humidity & temperature sensors\", \"DHT 11/22\", Sensor type was set to DHT11. When I hit enter to change the sensor type, it opened the pin configuration in emacs (that should only happen if I hit enter on \"edit pin configuration\"). So I thought that there was only one sensor type available, and DHT11 whould be compatible with DHT22.\r\n\r\nAfter changing DHT11 to DHT22 manually in the .config and running \"make menuconfig\" again, the sensor type is properly displayed as \"DHT22/AM2302\". If I try to change the sensor type, the correct menu opens and offers \"DHT11\" and \"DHT22/AM2302\". If I select DHT11, the erraneous behaviour described above occurs and I cannot change the value back to DHT22. \r\n\r\nI have absolutely no clue if this is a ethersex problem or some kind of toolchain problem. I am running debian testing on amd64.\r\n\r\nWith a fresh checkout of the ethersex source, I was unable to reproduce the problem. But I am not aware of any changes that I made that could have resulted in the observed behaviour."},"comment":{"url":"https://api.github.com/repos/ethersex/ethersex/issues/comments/255956775","html_url":"https://github.com/ethersex/ethersex/issues/472#issuecomment-255956775","issue_url":"https://api.github.com/repos/ethersex/ethersex/issues/472","id":255956775,"user":{"login":"eku","id":418685,"avatar_url":"https://avatars.githubusercontent.com/u/418685?v=3","gravatar_id":"","url":"https://api.github.com/users/eku","html_url":"https://github.com/eku","followers_url":"https://api.github.com/users/eku/followers","following_url":"https://api.github.com/users/eku/following{/other_user}","gists_url":"https://api.github.com/users/eku/gists{/gist_id}","starred_url":"https://api.github.com/users/eku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eku/subscriptions","organizations_url":"https://api.github.com/users/eku/orgs","repos_url":"https://api.github.com/users/eku/repos","events_url":"https://api.github.com/users/eku/events{/privacy}","received_events_url":"https://api.github.com/users/eku/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T07:20:40Z","updated_at":"2016-10-25T07:20:40Z","body":"@florian-asche the code does not support mixed type sensors."}}
{"actor":{"display_login":"eku"}}