-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #833 from LoSk-p/master
Update Global Administration with v0.6.0 dApp
- Loading branch information
Showing
3 changed files
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,56 @@ | ||
--- | ||
title: Global Administration | ||
title: Add User | ||
|
||
contributors: [nakata5321, Fingerling42] | ||
contributors: [nakata5321, Fingerling42, LoSk-p] | ||
tools: | ||
- Robonomics 2.7.0-1 | ||
https://github.com/airalab/robonomics | ||
- Robonomics Dapp | ||
https://github.com/airalab/dapp.robonomics.network | ||
- Robonomics Dapp v0.6.0 | ||
https://github.com/airalab/robonomics.app | ||
--- | ||
|
||
**This article will show you how to set up a new user to your Home Assistant.** | ||
|
||
## Adding Users to Subscription | ||
|
||
You cannot use previously created accounts because `SUB_OWNER` and `SUB_CONTROLLER` provide security, and the first user you created when you first started Home Assistant does not have a Robonomics Parachain account. | ||
You cannot use previously created accounts because `OWNER` and `CONTROLLER` provide security, and the first user you created when you first started Home Assistant does not have a Robonomics Parachain account. | ||
|
||
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmRyYN7BBodS1VSy5Kq24Mj2zviA8y4m8eF9kUWoCW7CZu', type:'mp4'}]" /> | ||
|
||
1. Create an account on Robonomics parachain, as you did in the [previous article](/docs/sub-activate/). | ||
|
||
2. Using `SUB_OWNER` account add new user account to the subscription in the [dapp](https://dapp.robonomics.network/#/subscription/devices). Now there should be three addresses in the access list: `SUB_OWNER`, `SUB_CONTROLLER` and `USER`. | ||
2. Using `OWNER` account add new user account to the subscription on the `SETUP A SUBSCRIPTION` page in [Robonomics DApp](https://robonomics.app/#/rws-setup). Now in `USERS IN SUBSCRIPTION` section should be three addresses in the access list: `OWNER`, `CONTROLLER` and `USER`. | ||
|
||
|
||
## RWS Setup JSON File | ||
|
||
Firstly, user should get the JSON file with the information of the RWS Setup. | ||
|
||
### Create RWS Setup JSON | ||
|
||
Administrator can create JSON file for his setup in [SETUP A SUBSCRIPTION](https://robonomics.app/#/rws-setup) page using `Download import for other users` button. | ||
|
||
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmSxzram7CF4SXpVgEyv98XetjYsxNFQY2GY4PfyhJak7H', type:'mp4'}]" /> | ||
<robo-wiki-picture src="home-assistant/download_rws_setup_json.png" /> | ||
|
||
### Import RWS Setup | ||
|
||
Now with this JSON file user can import RWS setup using `IMPORT SETUP` button. | ||
|
||
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmYr9shCyFzMNLEeP8LC6ZRiEF2YpMaoDrrs587QpTvsgY', type:'mp4'}]" /> | ||
|
||
## Granting Access to User | ||
|
||
1. Go to the dapp service called [Home Assistant Account](https://dapp.robonomics.network/#/home-assistant). Choose the account you've just created at the right sidebar (check that you have chosen the intended account by pressing the profile icon). | ||
On the same page ([SETUP A SUBSCRIPTION](https://robonomics.app/#/rws-setup)) you can set the password for the new user. | ||
|
||
2. Enter the `USER` seed in the required field. Add `SUB_OWNER` and `SUB_CONTROLLER` addresses in the administrator credits fields. If everything is correct, you will see verification status `VERIFIED`. | ||
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/Qme28Bq4qtHcqmndrDpUh5eQU5NbdnbHq76kxcS1HmvKQE', type:'mp4'}]" /> | ||
|
||
3. Create a password for a new user which you have just registered and then confirm the transaction, that will now be without fee due to the subscription. Later you can restore the password in the Restore tab. | ||
1. Choose the account you've just created at the right sidebar (check that you have chosen the intended account by pressing the profile icon). | ||
|
||
4. After the registration process, log in to Home Assistant with your user address as login and a newly-created password. | ||
2. Enter the `USER`'s address and seed phrase in the required fields. | ||
|
||
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmW2TXuwCYXzgcRfEUx4imZU5ZerEzkuD5P53u9g2WnxDh', type:'mp4'}]" /> | ||
3. Fill in a password and then confirm the transaction by the `CREATE PASSWORD` button, that will now be without fee due to the subscription. | ||
|
||
Now you can use the dapp to control your home through Robonomics, check [**"Get Smart Home Telemetry"**](/docs/smart-home-telemetry/) article. | ||
4. After the registration process, log in to Home Assistant with your user address as login and a newly-created password. | ||
|
||
## Troubleshooting | ||
Now you can use the dapp to control your home through Robonomics, check [**"Get Smart Home Telemetry"**](/docs/smart-home-telemetry/) article. | ||
|
||
1. If you forget a password to Home Assistant from your Robonomics account, [check the Dapp.](https://dapp.robonomics.network/#/home-assistant) | ||
Go to "Your Home Assistant password" part and choose "Restore" tab. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.