{"action":"created","issue":{"url":"https://api.github.com/repos/theyosh/TerrariumPI/issues/130","repository_url":"https://api.github.com/repos/theyosh/TerrariumPI","labels_url":"https://api.github.com/repos/theyosh/TerrariumPI/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/theyosh/TerrariumPI/issues/130/comments","events_url":"https://api.github.com/repos/theyosh/TerrariumPI/issues/130/events","html_url":"https://github.com/theyosh/TerrariumPI/issues/130","id":310272700,"number":130,"title":"dht11 on pi zero or pi 1B","user":{"login":"k3tw13z3l","id":30986211,"avatar_url":"https://avatars1.githubusercontent.com/u/30986211?v=4","gravatar_id":"","url":"https://api.github.com/users/k3tw13z3l","html_url":"https://github.com/k3tw13z3l","followers_url":"https://api.github.com/users/k3tw13z3l/followers","following_url":"https://api.github.com/users/k3tw13z3l/following{/other_user}","gists_url":"https://api.github.com/users/k3tw13z3l/gists{/gist_id}","starred_url":"https://api.github.com/users/k3tw13z3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k3tw13z3l/subscriptions","organizations_url":"https://api.github.com/users/k3tw13z3l/orgs","repos_url":"https://api.github.com/users/k3tw13z3l/repos","events_url":"https://api.github.com/users/k3tw13z3l/events{/privacy}","received_events_url":"https://api.github.com/users/k3tw13z3l/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-31T21:15:00Z","updated_at":"2018-04-23T14:14:56Z","closed_at":"2018-04-02T17:34:40Z","author_association":"NONE","body":"LS,\r\n\r\nI've been trying to get a dht11 sensor to work on a PI Zer0 WH (or an old pi1b), unfortunately it is not working and I'm at a loss why...\r\n\r\nThe strange thing is the SD card works perfectly in a pi3...\r\n\r\non the PIZer0 the example scripts work:\r\n`$ cd Adafruit_Python_DHT/examples`\r\n`$ ./AdafruitDHT.py 11 4 `\r\n`Temp=20.0*  Humidity=55.0%`\r\n\r\nIf I enter pin 7 in (GPIO4) in the web interface it logs:\r\n\r\n`Measured value NoneC from temperature sensor 'Temp' is outside valid range 0.00C - 100.00C in 14.95756 seconds.`\r\n\r\nThe code looks the same in Adafruit and TerrariumPI (I've even changed the code to hardcode type and pin and retry) but it keeps failing to retrieve a value from the sensor and so the `current=None` \r\n\r\nI know the broadcom chip is different but 'coz the adafruit example code is working it should be working in terrariumPi right? \r\n\r\nMaybe there is something of a timeout like something on the PI Zero? It is fairly weak compared to the pi3.\r\n\r\nAnybody any pointers of where to start or ideas?"},"comment":{"url":"https://api.github.com/repos/theyosh/TerrariumPI/issues/comments/383590539","html_url":"https://github.com/theyosh/TerrariumPI/issues/130#issuecomment-383590539","issue_url":"https://api.github.com/repos/theyosh/TerrariumPI/issues/130","id":383590539,"user":{"login":"k3tw13z3l","id":30986211,"avatar_url":"https://avatars1.githubusercontent.com/u/30986211?v=4","gravatar_id":"","url":"https://api.github.com/users/k3tw13z3l","html_url":"https://github.com/k3tw13z3l","followers_url":"https://api.github.com/users/k3tw13z3l/followers","following_url":"https://api.github.com/users/k3tw13z3l/following{/other_user}","gists_url":"https://api.github.com/users/k3tw13z3l/gists{/gist_id}","starred_url":"https://api.github.com/users/k3tw13z3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k3tw13z3l/subscriptions","organizations_url":"https://api.github.com/users/k3tw13z3l/orgs","repos_url":"https://api.github.com/users/k3tw13z3l/repos","events_url":"https://api.github.com/users/k3tw13z3l/events{/privacy}","received_events_url":"https://api.github.com/users/k3tw13z3l/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T14:14:56Z","updated_at":"2018-04-23T14:14:56Z","author_association":"NONE","body":"For future readers:\r\n\r\nIf I run the software as root instead of the pi user it will work.\r\n\r\nI've not yet figure out why the rpi1 and the rpi0 do not work. the pi user is member of the gpio group so I must be missing something somewhere else...\r\n\r\nNot a problem for me (using root) but something to keep in mind."}}
{"actor":{"display_login":"k3tw13z3l"}}