There are a few apps and plugins that allow users to access their system remotely through MyHS. One way documented in the SDK is to add the user/pass to the JSON URL. This is not ideal as it requires the developer to request the user/pass from the user which exposes their credentials. The standard way to do this is using OAth. With OAth you redirect the user to our web site where they enter their user/pass and are returned a PIN code. They then enter the PIN code into your application and you are given a token. You can then use this token to access a user's system through JSON commands through MyHS. You will need 2 pieces of information from HomeSeer, a client ID and a Client Secret. To obtain this information send a request to support@homeseer.com and we will generate this information for you. The SDK has been updated with this information here:
https://help.homeseer.com/help/HS3SD...s_through_myhs
We have created a sample .net application that goes through the entire process. You can download it from here:
http://homeseer.com/updates3/HS_oAuth_Sample.zip
https://help.homeseer.com/help/HS3SD...s_through_myhs
We have created a sample .net application that goes through the entire process. You can download it from here:
http://homeseer.com/updates3/HS_oAuth_Sample.zip
Comment