4.0.3 • Published 1 year ago

homebridge-ibricks-plugin v4.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Homebridge iBricks Plugin

This is a plugin to integrate iBricks Cello Devices into Homebridge.

Setup

  1. Install Homebridge
  2. Install this plugin using npm install: npm i homebridge-ibricks-plugin
  3. Add configuration in Homebridge for this plugin (see "Configuration" below)
  4. Restart Homebridge. This plugin will initially send a UDP Request to the Broadcast IP. All Cellos, which are in the same network, will respond with their IP and Mac-Address. After that, each Cello will send his hardware information to the plugin. This takes a few minutes. I recommend to wait at least 30 minutes after the first start of Homebridge with this plugin. Each cello with his hardware information will be saved on the dist. The plugin will after the first initialization know all Cellos and you don't need to wait for the initialization anymore.
  5. Restart Homebridge again. Now the plugin will create all accessories for the Cellos. You can now use the Cellos in Homebridge.

The Plugin can not ask the Cellos for their current state. If you want to initialize the current state of the Cellos, you have to set "Restart Cellos" in the config to true. This will restart all Cellos and they will send their current state to the plugin. After that, don't forget to set "Restart Cellos" to false again. Otherwise the Cellos will restart every time you restart Homebridge.

Every change of the state of a Cello will be saved on the disk. If you restart Homebridge, the plugin will set the state in Homebridge to the last saved state.


Exposed Accessories

The plugin will expose the following accessories:

  • Switches (Relays) for the Cellos
  • Dimmers for the Cellos
  • Thermostats for the Cellos
  • Temperature sensors for the Cellos
  • Window covering with lamella tilt angle for the Cellos

Some Cellos have more than one relay, shutter or thermostat. This information is read from the Cellos. The plugin will create one accessory for each relay, shutter or thermostat. The devices will be named like this:

  • <Cello-Description> - Left (Channel 2)
  • <Cello-Description> - Right (Channel 1)

If you want to disable the left side of the Cello (for example the left relay) so you have to use the channel '2'. For the right side use the channel '1'.


Configuration

Disable Lamella

If you don't want to use the lamella, you can disable it here. Enter the Mac-Address of the Cello.

Reboot

If true, the plugin will reboot all Cellos after the start of Homebridge.

Director Target Heating Cooling State

The thermostats in homebridge requires to handle the heating cooling state. Cellos doesn't support this. Here you can select what your default heating cooling state should be and what should be displayed in Homebridge. This setting has no effect on the functionality.

Ignore devices

If you want to ignore some devices, you can enter their mac addresses, channel and type here. The plugin will ignore these devices and will not create accessories for them. You can disable the following types:

  • Relay => Relay / Switch
  • Shutter => Window covering
  • Director => Thermostat
  • Meteo => Temperature sensor

How to find the Mac-Address of a Cello

You can find the Mac-Address of a Cello in the device settings of the accessory in Homebridge. The Mac-Address is the serial number of the accessory. FINDMAC


Development

Install development dependencies

npm install

Build plugin

npm run build

Link to local Homebridge installation

Run this command so your global install of Homebridge can discover the plugin in your development environment:

npm link

Versioning

This plugin uses SemVer for versioning. The version has the following format: major.minor.patch:

  1. MAJOR Breaking changes
  2. MINOR New functionality in a backwards compatible manner
  3. PATCH Backwards compatible bug fixes

You can use the npm version command to help you with this:

# major update / breaking changes
npm version major

# minor update / new features
npm version update

# patch / bugfixes
npm version patch

Publish Package

npm publish

Publishing Beta Versions

# create a new pre-release version (eg. 2.1.0-beta.1)
npm version prepatch --preid beta

# publish to @beta
npm publish --tag=beta

You can then install the beta version using @beta to the install command:

sudo npm install -g homebridge-example-plugin@beta

Change Log

3.X -> 4.X

  • IP-Address, Broadcast-IP and Mac-Address are now automatically detected. You don't need to enter them anymore in the config.
2.0.28

1 year ago

2.0.29

1 year ago

2.0.37

1 year ago

2.0.3

1 year ago

2.0.38

1 year ago

2.0.2

1 year ago

2.0.35

1 year ago

2.0.5

1 year ago

2.0.36

1 year ago

2.0.4

1 year ago

2.0.33

1 year ago

2.0.7

1 year ago

2.0.34

1 year ago

2.0.6

1 year ago

2.0.31

1 year ago

2.0.9

1 year ago

2.0.32

1 year ago

2.0.8

1 year ago

2.0.30

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

2.0.39

1 year ago

2.0.48

1 year ago

2.0.49

1 year ago

2.0.46

1 year ago

2.0.47

1 year ago

4.0.1

1 year ago

2.0.44

1 year ago

4.0.0

1 year ago

2.0.45

1 year ago

4.0.3

1 year ago

2.0.42

1 year ago

4.0.2

1 year ago

2.0.43

1 year ago

2.0.40

1 year ago

2.0.41

1 year ago

2.0.59

1 year ago

2.0.57

1 year ago

2.0.58

1 year ago

2.0.55

1 year ago

2.0.56

1 year ago

2.0.53

1 year ago

2.0.54

1 year ago

2.0.51

1 year ago

2.0.52

1 year ago

2.0.50

1 year ago

3.1.3

1 year ago

3.1.2

1 year ago

3.1.1

1 year ago

3.1.0

1 year ago

3.1.5

1 year ago

3.1.4

1 year ago

2.0.68

1 year ago

2.0.69

1 year ago

2.0.66

1 year ago

2.0.67

1 year ago

2.0.64

1 year ago

2.0.65

1 year ago

2.0.62

1 year ago

2.0.63

1 year ago

2.0.60

1 year ago

2.0.61

1 year ago

2.0.79

1 year ago

2.0.77

1 year ago

2.0.78

1 year ago

2.0.75

1 year ago

2.0.76

1 year ago

2.0.73

1 year ago

2.0.74

1 year ago

2.0.71

1 year ago

2.0.72

1 year ago

2.0.70

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.0

1 year ago

2.0.88

1 year ago

2.0.89

1 year ago

2.0.86

1 year ago

2.0.87

1 year ago

2.0.84

1 year ago

2.0.85

1 year ago

2.0.82

1 year ago

2.0.83

1 year ago

2.0.80

1 year ago

2.0.81

1 year ago

2.0.15

1 year ago

2.0.16

1 year ago

2.0.13

1 year ago

2.0.14

1 year ago

2.0.11

1 year ago

2.0.12

1 year ago

2.0.10

1 year ago

2.0.91

1 year ago

2.0.92

1 year ago

2.0.90

1 year ago

2.0.19

1 year ago

2.0.17

1 year ago

2.0.18

1 year ago

2.0.26

1 year ago

2.0.27

1 year ago

2.0.24

1 year ago

2.0.25

1 year ago

2.0.22

1 year ago

2.0.23

1 year ago

2.0.20

1 year ago

2.0.21

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago