{"action":"created","issue":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2613","repository_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota","labels_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2613/labels{/name}","comments_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2613/comments","events_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2613/events","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/2613","id":319759136,"number":2613,"title":"5.13.1 Incorrect pulsetime when it was triggered by rule","user":{"login":"wongnam","id":36041520,"avatar_url":"https://avatars1.githubusercontent.com/u/36041520?v=4","gravatar_id":"","url":"https://api.github.com/users/wongnam","html_url":"https://github.com/wongnam","followers_url":"https://api.github.com/users/wongnam/followers","following_url":"https://api.github.com/users/wongnam/following{/other_user}","gists_url":"https://api.github.com/users/wongnam/gists{/gist_id}","starred_url":"https://api.github.com/users/wongnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wongnam/subscriptions","organizations_url":"https://api.github.com/users/wongnam/orgs","repos_url":"https://api.github.com/users/wongnam/repos","events_url":"https://api.github.com/users/wongnam/events{/privacy}","received_events_url":"https://api.github.com/users/wongnam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-03T00:59:08Z","updated_at":"2018-05-03T11:55:28Z","closed_at":null,"author_association":"NONE","body":"Make sure these boxes are checked before submitting your issue - Thank you!\r\n- [x] What hardware you are using\r\nI am using Sonoff Dual R2 with Tasmota firmware version 5.13.1\r\n- [x] Provide the output of command ``status 0``\r\n07:58:36 CMD: status 0\r\n07:58:36 MQT: stat/livingroom/STATUS = {\"Status\":{\"Module\":39,\"FriendlyName\":[\"Living Room Fan\",\"Living Room Light 1\",\"Buzzer\",\"For Test\"],\"Topic\":\"livingroom\",\"ButtonTopic\":\"0\",\"Power\":0,\"PowerOnState\":3,\"LedState\":1,\"SaveData\":1,\"SaveState\":1,\"ButtonRetain\":0,\"PowerRetain\":0}}\r\n07:58:36 MQT: stat/livingroom/STATUS1 = {\"StatusPRM\":{\"Baudrate\":115200,\"GroupTopic\":\"sonoffs\",\"OtaUrl\":\"http://sonoff.maddox.co.uk/tasmota/sonoff.ino.bin\",\"RestartReason\":\"Hardware Watchdog\",\"Uptime\":\"0T00:41:18\",\"StartupUTC\":\"2018-05-03T00:17:18\",\"Sleep\":0,\"BootCount\":18,\"SaveCount\":830,\"SaveAddress\":\"FA000\"}}\r\n07:58:36 MQT: stat/livingroom/STATUS2 = {\"StatusFWR\":{\"Version\":\"5.13.1\",\"BuildDateTime\":\"2018-05-02T21:05:24\",\"Boot\":31,\"Core\":\"2_3_0\",\"SDK\":\"1.5.3(aec24ac9)\"}}\r\n07:58:36 MQT: stat/livingroom/STATUS3 = {\"StatusLOG\":{\"SerialLog\":0,\"WebLog\":2,\"SysLog\":0,\"LogHost\":\"\",\"LogPort\":514,\"SSId\":[\"Multimedia Wi-Fi Network\",\"Wongnam\"],\"TelePeriod\":300,\"SetOption\":[\"00808009\",\"55C18000\"]}}\r\n07:58:36 MQT: stat/livingroom/STATUS4 = {\"StatusMEM\":{\"ProgramSize\":523,\"Free\":480,\"Heap\":16,\"ProgramFlashSize\":1024,\"FlashSize\":1024,\"FlashMode\":3}}\r\n07:58:36 MQT: stat/livingroom/STATUS5 = {\"StatusNET\":{\"Hostname\":\"livingroom-2739\",\"IPAddress\":\"192.168.12.133\",\"Gateway\":\"192.168.12.1\",\"Subnetmask\":\"255.255.255.0\",\"DNSServer\":\"192.168.12.1\",\"Mac\":\"60:01:94:98:0A:B3\",\"Webserver\":2,\"WifiConfig\":3}}\r\n07:58:36 MQT: stat/livingroom/STATUS6 = {\"StatusMQT\":{\"MqttHost\":\"192.168.12.126\",\"MqttPort\":1883,\"MqttClientMask\":\"DVES_%06X\",\"MqttClient\":\"DVES_980AB3\",\"MqttUser\":\"admin\",\"MqttType\":2,\"MAX_PACKET_SIZE\":1000,\"KEEPALIVE\":15}}\r\n07:58:36 MQT: stat/livingroom/STATUS7 = {\"StatusTIM\":{\"UTC\":\"Thu May 03 00:58:36 2018\",\"Local\":\"Thu May 03 07:58:36 2018\",\"StartDST\":\"Sun Mar 25 02:00:00 2018\",\"EndDST\":\"Sun Oct 28 03:00:00 2018\",\"Timezone\":7,\"Sunrise\":\"05:33\",\"Sunset\":\"18:05\"}}\r\n07:58:36 MQT: stat/livingroom/STATUS10 = {\"StatusSNS\":{\"Time\":\"2018-05-03T07:58:36\",\"Switch1\":\"ON\",\"Switch2\":\"ON\"}}\r\n07:58:36 MQT: stat/livingroom/STATUS11 = {\"StatusSTS\":{\"Time\":\"2018-05-03T07:58:36\",\"Uptime\":\"0T00:41:18\",\"Vcc\":3.160,\"POWER1\":\"OFF\",\"POWER2\":\"OFF\",\"POWER3\":\"OFF\",\"POWER4\":\"OFF\",\"Wifi\":{\"AP\":1,\"SSId\":\"Multimedia Wi-Fi Network\",\"RSSI\":80,\"APMac\":\"6C:70:9F:E4:88:20\"}}}\r\n\r\nI am using Sonoff Dual R2 with Tasmota firmware version 5.13.1\r\nthe issue i am facing is PulseTime for Power3 incorrect pulsetime when it was triggered by \"rule on Power1#State=OFF do Power3 ON endon\", it only turn the relay on a very short timing.\r\n\r\nif i directly press the button named \"Toggle3\" on webpage it will have the correct Pulsetime.\r\n- PulseTime3 5\r\n![image](https://user-images.githubusercontent.com/36041520/39559450-7e76f7d8-4ec0-11e8-907c-c3b46c09540b.png)\r\n\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/comments/386270496","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/2613#issuecomment-386270496","issue_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2613","id":386270496,"user":{"login":"wongnam","id":36041520,"avatar_url":"https://avatars1.githubusercontent.com/u/36041520?v=4","gravatar_id":"","url":"https://api.github.com/users/wongnam","html_url":"https://github.com/wongnam","followers_url":"https://api.github.com/users/wongnam/followers","following_url":"https://api.github.com/users/wongnam/following{/other_user}","gists_url":"https://api.github.com/users/wongnam/gists{/gist_id}","starred_url":"https://api.github.com/users/wongnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wongnam/subscriptions","organizations_url":"https://api.github.com/users/wongnam/orgs","repos_url":"https://api.github.com/users/wongnam/repos","events_url":"https://api.github.com/users/wongnam/events{/privacy}","received_events_url":"https://api.github.com/users/wongnam/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T11:55:28Z","updated_at":"2018-05-03T11:55:28Z","author_association":"NONE","body":"Yes, i am aware that 5 is 0.5 second. \r\nmy action taken as below:\r\n- use console and type command ON for Power3: result pulsetime is correct for 0.5s\r\n- use MQTT send comnand \"ON\" to Power3: it also has correct result for 0.5s\r\n- use \"Rule on Power1#State=OFF do Power3 ON endon\" : the actual plusetime is just about 0.1s\r\n\r\n"}}
{"actor":{"display_login":"wongnam"}}