{"action":"created","issue":{"url":"https://api.github.com/repos/jgyates/genmon/issues/75","repository_url":"https://api.github.com/repos/jgyates/genmon","labels_url":"https://api.github.com/repos/jgyates/genmon/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/jgyates/genmon/issues/75/comments","events_url":"https://api.github.com/repos/jgyates/genmon/issues/75/events","html_url":"https://github.com/jgyates/genmon/issues/75","id":300304959,"number":75,"title":"Incorrect Engine State: Cooling Down","user":{"login":"ColtB45","id":3905447,"avatar_url":"https://avatars1.githubusercontent.com/u/3905447?v=4","gravatar_id":"","url":"https://api.github.com/users/ColtB45","html_url":"https://github.com/ColtB45","followers_url":"https://api.github.com/users/ColtB45/followers","following_url":"https://api.github.com/users/ColtB45/following{/other_user}","gists_url":"https://api.github.com/users/ColtB45/gists{/gist_id}","starred_url":"https://api.github.com/users/ColtB45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColtB45/subscriptions","organizations_url":"https://api.github.com/users/ColtB45/orgs","repos_url":"https://api.github.com/users/ColtB45/repos","events_url":"https://api.github.com/users/ColtB45/events{/privacy}","received_events_url":"https://api.github.com/users/ColtB45/received_events","type":"User","site_admin":false},"labels":[{"id":563850597,"url":"https://api.github.com/repos/jgyates/genmon/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-26T16:27:51Z","updated_at":"2018-02-26T17:57:18Z","closed_at":"2018-02-26T17:36:07Z","author_association":"NONE","body":"I've got a 7030 with a Evolution controller that incorrectly reports a state of Cooling Down while running in an outage. It's the only one I have seen do that.\r\n\r\nIt does briefly go to Running, but then (during a 3 hour outage) stays on cooling down for the duration. Once utility power is restored it goes back to running, and then Stopped.\r\n\r\nAs a minor aside, it also sends all emails except 'Utility Power Restored' in duplicate.\r\n\r\n```\r\nRegisters:\r\nNum Regs: 209\r\nNot Changed: 158309 Changed 5085 Total Changed 0.03\r\n0038:0000                       0034:0000\r\n0037:10a5                       0032:4000\r\n05f5:0000                       05f4:0000\r\n05f1:0000                       01f1:0000\r\n05ed:0064                       023b:0000\r\n023e:0000                       003b:0000\r\n05fa:0000                       0059:0000\r\n0058:0000                       0053:0000\r\n0052:0000                       0057:0000\r\n0056:0000                       0055:0000\r\n0054:0000                       0208:03f2\r\n005c:0000                       005a:0000\r\n005f:0000                       005d:0000\r\n003c:0000                       000d:0000\r\n000e:0a15                       000f:021a\r\n000a:0085                       000c:0005\r\n0005:0a0a                       0006:0000\r\n0000:0009                       0001:00000000\r\n0008:0000                       0009:00f5\r\n01f2:0000                       0012:0000\r\n0011:009c                       0010:0112\r\n0007:0000                       0019:0001\r\n002b:0005                       002c:0a0a\r\n002a:6a77                       002f:0000\r\n002d:0002                       002e:0001\r\n0020:0000                       0021:0000\r\n001f:4a49                       001e:018a\r\n001d:0000                       001c:0000\r\n001b:476f                       001a:00c2\r\n01f4:33303032323537353634\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jgyates/genmon/issues/comments/368590354","html_url":"https://github.com/jgyates/genmon/issues/75#issuecomment-368590354","issue_url":"https://api.github.com/repos/jgyates/genmon/issues/75","id":368590354,"user":{"login":"jgyates","id":4513286,"avatar_url":"https://avatars1.githubusercontent.com/u/4513286?v=4","gravatar_id":"","url":"https://api.github.com/users/jgyates","html_url":"https://github.com/jgyates","followers_url":"https://api.github.com/users/jgyates/followers","following_url":"https://api.github.com/users/jgyates/following{/other_user}","gists_url":"https://api.github.com/users/jgyates/gists{/gist_id}","starred_url":"https://api.github.com/users/jgyates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgyates/subscriptions","organizations_url":"https://api.github.com/users/jgyates/orgs","repos_url":"https://api.github.com/users/jgyates/repos","events_url":"https://api.github.com/users/jgyates/events{/privacy}","received_events_url":"https://api.github.com/users/jgyates/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T17:57:18Z","updated_at":"2018-02-26T17:57:18Z","author_association":"OWNER","body":"\r\nSounds good. One other thing we can check is the logs in /var/log. If you have them. I know you said that your system is overlayed, but just thought I would ask. If you have them we would want to see genmon.log, myserial.log (probably empty since you report no comm errors) and mymail.log (odd that you are getting duplicate emails).\r\n\r\nIt sounds like you are using this on multiple generators, which is great if you are since we can narrow down the differences easily. If you are are all of the generators the same model or are they different models?\r\n\r\nAnother thing we can do to test is have the software monitor register 0001. genmon.py has the ability to monitor retisters and send an email when they change:\r\n\r\nOn line 294:\r\n\r\n        self.PrimeRegisters = {\r\n                    \"0001\" : [4, 0],     # Alarm and status register\r\n\r\nChange the last zero to a one like this:\r\n\r\n        self.PrimeRegisters = {\r\n                    \"0001\" : [4, 1],     # Alarm and status register\r\n\r\nOnce you make this change and restart it will send an email every time register 0001 changes.\r\n"}}
{"actor":{"display_login":"jgyates"}}