{"id":20751802,"url":"https://github.com/spcomb/nodemcu-projects","last_synced_at":"2026-04-13T11:32:45.997Z","repository":{"id":77894635,"uuid":"71079746","full_name":"SpComb/nodemcu-projects","owner":"SpComb","description":"NodeMCU applications (ArtNet, DMX)","archived":false,"fork":false,"pushed_at":"2017-08-01T22:42:43.000Z","size":53,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T23:32:24.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpComb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-10-16T21:56:46.000Z","updated_at":"2022-11-25T15:52:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7bd67d0-c871-48e7-9b9f-fb7fc06e83e3","html_url":"https://github.com/SpComb/nodemcu-projects","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpComb/nodemcu-projects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpComb%2Fnodemcu-projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpComb%2Fnodemcu-projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpComb%2Fnodemcu-projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpComb%2Fnodemcu-projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpComb","download_url":"https://codeload.github.com/SpComb/nodemcu-projects/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpComb%2Fnodemcu-projects/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"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":"2024-11-17T08:38:18.953Z","updated_at":"2026-04-13T11:32:45.972Z","avatar_url":"https://github.com/SpComb.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Firmware\n\nRequires nodemcu-firmware 2.0.0:\n\n* `src/artnet.lua` uses the 2.0 `net.udpsocket` API\n\n### DMX\n\nThe `src/dmx.lua` module requires a patched nodemcu-firmware for DMX output on UART2 (NodeMCU pin ***D4***, `GPIO2`, `TXD1`) at 250/125 kbaud: https://github.com/SpComb/nodemcu-firmware/tree/dmx-uart2\n\n### Building\n\n* `git clone -b build/2.0.0-master_20170202+qmsk-dmx_1 https://github.com/SpComb/nodemcu-firmware`\n* `docker run --rm -it -v $PWD:/opt/nodemcu-firmware marcelstoer/nodemcu-build`\n\nResults in `bin/nodemcu_integer_build_2.0.0-master_20170202+qmsk-dmx_1_*.bin`.\n\n### Flashing a ESP-12E with 4MiB flash\n\n    nodemcu-firmware $ ./tools/esptool.py --port /dev/ttyUSB5 write_flash -fm dio -fs 32m 0x00000 nodemcu_integer_build_2.0.0-master_20170202+qmsk-dmx_1_20170417-1113.bin 0x3fc000 ~/Downloads/ESP8266_NONOS_SDK_V1.5.4.1_patch_20160704/esp_init_data_default.bin\n\n## Configure\n\n### `etc/config.lua`\n\n    WIFI_SSID = \"...\"\n    WIFI_PSK = \"...\"\n\n## Setup\n\n### Install nodemcu-uploader\n    apt install virtualenv python-serial\n\n    virtualenv --system-site-packages opt\n\n    ./opt/bin/pip install --upgrade nodemcu-uploader\n\n### Upload\n\n    ./opt/bin/nodemcu-uploader --port /dev/ttyUSB5 upload etc/*.lua src/*.lua\n\n## Running\n\n    ./opt/bin/nodemcu-uploader --port /dev/ttyUSB5 exec init.lua\n\n## Usage\n\nConnects to the configured WiFi network in STA mode, using DHCP for autoconfiguration.\n\nImplements an ArtNet -\u003e DMX bridge, listening on UDP port 6454.\nThe second ESP8266 hardware UART is used to output serial DMX data on NodeMCU pin ***D4***.\nConnect this pin to a RS-485 transceiver (SN75176B), wired to an output XLR connector.\n\nSupports the Art-Net [Discovery](http://art-net.org.uk/?page_id=454), [Subscription](http://art-net.org.uk/?page_id=649) and [Streaming](http://art-net.org.uk/?page_id=456) protocols for both unicast and broadcast packets.\n\n### Art-Net\n\nSupported protocol features:\n\n* Receiving [`ArtPoll`](http://art-net.org.uk/?page_id=575) packets\n* Sending (unicast) [`ArtPollReply`](http://art-net.org.uk/?page_id=575) packets\n  * These should be broadcast, but the NodeMCU net module does not allow that\n* Receiving [`ArtDmx`](http://art-net.org.uk/?page_id=675) packets\n* Optional stream sequencing to skip duplicated/reordered packets.\n  * Packets having a non-zero `ArtDmx.Sequence` field\n* Outputting DMX for the configured Art-Net universe\n  * Configured for a single output port on universe 0\n\n## TODO\n\nThe Art-Net node is hardcoded for a specific Art-Net universe (0).\nSupport [`ArtAddress`](http://art-net.org.uk/?page_id=900) for dynamic configuration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspcomb%2Fnodemcu-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspcomb%2Fnodemcu-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspcomb%2Fnodemcu-projects/lists"}