# homebridge-magic-triones

> Homebridge plugin for the Triones LED Lightbulbs

Latest version **1.0.1** (published 2021-12-05) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install homebridge-magic-triones
pnpm add homebridge-magic-triones
yarn add homebridge-magic-triones
bun add homebridge-magic-triones
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-12-05 |
| First published | 2021-12-05 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.12.0 |
| Dependencies | 1 |
| Unpacked size | 47 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | v0r73x |
| Maintainers | v0r73x |
| Keywords | homebridge-plugin |

## Links

- npm: https://www.npmjs.com/package/homebridge-magic-triones
- Repository: https://github.com/v0r73x/homebridge-magic-triones
- Homepage: https://github.com/v0r73x/homebridge-magic-triones#readme
- Issues: https://github.com/v0r73x/magic-triones/issues
- npm.io page: https://npm.io/package/homebridge-magic-triones

## Dependencies (1)

- [@abandonware/noble](https://npm.io/package/@abandonware/noble.md) ^1.9.2-5

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-12-05

## README

# Homebridge Triones LED Light Fluter Plug in

This plug-in enables you to control your MagicBlue LED light bulb. Special thx to Lucas for this amazing plugin!


```shell
npm install -g homebridge-magic-triones
```


## Connecting and setting up

The light bulb uses Bluetooth low energy. This means that your Raspberry Pi needs to have Bluetooth
in some way. You will need to know the mac address of the light bulb. You can discover it by
installing bluez and everything to your Raspberry Pi. A possible guide can be found
[here](http://www.elinux.org/RPi_Bluetooth_LE). However, you don't need to compile it yourself.
I find the version in the repositories to be sufficient. You can then discover the mac address
by running the command shown below. The mac is "FB:00:E0:82:AA:1F" in this case.

```shell
	$ sudo hcitool lescan
	LE Scan ...
	FF:FF:C8:5D:68:9E Eve
	FF:FF:C8:5D:68:9E Eve Thermo
	33:03:44:44:AA:5C (unknown)
	33:03:44:44:AA:5C Eve Door
	FB:00:E0:82:AA:1F (unknown)
	22:20:7B:99:D3:AF (unknown)
	FB:00:E0:82:AA:1F LEDBLE-A582661F    <--- this is your triones
	22:20:7B:99:D3:AF (unknown)
```

## Installation

Run the following command

```shell
npm install -g homebridge-magic-triones
```

Chances are you are going to need sudo with that.

## Config.json file

```json
{
    "accessory": "magic-triones",
    "name": "MagicBlue",
    "mac": "FB:00:E0:82:AA:1F"
}
```

| Key       | Description                                                                                                                                                                                                                                                       |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| accessory | Required. Has to be "magic-blue-bulb"                                                                                                                                                                                                                             |
| name      | Required. The name of this accessory. This will appear in your Homekit app                                                                                                                                                                                        |
| mac       | Required. The mac address that you discovered earlier                                                                                                                                                                                                             |
| handle    | Optional. The handle that is used by the bulb for setting on/off and colors. This basically works like a key and you are writing the value. Use 46 for the newer(?) version of the bulbs. The standard value for the older(?) version is integrated into the code |

## Issues

This software comes with no warranty. It works for me and it might for you.

---
_Source: https://npm.io/package/homebridge-magic-triones · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
