-
-
Notifications
You must be signed in to change notification settings - Fork 0
Discovery
The Tuya connector includes a built-in feature for automatic devices discovery. This feature can be triggered manually through a console command or from the FastyBird IoT user interface.
To manually trigger device discovery, use the following command:
php bin/fb-console fb:tuya-connector:discover
Note
The path to the console command may vary depending on your FastyBird application distribution. For more information, refer to the FastyBird documentation.
The console will prompt for confirmation before proceeding with the discovery process.
Tuya connector - discovery
==========================
! [NOTE] This action will run connector devices discovery.
Would you like to continue? (yes/no) [no]:
> y
You will then be prompted to select the connector to use for the discovery process.
Would you like to discover devices with "My Tuya" connector (yes/no) [no]:
> y
The connector will then begin searching for new Tuya devices, which may take a few minutes to complete. Once finished, a list of found devices will be displayed.
[INFO] Starting Tuya connector discovery...
[============================] 100% 1 min, 44 secs/1 min, 44 secs
[INFO] Stopping Tuya connector discovery...
[INFO] Found 2 new devices
+----+--------------------------------------+----------------------------------------+---------------+--------------+
| # | ID | Name | Model | IP address |
+----+--------------------------------------+----------------------------------------+---------------+--------------+
| 1 | eebbc85d-76e0-4597-883d-8a8f93e7cd54 | Filament bulb | N/A | N/A |
| 2 | 366e4c13-34c5-4bfe-ac5c-383157f5bd10 | WiFi 2Gang Dimmer Module | 105b | 10.10.10.130 |
+----+--------------------------------------+----------------------------------------+---------------+--------------+
[OK] Devices discovery was successfully finished
Now that all newly discovered devices have been found, they are available in the FastyBird IoT system and can be utilized.
Tip
If you find incorrect or missing information, feel free to notify us. You could use the issue tracker or mail or X network for any idea that can improve the project. Thank you for testing, reporting and contributing.
Homepage https://www.fastybird.com and repository https://github.com/fastybird/tuya-connector.