/homeassistant-crafty_controller

Crafty Controller integration for HomeAssistant

Primary LanguagePython

Data scrapper for Crafty Controller

Adds multiple sensors, button with information/statistics/functions grabbed from Crafty Controller account

Installation

Requirements:

  1. Install this component by copying these files to custom_components/crafty_controller/.
  2. You will need to restart after installation for the component to start working.

Adding new device

To add the Crafty Controller integration to your Home Assistant, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

Examples

Installed device

Instance

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)

All devices

All devices 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.

All roles

All roles

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

Examples for testing role 1

Example role

Example of Server access

Example role server access

Here you can see the number of servers Role has access to and the list of permissions for each server in sensor attributes.

Example of Users

Example role users

This sensor shows the number of Users asigned to this role with list of users in its attributes.

All users

All users

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)

Example for admin

Example user

Example of Roles

Example user roles

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.

All servers

All Servers

Here you are able to se 2 sensors:

  1. Servers Offline: This will show the number of servers that are offline
  2. 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.

Example for Majnr+

Example server

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.

Note

If you spot any sort of bug, error or incostintency don't hesitate to open issue here.