Difference between revisions of "Messengers"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "==Integration of Viber and Telegram Messengers== <p>The integration of messengers allows you to receive notifications, photos and videos, learn and change the status of Larnit...")
 
(Marked this version for translation)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Integration of Viber and Telegram Messengers==
+
<languages/>
 +
<translate>
 +
==Integration of Viber and Telegram Messengers== <!--T:1-->
 
<p>The integration of messengers allows you to receive notifications, photos and videos, learn and change the status of Larnitech system elements. Using LT Setup, you can link Viber and Telegram messengers to your Smart Home.
 
<p>The integration of messengers allows you to receive notifications, photos and videos, learn and change the status of Larnitech system elements. Using LT Setup, you can link Viber and Telegram messengers to your Smart Home.
 
Please follow the steps below:
 
Please follow the steps below:
Line 76: Line 78:
 
</table>
 
</table>
 
<p>To configure notifications from bots, use Blockly.  
 
<p>To configure notifications from bots, use Blockly.  
==Messenger Unbinding==
+
==Messenger Unbinding== <!--T:2-->
 
===Using Telegram/Viber===
 
===Using Telegram/Viber===
 
<p>To unsubscribe from the bot, send it a message with the "'''unsubscribe'''" text. Your account will be automatically unbound from the system.  
 
<p>To unsubscribe from the bot, send it a message with the "'''unsubscribe'''" text. Your account will be automatically unbound from the system.  
Line 95: Line 97:
 
</ol>
 
</ol>
 
<br>[[file:messengers23.png|800px]]<br>
 
<br>[[file:messengers23.png|800px]]<br>
 +
</translate>

Revision as of 15:10, 15 January 2022

Other languages:
English • ‎русский

Integration of Viber and Telegram Messengers

The integration of messengers allows you to receive notifications, photos and videos, learn and change the status of Larnitech system elements. Using LT Setup, you can link Viber and Telegram messengers to your Smart Home. Please follow the steps below:

  1. Authorize yourself in the Web Toolbar of your Smart Home system administration (LT Setup).
  2. In the left menu, select the Messengers item (in the General category).


Messengers1.png

After that, a page with a table of messengers will appear.
Messengers2.png

Viber Integration:

  1. Click the “Register device” button next to “Viber” (in the first row of the table). A window with a QR code will appear.
    Messengers3.png
  2. Run Viber on your smartphone, open the menu (a button in the upper left corner), and select the “QR Code” item.
    Messengers4.png
  3. A frame and an image from the camera will open on the screen. Place the frame over the QR code in the LT Setup window.
    Messengers5.png
  4. After determining the QR-code, an empty chat with a Larnitech bot will open in Viber on your smartphone. Click on the “Send” button (to the right of the message box) to send an authorization code
    Messengers6.png
  5. After that, you will receive a response message that the integration was successful.
    Messengers7.png

The bot is ready to use.

Telegram Integration:

  1. Click the “Register device” button next to “Telegram” (in the second row of the table). A window with a QR code will appear.
    Messengers8.png
  2. If you have any program for scanning QR codes installed on your smartphone, run it and scan the QR code from the LT Setup window. Copy the result to the clipboard. If there is no recognition program, skip this step.
  3. Run Telegram on your smartphone and click on the magnifier icon in the upper right corner of the screen. In the field that appears, enter "@Larnitech_Notifier_bot". Select "Larnitech notifier".
    Messengers9.png
  4. The chat opens. Click the “Start” button at the bottom of the screen.
    Messengers10.png
  5. If you have used the program to scan a QR code from a window in LT Setup, then insert the recognition result into the field for the Telegram message. If not, rewrite the value of the “Authorization code” field from the window in LT Setup (it is located under the QR code) into the message field. Send it, and you will receive a response message that the authorization was successful. The integration is over.
    Messengers11.png

    Messengers12.png

Examples of Bot Use

Send the "/help" message to the bot and you will receive a list of available commands to use:
Messengers13.png

The “Turn on/off” command turns the selected item in the selected room on and off. In the screenshot below, we turn on and off the lamp in the kitchen.


Messengers14.png


Messengers15.png

The “Set” command allows you to set the desired parameters of the selected item in the selected zone. In the screenshots below, we set the brightness of the dimmer lighting to 50% and the temperature of the radiator to 40 degrees.


Messengers16.png


Messengers17.png

The command "Get state of" allows you to get the current state of the selected item in the selected room. In the screenshot below, we request the status of the radiator in the kitchen.
Messengers18.png

If you want to turn on all lighting in the selected room, use the “Turn on/off light” command. In the screenshot below, we turn on and off all lighting in the kitchen.


Messengers19.png


Messengers20.png

To configure notifications from bots, use Blockly.

Messenger Unbinding

Using Telegram/Viber

To unsubscribe from the bot, send it a message with the "unsubscribe" text. Your account will be automatically unbound from the system.


Messengers21.png


Messengers22.png

Using LT Setup

  1. In the messenger table in LT Setup, click on the “Devices” button next to the messenger you want to unbind.
  2. A table with the accounts that are bound to your Larnitech server will appear on the screen. Select the one you want to unbind, and click on the "Delete" button next to it.


Messengers23.png