Devices: mass set used/unused or option for MQTT Discovery auto-used

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
saper2
Posts: 5
Joined: Friday 14 February 2020 23:15
Target OS: Linux
Domoticz version:
Location: Poland
Contact:

Devices: mass set used/unused or option for MQTT Discovery auto-used

Post by saper2 »

Hi,

I just added to hardware MQTT Autodiscovery and.. Now I have to set over 130 new devices to unused :evil:

So I have maybe even 2 separate feature-requsts (should I bring this up on github in issues?):
  1. Add to MQTT Auto Discovery Client Gateway option to not add automatically everything discovered.
  2. Allow for selected (checked) devices to mass change Used/unused (or at least to allow for them to be set to Unused)

Sorry if I duplicated some feature-request.

--edit--
Ad.1 - I managed to set all to unused devices that was added by discovery using dev console in browser using this 'one-liner':

Code: Select all

for(var i=<start-idx>;i<=<end-idx>;i++) { $.get('http://<domoticz-ip>:8080/json.htm?idx='+i+'&maindeviceidx=&name=&param=setdevused&type=command&used=false');}
roblom
Posts: 402
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: Devices: mass set used/unused or option for MQTT Discovery auto-used

Post by roblom »

Maybe it it possible to combine this suggestion with the possibility to add devices in mass to a certain room plan also. See here for the full suggestion.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Devices: mass set used/unused or option for MQTT Discovery auto-used

Post by waltervl »

roblom wrote: Tuesday 05 March 2024 21:16 Maybe it it possible to combine this suggestion with the possibility to add devices in mass to a certain room plan also. See here for the full suggestion.
No mass room assignment but this PR to be implemented soon (if approved) will make it easier as you can assign devices from the device edit form https://github.com/domoticz/domoticz/pull/6035
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 0 guests