Comments (1)
Sorry, I don't have an RPi in front of me, but I'm happy to help out in general.
You'll need to install a Java Runtime Environment (JRE), which has the Java command. It should be available with sudo apt-get install default-jre-headless
. Make sure the java
command works.
Then, you'll need to download the .jar file from the releases page. Put it somewhere safe (anywhere will work, just make sure you don't delete it in the future), and make a note of the full path to it. At this point, you should be able to run it with java -jar /path/to/hue2mqtt.jar
. Make sure this runs -- it will use the default settings.
If you need to change settings, you can do that on the command line with the -D
flag. For example, connect to a different MQTT broker with -Dhue2mqtt.mqtt.server=tcp://my.mqtt.server:port
. You can do the same thing with the JAVA_OPTS
environment variable. Make sure everything is working correctly with whatever settings you need.
Assuming you're using Raspbian, the standard way you start things on boot is with a systemd service. Here's a good tutorial. Basically, you need to make a file called hue2mqtt.service, fill it with information like they show in the tutorial, and tell systemd to start the service (systemctl start
) and to restart it when the system boots (systemctl enable
).
Let me know if you have any issues!
from hue2mqtt.
Related Issues (10)
- Create tag for version 0.4
- Clip Increment Feature (new increment* attributes in PHLightState) HOT 1
- alert datapoint
- publish subtopics
- set command fails on float values
- Problem with Hue-Connection
- Problem: Parsing error probably caused by Hue Motion Sensor?
- Mqtt server on permanent local is address
- Hi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hue2mqtt.