{"action":"created","issue":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4","repository_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota","labels_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4/comments","events_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4/events","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/4","id":203887187,"number":4,"title":"Telemetry with Uptime only","user":{"login":"evilgreen","id":25419768,"avatar_url":"https://avatars.githubusercontent.com/u/25419768?v=3","gravatar_id":"","url":"https://api.github.com/users/evilgreen","html_url":"https://github.com/evilgreen","followers_url":"https://api.github.com/users/evilgreen/followers","following_url":"https://api.github.com/users/evilgreen/following{/other_user}","gists_url":"https://api.github.com/users/evilgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/evilgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilgreen/subscriptions","organizations_url":"https://api.github.com/users/evilgreen/orgs","repos_url":"https://api.github.com/users/evilgreen/repos","events_url":"https://api.github.com/users/evilgreen/events{/privacy}","received_events_url":"https://api.github.com/users/evilgreen/received_events","type":"User","site_admin":false},"labels":[{"id":527619884,"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":527619885,"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-01-29T18:44:41Z","updated_at":"2017-02-04T16:39:27Z","closed_at":null,"body":"TELEMETRY messages sent periodically are used to report various parameters in a single JSON.\r\nSometime, probably when the new hour of operation begins, TELEMETRY message is sent with only Uptime in the body.\r\n\r\nThe problem is: I'm using openHAB to extract a single parameter from TELEMETRY message by using jsonpath transformation. When message with Uptime only arrives this generates an error as there is no parameter of interest is present.\r\n`tele/sonoff1/TELEMETRY {\"Time\":\"2017-01-29T19:59:17\", \"Uptime\":2, \"POWER\":\"OFF\", \"Wifi\":{\"AP\":1, \"SSID\":\"crazy\", \"RSSI\":48}}`\r\n`tele/sonoff1/TELEMETRY {\"Time\":\"2017-01-29T20:02:30\", \"Uptime\":3}`\r\n`tele/sonoff1/TELEMETRY {\"Time\":\"2017-01-29T20:04:23\", \"Uptime\":3, \"POWER\":\"OFF\", \"Wifi\":{\"AP\":1, \"SSID\":\"crazy\", \"RSSI\":44}}`\r\n\r\nMay I suggest to either send complete messages all the time or move Uptime to a separate topic?\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/comments/277457966","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/4#issuecomment-277457966","issue_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4","id":277457966,"user":{"login":"arendst","id":11044339,"avatar_url":"https://avatars.githubusercontent.com/u/11044339?v=3","gravatar_id":"","url":"https://api.github.com/users/arendst","html_url":"https://github.com/arendst","followers_url":"https://api.github.com/users/arendst/followers","following_url":"https://api.github.com/users/arendst/following{/other_user}","gists_url":"https://api.github.com/users/arendst/gists{/gist_id}","starred_url":"https://api.github.com/users/arendst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arendst/subscriptions","organizations_url":"https://api.github.com/users/arendst/orgs","repos_url":"https://api.github.com/users/arendst/repos","events_url":"https://api.github.com/users/arendst/events{/privacy}","received_events_url":"https://api.github.com/users/arendst/received_events","type":"User","site_admin":false},"created_at":"2017-02-04T16:39:27Z","updated_at":"2017-02-04T16:39:27Z","body":"Version 3.9.11 makes a difference between hourly update and teleperiod information."}}
{"actor":{"display_login":"arendst"}}