1.0.8-alpha.10 • Published 1 year ago

homebridge-discord-occupancy-sensor v1.0.8-alpha.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

homebridge-discord-occupancy-sensor

Downloads Version verified-by-homebridge Homebridge Discord

Homebridge plugin that provides occupancy sensors based on Discord user presence.

Requirements

  • Node.js version 14 or higher
  • Homebridge version 1.3.0 or higher

Check your Node.js and Homebridge versions with node -v and homebridge -V respectively, and update as needed.

Installation

This plugin can be installed and configured through the Homebridge UI or the command line.

Install via Homebridge UI

  1. Open the Homebridge UI
  2. Navigate to the Plugins tab
  3. Search for "discord occupancy sensor"
  4. Click Install

Install via Command Line

  1. Install Homebridge: sudo npm install -g homebridge --unsafe-perm
  2. Install this plugin: sudo npm install -g homebridge-discord-occupancy-sensor
  3. Update your Homebridge configuration file. See config-sample.json in this repository for a sample.

Configuration

This plugin requires a Discord bot token to access your Discord server. You can obtain a bot token by following the instructions in the Discord Developer Portal.

Configuration File Example

{
  "platforms": [
    {
      "platform": "DiscordOccupancySensor",
      "name": "My Server",
      "token": "your-bot-token",
      "channelIDs": ["123456789012345678", "234567890123456789"],
      "debug": false
    }
  ]
}

Configurations Table

ParameterDescriptionDefaultType
platformAlways "DiscordOccupancySensor".-String
nameName of the platform, displayed in the Homebridge logs.-String
tokenDiscord bot token to access your Discord server.-String
channelIDsArray of Discord channel IDs to monitor for user activity.-Array of IDs
debugWhether to enable debug logging. If enabled, the plugin will log more information to the console.falseBoolean

Troubleshooting

If you encounter any issues with this plugin, check the Homebridge logs first for error messages.

If you need further assistance, feel free to open an issue or ask for help in the Homebridge Discord server.

Contributing

Contributions are welcome! Please refer to the contributing guidelines for more information.

License

MIT

1.0.7-alpha.24

1 year ago

1.0.7-alpha.23

1 year ago

1.0.7-alpha.22

1 year ago

1.0.7-alpha.21

1 year ago

1.0.8-alpha.8

1 year ago

1.0.8-alpha.9

1 year ago

1.0.8-alpha.4

1 year ago

1.0.8-alpha.5

1 year ago

1.0.8-alpha.6

1 year ago

1.0.8-alpha.7

1 year ago

1.0.8-alpha.1

1 year ago

1.0.8-alpha.2

1 year ago

1.0.8-alpha.3

1 year ago

1.0.8-alpha.10

1 year ago

1.0.7-alpha.20

1 year ago

1.0.7-alpha.19

1 year ago

1.0.7-alpha.18

1 year ago

1.0.7-alpha.17

1 year ago

1.0.7-alpha.16

1 year ago

1.0.7-alpha.15

1 year ago

1.0.7-alpha.14

1 year ago

1.0.7-alpha.13

1 year ago

1.0.7-alpha.12

1 year ago

1.0.7-alpha.11

1 year ago

1.0.7-alpha.10

1 year ago

1.0.7-alpha.9

1 year ago

1.0.7-alpha.8

1 year ago

1.0.7-alpha.7

1 year ago

1.0.7-alpha.6

1 year ago

1.0.7-alpha.5

1 year ago

1.0.7-alpha.4

1 year ago

1.0.7-alpha.3

1 year ago

1.0.7-alpha.2

1 year ago

1.0.7-alpha.1

1 year ago

1.0.6-beta.3

1 year ago

1.0.6-beta.2

1 year ago

1.0.6-beta.1

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago