{"action":"created","issue":{"url":"https://api.github.com/repos/stjohnjohnson/smartthings-mqtt-bridge/issues/40","repository_url":"https://api.github.com/repos/stjohnjohnson/smartthings-mqtt-bridge","labels_url":"https://api.github.com/repos/stjohnjohnson/smartthings-mqtt-bridge/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/stjohnjohnson/smartthings-mqtt-bridge/issues/40/comments","events_url":"https://api.github.com/repos/stjohnjohnson/smartthings-mqtt-bridge/issues/40/events","html_url":"https://github.com/stjohnjohnson/smartthings-mqtt-bridge/issues/40","id":154881746,"number":40,"title":"Light will turn off but not on","user":{"login":"mehuman","id":250105,"avatar_url":"https://avatars.githubusercontent.com/u/250105?v=3","gravatar_id":"","url":"https://api.github.com/users/mehuman","html_url":"https://github.com/mehuman","followers_url":"https://api.github.com/users/mehuman/followers","following_url":"https://api.github.com/users/mehuman/following{/other_user}","gists_url":"https://api.github.com/users/mehuman/gists{/gist_id}","starred_url":"https://api.github.com/users/mehuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehuman/subscriptions","organizations_url":"https://api.github.com/users/mehuman/orgs","repos_url":"https://api.github.com/users/mehuman/repos","events_url":"https://api.github.com/users/mehuman/events{/privacy}","received_events_url":"https://api.github.com/users/mehuman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-05-14T23:53:55Z","updated_at":"2016-06-06T15:15:26Z","closed_at":null,"body":"Hi,\r\n  I'm able to publish to turn a light off but not on or adjust the light level. I'll post my findings below. The light started on, set by the Smartthings app.\r\n\r\nCommands:\r\nmosquitto_pub -t 10.0.0.2 -p 1883 -t \"smartthings/Living Room Light/switch\" -m off\r\nmosquitto_pub -t 10.0.0.2 -p 1883 -t \"smartthings/Living Room Light/switch\" -m on\r\nmosquitto_pub -t 10.0.0.2 -p 1883 -t \"smartthings/Living Room Light/level\" -m 50\r\n\r\nLive log from Smartthings:\r\nc4615387-8aaf-4ebb-b4db-42336cf0f094  7:45:48 PM: debug Received device event from bridge: [name:Living Room Light, value:50, type:level]\r\nc4615387-8aaf-4ebb-b4db-42336cf0f094  7:45:40 PM: debug Received device event from bridge: [name:Living Room Light, value:100, type:level]\r\nc4615387-8aaf-4ebb-b4db-42336cf0f094  7:45:36 PM: debug Received device event from bridge: [status:OK]\r\nc4615387-8aaf-4ebb-b4db-42336cf0f094  7:45:35 PM: debug Forwarding device event to bridge: {\"path\":\"/push\",\"body\":{\"name\":\"Living Room Light\",\"value\":\"off\",\"type\":\"switch\"}}\r\nc4615387-8aaf-4ebb-b4db-42336cf0f094  7:45:34 PM: debug Received device event from bridge: [name:Living Room Light, value:off, type:switch]\r\n\r\nLog from mqtt bridge:\r\n2016-05-14T23:48:27.101Z - info: Incoming message from MQTT: smartthings/Living Room Light/switch = off\r\n2016-05-14T23:48:28.361Z - info: Incoming message from SmartThings: smartthings/Living Room Light/switch = off\r\n2016-05-14T23:48:28.363Z - info: Incoming message from MQTT: smartthings/Living Room Light/switch = off\r\n2016-05-14T23:48:28.363Z - info: Skipping duplicate message from: smartthings/Living Room Light/switch = off\r\n2016-05-14T23:48:30.105Z - info: Incoming message from MQTT: smartthings/Living Room Light/switch = on\r\n2016-05-14T23:48:30.105Z - info: Passing level instead of switch on\r\n2016-05-14T23:48:32.616Z - info: Incoming message from MQTT: smartthings/Living Room Light/level = 50\r\n2016-05-14T23:48:32.616Z - info: Skipping duplicate message from: smartthings/Living Room Light/level = 50"},"comment":{"url":"https://api.github.com/repos/stjohnjohnson/smartthings-mqtt-bridge/issues/comments/223990113","html_url":"https://github.com/stjohnjohnson/smartthings-mqtt-bridge/issues/40#issuecomment-223990113","issue_url":"https://api.github.com/repos/stjohnjohnson/smartthings-mqtt-bridge/issues/40","id":223990113,"user":{"login":"stjohnjohnson","id":622065,"avatar_url":"https://avatars.githubusercontent.com/u/622065?v=3","gravatar_id":"","url":"https://api.github.com/users/stjohnjohnson","html_url":"https://github.com/stjohnjohnson","followers_url":"https://api.github.com/users/stjohnjohnson/followers","following_url":"https://api.github.com/users/stjohnjohnson/following{/other_user}","gists_url":"https://api.github.com/users/stjohnjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/stjohnjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stjohnjohnson/subscriptions","organizations_url":"https://api.github.com/users/stjohnjohnson/orgs","repos_url":"https://api.github.com/users/stjohnjohnson/repos","events_url":"https://api.github.com/users/stjohnjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/stjohnjohnson/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T15:15:26Z","updated_at":"2016-06-06T15:15:26Z","body":"Agreed, looks like my bad.  My devicetypes were fixing the string->int, but not Cree.  I have a PR open and @jer should be able to review it today.\r\n\r\nGood find."}}
{"actor":{"display_login":"stjohnjohnson"}}