{"action":"created","issue":{"url":"https://api.github.com/repos/proddy/EMS-ESP/issues/176","repository_url":"https://api.github.com/repos/proddy/EMS-ESP","labels_url":"https://api.github.com/repos/proddy/EMS-ESP/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/proddy/EMS-ESP/issues/176/comments","events_url":"https://api.github.com/repos/proddy/EMS-ESP/issues/176/events","html_url":"https://github.com/proddy/EMS-ESP/issues/176","id":486605629,"node_id":"MDU6SXNzdWU0ODY2MDU2Mjk=","number":176,"title":"any send causes CRC error","user":{"login":"oli747","id":54645969,"node_id":"MDQ6VXNlcjU0NjQ1OTY5","avatar_url":"https://avatars2.githubusercontent.com/u/54645969?v=4","gravatar_id":"","url":"https://api.github.com/users/oli747","html_url":"https://github.com/oli747","followers_url":"https://api.github.com/users/oli747/followers","following_url":"https://api.github.com/users/oli747/following{/other_user}","gists_url":"https://api.github.com/users/oli747/gists{/gist_id}","starred_url":"https://api.github.com/users/oli747/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oli747/subscriptions","organizations_url":"https://api.github.com/users/oli747/orgs","repos_url":"https://api.github.com/users/oli747/repos","events_url":"https://api.github.com/users/oli747/events{/privacy}","received_events_url":"https://api.github.com/users/oli747/received_events","type":"User","site_admin":false},"labels":[{"id":933047455,"node_id":"MDU6TGFiZWw5MzMwNDc0NTU=","url":"https://api.github.com/repos/proddy/EMS-ESP/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2019-08-28T20:58:17Z","updated_at":"2019-09-17T06:40:46Z","closed_at":null,"author_association":"NONE","body":"I have some issues with the EMS bus.\r\n\r\nI have the code running on a wemos D1R2 mini. I use the EMS interface board from bbqkees (I ordered a soldered and tested one, before he started to ship the complete setup with the esp8266 included). I power the wemos with a 5V power supply, and connect to the bus using EMS screw terminal to the Nefit topline aquapower CW5 boiler / Nefit Easy thermostat. I tried the resistor jumper setting in both positions and see no difference. B.t.w. I compiled the code on Arduino (needed to change a few include headers from <> to \" \" but no real code changes). \r\n\r\nEMS-ESP system stats:\r\n  System logging set to Verbose\r\n  LED is on, Listen mode is off\r\n  Boiler is disabled, Thermostat is disabled, Solar Module is disabled, Shower Timer is disabled, Shower Alert is disabled\r\n\r\nEMS Bus stats:\r\n  Bus is connected\r\n  Rx: # successful read requests=0, # CRC errors=17\r\n  Tx: Last poll=2.500 seconds ago, # successful write requests=0\r\n\r\n[..]\r\n\r\nFrom looking at the logging (set to verbose), I think it reads messages correctly, but it fails to send messages (any send causes a CRC error). But perhaps I interpret the logs wrong. This is a typical log:\r\n\r\n(00:00:09.900) Sending raw: 8B 88 02 00 20 00\r\n(00:00:09.910) Corrupt telegram: 8B 4C 00 20 74\r\n(00:00:11.368) 0x18 -> 0x08, type 0x18, telegram: 18 88 18 00 18 (CRC=C5) #data=1\r\n(00:00:11.404) 0x08 -> 0x18, type 0x18, telegram: 08 18 18 00 07 01 80 00 00 00 00 00 60 01 89 01 D9 01 6C 00 00 0E 30 48 00 CB 00 00 (CRC=94) #data=24\r\n(00:00:11.443) 0x08 -> all, type 0x07, telegram: 08 00 07 00 03 00 01 00 00 00 00 00 00 00 00 00 00 (CRC=76) #data=13\r\n(00:00:12.775) Sending read of type 0x02 to 0x30:telegram: 0B B0 02 00 20 (CRC=65) #data=142\r\n(00:00:12.785) Corrupt telegram: 0B 13 00 20 65\r\n(00:00:18.130) 0x08 -> all, type 0x18, telegram: 08 00 18 00 07 01 80 00 00 00 00 00 60 01 89 01 D9 01 6C 00 00 0E 30 48 00 CB 00 00 00 (CRC=6D) #data=25\r\n<--- UBAMonitorFast(0x18)\r\n(00:00:18.349) 0x08 -> all, type 0x34, telegram: 08 00 34 00 38 01 D9 01 D9 21 00 00 03 00 00 DC 14 00 26 26 00 80 00 (CRC=23) #data=19\r\n<--- UBAMonitorWWMessage(0x34)\r\n(00:00:18.575) Sending read of type 0x02 to 0x38:telegram: 0B B8 02 00 20 (CRC=25)\r\n(00:00:18.584) Corrupt telegram: 0B 13 00 20 25\r\n(00:00:27.843) 0x08 -> all, type 0x07, telegram: 08 00 07 00 03 00 01 00 00 00 00 00 00 00 00 00 00 (CRC=76) #data=13\r\n(00:00:28.155) 0x08 -> all, type 0x18, telegram: 08 00 18 00 07 01 80 00 00 00 00 00 60 01 89 01 D9 01 6D 00 00 0E 30 48 00 CB 00 00 00 (CRC=09) #data=25\r\n<--- UBAMonitorFast(0x18)\r\n(00:00:28.424) 0x08 -> all, type 0x34, telegram: 08 00 34 00 38 01 D9 01 D9 21 00 00 03 00 00 DC 14 00 26 26 00 80 00 (CRC=23) #data=19\r\n<--- UBAMonitorWWMessage(0x34)\r\n(00:00:29.525) Sending read of type 0x02 to 0x02:telegram: 0B 82 02 00 20 (CRC=EC)\r\n(00:00:29.535) Corrupt telegram: 0B 30 20 20 EC\r\n(00:00:36.368) 0x08 -> all, type 0x07, telegram: 08 00 07 00 03 00 01 00 00 00 00 00 00 00 00 00 00 (CRC=76) #data=13\r\n(00:00:37.625) Sending read of type 0x02 to 0x08:telegram: 0B 88 02 00 20 (CRC=BC)\r\n(00:00:37.635) Corrupt telegram: 0B 4C 00 20 BC\r\n\r\nAnybody an idea  what I should try next?"},"comment":{"url":"https://api.github.com/repos/proddy/EMS-ESP/issues/comments/532083358","html_url":"https://github.com/proddy/EMS-ESP/issues/176#issuecomment-532083358","issue_url":"https://api.github.com/repos/proddy/EMS-ESP/issues/176","id":532083358,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMjA4MzM1OA==","user":{"login":"susisstrolch","id":1432955,"node_id":"MDQ6VXNlcjE0MzI5NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1432955?v=4","gravatar_id":"","url":"https://api.github.com/users/susisstrolch","html_url":"https://github.com/susisstrolch","followers_url":"https://api.github.com/users/susisstrolch/followers","following_url":"https://api.github.com/users/susisstrolch/following{/other_user}","gists_url":"https://api.github.com/users/susisstrolch/gists{/gist_id}","starred_url":"https://api.github.com/users/susisstrolch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susisstrolch/subscriptions","organizations_url":"https://api.github.com/users/susisstrolch/orgs","repos_url":"https://api.github.com/users/susisstrolch/repos","events_url":"https://api.github.com/users/susisstrolch/events{/privacy}","received_events_url":"https://api.github.com/users/susisstrolch/received_events","type":"User","site_admin":false},"created_at":"2019-09-17T06:40:46Z","updated_at":"2019-09-17T06:40:46Z","author_association":"COLLABORATOR","body":"> log j\r\n> Unknown command. Use ? for help.\r\n> \r\n> I guess I need to reflash to the beta first?\r\n\r\nNo...\r\n> In those cases it's pretty helpfull to **\"set log j\"** - jabbermode - which shows what's going on on the EMS-bus."}}
{"actor":{"display_login":"susisstrolch"}}