{"action":"created","issue":{"url":"https://api.github.com/repos/jjpFin/DHT22-TemperatureLogger/issues/3","repository_url":"https://api.github.com/repos/jjpFin/DHT22-TemperatureLogger","labels_url":"https://api.github.com/repos/jjpFin/DHT22-TemperatureLogger/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jjpFin/DHT22-TemperatureLogger/issues/3/comments","events_url":"https://api.github.com/repos/jjpFin/DHT22-TemperatureLogger/issues/3/events","html_url":"https://github.com/jjpFin/DHT22-TemperatureLogger/issues/3","id":324859142,"node_id":"MDU6SXNzdWUzMjQ4NTkxNDI=","number":3,"title":"Readings fail often","user":{"login":"davidecibel","id":39484193,"node_id":"MDQ6VXNlcjM5NDg0MTkz","avatar_url":"https://avatars1.githubusercontent.com/u/39484193?v=4","gravatar_id":"","url":"https://api.github.com/users/davidecibel","html_url":"https://github.com/davidecibel","followers_url":"https://api.github.com/users/davidecibel/followers","following_url":"https://api.github.com/users/davidecibel/following{/other_user}","gists_url":"https://api.github.com/users/davidecibel/gists{/gist_id}","starred_url":"https://api.github.com/users/davidecibel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidecibel/subscriptions","organizations_url":"https://api.github.com/users/davidecibel/orgs","repos_url":"https://api.github.com/users/davidecibel/repos","events_url":"https://api.github.com/users/davidecibel/events{/privacy}","received_events_url":"https://api.github.com/users/davidecibel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-21T10:04:45Z","updated_at":"2018-07-14T07:54:55Z","closed_at":"2018-07-14T07:54:55Z","author_association":"NONE","body":"Hi,\r\n\r\nI've set up a crontab to schedule a reading every 5 minutes. It generally works, but it fails pretty often. I've checked the logs, and the error I get is:\r\n\r\n21-05-18 11:10:02 INFO Sensors.SensorReader Start reading values for sensor type 22 in gpio 27\r\n21-05-18 11:10:42 ERROR Sensors.SensorReader Failed to get readings for sensor: Inside\r\nTraceback (most recent call last):\r\n  File \"/home/pi/DHT22-TemperatureLogger/Sensors/SensorReader.py\", line 58, in getSensorReadings\r\n    temperature,humidity = self._getSensorReadings(sensorType,gpio)\r\n  File \"/home/pi/DHT22-TemperatureLogger/Sensors/SensorReader.py\", line 133, in _getSensorReadings\r\n    sensorReadings = subprocess.check_output(['sudo',self.adafruitPathConfig,sensorType,gpio])\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 219, in check_output\r\n    raise CalledProcessError(retcode, cmd, output=output)\r\nCalledProcessError: Command '['sudo', u'/home/pi/Adafruit_Python_DHT/examples/AdafruitDHT.py', u'22', u'27']' returned non-zero exit status 1\r\n21-05-18 11:10:42 INFO Sensors.SensorReader Sensor readings collected\r\n21-05-18 11:10:42 INFO Sensors.SensorDataHandler Successfully read: 0 sensors. Failed to read: 1 sensor(s)\r\n21-05-18 11:10:42 ERROR Sensors.SensorDataHandler Failed to get readings from any of the sensors. Execution terminated\r\n\r\nAny Idea what could cause this?"},"comment":{"url":"https://api.github.com/repos/jjpFin/DHT22-TemperatureLogger/issues/comments/405006811","html_url":"https://github.com/jjpFin/DHT22-TemperatureLogger/issues/3#issuecomment-405006811","issue_url":"https://api.github.com/repos/jjpFin/DHT22-TemperatureLogger/issues/3","id":405006811,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTAwNjgxMQ==","user":{"login":"jjpFin","id":15716797,"node_id":"MDQ6VXNlcjE1NzE2Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/15716797?v=4","gravatar_id":"","url":"https://api.github.com/users/jjpFin","html_url":"https://github.com/jjpFin","followers_url":"https://api.github.com/users/jjpFin/followers","following_url":"https://api.github.com/users/jjpFin/following{/other_user}","gists_url":"https://api.github.com/users/jjpFin/gists{/gist_id}","starred_url":"https://api.github.com/users/jjpFin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjpFin/subscriptions","organizations_url":"https://api.github.com/users/jjpFin/orgs","repos_url":"https://api.github.com/users/jjpFin/repos","events_url":"https://api.github.com/users/jjpFin/events{/privacy}","received_events_url":"https://api.github.com/users/jjpFin/received_events","type":"User","site_admin":false},"created_at":"2018-07-14T07:54:55Z","updated_at":"2018-07-14T07:54:55Z","author_association":"OWNER","body":"Haven't seen or heard about this before and cannot say at glance what is the problem. \r\nDo you have multiple sensors attached to RPI and are all those failing in similar manner?"}}
{"actor":{"display_login":"jjpFin"}}