{"action":"created","issue":{"url":"https://api.github.com/repos/xoseperez/espurna/issues/260","repository_url":"https://api.github.com/repos/xoseperez/espurna","labels_url":"https://api.github.com/repos/xoseperez/espurna/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/xoseperez/espurna/issues/260/comments","events_url":"https://api.github.com/repos/xoseperez/espurna/issues/260/events","html_url":"https://github.com/xoseperez/espurna/issues/260","id":291215432,"number":260,"title":"MQTT Split topic data into 2 single topics","user":{"login":"xoseperez","id":706487,"avatar_url":"https://avatars3.githubusercontent.com/u/706487?v=4","gravatar_id":"","url":"https://api.github.com/users/xoseperez","html_url":"https://github.com/xoseperez","followers_url":"https://api.github.com/users/xoseperez/followers","following_url":"https://api.github.com/users/xoseperez/following{/other_user}","gists_url":"https://api.github.com/users/xoseperez/gists{/gist_id}","starred_url":"https://api.github.com/users/xoseperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xoseperez/subscriptions","organizations_url":"https://api.github.com/users/xoseperez/orgs","repos_url":"https://api.github.com/users/xoseperez/repos","events_url":"https://api.github.com/users/xoseperez/events{/privacy}","received_events_url":"https://api.github.com/users/xoseperez/received_events","type":"User","site_admin":false},"labels":[{"id":815137457,"url":"https://api.github.com/repos/xoseperez/espurna/labels/1.9.7","name":"1.9.7","color":"ededed","default":false},{"id":815115821,"url":"https://api.github.com/repos/xoseperez/espurna/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":815116249,"url":"https://api.github.com/repos/xoseperez/espurna/labels/minor","name":"minor","color":"bfd4f2","default":false},{"id":815116982,"url":"https://api.github.com/repos/xoseperez/espurna/labels/mqtt","name":"mqtt","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-29T17:19:30Z","updated_at":"2018-02-19T20:14:52Z","closed_at":"2018-01-24T13:50:03Z","author_association":"OWNER","body":"Originally reported by: **scrand (Bitbucket: [scrand](https://bitbucket.org/scrand), GitHub: [scrand](https://github.com/scrand))**\n\n----------------------------------------\n\nHello,\nthere is actually one topic called data.\n\nBut this \"data\" topic contains two \"messages\":\n\n\n```\n#!text\n\nSusicka POW/data\t{\"app\":\"ESPURNA\",\"version\":\"1.9.7\",\"host\":\"Susicka POW\",\"ip\":\"192.168.1.56\",\"mac\":\"5C:CF:7F:B4:9B:A4\",\"rssi\":\"-67\",\"uptime\":\"4200\",\"freeheap\":\"18680\",\"relay/0\":\"1\",\"vcc\":\"3434\",\"time\":\"2017/10/29 17:49:00\"}\n```\n\n\n```\n#!text\n\nSusicka POW/data\t{\"current\":\"0.05\",\"apparent\":\"11\",\"energy_delta\":\"336.000\",\"energy_total\":\"14734.000\",\"power\":\"5\",\"reactive\":\"9\",\"voltage\":\"219\",\"factor\":\"45.45\",\"time\":\"2017/10/29 17:50:00\",\"host\":\"Susicka POW\",\"ip\":\"192.168.1.56\"}\n```\n\nCould you split it into two single topics? \n\nIt makes me a trouble in Home Assistant. Because, If I want to capture power value and there was actually received message without this value it shows nothing."},"comment":{"url":"https://api.github.com/repos/xoseperez/espurna/issues/comments/366792970","html_url":"https://github.com/xoseperez/espurna/issues/260#issuecomment-366792970","issue_url":"https://api.github.com/repos/xoseperez/espurna/issues/260","id":366792970,"user":{"login":"theonedemon","id":9501785,"avatar_url":"https://avatars3.githubusercontent.com/u/9501785?v=4","gravatar_id":"","url":"https://api.github.com/users/theonedemon","html_url":"https://github.com/theonedemon","followers_url":"https://api.github.com/users/theonedemon/followers","following_url":"https://api.github.com/users/theonedemon/following{/other_user}","gists_url":"https://api.github.com/users/theonedemon/gists{/gist_id}","starred_url":"https://api.github.com/users/theonedemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonedemon/subscriptions","organizations_url":"https://api.github.com/users/theonedemon/orgs","repos_url":"https://api.github.com/users/theonedemon/repos","events_url":"https://api.github.com/users/theonedemon/events{/privacy}","received_events_url":"https://api.github.com/users/theonedemon/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T20:14:52Z","updated_at":"2018-02-19T20:14:52Z","author_association":"NONE","body":"some problem in 1.12.3 ( enable json mqtt\r\n1) \r\n```json\r\n{\r\n    \"current\": \"0.000\",\r\n    \"voltage\": \"219\",\r\n    \"power\": \"0\",\r\n    \"reactive\": \"0\",\r\n    \"apparent\": \"0\",\r\n    \"factor\": \"0\",\r\n    \"energy\": \"59\",\r\n    \"time\": \"2018-02-17 21:31:17\",\r\n    \"mac\": \"XX:XX:XX:XX:XX:XX\",\r\n    \"host\": \"boiler\",\r\n    \"ip\": \"10.1.1.16\",\r\n    \"id\": 1004\r\n}\r\n````\r\n\r\n2) \r\n```json\r\n{\r\n    \"app\": \"ESPURNA\",\r\n    \"version\": \"1.12.3\",\r\n    \"host\": \"boiler\",\r\n    \"ip\": \"10.1.1.16\",\r\n    \"mac\": \"XX:XX:XX:XX:XX:XX\",\r\n    \"rssi\": \"-52\",\r\n    \"uptime\": \"174696\",\r\n    \"datetime\": \"2018-02-19 22:00:59\",\r\n    \"freeheap\": \"20136\",\r\n    \"relay/0\": \"1\",\r\n    \"time\": \"2018-02-19 22:00:59\",\r\n    \"id\": 1041\r\n}\r\n```\r\n\r\n3) \r\n\r\n```json\r\n{\r\n    \"relay/0\": \"0\",\r\n    \"time\": \"2018-02-19 22:04:43\",\r\n    \"mac\": \"XX:XX:XX:XX:XX:XX\",\r\n    \"host\": \"boiler\",\r\n    \"ip\": \"10.1.1.16\",\r\n    \"id\": 1049\r\n}\r\n```"}}
{"actor":{"display_login":"theonedemon"}}