Edit location from any device

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
JC38
Posts: 51
Joined: Monday 23 June 2014 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Isère, France
Contact:

Edit location from any device

Post by JC38 »

As now we have a nice Android application, it would be more interesting to set each device at the right place.
So, if we could set, see and order by location from the menu Setup/Devices, it would be nice.
From this screen, it would be easier to set the location and to see which device is missing a location than using the roomplan screen.
Of course, if the relation between the devices_table and the rooms_table is a one to one relation.

Thanks for reading ;)
Raspberry Pi 3 Domoticz latest public beta + RFXComm Usb + Aeon Labs Z-Stick + Weather Underground
Windows 2012R2 with Essentials + Domoticz Windows (latest) + Open Hardware Monitor
ImperiHome with mdat / Domoticz for Android
JC38
Posts: 51
Joined: Monday 23 June 2014 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Isère, France
Contact:

Re: Edit location from any device

Post by JC38 »

Hello,

Sorry, but I'm back again with this idea. I know some people would say, if you want it, do it yourself, yes but the only problem is that I haven't the needed skills. :oops:
I think it would be a good thing to have these features implemented in the future. As far as i know, many people starting to use Domoticz don't really take care at the beginning of the roomplan features. But when the things grow, it becomes interesting to keep the sensors in order. Even more if you use a ISS gateway or other external application which is displaying all your sensors sorted by ... rooms :(

My first whish would be to see the location in the devices list, into a new column.
List
List
device_list.PNG (72.33 KiB) Viewed 1739 times
"Location" column : the room choosen from the roomplan list
New icon into the "actions" column : Pictogram for launching a dedicated form to associate the device to a room from the roomplan list. Maybe, this functionality can either be proposed with the add device form and/or from the form loaded from the edit device button into the other screens. Like this one for a switch
Edit
Edit
device_edit.PNG (21.21 KiB) Viewed 1739 times
I hope this idea will interest some people and will be approved for a next evolution.

Thanks again to the dev team for their work.
Raspberry Pi 3 Domoticz latest public beta + RFXComm Usb + Aeon Labs Z-Stick + Weather Underground
Windows 2012R2 with Essentials + Domoticz Windows (latest) + Open Hardware Monitor
ImperiHome with mdat / Domoticz for Android
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: Edit location from any device

Post by deennoo »

This can be very usefull for middle and advanced user who already use floorplan.

Floorplan is the best way to store device.

But...what about device who are on multiple floorplan ?

Exemple : i'm using floorplan for front end gateway(reacticz, homebridge, ISS)
But those device can be set to à floorplan shown on domoticz GUI too, and they can be on a température floorplan too.

How to solve this ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
JC38
Posts: 51
Joined: Monday 23 June 2014 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Isère, France
Contact:

Re: Edit location from any device

Post by JC38 »

I don't think it will change anything for the Floorplan functionality.
My "idea" is only another way to associate a device to a plan like it is done through the Setup/more options/Plans/Roomplan. Today (and tomorrow), one device can't be associated with more than one ROOMplan.
In the other way, many floorplans can use the same roomplan, this is not a problem today nor tomorrow.

And now, the question is : when will it be tomorrow ? :lol:
Last edited by JC38 on Thursday 09 February 2017 22:15, edited 1 time in total.
Raspberry Pi 3 Domoticz latest public beta + RFXComm Usb + Aeon Labs Z-Stick + Weather Underground
Windows 2012R2 with Essentials + Domoticz Windows (latest) + Open Hardware Monitor
ImperiHome with mdat / Domoticz for Android
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Edit location from any device

Post by Nautilus »

JC38 wrote:Today (and tomorrow), one device can't be associated with more than one plan.
What? :)
Sure it can. I am using this too - for example to define devices for Homebridge etc. (sort of virtual rooms). I still have the same devices in the actual "physical" rooms as well.
JC38
Posts: 51
Joined: Monday 23 June 2014 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Isère, France
Contact:

Re: Edit location from any device

Post by JC38 »

Sorry, i've made a typo error. I should have written :
Today (and tomorrow), one device can't be associated with more than one roomplan.
I will edit the post to correct this.
Raspberry Pi 3 Domoticz latest public beta + RFXComm Usb + Aeon Labs Z-Stick + Weather Underground
Windows 2012R2 with Essentials + Domoticz Windows (latest) + Open Hardware Monitor
ImperiHome with mdat / Domoticz for Android
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Edit location from any device

Post by Nautilus »

JC38 wrote:Sorry, i've made a typo error. I should have written :
Today (and tomorrow), one device can't be associated with more than one roomplan.
I will edit the post to correct this.
Actually it was understood from your post that you meant a room plan :) The thing is, in my reply I tried to make the point that yes, in Domoticz one device can belong to several room plans and we (me and deennoo) are using this possibility to e.g. associate certain devices for Homebridge (I know, "Homebridge" is not an actual physical room in my house, just a way to group devices which is understood by eDomoticz homebridge plugin - could've probably been just as well a group if the dev had built it that way). And the same devices are also included in the room plans representing the actual physical rooms (and used in a floor plan). I think deennoo made a typo and used "floor plan" when he meant "room plan" :)
JC38
Posts: 51
Joined: Monday 23 June 2014 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Isère, France
Contact:

Re: Edit location from any device

Post by JC38 »

I've just understood why I thought one device could be into one roomplan only. Once selected : devices are shown by name, but into the devices selection list, they are listed by [hardware] - device name - (type/subtype) . As I thought that objects could not be into two places at the same time, I didn't look deeper enough into the list.
Now, I understand that you were able to create "virtual" rooms and "real" rooms with the same devices into.
But I don't know if this feature was done "by design" :?:
However, this doesn't change my opinion regarding a better and friendly way to associate device with room(s) .
I think the part with the form and the combo could still exist if a multiselection can be done in the drop-down list. Regarding the location column to be added, fields value could be the rooms names, comma separated.
Of course, readibility will not be good if someone associates a device to 10 roomplans. :?
Raspberry Pi 3 Domoticz latest public beta + RFXComm Usb + Aeon Labs Z-Stick + Weather Underground
Windows 2012R2 with Essentials + Domoticz Windows (latest) + Open Hardware Monitor
ImperiHome with mdat / Domoticz for Android
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Edit location from any device

Post by Nautilus »

JC38 wrote:I've just understood why I thought one device could be into one roomplan only. Once selected : devices are shown by name, but into the devices selection list, they are listed by [hardware] - device name - (type/subtype) . As I thought that objects could not be into two places at the same time, I didn't look deeper enough into the list.
Now, I understand that you were able to create "virtual" rooms and "real" rooms with the same devices into.
But I don't know if this feature was done "by design" :?:
However, this doesn't change my opinion regarding a better and friendly way to associate device with room(s) .
I think the part with the form and the combo could still exist if a multiselection can be done in the drop-down list. Regarding the location column to be added, fields value could be the rooms names, comma separated.
Of course, readibility will not be good if someone associates a device to 10 roomplans. :?
Yes, I agree this is definitely a "nice-to-have" feature but just wanted to point out there really is this challenge with multiple room plans :) In strict sense it would be logical to have one device in one room, but there is currently other functionality tied to room plans (like hidden devices, also some plugins use them as I guess it is a good way to retrieve certain set of devices with a json call) which should be considered before even thinking of making any restrictions there. And in any case, usually it is better to leave the choice to the user. But it doesn't mean it wouldn't be doable what you suggest, maybe adding a concept of "primary" room for which there can be only one selected. Though this would probably mean a lot of work coding-wise so I'm afraid it is not something we will see very soon...
JC38
Posts: 51
Joined: Monday 23 June 2014 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Isère, France
Contact:

Re: Edit location from any device

Post by JC38 »

In strict sense it would be logical to have one device in one room
. Logical.., I like this word, especially when talking about computing. :D
In fact, if we look far beyond this roomplan problem, the problem is the lack of hierarchy between the different Domoticz items. An approach like LDAP would have been a good thing.
ldaplikeview
ldaplikeview
ldap_view.PNG (35.66 KiB) Viewed 1627 times
As in LDAP, you are also able to create groups as you want, you can put into some CN.devices to get something similar to your virtuals rooms.
Raspberry Pi 3 Domoticz latest public beta + RFXComm Usb + Aeon Labs Z-Stick + Weather Underground
Windows 2012R2 with Essentials + Domoticz Windows (latest) + Open Hardware Monitor
ImperiHome with mdat / Domoticz for Android
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest