[Android] Habitat - Open Alpha test

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
Aegis
Posts: 15
Joined: 04 Jan 2017 22:26

[Android] Habitat - Open Alpha test

Post by Aegis » 13 Feb 2017 21:00

Hi all!

Habitat is the name of an Android app I've been working on for a little while now and I figured it's time to share my progress so far.

Habitat is a Z-Way client app that will let you control your Z-way devices from a nice, smooth and fast app with upcoming features such as automation, virtual devices, etc. The app is currently far from feature complete or bug free but since I only have a limited subset of Z-way devices it would be great to get some feedback and suggestions from the Z-way community.

If you have an Android device running Android 6.0 or newer and a Z-way controller such as the Razberry or equivalent running the latest firmware version, then you can opt in to the alpha test using this link. After opting in you can find the app on Google Play.

Again, please remember that this is very much work in progress but Im hoping you will see the potential this app has!

Note that there are currently some bugs and quirks with the ZAutomation API which leads to some issues in the app. One example is that with the latest Z-Way update, the API no longer seems to respect the time argument when fetching events.

At any rate, please give the app a whirl and let me know what you think! Updates will be pushed out quite frequently with new functionality and bug fixes.

Note: As there is no welcome wizard implemented yet, the first thing you want to do is go to settings and set the correct network parameters for your Z-way controller.

Cheers all!
Attachments
device-2017-02-13-185935.png
device-2017-02-13-185935.png (174.88 KiB) Viewed 733 times

fez
Posts: 59
Joined: 20 Jul 2015 23:03

Re: [Android] Habitat - Open Alpha test

Post by fez » 13 Feb 2017 23:59

Android 5.1 is still not supported.

Aegis
Posts: 15
Joined: 04 Jan 2017 22:26

Re: [Android] Habitat - Open Alpha test

Post by Aegis » 14 Feb 2017 00:00

Correct. Android 6.0 and newer only for now.

Minux
Posts: 19
Joined: 26 Oct 2014 13:06

Re: [Android] Habitat - Open Alpha test

Post by Minux » 20 Mar 2017 15:44

Hello, i like your app design.
- Is it possible to split the devices list in two columns ?
- When you click on a device, on the control screen, can you make the room title clickable ? for example to access directly to this room or to show the other devices of this room.
- On the device control screen can you add another title to show other caracteristics of this device. For example power consumption.

The last thing :) , on rooms screen; how can i mix stock z-way images and my location image, I use both. ?

Are you alone to work on this project ? it could be a good idea to join your project with colin.cachia project.
https://forum.z-wave.me/viewtopic.php?f=3419&t=23983

Aegis
Posts: 15
Joined: 04 Jan 2017 22:26

Re: [Android] Habitat - Open Alpha test

Post by Aegis » 09 May 2017 10:25

Minux wrote:Hello, i like your app design.
- Is it possible to split the devices list in two columns ?
- When you click on a device, on the control screen, can you make the room title clickable ? for example to access directly to this room or to show the other devices of this room.
- On the device control screen can you add another title to show other caracteristics of this device. For example power consumption.

The last thing :) , on rooms screen; how can i mix stock z-way images and my location image, I use both. ?

Are you alone to work on this project ? it could be a good idea to join your project with colin.cachia project.
https://forum.z-wave.me/viewtopic.php?f=3419&t=23983
Thanks for the useful feedback. Ill look into adding the features you suggested. I will absolutely add the ability to click room titles!

Currently, there is no way to mix stock z-way images with your own images. I will investigate the matter and see if I can come up with an elegant solution though.

Thanks again!

Minux
Posts: 19
Joined: 26 Oct 2014 13:06

Re: [Android] Habitat - Open Alpha test

Post by Minux » 15 May 2017 20:23

i have decided to doing my own app.
this is my code to get image room url :
http://192.168.1.16:8083/ZAutomation/api/v1/locations/1
You get :
{
data: {
id: 1,
title: "Météo",
user_img: "appli_07082012_logo_1344354505.jpg",
default_img: "",
img_type: "user"
},
code: 200,
message: "200 OK",
error: null
}

public static final String IMAGE_USER_URL = "/ZAutomation/api/v1/load/image/";

public static final String IMAGE_DEFAULT_URL = "/smarthome/storage/img/rooms/";

public String getImg(Context context) {
if ("user".equals(imgType) && StringUtils.isNotEmpty(userImg)) {
return Preference.getZwayAddress(context) + IMAGE_USER_URL + userImg;
} else if ("default".equals(imgType) && StringUtils.isNotEmpty(defaultImg)) {
return Preference.getZwayAddress(context) + IMAGE_DEFAULT_URL + defaultImg;
}
return "";
}

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests