{"action":"closed","issue":{"url":"https://api.github.com/repos/maddox/harmony-api/issues/51","repository_url":"https://api.github.com/repos/maddox/harmony-api","labels_url":"https://api.github.com/repos/maddox/harmony-api/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/maddox/harmony-api/issues/51/comments","events_url":"https://api.github.com/repos/maddox/harmony-api/issues/51/events","html_url":"https://github.com/maddox/harmony-api/issues/51","id":193939835,"number":51,"title":"harmony-api not accepting publish requests?","user":{"login":"clemon79","id":22535391,"avatar_url":"https://avatars.githubusercontent.com/u/22535391?v=3","gravatar_id":"","url":"https://api.github.com/users/clemon79","html_url":"https://github.com/clemon79","followers_url":"https://api.github.com/users/clemon79/followers","following_url":"https://api.github.com/users/clemon79/following{/other_user}","gists_url":"https://api.github.com/users/clemon79/gists{/gist_id}","starred_url":"https://api.github.com/users/clemon79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clemon79/subscriptions","organizations_url":"https://api.github.com/users/clemon79/orgs","repos_url":"https://api.github.com/users/clemon79/repos","events_url":"https://api.github.com/users/clemon79/events{/privacy}","received_events_url":"https://api.github.com/users/clemon79/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-07T02:13:00Z","updated_at":"2016-12-12T18:15:24Z","closed_at":"2016-12-12T18:15:24Z","body":"The following should turn off my system:\r\n```\r\nmosquitto_pub -d -u <username> -P <password> -t harmony-api/hubs/freds-harmony-hub/activities/watch-xbox-one/command -m off\r\n```\r\nIt returns this:\r\n```\r\nClient mosqpub/2200-raspberryp sending CONNECT\r\nClient mosqpub/2200-raspberryp received CONNACK\r\nClient mosqpub/2200-raspberryp sending PUBLISH (d0, q0, r0, m1, 'harmony-api/hubs/freds-harmony-hub/activities/watch-xbox-one/command', ... (3 bytes))\r\nClient mosqpub/2200-raspberryp sending DISCONNECT\r\n```\r\nBut nothing happens.\r\n\r\nThis:\r\n```\r\nmosquitto_sub -v -h 'localhost' -u '<username>' -P '<password>' -t 'harmony-api/#'\r\n```\r\n...returns the list of activities, so watching seems to be working, just not publishing changes.\r\n\r\nThe switch as defined in MQTT is correctly reflecting the state but will not execute a command when manually flipped.\r\n"}}
{"actor":{"display_login":"maddox"}}