nethome / nethomeserver Goto Github PK
View Code? Open in Web Editor NEWThis project forked from stefangs/nethomeserver
Home automation server
Home Page: http://opennethome.org
License: GNU General Public License v3.0
This project forked from stefangs/nethomeserver
Home automation server
Home Page: http://opennethome.org
License: GNU General Public License v3.0
Hi,
I'm awaiting approval for the forum but I'll post a bug report here for now.
Environment: I'm using a Tellstick Duo on a Raspberry Pi 2. Tellstick is powered by an external USB hub with separate power. Using latest Jessie as OS for rPi and also using the nighly build of OHS.
The problem: Adding a Nexa remote power switch works fine for a while. Then it stops working. Manual remote (the one received with the power switch) works all the time, and also works fine from where the Tellstick is placed.
I removed all items and began blank. Added the remote power switch and noted that is said HouseCode O and Button 8. Tried on/off/toggle and it worked just fine. Then I restarted the daemon using sudo nethome restart command and then the switch was not working. When I looked at the settings of the lamp, it had changed to HouseCode A and Button 8. I was not able to manually save the changes to have the HouseCode set correctly.
Tried to edit the file /etc/opt/nethome/config.xml manually to set the correct values and restarted the daemon. The value is still unchanged on site, but correct in XML.
Noticed that I had Swedish characters in the names that might mess with the XML, so tried removing those. Saved and restarted. Names were updated but the site still showed incorrect HouseCode.
New installation of NetHomeServer
Bug: Previously, the /var/run/nethome directory was not created during install.
Upgrade NetHomeServer from nightly build
Bug: The /var/run/nethome directory was not checked for existence while performing an upgrade
Suggested fix is to let upgrade.sh make this check, add to line 26 onwards:
# Verify $PID_ROOT exists (a previous bug!)
if [ ! -d $PID_ROOT ]; then
echo "Creating missing '$PID_ROOT' directory"
mkdir -p $PID_ROOT
fi
The check for the running process fails and causes the upgrade to take a long time while killing and restarting the server.
I will make a pull request for this.
It is not possible to create a new home item if the item name already exists for another home item.
The problem, really, is that error messages are not propagated back to the GUI/Web on errors.
Tried with nightly build HomeManager 2.1-SNAPSHOT-0a0e5 (2016-03-06)
mvn package command will fail if executed (at least on Windows 10) on (atleast) GMT+2 timezone. Temporarily setting to GMT+1 and the build passes these tests.
It would be useful to have a link to the indicated (and found) home item. It is now only shown as "Existing".
Hi,
Build instructions are missing a dependency to at least to NetHome/cybergarage-upnp and /ZWave repositories.
Easy to solve if you can read mvn errors and to google, how ever instructions to build are not clear for beginners (like me).
Please update build instructions.
Hi NetHome,
I work for Philips Hue Developer Support. In case you were not aware, in a few months time we will be changing the way usernames are created on the bridge (for security reasons). Custom whitelist usernames will no longer be allowed and the bridge randomly generated username must be used instead. Please see below link for more information:
http://www.developers.meethue.com/documentation/important-whitelist-changes
I checked your code and in PhilipsHueBridge.java line 185 (RegisterUser method) you are setting the username. After February 2016 this code won't work so the passing of the user as a parameter and the setting of the "username" in the POST body should be removed here. The randomly generated bridge username is returned in the bridge success response, however it looks like you have this code in place already so hopefully the changes should be minimal for you. Apologies for the inconvenience.
Thanks
Steve
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.