jamesrodda/homebridge-mihomegateway

Automate registration

SmolSoftBoi opened this issue · 1 comments

@jamesrodda How would you like this to be implemented?

I was thinking something like having a createNewAccount flag in the config which, if set to true would first try and login with the supplied credentials as normal but, if that failed, would then call the API to register a new account using the credentials supplied.

Does that sound reasonable? Any alternatives?