TileWizard [Alpha! Unstable!]
Settings | Result |
---|---|
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
- Turn on local API in the settings for a particular socket in the Energy app.
- 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
}
- Add the IP Address to the app and give the socket a name
- 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)
- 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
- 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)
- When everything has went well, the tile will indicate on or off, and you can click the tile to turn on/off the socket
- 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.