{"action":"created","issue":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3344","repository_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota","labels_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3344/labels{/name}","comments_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3344/comments","events_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3344/events","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/3344","id":345170220,"node_id":"MDU6SXNzdWUzNDUxNzAyMjA=","number":3344,"title":"rule 'once' option does not work for me","user":{"login":"qorron","id":808330,"node_id":"MDQ6VXNlcjgwODMzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/808330?v=4","gravatar_id":"","url":"https://api.github.com/users/qorron","html_url":"https://github.com/qorron","followers_url":"https://api.github.com/users/qorron/followers","following_url":"https://api.github.com/users/qorron/following{/other_user}","gists_url":"https://api.github.com/users/qorron/gists{/gist_id}","starred_url":"https://api.github.com/users/qorron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qorron/subscriptions","organizations_url":"https://api.github.com/users/qorron/orgs","repos_url":"https://api.github.com/users/qorron/repos","events_url":"https://api.github.com/users/qorron/events{/privacy}","received_events_url":"https://api.github.com/users/qorron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-27T10:13:10Z","updated_at":"2018-09-05T02:41:25Z","closed_at":"2018-07-27T10:22:39Z","author_association":"NONE","body":"\r\n\r\n\r\nMake sure these boxes are checked [x] before submitting your issue - Thank you!\r\n\r\n- [x] Searched the problem in issues (https://github.com/arendst/Sonoff-Tasmota/issues)\r\n- [x] Searched the problem in the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting)\r\n- [x] Searched the problem in the forum (https://forum.digital-pig.com/)\r\n- [x] Searched the problem in the discussion group (https://groups.google.com/d/forum/sonoffusers)\r\n- [x] Hardware used : Sonoff TH16\r\n- [x] Provide the output of command ``status 0`` :\r\n```\r\ntasmota/TH16_1/cmnd/status 0\r\ntasmota/TH16_1/stat/STATUS {\"Status\":{\"Module\":4,\"FriendlyName\":[\"TH16_1\"],\"Topic\":\"TH16_1\",\"ButtonTopic\":\"group1\",\"Power\":0,\"PowerOnState\":3,\"LedState\":1,\"SaveData\":1,\"SaveState\":1,\"ButtonRetain\":0,\"PowerRetain\":1}}\r\ntasmota/TH16_1/stat/STATUS1 {\"StatusPRM\":{\"Baudrate\":115200,\"GroupTopic\":\"group1\",\"OtaUrl\":\"http://192.168.2.2:80/api/arduino/sonoff.ino.bin\",\"RestartReason\":\"Software/System restart\",\"Uptime\":\"1T20:41:32\",\"StartupUTC\":\"2018-07-25T12:43:10\",\"Sleep\":0,\"BootCount\":8,\"SaveCount\":29,\"SaveAddress\":\"F7000\"}}\r\ntasmota/TH16_1/stat/STATUS2 {\"StatusFWR\":{\"Version\":\"6.1.1\",\"BuildDateTime\":\"2018-07-21T10:12:13\",\"Boot\":4,\"Core\":\"2_3_0\",\"SDK\":\"1.5.3(aec24ac9)\"}}\r\ntasmota/TH16_1/stat/STATUS3 {\"StatusLOG\":{\"SerialLog\":0,\"WebLog\":2,\"SysLog\":2,\"LogHost\":\"192.168.2.2\",\"LogPort\":514,\"SSId\":[\"wald\",\"Twilight\"],\"TelePeriod\":300,\"SetOption\":[\"00008229\",\"55818000\"]}}\r\ntasmota/TH16_1/stat/STATUS4 {\"StatusMEM\":{\"ProgramSize\":493,\"Free\":508,\"Heap\":15,\"ProgramFlashSize\":1024,\"FlashSize\":1024,\"FlashMode\":3,\"Features\":[\"00000809\",\"0F50A590\",\"00000001\",\"00040096\",\"00000000\"]}}\r\ntasmota/TH16_1/stat/STATUS5 {\"StatusNET\":{\"Hostname\":\"TH16_1-7687\",\"IPAddress\":\"192.168.2.108\",\"Gateway\":\"192.168.2.1\",\"Subnetmask\":\"255.255.255.0\",\"DNSServer\":\"192.168.2.1\",\"Mac\":\"5C:CF:7F:9F:1E:07\",\"Webserver\":2,\"WifiConfig\":3}}\r\ntasmota/TH16_1/stat/STATUS6 {\"StatusMQT\":{\"MqttHost\":\"192.168.2.2\",\"MqttPort\":1883,\"MqttClientMask\":\"DVES_%06X\",\"MqttClient\":\"DVES_9F1E07\",\"MqttUser\":\"DVES_USER\",\"MqttType\":1,\"MAX_PACKET_SIZE\":1000,\"KEEPALIVE\":15}}\r\ntasmota/TH16_1/stat/STATUS7 {\"StatusTIM\":{\"UTC\":\"Fri Jul 27 09:24:42 2018\",\"Local\":\"Fri Jul 27 11:24:42 2018\",\"StartDST\":\"Sun Mar 25 02:00:00 2018\",\"EndDST\":\"Sun Oct 28 03:00:00 2018\",\"Timezone\":99,\"Sunrise\":\"06:17\",\"Sunset\":\"21:36\"}}\r\ntasmota/TH16_1/stat/STATUS10 {\"StatusSNS\":{\"Time\":\"2018-07-27T11:24:42\",\"DS18B20\":{\"Temperature\":23.7},\"TempUnit\":\"C\"}}\r\ntasmota/TH16_1/stat/STATUS11 {\"StatusSTS\":{\"Time\":\"2018-07-27T11:24:42\",\"Uptime\":\"1T20:41:32\",\"Vcc\":3.209,\"POWER\":\"OFF\",\"Wifi\":{\"AP\":1,\"SSId\":\"wald\",\"RSSI\":70,\"APMac\":\"F0:9F:C2:FA:71:8B\"}}}\r\n```\r\n\r\nthis is my test setup:\r\n\r\n```\r\ntasmota/TH16_1/tele/STATE {\"Time\":\"2018-07-27T11:21:47\",\"Uptime\":\"1T20:38:37\",\"Vcc\":3.211,\"POWER\":\"ON\",\"Wifi\":{\"AP\":1,\"SSId\":\"wald\",\"RSSI\":70,\"APMac\":\"F0:9F:C2:FA:71:8B\"}}\r\ntasmota/TH16_1/tele/SENSOR {\"Time\":\"2018-07-27T11:21:47\",\"DS18B20\":{\"Temperature\":23.6},\"TempUnit\":\"C\"}\r\ntasmota/TH16_1/cmnd/power 0\r\ntasmota/TH16_1/stat/RESULT {\"POWER\":\"OFF\"}\r\ntasmota/TH16_1/stat/POWER OFF\r\ntasmota/TH16_1/cmnd/rule1 1\r\ntasmota/TH16_1/stat/RESULT {\"Rule1\":\"ON\",\"Once\":\"ON\",\"Free\":426,\"Rules\":\"on DS18B20#Temperature>25 do power 0 endon on DS18B20#Temperature<24 do power 1 endon\"}\r\ntasmota/TH16_1/stat/RESULT {\"POWER\":\"ON\"}\r\ntasmota/TH16_1/stat/POWER ON\r\ntasmota/TH16_1/stat/RESULT {\"POWER\":\"ON\"}\r\ntasmota/TH16_1/stat/POWER ON\r\ntasmota/TH16_1/stat/RESULT {\"POWER\":\"ON\"}\r\ntasmota/TH16_1/stat/POWER ON\r\ntasmota/TH16_1/stat/RESULT {\"POWER\":\"ON\"}\r\ntasmota/TH16_1/stat/POWER ON\r\ntasmota/TH16_1/stat/RESULT {\"POWER\":\"ON\"}\r\ntasmota/TH16_1/stat/POWER ON\r\ntasmota/TH16_1/stat/RESULT {\"POWER\":\"ON\"}\r\ntasmota/TH16_1/stat/POWER ON\r\n.....\r\n```\r\nfinal goal is:\r\nth16 with a DS18B20 attached to a PSU it controls.\r\nthe rule should turn the power off if a certain temperature is reached to prevent the PSU from overheating.\r\n\r\nthis setup (to toy around with rules):\r\nth16 with a DS18B20 on my desk and a LED light bulb attached to it.\r\n\r\nthe 'once' option appears to be set and yet, the power on message is repeated every second.\r\n\r\nwhat am I doing wrong?\r\n\r\n\r\n**(Please, remember to close the issue when the problem has been addressed)**\r\nwill do. promise!\r\n"},"comment":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/comments/418581197","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/3344#issuecomment-418581197","issue_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3344","id":418581197,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODU4MTE5Nw==","user":{"login":"vel2000","id":6571177,"node_id":"MDQ6VXNlcjY1NzExNzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6571177?v=4","gravatar_id":"","url":"https://api.github.com/users/vel2000","html_url":"https://github.com/vel2000","followers_url":"https://api.github.com/users/vel2000/followers","following_url":"https://api.github.com/users/vel2000/following{/other_user}","gists_url":"https://api.github.com/users/vel2000/gists{/gist_id}","starred_url":"https://api.github.com/users/vel2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vel2000/subscriptions","organizations_url":"https://api.github.com/users/vel2000/orgs","repos_url":"https://api.github.com/users/vel2000/repos","events_url":"https://api.github.com/users/vel2000/events{/privacy}","received_events_url":"https://api.github.com/users/vel2000/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T02:41:25Z","updated_at":"2018-09-05T02:41:25Z","author_association":"NONE","body":"I think it's not fixed.\r\nUsing Sonoff-Tasmota 6.2.0.1 and this message repeats every second\r\n\r\n``09:37:14 RUL: DS18B20#TEMPERATURE<32 performs \"power1 on\"\r\n09:37:14 RSL: RESULT = {\"POWER1\":\"ON\"}\r\n09:37:14 RSL: POWER1 = ON``\r\n\r\nrule is: \r\n`rule on DS18B20#Temperature>35 do power1 off endon on DS18B20#Temperature<32 do power1 on `endon``"}}
{"actor":{"display_login":"vel2000"}}