Skip to content

NotBlue-Dev/virtualNanoleaf

Repository files navigation

(I used var on this project, what a shame)

NanoVirtz

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

Installation

Download the installer here https://github.com/NotBlue-Dev/virtualNanoleaf/releases

Use custom layout

Just click create a new layout on the menu or choose a default one

How to request the api

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

Api difference

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.

How it look

Renderer Capture Layout Editor Capture New Menu 2

Quick Demo

https://youtu.be/KphMoSbREWo

Know issue

  • SSDP Search show more than 1 virtual nanoleaf
  • Some transitions are glitchy (colors appear from the last effects)

License

MIT