-
-
Notifications
You must be signed in to change notification settings - Fork 0
Naming Convention
The connector uses the following naming convention for its entities:
A connector entity in the FastyBird IoT ecosystem refers to a entity which is holding basic configuration and is responsible for managing communication with Sonoff NS Panel devices and other FastyBird IoT ecosystem services.
In this connector are used three types of devices.
A gateway device type in the FastyBird IoT ecosystem refers to a entity which is holding configuration of Sonoff NS Panel device.
A sub-device type in the FastyBird IoT ecosystem refers to a entity which is representing physical device that is connected to Sonoff NS Panel device via Zigbee network.
Note
Only Zigbee devices are now supported. In future will be supported other types. It depends on Sonoff developers team
A third-party device in the FastyBird IoT ecosystem refers to an entity that represents virtual device which is mapped to other device connected to FastyBird IoT and allow you to be controlled via Sonoff NS Panel interface.
A channel in the FastyBird IoT ecosystem refers to a entity which is mapping devices capabilities of connected sub-devices or third-party devices like button, relay state, light state.
A property in the FastyBird IoT ecosystem refers to a entity which is holding configuration values or device actual state. Connector, Device and Channel entity has own Property entities.
Connector related properties are used to store configuration like communication mode
. This configuration values are used
to connect to Sonoff NS Panel devices.
Device related properties are used to store configuration like ip address
, communication port
or to store basic device information
like hardware model
, manufacturer
or access credential
. Some of them have to be configured to be able to use this connector
or to communicate with device. In case some of the mandatory property is missing, connector will log and error.
Channel related properties are used for mapping devices capabilities attributes which are properties for storing device actual state.
It could be a switch state
or a light brightness
. These values are read from device and stored in system.
A capability is an entity that refers to a specific functionality or feature that a device provides. For example, a thermostat device might provide a "temperature control" capability and a "humidity control" capability.
A attribute is an entity that refers to the individual attribute of a capability that can be queried or manipulated. Attribute represent specific data point that describe the state of a device or allow control over it. Examples of attribute include temperature, humidity, on/off status, and brightness level.
There are three devices modes supported by this connector.
The first mode is Gateway mode and in this mode are NS Panels used only as gateways. In this mode will be used only sub-devices. The second mode is Device mode and in this mode are NS Panels used only to use Third-party devices, so only mapped devices are connected to NS Panel. Last mode is Both mode and this mode is combining both previous modes, so all features are available.
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/ns-panel-connector.