https://hackaday.io/project/1173-air...c-dimmerswitch