Commit Graph

652 Commits

Author SHA1 Message Date
Admin
fe613f7688 Basic OpenHAB functionality added. Need to add String selection
functionality.
2017-12-15 16:34:58 -06:00
Admin
4b247557d4 Start adding OpenHAB to the bridge. 2017-12-14 14:54:50 -06:00
BWS Systems
dc49de41ce Merge pull request #843 from bwssytems/FixesForV5
Fixes for v5

Fixes #842 Show and manage linked devices to the ha-bridge enhancement
Fixes #797 harmony hub not pairing bug question
Fixes #817 Log full of error: The requested route [/(null)] has not been mapped in Spark bug question
Fixes #821 Support HEX-Formatted RGB Values for color enhancement question
Fixes #837 -Dexec.garden breaks script execution with trailing slash enhancement question
Fixes #800 5.0.0 no longer connects to the vera enhancement question
Fixes #801 Fibaro scenes are not created bug question
Fixes #805 Fibaro HomeCenter2: Devices "Build Item" broken bug question
Fixes #841 add support for timestamp http URL variable
Fixes #836 Add support for cheap HomeWizard SmartPlugs (Smartwares Smarthome Controller)
v5.1.0
2017-12-12 15:53:08 -06:00
Admin
9d07fac929 updated readme 2017-12-12 15:48:03 -06:00
Admin
4ecbad6558 Fixed enable rooms for Alexa. Removed huemulator redirect for Spark.
Added Link management as links are now stored with IP.
2017-12-12 15:21:45 -06:00
Admin
4c86e42776 Added hex color codes, added swith to utilize groups/rooms. updated exec
to use new path parsing. Revert back to Spark 2.3 due to issues.
2017-12-11 16:40:59 -06:00
BWS Systems
00dbea6dac Merge pull request #841 from rburgst/master
add support for timestamp http URL variable
2017-12-11 12:27:48 -06:00
BWS Systems
ed2bf3bd83 Merge pull request #836 from bjoernrennfanz/feature/HomeWizardIntegration
Add support for cheap HomeWizard SmartPlugs (Smartwares Smarthome Controller)
2017-12-11 12:27:24 -06:00
Rainer Burgstaller
58fb085180 renamed variable timestamp to time.millis 2017-12-11 18:26:26 +01:00
Rainer Burgstaller
800f5ec2aa add support for timestamp http URL variable
- certain devices require a current date/time in their HTTP request
  (Warema shades)
2017-12-11 08:30:33 +01:00
Björn Rennfanz
bdf5770ba0 Some corrections after rebasing code of HomeWizard SmartPlug plug-in 2017-12-09 22:05:00 +01:00
Björn Rennfanz
a213672341 Add web part of plug-in for HomeWizard SmartPlug support 2017-12-09 21:40:27 +01:00
Björn Rennfanz
d337546da7 Add java part of plug-in for HomeWizard SmartPlug support 2017-12-09 21:35:17 +01:00
Björn Rennfanz
b9437d42e8 Update README.md file 2017-12-09 21:15:02 +01:00
BWS Systems
71c4447d25 Merge pull request #796 from bwssytems/FeaturesfFor5.0
Features for 5.0

Fixes #749  No Login Feedback - No Password reset enhancement question
Fixes #717  Having to often repeat command enhancement question
Fixes #768  Hue Items error with ha-bridge-5.0.0rc2 bug question
Fixes #782  getting server error 500 out of nowhere enhancement question
Fixes #779  Allow custom hue-bridgeid? enhancement question
Fixes #450  Unable to edit on ipad enhancement question
Fixes #336  Fibaro support enhancement help wanted
Fixes #560  How to run Fibaro Scene in HA-Bridge? enhancement question
Fixes #737  2 HA-Bridge instances: UpnpListener encountered an error sending upnp notify packet. IP: 239.255.255.250 with message: Operation not permitted enhancement question
Fixes #761  Philips Hue app update - bridge update required enhancement question
Fixes #747  Issue with MQTT messages - intermittent success enhancement question
Fixes #722  Long time no operation causes failure of the first operation of home assistant devices enhancement question
Fixes #671  action taking place only on the second time i ask to do it enhancement question
Fixes #381  Resize Target Item Field enhancement question
Fixes #705  Item Delete Button deletes multiple items bug question
Fixes #327  Add Color or Raw Info enhancement question
Fixes #704  Rename "Clear Device" to "Clear" enhancement
Fixes #713  Room and basic color (especially limitless/milight) support enhancement
v5.0.0
2017-11-22 13:50:31 -06:00
Admin
a489061bac Changed version to 5.0.0, Updated README, updated traceupnp messages in
log.
2017-11-22 12:44:38 -06:00
Admin
75b925992b Updated favicon, enhanced login/logout. 2017-11-17 15:56:23 -06:00
Admin
05b9f195d7 Fixed issue with http client pool and with test user for web interface. 2017-11-17 12:38:14 -06:00
Admin
5eca809c4a Updated Readme, Updated to the latest spark web REST Framework. Added
handling for spark initialization errors.
2017-11-16 16:23:33 -06:00
Admin
fa00b7106a Added failed logic 2017-11-15 14:59:26 -06:00
Admin
df85c8a349 Added new HTTP pool manager and http handling. 2017-11-15 14:27:44 -06:00
Admin
d8d5e8f39a Added hub mac setting, removed global hal token setting, removed upnp
strict setting (only from command line)

Working on http pool
2017-11-14 16:37:45 -06:00
Admin
690bdaa748 Finalized Fibaro merge correcting inconsistencies. 2017-11-14 13:36:07 -06:00
Admin
feee22dbac Merge branch 'refs/heads/pr/785' into FeaturesfFor5.0
# Conflicts:
#	src/main/resources/public/scripts/app.js
2017-11-14 13:13:22 -06:00
Admin
548da932ad Updated hue hub version to be 999999999 to help alleviate version
issues. Updated upnp multicast to use one socket. Updated http Handler
code to check for null on conn.
2017-10-20 11:04:05 -05:00
Admin
b147f6606e Update MQTT reconnect, and import statements and color convert test
case.
2017-10-19 15:56:15 -05:00
Dmitriy Ponomarev
31fe05fe2b fix autorization in requests and many changes. All working, except device statuses. Dont know how to do that. 2017-09-25 03:04:01 +03:00
diamond5170
924f3059fb Merge branch 'master' into master 2017-09-24 21:45:56 +03:00
Admin
5231eac4b0 Updating http connection management.... Broken 2017-08-30 17:04:17 -05:00
Admin
28144312ff Update echo url. Create Release Candidate 1 for 5.0.0 2017-08-29 16:24:02 -05:00
Admin
60e8855aa7 Updated scroll-table.css to have dynamic max-height, cleaned up
warnings, removed order by name.
2017-08-03 15:26:12 -05:00
BWS Systems
5ea14f9069 Merge pull request #715 from FloFoer/FeaturesfFor5.0
Light type detection and filter for device list
2017-08-03 09:51:53 -05:00
Florian Förderreuther
ce79fb4b82 Light type detection and filter for device list
"Extended color light" isn't used anymore for all devices without thinking about it. It will now automatically differentiate between Color and Dimmable light by the following logic: 
1. If it's  Philips Hue passthru look at the state: if it contains the attribute "colormode" it's a Extended color light, otherwise it's a Dimmable light.
2. If it's no passthru it's a dimmable light if the colorUrl has no content. 

I didn't use On/Off light because i disovered that a) the hue app treats these exactly the same as dimmable light, you can still "change the brightness" and b) the amazon echo doesn't find these lights without the skill

I also enhanced the filter options in the web ui.
You have a textbox "Show devices visible to". You can fill in an ip-address and there will only be devices displayed that a) have the ip address in the requesterFilter or b) don't filter by requester.
If you tick the checkbox "Must contain filter" option b isn't used. This means also if you check the box with no ip address in the textbox only devices without request filter will be shown.
Also there is a filter by device type.
All these 3 filter options will be remembered as long as the browser tab is closed.
2017-08-02 07:34:06 +02:00
BWS Systems
98ce4e2a3a Merge pull request #711 from ProZsolt/patch-1
Fix table in README.md
2017-08-01 16:26:26 -05:00
BWS Systems
026626b5ab Merge pull request #712 from FloFoer/FeaturesfFor5.0
Room and basic color support, group additions and some minor stuff
2017-08-01 16:25:54 -05:00
Florian Förderreuther
95c342b548 Amazon Echo support for groups
So the groups are now somewhat usable with an Amazon Echo. This is a bit of a workaround:
The group gets presented to the Echo as another fake light. For that to work you must manually enable this feature for every room by adding "exposeAsLight":"192.168.0.30" to the room in group.db (restart ha-bridge afterwards). Use the ip-address of your echo. No need to do that for other devices, because these can handle rooms directly. The fake light for the group will only be shown/usable to the specified ip-addresses.
2017-07-30 16:30:33 +02:00
Florian Förderreuther
cb9312f6c3 Filter lights in group and fixed handling of urls with trailing slash 2017-07-30 10:10:04 +02:00
Florian Förderreuther
8831fec6be Minor fixes and better color support
Fixed some minor bugs related to groups.
I implemented basic color capabilities. Extended ColorDecode.java to handle xy and ct values. Implemented the call to replaceColorData in various homes (command, http, tcp, udp).
Additional to color.r, color.g, color.b which return the color value in 0-255 there is also a value replacement "color.milight". 
The usage for that is as follows: udp://ip:port/0x${color.milight:x} where x is a number between 0 and 4 (0 all groups, 1-4 specific group). The group is neccessary in case the color turns out to be white. The correct group on must of course be sent before that udp packet.
Note that milight can only use 255 colors and white is handled completely separate for the rgbw strips, so setting temperature via ct with milight does something but not really the desired result.
2017-07-29 18:42:13 +02:00
Florian Förderreuther
0227a05970 Corrected group action success response 2017-07-28 14:47:58 +02:00
Florian Förderreuther
087d66694e Added filter to device list "show devices visible to ip-address"
If filter is active it will only show the devices that are visible for the given ip-address. Filter setting is saved until browser tab is closed.
2017-07-28 02:24:48 +02:00
Florian Förderreuther
20ad6891e8 Implemented support for rooms
I implemented full api support for rooms. That means:
- Create/Modify/Delete rooms/lightgroups
- Get information about group list / individual group
- Group actions: Change lighting for the whole group (except setting scenes, because scenes are not implemented in ha-bridge right now)
For now the rooms/groups can only be configured through the api and apps, it's not visible/changeable through the web gui.
2017-07-27 23:20:02 +02:00
Zsolt Prontvai
cd2bd072ed Fix table in README.md 2017-07-27 18:54:18 +02:00
Unknown
3a5262ff33 Added ColorUrl and alternative item edit mode
Additional to on/off/dim items i added color items. The colorUrl gets executed if a PUT is received with xy/ct/hue/sat in the body. Also changed the emulated bulb type to "Extended color light".
Added "Change Editmode" button in the editdevice screen. Switch between manual JSON edit and the tabular variant. Local unsaved changes in one mode carry over to the other. Through this edit variant it's possible to change the order of items and do copy/paste.
2017-07-23 10:15:00 +02:00
Admin
430eff958c Updateing color translation 2017-06-28 16:02:45 -05:00
Admin
86371c03b2 Updating Color calculation 2017-06-27 16:12:47 -05:00
Admin
3207b6b76e Updated version
Fixes #676 Server doesn't listen on IPv4 on Raspberry Pi enhancement
question

Fixes #673 ha-bridge not working after restart bug
 
Fixes #618 Long Press for Harmony enhancement question

Fixes #608 Link-Button-Feature and Hue App bug question

Fixes #669 Need to re-pair Philips Hue Bridge enhancement question

Fixes #671 action taking place only on the second time i ask to do it
enhancement question

Fixes #594 Buttons on Hue Devices page do not work bug question

Fixes #654 Add possibility to set qos and retained state of MQTT
messages

Fixes #665 Hue Constant updates
v4.5.6
2017-06-26 14:11:57 -05:00
Admin
3d4724ac57 Fixed an introduced issue with the edit screen. Finished the press time
implementation.
2017-06-21 16:22:03 -05:00
Admin
63ac729967 Adding long press 2017-06-20 16:35:03 -05:00
Admin
0900fec60f Working on pairing with hue app 2017-06-19 16:22:03 -05:00
Admin
5ccb793ddb Merge and update changes from pull requests 2017-06-19 15:10:40 -05:00