Giter Club home page Giter Club logo

mobilecontroller's People

Contributors

sburke781 avatar

Watchers

 avatar  avatar

mobilecontroller's Issues

Mobile Commands - E.g. Media Playback (Play, Pause and Stop)

Allow HE to control media playback on the mobile device.

  • Add Tasker Profile to MC Project to receive AutoRemote commands for play, pause and stop, adjusting the current media playback accordingly
  • Update HE MC Mobile Device driver to make command(s) available that make the HTTP calls to AutoRemote on the mobile device
  • Update Readme and Community post accordingly

Mobile Command - Set Brightness

Allow HE to adjust the screen brightness of the mobile device.

  • Add Tasker Profile to MC Project to receive AutoRemote command for "brightness", taking in a parameter value of a percentage, adjusting the screen brightness of the device accordingly
  • Update HE MC Mobile Device driver to make command(s) available that make the HTTP calls to AutoRemote on the mobile device, passing in the brightness percentage
  • Update Readme and Community post accordingly

Create Initial Mobile Controller HE Device Driver

Create new Hubitat Device Driver:

  • Use my Virtual Battery Sensor from my Hubitat repository as the starting point for the new driver
  • Adjust the name the driver MC Mobile Device Driver
  • Make the driver available through HPM under my existing HPM repository, defined in my Hubitat Git repository
  • Test creation of a new virtual device, using interaction via Maker API as a test case

Mobile Command - Mute / Unmute

Allow HE to mute or unmute the mobile device.

  • Add Tasker Profile to MC Project to receive AutoRemote command for turning audio on or off, taking in a parameter value of mute or unmute and adjusting the audio accordingly
  • Update HE MC Mobile Device driver to make command(s) available that make the HTTP calls to AutoRemote on the mobile device, passing in the mute or unmute value
  • Update Readme and Community post accordingly

Expand Data Recorded on HE Virtual Device

Add to the existing battery sensor reading in the HE MC mobile device driver, to include the following details:

  • Display Brightness
  • Volume
  • Mute / Unmuted
  • WiFi SSID
  • Last Update / Heartbeat Timestamp
  • Call Status - Incoming, In-Call, None
  • Motion

Where possible, implement the recording of these details within the HE device driver in line with HE capability definitions. Record these details in attributes, so as to make them available in dashboards and automations.

  • Update the MC Tasker Project to include profiles / tasks that send each of these details through to HE when they change.

Make sure profiles are able to be turned off and left turned off in subsequent releases of the Project, allowing users to disable reporting of details such as WiFi SSID, call status information and motion.
The Heartbeat will be a periodic call back to HE to indicate the mobile device is still available and communicating with HE.

  • Include a Project variable to control the frequency of this heartbeat call to HE.

Note - While Wi-Fi may be able to be used as an indicator of Presence, the intention at this stage is to leave this up to the user to define elsewhere, such as in RM rules.

  • Update Readme with details of these changes and any configuration instructions and how best to use the information within HE
  • Post Release post in Community topic outlining the changes

Mobile Controller HE App - Receive Data From Mobile Device

Remove the need for sending updates from the mobile device via the Maker API, managing communications via the HE App instead. These communications will initially be used to receive battery readings from the device.

  • Update HE MC App to make it available to receive HTTP call for updating the battery sensor reading on the HE virtual device
  • Update Tasker profile for recording the battery reading in HE, adjusting the HTTP call to use the new endpoint of the HE MC App, rather than Maker API
  • Update Readme where appropriate
  • Add notes to HE Community topic on transitioning to this setup

Mobile Controller HE App

Develop a new HE App to manage MC Mobile Devices, including:

  • Manually creating MC Mobile Device, entering the IP Address of the device
  • Make App available via HPM
  • Update Readme with instructions for installing and using Mobile Controller App

Mobile Command - Turn Screen On / Off

Allow HE to turn screen on and off on the mobile device.

  • Add Tasker Profile to MC Project to receive AutoRemote command for "screen", taking in a parameter value of on or off and adjusting the screen accordingly
  • Update HE MC Mobile Device driver to make command(s) available that make the HTTP calls to AutoRemote on the mobile device, passing in the on or off value
  • Update Readme and Community post accordingly

Make Mobile Controller Tasker Project Available

Develop a Tasker project, including profiles, tasks and variables required to:

  • Report phone / tablet battery sensor readings back to a HE virtual device via Maker API, able to be captured in HE device using MC Mobile Device driver. Reading is sent to HE whenever the battery reading changes (%BATT)
  • Command for dismissing alarms with a specific label, initiated on phone / tablet using AutoRemote
  • Record current HE mode in Project variable, received on phone / tablet using AutoRemote

Profiles / Tasks within the Project will use project-level variables for the following, each to be configured when the project is first imported:

  • HE IP Address
  • HE Mobile Controller Mobile Device Id representing the Phone / Tablet
  • HE Maker API App Id
  • HE Maker API Access Token

Documentation and Release

  • Export the Tasker Project as an XML and upload to the Mobile Controller Git Repository
  • Add instructions to Mobile Controller Readme for installing and configuring the:
    • Tasker Project, including Project-level variables
    • HE MC Mobile Device Driver via HPM or manual installation
    • Creating the HE Virtual Device
  • Create a new Hubitat Community topic for the initial Mobile Controller release (version 0.1.0)

HE Driver - Proxy

Investigate options for a proxy / device group setup to allow for sending commands and variable updates to multiple devices.

MC Mobile Device - Dismiss Alarm and Record Mode Commands

Make it easier to dismiss alarms on a mobile device from HE automations and controls
Allow for synchronisation of the current HE mode into a MC Tasker Project variable on a mobile device

Update HE Mobile Controller Mobile Device driver to include the following:

  • Preference setting for IP Address
  • Methods to set and get IP Address Preference setting
  • Command (Method) to send HTTP call to mobile device to dismiss an alarm, taking in a label as a parameter and passing it to the mobile device as part of the HTTP call
  • Command (Method) to send HTTP call to mobile device to record current HE mode

Mobile Command - Do Not Disturb

Allow HE to turn Do Not Disturb on and off on the mobile device.

  • Add Tasker Profile to MC Project to receive AutoRemote command for Do Not Disturb, taking in a parameter value of on or off and adjusting the Do Not Disturb status accordingly
  • Update HE MC Mobile Device driver to make command(s) available that make the HTTP calls to AutoRemote on the mobile device, passing in the on or off value
  • Update Readme and Community post accordingly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.