This Repository provides a WebGUI for the UniFi SFP-Wizard.
You can read, save or write the configuration of an SFP EEPROM.
Feel free to contribute to this project.
https://apps.microsoft.com/detail/9nb23j84168c?hl=de-DE&gl=DE
https://gamer08yt.github.io/UniFi-SFP-Wizard/
https://gamer08yt.github.io/UniFi-SFP-Wizard/?classic
https://ubiquiti-networks-forum.de/sfp-wizard/
- Device Functions
- Reboot
- Shutdown
- Rename
- Battery Control
- Device Info
- Download Syslog
- SFP Functions
- Read EEPROM
- Write EEPROM [X]
- Via File Upload
- Via Repo
- Save EEPROM
Currently, I implemented only the Dump Functions, DDM would be nice too, but you manually have to activate it on the Wizard, so I think it's not interesting at the moment.
Feel free to contribute, every help is appreciated!
If you want to contribute an EEPROM profile, please create a pull request.
Please upload your EEPROM Dump into the repository Folder and add an entry to the dumps.json
File.
That's correct, the current API does not allow flashing of Modules via WebGUI directly.
It only allows transmitting the EEPROM Dump into the Wizards Snapshot Buffer.
So if you press the "Write" Button, you need to confirm the flash process on the Wizard.
I created a Thread Message in the Ubiquiti Community, but I think they won't add a function for that so fast.
If you power on the Wizard with a Module in its SFP Slot, the Module can't be read.
Please remove the Module from the Slot and plug it in again.
Now you can read the Module.
I don't know why, but sometimes the Wizard reboots.
The Problem is not my WebGUI, because the Wizard sometimes reboots also with the IOS App.
Currently, I am unable to access the JTAG Console, so I can't debug the Problem (And yes, the ESP32 uses Secure Boot).
Due to limitations of the Web Bluetooth API, I can't read the MAC from the Device on first connecting.
Normally the Service 1 Channel should contain the MAC on first connecting, but it doesn't.
I use a dirty workaround to get the MAC, because in the API V1 the MAC is available in any Basic Response.
So I use the getVer Command to get the MAC after a successful connection.
In the newer Versions of the SFP-Wizard Firmware, the Wizard checks if the Module is in its Database.
If the Part Number is not in the Database, the Wizard can't flash the Module.
Version 1.0.5 allowed flashing of Modules without a Database, but it has no check if the Module Password was correct, so you could destroy your Module.
Please have a look at https://github.com/vitaminmoo/sfpw-tool/blob/main/doc/HOW_TO_DOWNGRADE_AND_WHY_NOT_TO.md which explains why some modules are not working.
This project is oriented at the https://github.com/vitaminmoo/sfpw-tool Repository, thank you for your work.
For detailed information about the used libraries, please have a look at the package.json File.
- TypeScript
- Bootstrap 5
- Web Bluetooth API
- JQuery
- Electron
- Electron Forge
- Webpack
- i18next
- Pako
- Notiflix
- js-untar
