{"id":16133433,"url":"https://github.com/fasteddy516/circuitpython_wiznet5k_socket_visualizer","last_synced_at":"2026-04-30T09:38:44.084Z","repository":{"id":176723887,"uuid":"657787106","full_name":"fasteddy516/CircuitPython_Wiznet5k_Socket_Visualizer","owner":"fasteddy516","description":"A tool to help visualize the state of hardware sockets on WIZnet5k chipsets.","archived":false,"fork":false,"pushed_at":"2023-06-29T19:14:19.000Z","size":219,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-30T09:38:42.372Z","etag":null,"topics":["circuitpython","w5100s","wiznet-ethernet-hat","wiznet5k"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fasteddy516.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["fasteddy516"]}},"created_at":"2023-06-23T21:15:51.000Z","updated_at":"2023-07-21T22:30:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8dff1e4-9c8c-4096-a47c-eb9adfc9f63b","html_url":"https://github.com/fasteddy516/CircuitPython_Wiznet5k_Socket_Visualizer","commit_stats":null,"previous_names":["fasteddy516/circuitpython_wiznet5k_socket_visualizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fasteddy516/CircuitPython_Wiznet5k_Socket_Visualizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasteddy516%2FCircuitPython_Wiznet5k_Socket_Visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasteddy516%2FCircuitPython_Wiznet5k_Socket_Visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasteddy516%2FCircuitPython_Wiznet5k_Socket_Visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasteddy516%2FCircuitPython_Wiznet5k_Socket_Visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fasteddy516","download_url":"https://codeload.github.com/fasteddy516/CircuitPython_Wiznet5k_Socket_Visualizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasteddy516%2FCircuitPython_Wiznet5k_Socket_Visualizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["circuitpython","w5100s","wiznet-ethernet-hat","wiznet5k"],"created_at":"2024-10-09T22:44:40.270Z","updated_at":"2026-04-30T09:38:44.068Z","avatar_url":"https://github.com/fasteddy516.png","language":"Python","funding_links":["https://github.com/sponsors/fasteddy516"],"categories":[],"sub_categories":[],"readme":"# CircuitPython WIZnet5k Socket Visualizer\n\n###### A tool to help visualize the state of hardware sockets on WIZnet5k chipsets in CircuitPython using Adafruit's WIZnet5k driver.\n\nWritten by [Edward Wright](https://github.com/fasteddy516) (fasteddy516).\n\nAvailable at https://github.com/fasteddy516/CircuitPython_Wiznet5k_Socket_Visualizer\n\n\n# Description\n\nSocket Visualizer is a [CircuitPython](https://circuitpython.org/) script that was created to help test the [WIZnet5k driver](https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k) provided by [Adafruit](https://www.adafruit.com/).  It creates a simple server that listens for TCP connections and displays a table in the serial console containing hardware socket status information ('reservation' state, status and connected client) as connections are made and broken.  When clients connect, the server sends a string indicating which hardware socket the client is connected to.  While the client is connected, the server sends out 'heartbeat' strings every 2 seconds.\n\nBelow is an example of the Socket Visualizer's output:\n\n![An example of Socket Visualizer's output](images/example.png)\n\n\n# Dependencies\n\nYou will need the following CircuitPython drivers to run this script:\n\n* [Adafruit_CircuitPython_BusDevice](https://github.com/adafruit/Adafruit_CircuitPython_BusDevice)\n* [Adafruit_CircuitPython_Wiznet5k](https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k)\n\n   *The easiest way to install these drivers on your CircuitPython device is using Adafruit's [circup tool](https://learn.adafruit.com/keep-your-circuitpython-libraries-on-devices-up-to-date-with-circup/overview).*\n\n* Colors and unicode characters are used in the console output, so be sure to use a terminal application that supports these features.\n\n* While these aren't exactly _dependencies_, it should be noted that this tool was developed and tested using CircuitPython 8.2.0 and Adafruit_CircuitPython_Wiznet5k driver version 3.0.0 on a Raspberry Pi Pico attached to a WIZnet Ethernet Hat with a w5100s chipset.  Output was verified in the [SimplySerial](https://github.com/fasteddy516/SimplySerial) terminal application running in PowerShell on Windows 11.  \n\n   *This tool accesses private variables/properties (`socket._socknum`, `socket._status`, and `WIZNET5K._sockets_reserved`) which are not part of the official driver API and may be changed in driver versions beyond 3.0.0 which would break this tool.*\n\n\n# Using Socket Visualizer\n* Install the dependencies listed above on your CircuitPython device\n\n* Copy [main.py](https://github.com/fasteddy516/CircuitPython_Wiznet5k_Socket_Visualizer/blob/main/main.py) from this repository to your CircuiytPython device.  \n   \n   *If there is already a `code.py` file on your device, you will need to delete or rename it to allow `main.py` to run.*\n\n* Make sure the variables in the `CONFIGURATION` section (near the top of the script just after all the `import` statements) are set appropriately for your device/environment.\n\n* Connect to the CircuitPython serial console and restart the script.\n\n* Use a tool like [PuTTy](https://www.chiark.greenend.org.uk/~sgtatham/putty/) to connect to your CircuitPython device and watch the socket status update in the serial console.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasteddy516%2Fcircuitpython_wiznet5k_socket_visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffasteddy516%2Fcircuitpython_wiznet5k_socket_visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasteddy516%2Fcircuitpython_wiznet5k_socket_visualizer/lists"}