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
Add Tasker/Locale action plugin #1338
Conversation
Here's the apk: mobile-foss-beta-debug.zip
|
Works already very well. |
That would be a condition plugin. Yes, it's possible, but not in this PR. |
Ah sorry, i think we have discussed this already somewhere. |
mobile/src/main/java/org/openhab/habdroid/ui/ItemPickerActivity.java
Outdated
Show resolved
Hide resolved
Maybe I should add a pref to enable this plugin. Otherwise any app can send item updates. |
4ffe7f7
to
87d3d73
Compare
mobile/src/main/java/org/openhab/habdroid/ui/ItemPickerActivity.java
Outdated
Show resolved
Hide resolved
mobile/src/main/java/org/openhab/habdroid/ui/ItemPickerAdapter.java
Outdated
Show resolved
Hide resolved
mobile/src/main/java/org/openhab/habdroid/util/SuggestCommandsFactory.java
Outdated
Show resolved
Hide resolved
mobile/src/main/java/org/openhab/habdroid/util/SuggestCommandsFactory.java
Outdated
Show resolved
Hide resolved
mobile/src/main/java/org/openhab/habdroid/ui/ItemPickerAdapter.java
Outdated
Show resolved
Hide resolved
mobile/src/main/java/org/openhab/habdroid/ui/ItemPickerAdapter.java
Outdated
Show resolved
Hide resolved
mobile/src/main/java/org/openhab/habdroid/ui/ItemPickerAdapter.java
Outdated
Show resolved
Hide resolved
mobile/src/main/java/org/openhab/habdroid/ui/ItemPickerActivity.java
Outdated
Show resolved
Hide resolved
TODO:
|
ba5b816
to
ce28caa
Compare
@maniac103 WDYT? |
@mueller-ma I agree, making this opt-in sounds like a good idea. Pref naming suggestion: 'Tasker integration' with summary 'Enable Tasker action plugin which allows updating Items via Tasker.' ... and only show it if either the pref is enabled at page enter time or Tasker is installed. |
Should something happen if an app wants to update an item without permission, e.g. show a toast? |
I personally wouldn't do it. If the plugin is disabled, just treat it as such and keep it as silent as possible. |
This plugin works with https://play.google.com/store/apps/details?id=com.twofortyfouram.locale and https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm. See openhab#257 Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
* Fix typo in name * Return a SuggestedCommands object * Set input type for edit text * Hide "Custom" if not needed Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
377a876
to
d26eba4
Compare
RTM from my side. |
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
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.
Pref changes look good to me ... Ship it 👍
This plugin works with
https://play.google.com/store/apps/details?id=com.twofortyfouram.locale
and
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm.
See #257
Signed-off-by: mueller-ma mueller-ma@users.noreply.github.com
TODO: