Hi
i realized more test with zwave-js-ui and create a lot of device in domoticz and i removed the device
my question is , i created a lot of index and is it possible to re-index the device counter in the database ?
Pierre
re-index database domoticz
Moderators: leecollings, remb0
- pierrotori
- Posts: 101
- Joined: Tuesday 15 May 2018 0:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: France
- Contact:
re-index database domoticz
rpi : Raspberry Pi 2 Model B Rev 1.1 / Modele : Cortex-A7 armv7l GNU/Linux / Os Name : bullseye
Docker/Domoticz/zwave-ui/homebridge/mosquitto/wireguard
Docker/Domoticz/zwave-ui/homebridge/mosquitto/wireguard
- psubiaco
- Posts: 194
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: re-index database domoticz
What do you mean?
Do you want to reset a counter value (energy/gas/water meter) and restart from zero or from another value to avoid a discontinuity in the graph/chart?
Do you want to reset a counter value (energy/gas/water meter) and restart from zero or from another value to avoid a discontinuity in the graph/chart?
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: re-index database domoticz
I think @pierrotori is referring to the device IDX running high due to making and deleting a lot of devices.
There is no need to worry about it. That IDX value can be very big and there is no need to start that IDX number counter from 0 or fill the gaps.
There is no need to worry about it. That IDX value can be very big and there is no need to start that IDX number counter from 0 or fill the gaps.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- pierrotori
- Posts: 101
- Joined: Tuesday 15 May 2018 0:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: re-index database domoticz
great, thank you
rpi : Raspberry Pi 2 Model B Rev 1.1 / Modele : Cortex-A7 armv7l GNU/Linux / Os Name : bullseye
Docker/Domoticz/zwave-ui/homebridge/mosquitto/wireguard
Docker/Domoticz/zwave-ui/homebridge/mosquitto/wireguard
-
- Posts: 1
- Joined: Friday 12 April 2024 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: re-index database domoticz
The IDX is a unique identifier assigned to each device in Domoticz.
When you create and delete devices, IDXs may increase without being reused.
However, there is usually no need to reindex devices, as Domoticz handles high IDX values automatically.
IDX values can get very large without problem.
There is no need to reset the IDX counter from 0 or fill in the gaps.
Domoticz will continue to work correctly even with high IDX values.MaximTimeClock
When you create and delete devices, IDXs may increase without being reused.
However, there is usually no need to reindex devices, as Domoticz handles high IDX values automatically.
IDX values can get very large without problem.
There is no need to reset the IDX counter from 0 or fill in the gaps.
Domoticz will continue to work correctly even with high IDX values.MaximTimeClock
Last edited by jesse628wallick on Saturday 13 April 2024 6:33, edited 1 time in total.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: re-index database domoticz
Pleas modify your post to English....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 0 guests