Small utility used to add Homewizard Energy Socket tiles to Android Quick Settings

Overview

TileWizard [Alpha! Unstable!]

Settings Result
Alt text Alt text

Functionality:

  • Add up to 5 Wi-Fi Energy Sockets to Android Quick Settings.

What do you need:

  • Android device with Android 7.0 or higher
  • One or more Energy Sockets
  1. Turn on local API in the settings for a particular socket in the Energy app.
  2. Find the IP Address of the Energy Socket and give it a static IP in your router's settings

You can test the socket in the browser when, and only when, you are connected to the same Wi-Fi network as your socket. Go to: http://{ip}/api/v1/state and you should see a JSON response showing the status of the socket.


   
    
GET http://{IP address}/api/v1/state HTTP/1.1


    
     
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 
     
      

{
   "power_on": true,
   "switch_lock": false,
   "brightness": 255
}

     
    
   
  1. Add the IP Address to the app and give the socket a name
  2. Set the switch to on (Note: this does not turn on the socket, but creates a new tile in quick setting with the provided info)
  3. Go to the settings of your Quick Settings panel (click the little edit icon in your notification shade) and drag the new tile to your visibile tiles
  4. It might take a couple of swipes of your notification shade to initialise the tile. When it is greyed out it means the socket could not be found (for example: when you are not connected to the same network)
  5. When everything has went well, the tile will indicate on or off, and you can click the tile to turn on/off the socket
  6. Yay!

Disclaimer

TileWizard is not an official product of HomeWizard, therefore there is no support and no guarantee this utility will keep working. Use at your own risk, I am not liable for any damages related to using TileWizard.

License

Copyright 2021 Niels Masdorp

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You might also like...
Utility library that utilizes KSP to generate Room type converter classes.

Roomie Roomie is an annotation processing library that utilizes KSP to geaRoomie is an annotation processing library that utilizes KSP to generate TypeConverter classes for Room. TypeConverter classes most often involve same boiler-plate code and Roomie makes it really easy to quickly create them with a single annotation.nerate TypeConverter classes for Room. TypeConverter classes most often invol

 CHAOS - Like a utility knife for discord
CHAOS - Like a utility knife for discord

CHAOS - Like a utility knife for discord. Currently under development. If you feel inclined, please support me by contributing to this project. Or alt

Obsi-bot: the next generation discord utility bot 🔥

obsi-bot obsi-bot is the next generation discord utility bot. It is developed in Kotlin using kordex and kord Help me translating Feel free to help me

Small Android library to help you incorporate MVP, Passive View and Presentation Model patterns in your app
Small Android library to help you incorporate MVP, Passive View and Presentation Model patterns in your app

DroidMVP About DroidMVP is a small Android library to help you incorporate the MVP pattern along with Passive View and Presentation Model (yes, those

A small library which will save you from writing the same intent creation code again and again for the most simple tasks

Android Intents A small library which will save you from writing the same intent creation code again and again for the most simple tasks. I found myse

compaKTset is a small library aimed at providing you with the most memory efficient Set implementation for any particular data type of your choosing.

compaKTset is a small library aimed at providing you with the most memory efficient Set implementation for any particular data type of your choosing.

This project is an add-on for the excellent J2V8 Project. It allows users to debug JS running in V8 using Chrome DevTools. Uses Stetho for communication with Chrome DevTools.

J2V8-Debugger This project is an add-on for the excellent J2V8 Project. It allows users to debug JS running in V8 using Chrome DevTools. Uses Stetho f

📭 Extension to Ktor’s routing system to add object oriented routing and much more. 💜

📭 Ktor Routing Extensions Extension to Ktor’s routing system to add object-oriented routing and much more. 💜 Why? This extension library was created

 iSmart Android Library, Used in the game below
iSmart Android Library, Used in the game below

iSmart Android Library, Used in the game below Source | XO Challenge Game(Link Soon) I made this library long time ago (between 2013 until 2016) It wi

Releases(0.0.3)
Owner
Niels Masdorp
Software dev with a passion for the Android ecosystem.
Niels Masdorp
A small utility to record Android device screen to a GIF

RoboGif A small utility to record Android device screen to an optimized GIF so you can paste it to GitHub or a similar service. Requirements Python 2.

Jernej Virag 526 Dec 9, 2022
A collection of small utility functions to make it easier to deal with some otherwise nullable APIs on Android.

requireKTX is a collection of small utility functions to make it easier to deal with some otherwise nullable APIs on Android, using the same idea as requireContext, requireArguments, and other similar Android SDK methods.

Márton Braun 82 Oct 1, 2022
Small utility to create/restore encrypted backups

Quick Backup Choose some files and quickly create a complete encrypted and compressed file. Usage Clone the repository Run gradlew installShadowDist T

Leonardo Colman 5 Sep 18, 2021
Small command-line utility to safely merge multiple WhatsApp backups (msgstore.db) into one.

whatsapp-database-merger A small command-line utility that can be used to merge multiple WhatsApp databases (msgstore.db) into one. A few notes: input

Mattia Iavarone 31 Dec 27, 2022
Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure.

Secure-preferences - Deprecated Please use EncryptedSharedPreferences from androidx.security in preferenced to secure-preference. (There are no active

Scott Alexander-Bown 1.5k Dec 24, 2022
Simple Mobile Tools 172 Dec 26, 2022
Utility for detecting and notifying when your Android app goes background / becomes foreground

Foredroid Utility for detecting and notifying when your Android app goes background / becomes foreground. API-level 14+. Usage: Initialise Foreground

Steve Liles 151 Nov 29, 2022
Utility tool to make you a computer ninja.

Cmd Window Never spend 6 minutes doing something by hand when you can spend 6 hours failing to automate it - Zhuowej Zhang What is this about? This to

Marcin Radoszewski 3 Feb 1, 2022
FractalUtils - A collection of utility functions and classes, with an emphasis on game related utilities

A collection of utility functions and classes written in Kotlin. There is some emphasis on utilities useful for games (Geometry, Random, Time, Updating, etc).

null 2 Nov 11, 2022
A command line utility to help you investigate the sensitive data associated with Macie findings.

Macie Finding Data Reveal This project contains a command line utility to help you investigate the sensitive data associated with Macie findings.

AWS Samples 8 Nov 16, 2022