Skip to content

Commit

Permalink
Merge pull request airalab#597 from tubleronchik/master
Browse files Browse the repository at this point in the history
change crust endpoints
  • Loading branch information
tubleronchik committed May 17, 2023
2 parents 0f11f59 + 17f2b73 commit 23aa243
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions docs/global-administration.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You cannot use previously created accounts because `SUB_OWNER` and `SUB_CONTROLL

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`.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmSxzram7CF4SXpVgEyv98XetjYsxNFQY2GY4PfyhJak7H', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmSxzram7CF4SXpVgEyv98XetjYsxNFQY2GY4PfyhJak7H', type:'mp4'}]" />


## Granting Access to User
Expand All @@ -32,6 +32,6 @@ You cannot use previously created accounts because `SUB_OWNER` and `SUB_CONTROLL

4. After the registration process, log in to Home Assistant with your user address as login and a newly-created password.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmW2TXuwCYXzgcRfEUx4imZU5ZerEzkuD5P53u9g2WnxDh', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmW2TXuwCYXzgcRfEUx4imZU5ZerEzkuD5P53u9g2WnxDh', type:'mp4'}]" />

Now you can use the dapp to control your home through Robonomics, check [**"Get Smart Home Telemetry"**](/docs/smart-home-telemetry/) article.
4 changes: 2 additions & 2 deletions docs/hass-image-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tools:
https://github.com/yggdrasil-network/yggdrasil-go/
---

<robo-wiki-video loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmXjFaTd81dLrMgADtENmSqbS2uJuLJUgQUrmDu2CsSuAq', type:'mp4'}]" />
<robo-wiki-video loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmXjFaTd81dLrMgADtENmSqbS2uJuLJUgQUrmDu2CsSuAq', type:'mp4'}]" />

**Welcome to the guide on installing Home Assistant with Robonomics integration on a Raspberry Pi. Home Assistant is an open-source home automation system that provides a centralized hub for controlling smart devices in your home network. By integrating with Robonomics, a decentralized cloud service, you can enhance the functionality and security of your smart home. In this article, we will provide step-by-step instructions on how to install Home Assistant with Robonomics on a Raspberry Pi, giving you the ability to automate and control various aspects of your home using a secure and decentralized solution. Let's get started!**

Expand Down Expand Up @@ -61,7 +61,7 @@ Install [Raspberry Pi Imager](https://www.raspberrypi.com/software/) on your com

Run the Raspberry Pi Imager program. Choose required image as the operating system and ensure to select your SD card from the storage dropdown menu. In settings provide your Wi-Fi, password, choose your country from drop-down list and then `Write!` image.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmVgex7Aw9sH97kDbbwaHkbcHZRu8xWruh5a7hfnMstNrV', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmVgex7Aw9sH97kDbbwaHkbcHZRu8xWruh5a7hfnMstNrV', type:'mp4'}]" />

You can find country codes [here](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes).

Expand Down
2 changes: 1 addition & 1 deletion docs/hass-init.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You are starting with the creation of the owner account of Home Assistant. This

<robo-wiki-note type="note">Raspberry Pi address may change in time, due router settings.</robo-wiki-note>

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmYd1Mh2VHVyF3WgvFsN3NFkozXscnCVmEV2YG86UKtK3C', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmYd1Mh2VHVyF3WgvFsN3NFkozXscnCVmEV2YG86UKtK3C', type:'mp4'}]" />

1. At the first page, enter a name, username, password and click on the `CREATE ACCOUNT` button.

Expand Down
8 changes: 4 additions & 4 deletions docs/hass-os-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tools:

Robonomics Integration stores the data using local IPFS daemon, so you need to install it first.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmdAmUHW9bpTU6sUwBYu4ai4DVJ6nZ5xerjM9exvooGKGq', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmdAmUHW9bpTU6sUwBYu4ai4DVJ6nZ5xerjM9exvooGKGq', type:'mp4'}]" />

1. There is an [IPFS Add-on for Home Assistant](https://github.com/airalab/ipfs-addon). To install it go to `Settings` -> `Add-ons` and press the `ADD-ON STORE` button in the lower right corner.

Expand All @@ -45,7 +45,7 @@ https://github.com/airalab/ipfs-addon

[Home Assistant Community Store (HACS)](https://hacs.xyz/) allows you to install custom integrations.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmYJFpxrww9PRvcAUhdgKufeDbyUFoBZTREZHPgV452kzs', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmYJFpxrww9PRvcAUhdgKufeDbyUFoBZTREZHPgV452kzs', type:'mp4'}]" />

1. Before start, you need to install add-on for connecting to the Home Assistant device with SSH. In Add-on Store search `ssh`. We recommend to install `SSH & Web Terminal` add-on.

Expand All @@ -59,7 +59,7 @@ https://github.com/airalab/ipfs-addon

3. In the `Info` tab press `START`. If you want to see the addon in the sidebar, don't forget to enable `Show in sidebar`.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmcijfJ45fmW9omB67xWyPKvHhZuwLMTTQ7DBqnyxHUXR1', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmcijfJ45fmW9omB67xWyPKvHhZuwLMTTQ7DBqnyxHUXR1', type:'mp4'}]" />

4. Open SSH Add-on and run the following command:

Expand Down Expand Up @@ -87,7 +87,7 @@ wget -O - https://get.hacs.xyz | bash -

Now you can install Robonomics Integration using HACS.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/Qmb19UEQwwHfNroCaH8NMFhPV2dc52vSC8i4ATJsqVYiZf', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/Qmb19UEQwwHfNroCaH8NMFhPV2dc52vSC8i4ATJsqVYiZf', type:'mp4'}]" />

1. Open HACS from a sidebar menu and go to `Integrations`. Press on three dots in the upper right corner and choose `Custom Repositories`. In the opened window paste the following link:

Expand Down
2 changes: 1 addition & 1 deletion docs/mqtt-hassos.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tools:

<robo-wiki-picture src="home-assistant/mqtt_broker_os.png" />

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmaoaTBu3KqwC8NKRSopmF3KQ5BYL8skEfYJjXypcJNdNL', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmaoaTBu3KqwC8NKRSopmF3KQ5BYL8skEfYJjXypcJNdNL', type:'mp4'}]" />

1. We will use [Mosquitto](https://mosquitto.org/) MQTT broker. In the Add-on Store find the `Mosquitto broker` add-on, press on it and press `INSTALL`.

Expand Down
2 changes: 1 addition & 1 deletion docs/mqtt-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tools:

<robo-wiki-picture src="home-assistant/mqtt_integration.png" />

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmYm9qNfpGdePRHRvmahY2DgHXRfAWNN6CasEY4tFRBARr', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmYm9qNfpGdePRHRvmahY2DgHXRfAWNN6CasEY4tFRBARr', type:'mp4'}]" />

1. Open Home Assistant web interface and go to `Settings` -> `Devices & Services`.

Expand Down
2 changes: 1 addition & 1 deletion docs/robonomics-hass-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tools:

**In this article, you will add Robonomics to Home Assistant. This allows Home Assistant to record datalogs with encrypted data to Robonomics Parachain and listen for launch commands from the parachain to control smart devices. Integration uses IPFS to store data and send IPFS hashes to datalog or launch functions.**

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmQp66J943zbF6iFdkKQpBikSbm9jV9La25bivKd7cz6fD', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmQp66J943zbF6iFdkKQpBikSbm9jV9La25bivKd7cz6fD', type:'mp4'}]" />

1. In the web interface of Home Assistant go to `Settings` -> `Device & Services` and press `ADD INTEGRATION`. Search for `Robonomics`.

Expand Down
10 changes: 5 additions & 5 deletions docs/sls-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ sudo reboot

5. You will see `Wi-Fi Settings` page. Select your Wi-Fi and enter the password. Press `Apply` button. The gateway will restart and connect to your Wi-Fi network.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmSht6roENzrV6oqsQ1a5gp6GVCz54EDZdPAP8XVh9SCwH', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmSht6roENzrV6oqsQ1a5gp6GVCz54EDZdPAP8XVh9SCwH', type:'mp4'}]" />

6. Find the local IP of the SLS gateway to access the web interface. To find it you can use [Fing mobile app](https://www.fing.com/products) or [nmap CLI tool](https://vitux.com/find-devices-connected-to-your-network-with-nmap/). The gateway name should look like this: `zgw****`. Open the web interface of the gateway by pasting the gateway IP into a browser.

7. Go to `Setting` -> `Hardware` and make sure that the settings look like on the image. Correct the settings if necessary and click `Save` button:

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmeSksMxU9xkvvK7f81WDAYULiMFokK7P7KDVYEjv2MHjn', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmeSksMxU9xkvvK7f81WDAYULiMFokK7P7KDVYEjv2MHjn', type:'mp4'}]" />

The table with required values:

Expand Down Expand Up @@ -125,7 +125,7 @@ If you already have an active SLS gateway in your home, and you are now configur

</robo-wiki-note>

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmVZMB1xQeB6ZLfSR6aUrN6cRSF296s8CMJt7E2jBJ5MjZ', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmVZMB1xQeB6ZLfSR6aUrN6cRSF296s8CMJt7E2jBJ5MjZ', type:'mp4'}]" />

## Pairing SLS to MQTT

Expand All @@ -134,7 +134,7 @@ After configuring the SLS Gateway, you need to connect SLS Gateway to Home Assis

Add your broker address (address of the Raspberry Pi with Home Assistant in local network, you can find it with [Fing mobile app](https://www.fing.com/products) or [nmap CLI tool](https://vitux.com/find-devices-connected-to-your-network-with-nmap/)), port (default is `1883`) your broker username and password (which you have created earlier) and the topic name (you can choose any). Also, the Raspberry Pi IP address must be static. Click on `Enable` and `Retain states`.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmdNKDqwwy87VQEDDVsX5kpaDQm9wKKPEJUNJnhnjx6e5y', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmdNKDqwwy87VQEDDVsX5kpaDQm9wKKPEJUNJnhnjx6e5y', type:'mp4'}]" />

Save changes. Now devices will be automatically shown in Home Assistant.

Expand All @@ -144,7 +144,7 @@ Connect your devices by going to `Zigbee` -> `Join`. Put your sensors in pairing

<robo-wiki-picture src="home-assistant/switch-device.gif" />

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/Qmdq3PBNY88QbYYqakwSLG2vn3mVUom3w3wsSWfTd1pzJA', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/Qmdq3PBNY88QbYYqakwSLG2vn3mVUom3w3wsSWfTd1pzJA', type:'mp4'}]" />


Now you can go to the [**IoT Subscription**](/docs/sub-activate) section and start activating the Robonomics subscription.
2 changes: 1 addition & 1 deletion docs/smart-home-telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tools:

**In this article, you will use the Robonomics service, which queries the telemetry of smart home devices.**

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/Qmao9RoWcKo2qs4PAGtm5gqHzyAHJcpDqNLgciU35FJeVm', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/Qmao9RoWcKo2qs4PAGtm5gqHzyAHJcpDqNLgciU35FJeVm', type:'mp4'}]" />

1. Go to dapp and choose [SmartHome Telemetry](https://dapp.robonomics.network/#/smarthome-telemetry) service.

Expand Down
10 changes: 5 additions & 5 deletions docs/sub-activate.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This feature is disabled by default on the Polkadot-JS UI. To enable it, navigat

## Create Owner and Controller Accounts

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmQiJYPYajUJXENX2PzSJMSKGSshyWyPNqugSYxP5eCNvm', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmQiJYPYajUJXENX2PzSJMSKGSshyWyPNqugSYxP5eCNvm', type:'mp4'}]" />

1. Go to [Robonomics Parachain app](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama.rpc.robonomics.network%2F#/) on Polkadot / Substrate Portal. **Check the top left corner to ensure that you are connected to Robonomics Parachain.**

Expand All @@ -49,7 +49,7 @@ For convenience, you should use the [Polkadot.js extension](https://polkadot.js.

You can get these files again by creating a backup file of the account. Press on three dots on your account, choose `Create a backup file for this account` and type in your password.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmRd7gztUjWkLF4W2XuJwy5aXBwzNV2aPCU6CQQLvUpSNj', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmRd7gztUjWkLF4W2XuJwy5aXBwzNV2aPCU6CQQLvUpSNj', type:'mp4'}]" />

1. Open an extension and press `+` button on the top right, then choose `Restore account from backup JSON file`.

Expand All @@ -59,7 +59,7 @@ You can get these files again by creating a backup file of the account. Press on

4. Confirm the metadata update in the popup. Now the extension will show the label of the network for which the address is used.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmT5sTNP9t8gpbD4RJJw6ETwG4wiziiChAh2uHHBk9Zsyd', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmT5sTNP9t8gpbD4RJJw6ETwG4wiziiChAh2uHHBk9Zsyd', type:'mp4'}]" />

## Activate Robonomics Subscription

Expand All @@ -69,7 +69,7 @@ For this step, you must have a sufficient amount of XRT tokens (minimum 2-3 XRTs

</robo-wiki-note>

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmXrFCajmJgkRDSbshGD3QehjnoyS6jafEPSjHdYkoBHum', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmXrFCajmJgkRDSbshGD3QehjnoyS6jafEPSjHdYkoBHum', type:'mp4'}]" />

1. Go to Robonomics dapp to the [subscription page](https://dapp.robonomics.network/#/subscription) and press connect account on the right sidebar.

Expand All @@ -84,7 +84,7 @@ For this step, you must have a sufficient amount of XRT tokens (minimum 2-3 XRTs

Now you need to add a `sub_controller` account to the **access list**.

<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.live/ipfs/QmV1gkwtcXsWv54ov9tuXfcHg7nqs1foM8cRwts4sqnqtX', type:'mp4'}]" />
<robo-wiki-video autoplay loop controls :videos="[{src: 'https://crustipfs.art/ipfs/QmV1gkwtcXsWv54ov9tuXfcHg7nqs1foM8cRwts4sqnqtX', type:'mp4'}]" />

1. Open extension and click on the icon near the account name. It will copy the account address.

Expand Down

0 comments on commit 23aa243

Please sign in to comment.