https://github.com/seasaltsaige/openwink
An open sourced alternative to the popular Mazda Miata MX-5 Wink/Sleepy Eye Mod. Upgrade your Miata's style with a community driven open-source kit.
https://github.com/seasaltsaige/openwink
ble cars miata wink
Last synced: about 2 months ago
JSON representation
An open sourced alternative to the popular Mazda Miata MX-5 Wink/Sleepy Eye Mod. Upgrade your Miata's style with a community driven open-source kit.
- Host: GitHub
- URL: https://github.com/seasaltsaige/openwink
- Owner: seasaltsaige
- License: gpl-3.0
- Created: 2024-08-04T23:23:28.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-22T05:05:41.000Z (about 2 months ago)
- Last Synced: 2025-08-22T06:30:03.905Z (about 2 months ago)
- Topics: ble, cars, miata, wink
- Language: TypeScript
- Homepage: https://miatawink.tech
- Size: 18.2 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Open Wink Headlight Mod
An open sourced alternative to the popular Mazda Miata MX-5 [Wink/Sleepy Eye Mod](https://mx5tech.co.uk/wink-sleepy-eye-mod). Upgrade your Miata's style with a community driven open-source kit.[](https://tenor.com/view/miata-wink-miata-wink-i-stole-this-gif-pop-up-headlights-gif-25076583)
### Technologies[](https://expressjs.com/)
[](https://www.netlify.com/)[](https://www.typescriptlang.org/)
[](https://reactnative.dev/)
[](https://docs.expo.dev/)[](https://cplusplus.com/)
[](https://www.espressif.com/)
[](https://www.bluetooth.com/learn-about-bluetooth/tech-overview/)# Table of Contents
- [About the Project](#about-the-project)
- [Project Features](#project-features)
- [Update Server](#update-server)
- [Controller Application](#controller-application)
- [Wink Module](#wink-module)
- [Purchasing](#purchasing)
- [Support the Project](#support-the-project-)
- [Contributing](#contributing-)
- [Development Roadmap](#development-roadmap)
- [License](#license-)
- [Credits](#credits)
- [Contact](#contact-me)## About the Project
This project [started](https://github.com/seasaltsaige/popup-wink-mod) as a basic and rudimentary project using off the shelf components, and closely following the guides of online resources. After finding a [project partner](https://github.com/pyroxenes), who designed the custom PCB, the project has been able to evolve into a fully featured, custom project.This project serves as an open source (though purchasable) alternative to the popular [MX-5 Tech Wink Mod](https://mx5tech.co.uk/wink-sleepy-eye-mod). This repository contains the code base for several components of the project.
- The Update Server, used to push OTA updates to the Module, allowing for quick bug fixes if issues arise.
- The App, a React Native application that can be built to both Android and iOS.
- For more information on pre-built application installation, visit [here](./docs/build/BUILD.md#pre-built-application).
- For more information on building your own app, visit [here](./docs/build/BUILD.md#custom-build-artifact)
- The Module, code which compiles and gets flashed to the module board itself, allowing interaction with the cars' headlights.
- See [Issue #14](https://github.com/seasaltsaige/openwink/issues/14) for ESP-IDF refactor
- For more information on module flashing, visit [here](./docs/build/FLASHING.md).
- For more information on the module board design, visit [here](todo:link_to_board_design)## Project Features
### Update Server
- Manages over the air (OTA) firmware updates for the Wink Module.
- Allows for quick bug fixes and feature pushes without removal from your Miata.
- Lightweight and built with Express, ensuring reliable delivery of software.
- Versioning in updates, preventing accidental downgrades of firmware version.
### Controller Application
- Mobile application built with React Native and Expo, allowing for cross platform build for both Android and iOS. (Pre-built app currently available only for Android. See [Custom Build Guide](./docs/build/BUILD.md#custom-build-artifact) for more information)
- Controller based on Bluetooth Low Energy (BLE), allowing for long range communication and control.
- **Default Commands**: Left/Right/Both Up, Down, Blink/Wink and Wave
- Sleepy Eye: Allows for precise, per-headlight setup for a custom look.
- **Wave Delay**: Customization of delay between headlight actuation, for precise, desired wave style.
- **Custom Commands**: Create, save, and run a collection of commands,allowing for unique, custom headlight animations.
- **App Theme**: Minimal UI with additional theme customization to match NA Miata color themes.
- **Transparent Storage**: All data and settings stored on the app can be easily accessed and deleted in the App Settings.
- **OEM Button**: Assign custom actions for the OEM Retractor Button (from 2-10 sequential presses), executing pre-defined actions with configurable timing between presses, allowing for app-like actions without relying on the app.
- Built in firmware updates for Wink Module, utilizing the Update Server and a local WiFi AP.### Wink Module
- Custom PCB designed by [pyroxenes](https://github.com/pyroxenes) allowing for clean integration into the Miatas headlight circuitry.
- Powered by an ESP32-S3 MCU allowing for Coded Phy BLE communications.
- Plug and Play installation with no wire splicing required.
- Open source firmware developed in C++, allowing for custom modification and community contributions.## Purchasing
For more information about purchasing a pre-made module, please visit [miatawink.tech](https://miatawink.tech/).### Support the Project [](https://buymeacoffee.com/seasaltsaige)
If you would rather support the open source initiative for the project, feel free to [donate](https://buymeacoffee.com/seasaltsaige) to keep the project alive.## Contributing [](./docs/CONTRIBUTING.md)
Contributions are always welcome! Whether you found a bug or have a feature that you would like to see added, head over to the [Contribution Guide](./docs/CONTRIBUTING.md), and open a bug report/feature request. Ensure you follow the Code of Conduct, and scan through the open [issues](https://github.com/seasaltsaige/openwink/issues) to ensure you don't create a duplicate request.## Development Roadmap
For a detailed overview of the planned and in progress features for the project, see the open [issues](https://github.com/seasaltsaige/openwink/issues) and [project board](https://github.com/users/seasaltsaige/projects/1).
Contributions are always welcome!## License [](./LICENSE)
The [Open Wink - Wink Mod](https://github.com/seasaltsaige/openwink) is free and open-source collection of software and hardware licensed under the [GPL v3 License](./LICENSE).## Acknowledgements
The Open Wink project codebase was created and is maintained by [seasaltsaige](https://github.com/seasaltsaige).- Special thanks to [pyroxenes](https://github.com/pyroxenes) for creating and iterating on the PCB design and assembly.
- See related - [Board Design](https://github.com/pyroxenes/openwink-hardware-module)## Contact Me
You can reach me through my website at [miatawink.tech/contact](https://miatawink.tech/contact)