-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tint remote control by Müller Light; Refactor setting light state #2849
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
c39df29
Update rest_lights.cpp
ebaauw 3425d47
Add `state.angle`.
ebaauw 7543489
Update bindings.cpp
ebaauw bf13a4b
Update sensor.cpp
ebaauw c2ce0bb
Update database.cpp
ebaauw 5ef2042
Update sensor.h
ebaauw 2e3e944
Update rest_sensors.cpp
ebaauw caaf67c
Update de_web_plugin.cpp
ebaauw 6165414
Update de_web_plugin.cpp
ebaauw 0ee7cd6
Update de_web_plugin.cpp
ebaauw 6b290aa
Update general.xml
ebaauw 5a06f2b
Update light_node.cpp
ebaauw 5b0bf0c
Update rest_lights.cpp
ebaauw 30536e0
Merge remote-tracking branch 'upstream/master'
ebaauw 1460b6d
Update rest_configuration.cpp
ebaauw e7c7f0d
Update de_web_plugin_private.h
ebaauw ff2ef67
Update de_web_plugin.cpp
ebaauw acd3e48
Update event.cpp
ebaauw b15004c
Update general.xml
ebaauw d02441b
Update light_node.h
ebaauw 2adab02
Update light_node.cpp
ebaauw a2bf7d0
Update resource.cpp
ebaauw b59a726
Update resource.h
ebaauw 12fa2ec
Update rest_lights.cpp
ebaauw 3f19b57
Update bindings.cpp
ebaauw 551d6ec
Update resource.h
ebaauw c570902
Update resource.cpp
ebaauw 8f4285d
Update light_node.h
ebaauw 07af3ed
Update light_node.cpp
ebaauw 5dc23b8
Update rest_groups.cpp
ebaauw 4d3905e
Update rest_lights.cpp
ebaauw 9fa3b2e
Update window_covering.cpp
ebaauw 8ed5488
Update de_web_plugin.cpp
ebaauw 8a95e13
Update zcl_tasks.cpp
ebaauw e746a71
Update rest_lights.cpp
ebaauw 6d36eff
Update resource.cpp
ebaauw 0fa4fe0
Update light_node.cpp
ebaauw 670950b
Update resource.cpp
ebaauw 00dbacb
Update rest_lights.cpp
ebaauw b56d4be
Update rest_rules.cpp
ebaauw f04edde
Merge remote-tracking branch 'upstream/master'
ebaauw 0705338
Update rest_rules.cpp
ebaauw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1894,4 +1894,6 @@ public Q_SLOTS: | |
|
||
}; | ||
|
||
extern DeRestPluginPrivate *plugin; | ||
|
||
#endif // DE_WEB_PLUGIN_PRIVATE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,4 +51,3 @@ Event::Event(const char *resource, const char *what, int num) : | |
m_id = QString::number(num); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i->address() != 0
may we should use some constants here to get more meaning and make it easier to search for places where group 0x0000 is used.GROUP_0
/GROUP_ZERO
or something similar.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's several things going wrong with
/groups/0
. Events are issued on/groups/65520
instead of on/groups/0
. A GET of/groups/65520
returns the same as a GET of/groups/0
. The entire code handling this should be reviewed. I think we might need to decouple the REST resource ID from the group address for all groups, similar to the Hue bridge.