{"action":"created","issue":{"url":"https://api.github.com/repos/PatchworkBoy/homebridge-edomoticz/issues/41","repository_url":"https://api.github.com/repos/PatchworkBoy/homebridge-edomoticz","labels_url":"https://api.github.com/repos/PatchworkBoy/homebridge-edomoticz/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/PatchworkBoy/homebridge-edomoticz/issues/41/comments","events_url":"https://api.github.com/repos/PatchworkBoy/homebridge-edomoticz/issues/41/events","html_url":"https://github.com/PatchworkBoy/homebridge-edomoticz/issues/41","id":174961463,"number":41,"title":"ssl does not work","user":{"login":"derekhardwick","id":1249644,"avatar_url":"https://avatars.githubusercontent.com/u/1249644?v=3","gravatar_id":"","url":"https://api.github.com/users/derekhardwick","html_url":"https://github.com/derekhardwick","followers_url":"https://api.github.com/users/derekhardwick/followers","following_url":"https://api.github.com/users/derekhardwick/following{/other_user}","gists_url":"https://api.github.com/users/derekhardwick/gists{/gist_id}","starred_url":"https://api.github.com/users/derekhardwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekhardwick/subscriptions","organizations_url":"https://api.github.com/users/derekhardwick/orgs","repos_url":"https://api.github.com/users/derekhardwick/repos","events_url":"https://api.github.com/users/derekhardwick/events{/privacy}","received_events_url":"https://api.github.com/users/derekhardwick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-04T18:00:38Z","updated_at":"2016-09-07T13:10:23Z","closed_at":null,"body":"Domoticz is running properly on 8080 and 443.  User auth is not yet turned on (I thought that may be the issue so it's disabled).\r\n\r\n```\r\npi@pi:~ $ wget --no-check-certificate -q -O - \"$@\" https://127.0.0.1/ | head\r\n<!DOCTYPE html>\r\n<html manifest=\"html5.appcache\">\r\n<head>\r\n       \t\t<meta charset=\"utf-8\">\r\n       \t\t<title>Domoticz</title>\r\n```\r\n\r\nThe important part of the config.json is:\r\n\r\n```\r\n        {\r\n            \"platform\": \"eDomoticz\",\r\n            \"name\": \"eDomoticz\",\r\n            \"server\": \"127.0.0.1\",\r\n            \"ssl\": 1,\r\n            \"port\": \"443\",\r\n            \"roomid\": 0\r\n        }\r\n    ],\r\n    \"accessories\": []\r\n }\r\n```\r\n\r\n\r\nAfter starting homebridge I get this in the logs:\r\n\r\n```\r\n[Sun Sep 04 2016 19:50:10 GMT+0200 (CEST)] [eDomoticz] Initializing eDomoticz platform...\r\n[Sun Sep 04 2016 19:50:10 GMT+0200 (CEST)] [eDomoticz] Fetching Domoticz lights and switches...\r\n[Sun Sep 04 2016 19:50:10 GMT+0200 (CEST)] Loading 0 accessories...\r\n[Sun Sep 04 2016 19:50:10 GMT+0200 (CEST)] [eDomoticz] There was a problem connecting to Domoticz.\r\n```\r\n\r\nChanging ssl to 0 and port to 8080 fixes the issue, homebridge will start fine.\r\n\r\nPossible issue: certificate is issued to the FQDN and not 127.0.0.1?"},"comment":{"url":"https://api.github.com/repos/PatchworkBoy/homebridge-edomoticz/issues/comments/245275204","html_url":"https://github.com/PatchworkBoy/homebridge-edomoticz/issues/41#issuecomment-245275204","issue_url":"https://api.github.com/repos/PatchworkBoy/homebridge-edomoticz/issues/41","id":245275204,"user":{"login":"derekhardwick","id":1249644,"avatar_url":"https://avatars.githubusercontent.com/u/1249644?v=3","gravatar_id":"","url":"https://api.github.com/users/derekhardwick","html_url":"https://github.com/derekhardwick","followers_url":"https://api.github.com/users/derekhardwick/followers","following_url":"https://api.github.com/users/derekhardwick/following{/other_user}","gists_url":"https://api.github.com/users/derekhardwick/gists{/gist_id}","starred_url":"https://api.github.com/users/derekhardwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekhardwick/subscriptions","organizations_url":"https://api.github.com/users/derekhardwick/orgs","repos_url":"https://api.github.com/users/derekhardwick/repos","events_url":"https://api.github.com/users/derekhardwick/events{/privacy}","received_events_url":"https://api.github.com/users/derekhardwick/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T13:10:23Z","updated_at":"2016-09-07T13:10:23Z","body":"Thanks for the quick help.  So replacing the file half-worked, homebridge now starts up properly and tries to load the domoticz platform / accessories (further than it got before)\r\n\r\n```\r\n[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] Loading 1 platforms...\r\n[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing eDomoticz platform...\r\n[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Fetching Domoticz lights and switches...\r\n[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] Loading 0 accessories...\r\n[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Dining Room'...\r\n[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Front Door'...\r\n[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Hall Switch upstairs'...\r\n[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Living Room'...\r\nScan this code with your HomeKit App on your iOS device to pair with Homebridge:\r\n```\r\n\r\nBut when I try to use a client app like Eve I get this in the logs:\r\n\r\n` [Wed Sep 07 2016 15:04:44 GMT+0200 (CEST)] [eDomoticz] There was a problem connecting to Domoticz.\r\n\r\n"}}
{"actor":{"display_login":"derekhardwick"}}