{"id":41798756,"url":"https://github.com/kasbert/epsolar-tracer","last_synced_at":"2026-01-25T05:34:20.812Z","repository":{"id":2468352,"uuid":"38964007","full_name":"kasbert/epsolar-tracer","owner":"kasbert","description":"Tools for EPsolar Tracer BN solar charge controller","archived":false,"fork":false,"pushed_at":"2025-01-13T01:56:31.000Z","size":937,"stargazers_count":119,"open_issues_count":6,"forks_count":76,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-01-13T02:37:46.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kasbert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-12T14:06:46.000Z","updated_at":"2025-01-13T01:56:35.000Z","dependencies_parsed_at":"2025-01-13T02:35:00.075Z","dependency_job_id":"06c3736b-bfcd-4e12-bd8f-6bb7311d86a5","html_url":"https://github.com/kasbert/epsolar-tracer","commit_stats":{"total_commits":43,"total_committers":6,"mean_commits":7.166666666666667,"dds":"0.18604651162790697","last_synced_commit":"2589a1c10bd9fe15e16043a62ad0ec5099a0b2cc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kasbert/epsolar-tracer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasbert%2Fepsolar-tracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasbert%2Fepsolar-tracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasbert%2Fepsolar-tracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasbert%2Fepsolar-tracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kasbert","download_url":"https://codeload.github.com/kasbert/epsolar-tracer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasbert%2Fepsolar-tracer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28744429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-25T05:34:20.248Z","updated_at":"2026-01-25T05:34:20.798Z","avatar_url":"https://github.com/kasbert.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epsolar-tracer\nTools for EPsolar Tracer A and BN solar charge controller\n===================================================\n![Img](img/epsolar_tracer_bn.jpg)\n\nThis is the second generation of the EPsolar Tracer solar charge controller. \nYou need RS-485 adapter for communication. The first generation controller \nused RS-232 and a different protocol. see https://github.com/xxv/tracer.\n\n[Product link 1](http://www.epsolarpv.com/en/index.php/Product/pro_content/id/573/am_id/136)  \n[Product link 2](http://www.epsolarpv.com/en/index.php/Product/index/id/653/am_id/134)  \n\nCheck [EPEVER site](https://www.epever.com/) for more info and Windows software.\nThere are also some [nice pictures](http://gwl-power.tumblr.com/tagged/tracer) on Tumblr.\n\nLinux driver for Exar USB UART\n------------------------------\nNOTE If you have Linux kernel version 6.5 or newer, you don't need any special driver.\nFor example in Raspbian/bookworm:\n```\nkasper@zombie:~ $ uname -r\n6.6.62+rpt-rpi-v8\nkasper@zombie:~ $ lsmod | grep serial\nxr_serial              16384  0\nusbserial              40960  1 xr_serial\nkasper@zombie:~ $ ls -l /dev/ttyUSB*\ncrw-rw---- 1 root dialout 188, 0 Jan 13 05:59 /dev/ttyUSB0\n```\n\nIf you cannot use a new kernel, you may try this Linux driver in\n[directory](xr_usb_serial_common-1a). That is for for Exar based USB RS-485 adapter. \nThe original source was from Exar website, but it has dissapeared when MaxLinear acquired Exar.\n\nProtocol\n--------\n[Protocol](archive/1733_modbus_protocol.pdf)\nSee for [windows capture](archive/epsolar.txt) for some extra commands.\n\nPython module\n-------------\nUses modbus library (https://github.com/bashwork/pymodbus)  \nExample output\n```\n# python info.py \nManufacturer: 'EPsolar Tech co., Ltd'\nModel: 'Tracer2215BN'\nVersion: 'V02.05+V07.12'\nCharging equipment rated input voltage = 150.0V\nCharging equipment rated input voltage = 150.0V\nCharging equipment rated input current = 20.0A\n...\n```\nWiring\n------\nEpsolar controller uses RJ45 connector. If you use other RS-485 adapter than Exar, you may create the cable from an Ethernet cable.\nCheck the colors from the following tables, your cable is typically T768B or T768A.\n* Connect brown wire to adapter pin marked as GND if your adapter has the pin.\n* Connect blue wire to the adapter pin marked as B or D-\n* T768A: Connect orange wire to adapter pin marked as A or D+  OR\n* T768B: Connect green wire to adapter pin marked as A or D+ .\n\nThe other pins are used by MT-50 display and not needed with USB adapter.\n\n| Pin | Function  | Wire  | Eth. T768A  \t| Eth. T768B  \t|\n|---\t|---        |---\t  |---\t          |---\t          |\n| 1  \t| Power     |   \t  | White-Green   | White-Orange  |\n| 2  \t| Power     |   \t  | Green         | Orange  \t    |\n| 3  \t| RS-485-B  |       | White-Orange  | White-Green   |\n| 4  \t| RS-485-B  | D - \t| Blue          | Blue          |\n| 5  \t| RS-485-A  |       | White-Blue    | White-Blue    |\n| 6  \t| RS-485-A  | D +   | Orange  \t    | Green         |\n| 7  \t| Ground \t  |   \t  | White-Brown   | White-Brown   |\n| 8  \t| Ground \t  | GND\t  | Brown\t        | Brown\t        |\n\n\u003cimg src=\"img/Ethernet_RJ45_connector_p1160054.jpg\"  width=\"600\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasbert%2Fepsolar-tracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasbert%2Fepsolar-tracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasbert%2Fepsolar-tracer/lists"}