{"action":"created","issue":{"url":"https://api.github.com/repos/pilight/pilight/issues/125","labels_url":"https://api.github.com/repos/pilight/pilight/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/pilight/pilight/issues/125/comments","events_url":"https://api.github.com/repos/pilight/pilight/issues/125/events","html_url":"https://github.com/pilight/pilight/pull/125","id":53335789,"number":125,"title":"BMP180/BMP085 Barometric Pressure and Temperature Sensor","user":{"login":"hstroh","id":10383322,"avatar_url":"https://avatars.githubusercontent.com/u/10383322?v=3","gravatar_id":"","url":"https://api.github.com/users/hstroh","html_url":"https://github.com/hstroh","followers_url":"https://api.github.com/users/hstroh/followers","following_url":"https://api.github.com/users/hstroh/following{/other_user}","gists_url":"https://api.github.com/users/hstroh/gists{/gist_id}","starred_url":"https://api.github.com/users/hstroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hstroh/subscriptions","organizations_url":"https://api.github.com/users/hstroh/orgs","repos_url":"https://api.github.com/users/hstroh/repos","events_url":"https://api.github.com/users/hstroh/events{/privacy}","received_events_url":"https://api.github.com/users/hstroh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-01-04T13:02:33Z","updated_at":"2015-01-20T19:22:53Z","closed_at":"2015-01-18T11:13:00Z","pull_request":{"url":"https://api.github.com/repos/pilight/pilight/pulls/125","html_url":"https://github.com/pilight/pilight/pull/125","diff_url":"https://github.com/pilight/pilight/pull/125.diff","patch_url":"https://github.com/pilight/pilight/pull/125.patch"},"body":"I've implemented a new protocol for sensor BMP180 (and its predecessor BMP085) which provides barometric pressure in hPa and temperature in °C. The algorithm for pressure and temperature measurement is based on the specification in the [official datasheet](https://ae-bst.resource.bosch.com/media/products/dokumente/bmp180/BST-BMP180-DS000-09.pdf). The implementation has been successfully tested using the sample values provided in the referenced sheet. \r\n\r\nI've added an option to display (barometric) pressure in the web UI for weather protocols. Pressure is displayed iff option `show-pressure` (which is a GUI setting) is set to `1`.The value to display is provided via option `pressure`. For proper display I've provided a new icon `pressure.png` which is a modification of `humi.png`. "},"comment":{"url":"https://api.github.com/repos/pilight/pilight/issues/comments/70715068","html_url":"https://github.com/pilight/pilight/pull/125#issuecomment-70715068","issue_url":"https://api.github.com/repos/pilight/pilight/issues/125","id":70715068,"user":{"login":"hstroh","id":10383322,"avatar_url":"https://avatars.githubusercontent.com/u/10383322?v=3","gravatar_id":"","url":"https://api.github.com/users/hstroh","html_url":"https://github.com/hstroh","followers_url":"https://api.github.com/users/hstroh/followers","following_url":"https://api.github.com/users/hstroh/following{/other_user}","gists_url":"https://api.github.com/users/hstroh/gists{/gist_id}","starred_url":"https://api.github.com/users/hstroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hstroh/subscriptions","organizations_url":"https://api.github.com/users/hstroh/orgs","repos_url":"https://api.github.com/users/hstroh/repos","events_url":"https://api.github.com/users/hstroh/events{/privacy}","received_events_url":"https://api.github.com/users/hstroh/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T19:22:53Z","updated_at":"2015-01-20T19:22:53Z","body":"Thanks for the hint, I have analyzed the icons. To create a proper icon I have removed the raindrop, completed the circular line (by mirroring the left semicircle), auto cropped the image and scaled it up to a size of 113x113 px. Finally I have changed the size of the canvas to 151x151 px and centered the icon on it. To achieve lossless upscaling I have based my work on [illumina's SVG version of the icon](https://github.com/medien-dresden/illumina/blob/develop/resources/gfx/icons.svg). Here we go:\r\n![pressure-151x151px](https://cloud.githubusercontent.com/assets/10383322/5823989/798e3758-a0e1-11e4-9c80-5cf708887c49.png)"}}