Rionit
FIXED
Hi, when I hold the button for 5-7 seconds and then use the generate_auth_token() I store the auth_token which was generated and it is working as it should. I can toggle power etc. but when I close the program and delete the generate_auth_token() from the code because it's useless having it there. It stops working (even if I don't delete it). I have to hold the button for 5-7 seconds again. Does anyone know where is the problem?
** I was stupid, I forgot that you have to write the auth_token inside Nanoleaf(ip, auth_token)