FlyingDiver / Indigo-miniUniFi

Minimalistic UniFi plugin for Indigo
MIT License
0 stars 0 forks source link

Error with 2FA enabled on UDM #25

Closed wagnerone closed 3 years ago

wagnerone commented 3 years ago

   miniUniFi Threaddebug           UDM: getDeviceStateList, base state_list = States : (list)
     Item : (dict)
          Disabled : false (bool)
          Key : status (string)
          StateLabel : Controller Status (string)
          TriggerLabel : Controller Status (string)
          Type : 150 (integer)
   miniUniFi Threaddebug           UDM: getDeviceStateList, final state_list = States : (list)
     Item : (dict)
          Disabled : false (bool)
          Key : status (string)
          StateLabel : Controller Status (string)
          TriggerLabel : Controller Status (string)
          Type : 150 (integer)
   miniUniFi Debug                 getDeviceConfigUiValues: devId = 1789110988, typeId = unifiController, pluginProps =
UiValuesDict : (dict)
     address : 10.189.90.1 (string)
     password : password (string)
     port : 8443 (string)
     ssl_verify : false (bool)
     username : username (string)
   miniUniFi Debug                 UDm: Updating controller
   miniUniFi Debug                 UDm: Unifi Standard controller detected
   miniUniFi Threaddebug           UniFi Controller Login Response: {"meta":{"rc":"error","msg":"api.err.Ubic2faTokenRequired"},"data":[]}
   miniUniFi Debug                 validateDeviceConfigUi: devId = 1789110988, typeId = unifiController, valuesDict =
UiValuesDict : (dict)
     address : 10.189.90.1 (string)
     password : password (string)
     port : 8443 (string)
     portLabel :  (string)
     ssl_verify : false (bool)
     username : username (string)
   miniUniFi Debug                 closedDeviceConfigUi: devId = 1789110988, typeId = unifiController, userCancelled = False, valuesDict =
UiValuesDict : (dict)
     address : 10.189.90.1 (string)
     password : password (string)
     port : 8443 (string)
     portLabel :  (string)
     ssl_verify : false (bool)
     username : username (string)
   miniUniFi Threaddebug           UDm: getDeviceStateList, base state_list = States : (list)
     Item : (dict)
          Disabled : false (bool)
          Key : status (string)
          StateLabel : Controller Status (string)
          TriggerLabel : Controller Status (string)
          Type : 150 (integer)
   miniUniFi Threaddebug           UDm: getDeviceStateList, final state_list = States : (list)
     Item : (dict)
          Disabled : false (bool)
          Key : status (string)
          StateLabel : Controller Status (string)
          TriggerLabel : Controller Status (string)
          Type : 150 (integer)```
FlyingDiver commented 3 years ago

See this issue regarding the same issue with home bridge:

https://github.com/oznu/homebridge-unifi-occupancy-sensor/issues/18

FlyingDiver commented 3 years ago

No solution available for the plugin. Read only account with no 2FA is the work-around.