Samantha-uk / one

One - A monorepo. Home of Zigzag.
17 stars 17 forks source link

Floorplan display, filter devices capability ... #10

Open DrCoolzic opened 3 years ago

DrCoolzic commented 3 years ago

First of all I have several ideas for enhancement do you prefer them as separate requests or group them all?

Floor planning capability and devices selection

It would be nice to be able to display a floorplan image of a house so that it is possible to place Zigbee devices in their actual location in the floorplan.

For this to work in a multi-story house, we need a way to specify a specific floor that will select a specific background image and to be able to simply filter the ZigBee devices associated with that floor. For example :

Example of Ubiquiti Unifi software

The use model for adding the devices to their proper location can follow what is done by Ubiquiti: The Unifi network control software offers the following capability:

Possible use model

In Zigzag have

steps

What I describe here is a kind "ultimate UI solution" that would be probably difficult to implement. Therefore it is possible to provide some of these functionalities with a simpler interface e.g. using some yaml configuration file

andrus2049 commented 3 years ago

If somebody has more than a one floor level, using a 2D representation it wouldn't be possible to show all the zigbee connections across all the house levels...

DrCoolzic commented 3 years ago

Good point. In that case the solution is to show devices from different floors either using dotted line and/or shaded icons.

With the floorplan capability. You can also have a "see all levels" option that would display all devices from all floors. In this case you may also want to display devices from different floors with different colors

Actually I already posted a request for different colors here https://github.com/Samantha-uk/one/issues/6 Need to update as follow

Device background:

andrus2049 commented 3 years ago

I'd suggest also to use different shapes for the different types of zigbee devices, like it was in first zigzag version, it's more immediate to get the distinction.

DrCoolzic commented 3 years ago

yep. Following forms square, circle, octagon gives maximum areas. In that case background colors can be removed or used for floor level.

Samantha: for not available may be an icon with a stop sign?

Samantha-uk commented 3 years ago

All fantastic ideas. At present my time is being totally absorbed by rebasing Zigzag as an addon, both to allow easier installation via Supervisor and to allow for a number of backend features on the roadmap (such as near real time updating of LQI, power level analysis and such things to help it become a more powerful diagnostic tool).

DrCoolzic commented 3 years ago

No hurry. What you are working on is more important. I also see Zigzag as a possible diagnostic tool to help in case of problems. I see there is v0.8 new features?

energywave commented 3 years ago

I also thinked about that exact possibility. I have a three story house + cellar so 4 layers. Not an easy representation but the best one is what you said: dashed lines from devices on the shown story that are going to other floors. But, hey, that's would be an awesome feature but very time consuming to code! Better to concentrate to optimize and give it as a more user friendly option like ad addon, that would be super useful! If you consider we have a map with ZHA that's very very bad and ZigZag, as of today with all the limits, is a magnitude of times better than that! Let's people find it and use it!

DrCoolzic commented 3 years ago

Agree ZigZag is already far better than the ugly ZHA map.