(I used var on this project, what a shame)
NanoVirtz is a Nanoleaf Emulator allowing you to do api request and render it in real time, so you can test your external scripts for nanoleafs on different layout
Download the installer here https://github.com/NotBlue-Dev/virtualNanoleaf/releases
Just click create a new layout on the menu or choose a default one
the requests are made like the official api, except that instead of putting the ip of your device, you must put localhost
Eg (create new token):
http://localhost:16021/api/v1/new
There is a default token if you face issue :
VirtualDevToken
This project is a recreation of the nanoleaf api, (https://forum.nanoleaf.me/docs) therefore some functions are not implemented, here is the list:
- External Control (UDP) but animData are implemented
- Rythm
- Event
- mDNS discovery
Finaly, I didn't like my implementation of some of the effects, so I decided to redo them, therefore the effects are missing:
- Flow
- Wheel
- Fade
- Explode
Only these one are implemented:
- Random
- Highlight
- Custom Anim Data
I'm doing my best to reimplement the missing effects, some will come in the next update.
Renderer Layout Editor New Menu
- SSDP Search show more than 1 virtual nanoleaf
- Some transitions are glitchy (colors appear from the last effects)