Adds multiple sensors, button with information/statistics/functions grabbed from Crafty Controller account
- Install this component by copying these files to
custom_components/crafty_controller/
. - You will need to restart after installation for the component to start working.
To add the Crafty Controller integration to your Home Assistant, use this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the Add Integration button.
-
From the list, select Crafty controller.
-
Follow the instructions on screen to complete the setup.
This is the example of how succesfully installed Crafty integration should look like (there can be some differences in the number of devices/entities based on your Crafty Controller installation)
At all time there will be at least 3 devices (All Roles, All Servers and All Users) and based on your Crafty installation there will be added another devices for each of them to provide nice UI.
The Roles sensor will show the number of roles based on your specific settings and it will have connected the respective number of devices (roles) which will each have their own sensors
Here you can see the number of servers Role has access to and the list of permissions for each server in sensor attributes.
This sensor shows the number of Users asigned to this role with list of users in its attributes.
The Users sensor will show the number of users your Crafty installation has (at least 1 should be there because you need the admin to log-in into the API)
In this part the integration will provide you with ability to see the number of roles the User has been assigned to and in attributes you can see the list of their names.
Here you are able to se 2 sensors:
- Servers Offline: This will show the number of servers that are offline
- Servers Online: This will obviously show the number of online servers
and next you can see that there are mentioned the servers that you have running (added) in Crafty Controller.
Here you can at the first glance see that there is some controlls, with these you are able to control the respective server based on the button name. Next you can see multiple statistics of the selected server.
If you spot any sort of bug, error or incostintency don't hesitate to open issue here.