Widgets are sorted when new device is enabled or disabled

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
foakss
Posts: 1
Joined: Saturday 22 February 2020 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Widgets are sorted when new device is enabled or disabled

Post by foakss »

Version: 2023. 2
Platform: Raspberry Pi 3B, Raspbian Bullseye
Plugin/hardware: zwave using zwave -js .ui, zigbee using philips gateway, rfxcom


Description:
Whenever a device is enabled or disabled for a user (using setup->user devices) the widgets on all tabs are alphabetically sorted.
I use trusted networks to avoid the login.
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Widgets are sorted when new device is enabled or disabled

Post by gizmocuz »

This is no error and makes kind of sense.
The unused device also has a default order.
So add your devices and then order
Quality outlives Quantity!
rfvdboom
Posts: 38
Joined: Tuesday 20 September 2016 8:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Widgets are sorted when new device is enabled or disabled

Post by rfvdboom »

Is it normal that after a restart of Domoticz or reboot of the system (PI), that al the devices are back alphabetically sorted?
Odroid N2+ | Raspberry P 3 ModelB | RFXcom | AEOTEC Zwave | Honeywell Lyric T6| Milight | Milighthub (NodeMCU) | SolarEdge | P1 Smart meter USB | KAKU | Wemos D1 (esphome) | Denon | Logitech Harmony
MichelFrance
Posts: 8
Joined: Tuesday 19 November 2019 16:28
Target OS: Linux
Domoticz version: 2023.1
Location: France
Contact:

Re: Widgets are sorted when new device is enabled or disabled

Post by MichelFrance »

Hello, I also noticed this strange behavior : every time I add a new device the devices' order is messed up (maybe alphabetically sorted?). The order in the dashboard, the switch tab and the temp tab are impacted.

You cannot say that this make sense: I have more than 50 devices each time add a new device, I will have to reorder all the devices!.. My Domoticz configuration lives and evolve it is not an one shot.
Newbie
Posts: 10
Joined: Thursday 06 April 2017 23:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Widgets are sorted when new device is enabled or disabled

Post by Newbie »

MichelFrance wrote: Sunday 28 January 2024 19:25 You cannot say that this make sense: I have more than 50 devices each time add a new device, I will have to reorder all the devices!.. My Domoticz configuration lives and evolve it is not an one shot.
I agree this is an annoying problem for me too
Arian
Posts: 2
Joined: Monday 03 April 2023 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Widgets are sorted when new device is enabled or disabled

Post by Arian »

Since recent this also happens to me. Each time a device is added, the order of all devices is changed. This is particular annoying for the dashboard. What to do?

Running: Version: 2024.7
HW: Raspberry 4
HW enabled:
KNMI weather info, OpenZWave USB, HomeWizard Wi-Fi Watermeter, The Things Network (MQTT/CayenneLPP) with LAN interface, Buienradar, Moterboard sensors, P1, SolarEdge
niki_lauda
Posts: 115
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Widgets are sorted when new device is enabled or disabled

Post by niki_lauda »

maybe switching to another system?
If findthis also pretty annoying. It keeps me from adding new devices.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Widgets are sorted when new device is enabled or disabled

Post by waltervl »

Or look into the source code. There is also a an issue on this but there was no reaction of the user reporting it: https://github.com/domoticz/domoticz/issues/5979
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest