{"action":"opened","issue":{"url":"https://api.github.com/repos/markszabo/IRremoteESP8266/issues/544","repository_url":"https://api.github.com/repos/markszabo/IRremoteESP8266","labels_url":"https://api.github.com/repos/markszabo/IRremoteESP8266/issues/544/labels{/name}","comments_url":"https://api.github.com/repos/markszabo/IRremoteESP8266/issues/544/comments","events_url":"https://api.github.com/repos/markszabo/IRremoteESP8266/issues/544/events","html_url":"https://github.com/markszabo/IRremoteESP8266/issues/544","id":366465752,"node_id":"MDU6SXNzdWUzNjY0NjU3NTI=","number":544,"title":"Panasonic AC On and Off timer","user":{"login":"MikkelTb","id":43718311,"node_id":"MDQ6VXNlcjQzNzE4MzEx","avatar_url":"https://avatars1.githubusercontent.com/u/43718311?v=4","gravatar_id":"","url":"https://api.github.com/users/MikkelTb","html_url":"https://github.com/MikkelTb","followers_url":"https://api.github.com/users/MikkelTb/followers","following_url":"https://api.github.com/users/MikkelTb/following{/other_user}","gists_url":"https://api.github.com/users/MikkelTb/gists{/gist_id}","starred_url":"https://api.github.com/users/MikkelTb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikkelTb/subscriptions","organizations_url":"https://api.github.com/users/MikkelTb/orgs","repos_url":"https://api.github.com/users/MikkelTb/repos","events_url":"https://api.github.com/users/MikkelTb/events{/privacy}","received_events_url":"https://api.github.com/users/MikkelTb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T18:20:13Z","updated_at":"2018-10-03T18:20:13Z","closed_at":null,"author_association":"NONE","body":"HI.\r\n\r\nI find the Data in Panasonic protocol, which contain \"Time\", \"On\" and \"Off\"\r\n\r\nRemote control:   (toggel on/off) -> 23C, Fan Auto, Swing Auto, Quiet Off, Powerful Off\r\nAC -> CS-ME14CKPG\r\nRemote -> A75C2311\r\n(my AC does not have a Vertical Swing)\r\n \r\nOn Timer set to 16:00\r\nOff Timer set to 6:30\r\nTime for pusch the Button 18:16\r\n\r\n_uint8_t state[27] = {0x02, 0x20, 0xE0,   0x04, 0x00, 0x00, 0x00, 0x06, 0x02, 0x20, 0xE0, 0x04, 0x00, 0x4E, 0x2E, 0x80,   0xAF, 0x00, 0xCA, 0x6B, 0x98, 0x10, 0x00, 0x01, 0x48, 0x04, 0xDB};_\r\n\r\nByte nr 14 (0x4E) Contain information about State of On/Off timer\r\nByte nr. 19 to 21 (0xCA, 0x6B, 0x98) Contain the timer value\r\nByte nr 25 and 26 (0x48, 0x04)Contain the Time now\r\n\r\n**Byte nr.: 14**\r\nBoth Cancel -> 0x48 -> 0100 1000\r\nOn -> 0x4A -> 0100 1010\r\nOff -> 0x4C -> 0100 1100\r\nOn And Off -> 04E -> 0100 1110\r\nBit nr 6 and 7 show the state of On and Off timer\r\n\r\n**Byte 19 to 21 (0xCA, 0x6B, 0x98)**\r\nThis represent the timer which, On timer 16:10, and Off timer 6:30\r\n16:10 -> 16*60+10 -> 970 -> 0011 1100 1010 -> 3CA\r\nCA is byte nr 19.\r\n3 is comming from \"0x6B\" 0x6B -> 0110 1011 < But only the last 3 bit is taking \r\nThe last 3 bit -> 011\r\n0xCA -> 1100 1010\r\n011 1100 1010 <- 16:10\r\n\r\n6:30 -> 6*60+30 -> 390 -> 0001 1000 0110 -> 186\r\nfrom 0x6B, the first 4 bit is use -> 0110 1000\r\nfrom 0x98, the first bit is not in use -> 1001 1000\r\n001 1000 0110 -> 0x186 <- 6:30\r\nCA is byte nr 19.\r\n\r\n**Byte nr 25 and 26 (0x48, 0x04) Contain the Time now**\r\nThe clock was 18:16\r\n18:16 -> 18*60+16 -> 1096 -> 0100 0100 1000 -> 0x448\r\nByte nr 26 first, and only the last 3 bit, then Byte 25\r\n\r\nI hope it make sens\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"MikkelTb"}}