{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2816","repository_url":"https://api.github.com/repos/openhab/openhab2-addons","labels_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2816/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2816/comments","events_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2816/events","html_url":"https://github.com/openhab/openhab2-addons/pull/2816","id":269746084,"number":2816,"title":"[AzureIOT] Added new 2.0 IO persistence addon for AzureIOThub","user":{"login":"nikotanghe","id":6616183,"avatar_url":"https://avatars2.githubusercontent.com/u/6616183?v=4","gravatar_id":"","url":"https://api.github.com/users/nikotanghe","html_url":"https://github.com/nikotanghe","followers_url":"https://api.github.com/users/nikotanghe/followers","following_url":"https://api.github.com/users/nikotanghe/following{/other_user}","gists_url":"https://api.github.com/users/nikotanghe/gists{/gist_id}","starred_url":"https://api.github.com/users/nikotanghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikotanghe/subscriptions","organizations_url":"https://api.github.com/users/nikotanghe/orgs","repos_url":"https://api.github.com/users/nikotanghe/repos","events_url":"https://api.github.com/users/nikotanghe/events{/privacy}","received_events_url":"https://api.github.com/users/nikotanghe/received_events","type":"User","site_admin":false},"labels":[{"id":159935827,"url":"https://api.github.com/repos/openhab/openhab2-addons/labels/newbinding","name":"newbinding","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"martinvw","id":2625279,"avatar_url":"https://avatars3.githubusercontent.com/u/2625279?v=4","gravatar_id":"","url":"https://api.github.com/users/martinvw","html_url":"https://github.com/martinvw","followers_url":"https://api.github.com/users/martinvw/followers","following_url":"https://api.github.com/users/martinvw/following{/other_user}","gists_url":"https://api.github.com/users/martinvw/gists{/gist_id}","starred_url":"https://api.github.com/users/martinvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinvw/subscriptions","organizations_url":"https://api.github.com/users/martinvw/orgs","repos_url":"https://api.github.com/users/martinvw/repos","events_url":"https://api.github.com/users/martinvw/events{/privacy}","received_events_url":"https://api.github.com/users/martinvw/received_events","type":"User","site_admin":false},"assignees":[{"login":"martinvw","id":2625279,"avatar_url":"https://avatars3.githubusercontent.com/u/2625279?v=4","gravatar_id":"","url":"https://api.github.com/users/martinvw","html_url":"https://github.com/martinvw","followers_url":"https://api.github.com/users/martinvw/followers","following_url":"https://api.github.com/users/martinvw/following{/other_user}","gists_url":"https://api.github.com/users/martinvw/gists{/gist_id}","starred_url":"https://api.github.com/users/martinvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinvw/subscriptions","organizations_url":"https://api.github.com/users/martinvw/orgs","repos_url":"https://api.github.com/users/martinvw/repos","events_url":"https://api.github.com/users/martinvw/events{/privacy}","received_events_url":"https://api.github.com/users/martinvw/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-10-30T20:39:22Z","updated_at":"2018-03-19T21:39:33Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2816","html_url":"https://github.com/openhab/openhab2-addons/pull/2816","diff_url":"https://github.com/openhab/openhab2-addons/pull/2816.diff","patch_url":"https://github.com/openhab/openhab2-addons/pull/2816.patch"},"body":"Signed-off-by: Niko Tanghe <ntanghe@gmail.com>\r\n\r\n[AzureIOT] Initial contribution\r\n\r\nSync status of all your items to microsoft azure IOT Hub (https://azure.microsoft.com/en-us/services/iot-hub). Both device 2 cloud and cloud 2 device are supported.\r\n\r\n## azure IOT Hub Connector\r\n\r\nThe azure IOT Hub connector replicates your local things to a [microsoft azure IOT Hub]\r\n(https://azure.microsoft.com/en-us/services/iot-hub/).\r\nThis IOT building block resides in the azure cloud and allows 2 way communication with your devices and your IOT infrastructure in the cloud.\r\nThe IOT hub can be connected to other azure services like a [database] (https://azure.microsoft.com/en-us/services/hdinsight/), [stream analytics] (https://azure.microsoft.com/en-us/services/stream-analytics/), [machine learning] (https://azure.microsoft.com/en-us/services/machine-learning/), [time series insights] (https://azure.microsoft.com/en-us/services/time-series-insights/)\r\n\r\n## pricing\r\n\r\nyou may send up to 8000 messages a day for free. that is 5.5 status updates every minute. Anything more then this in the free price tier is simply neglected by the IOT hub.\r\nIf you want to log more then this, you can switch to a paying price tier : [pricing details] (https://azure.microsoft.com/en-us/pricing/details/iot-hub/)\r\n\r\n[create your azure account] (https://azure.microsoft.com/en-us/free/)\r\n\r\n## configuration\r\n\r\nConnection string \r\n\r\nFrom the [azure portal] (http://portal.azure.com/), you need to create an Iot Hub. Click on the '+' sign on the upper left, search for 'IOT Hub', click create and follow the wizard. Once the hub is available, go to settings - Shared access policies, click iothubowner and copy the connection string - primary key.\r\nWhen configuring your IO service in openhab 2, you need to provide this connection string.\r\n\r\nMode\r\n\r\nThe openhab IO service can operate in 2 modes : Publish (only) or publish and command. In publish mode, openhab will sync all it's devices and it's status changes to azure. In publish & command mode, you can also send cloud to device commands.\r\n\r\n## Testing\r\n\r\n- Get an Azure account and create a IOT hub\r\n- get the jar file from https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/io/\r\n- put the jar in your addons folder (for the location of the folder : http://docs.openhab.org/installation/linux.html#file-locations)\r\n- configure the IO Addon \r\n\r\nQuestions ? Remarks ?\r\nLeave a message on the forum topic https://community.openhab.org/t/azureiot-io-module/35671"},"comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/issues/comments/374389188","html_url":"https://github.com/openhab/openhab2-addons/pull/2816#issuecomment-374389188","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2816","id":374389188,"user":{"login":"kaikreuzer","id":3244965,"avatar_url":"https://avatars3.githubusercontent.com/u/3244965?v=4","gravatar_id":"","url":"https://api.github.com/users/kaikreuzer","html_url":"https://github.com/kaikreuzer","followers_url":"https://api.github.com/users/kaikreuzer/followers","following_url":"https://api.github.com/users/kaikreuzer/following{/other_user}","gists_url":"https://api.github.com/users/kaikreuzer/gists{/gist_id}","starred_url":"https://api.github.com/users/kaikreuzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaikreuzer/subscriptions","organizations_url":"https://api.github.com/users/kaikreuzer/orgs","repos_url":"https://api.github.com/users/kaikreuzer/repos","events_url":"https://api.github.com/users/kaikreuzer/events{/privacy}","received_events_url":"https://api.github.com/users/kaikreuzer/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T21:39:33Z","updated_at":"2018-03-19T21:39:33Z","author_association":"OWNER","body":"Thanks @martinvw, build issues should be fixed now."}}
{"actor":{"display_login":"kaikreuzer"}}