Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/frklan/lightmaker

Control Ikea Trådfri smart light bulbs from Minecraft
https://github.com/frklan/lightmaker

java minecraft minecraft-plugin spigot-plugin spigotmc

Last synced: 16 days ago
JSON representation

Control Ikea Trådfri smart light bulbs from Minecraft

Awesome Lists containing this project

README

        

# LightMaker Plugin

Ever been so busy playing Minecraft that you do not have time to turn on the lights and ends up playing in complete darkness? Well, then this plugin will come to the rescue, hook up a couple of light bulbs from Ikea's Trådfi series and configure lightswiches inside Minecraft..

## Compiling the source

### Prerequisites

* Java 8 SDK
* Apached Maven

### Compiling

To compile issue the following commands

````bash
git clone [email protected]:frklan/LightMaker.git
cd LightMaker
mvn package
````

Copy the jar file from ```target``` to your spigot server's plugin folder.

## Running

### Prerequisites

* Java 8
* A [SpigotMC](https://www.spigotmc.org/wiki/spigot/) server
* My [Trådfri api server](https://github.com/frklan/caesium)

### Installing

1. Copy the jar file to your server's plugin folder and restart the server.
2. Start/restart your server
3. Set api url in plugin/lightmaker.conf
4. restart your server
5. configure bulbs.
6. Have fun.

## debuging

1: Start SpigotMC:
$ java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Xms512M -Xmx1024M -XX:MaxPermSize=128M -jar spigot-1.12.2.jar

2: connect from your ide to localhost port 5005

## Check SSL cert

$ openssl s_client -connect [host]:443 -showcerts

## tcpdump

sudo tcpdump -nnvvXSs 6514 dst port 5000 -i lo0

### Permissions

TBD

## Contributing

Contributions are always welcome!

When contributing to this repository, please first discuss the change you wish to make via the issue tracker, email, or any other method with the owner of this repository before making a change.

Please note that we have a code of conduct, you are required to follow it in all your interactions with the project.

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/frklan/Teleport2Lobby/tags).

## Authors

* **Fredrik Andersson** - *Initial work* - [frklan](https://github.com/frklan)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

[![HitCount](http://hits.dwyl.io/frklan/LightMaker.svg)]()