Error: Invalid Number Value: '%' for device idx: '%' Topic is solved
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.
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.
-
teo1966
- Posts: 43
- Joined: Saturday 18 November 2017 12:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Error: Invalid Number Value: '%' for device idx: '%'
Version: 2025.1 whit snap container
Platform: PI 3B
Plugin/Hardware: Zwave-js-ui: 10.8.0 / Zwave-js: 15.8.0 and Dashticz V3.18 master XTEND-plugin 1.01
Description:
I'm getting this error:
Error: Invalid Number Value: '%' for device idx: '%'
Any ideas?
Platform: PI 3B
Plugin/Hardware: Zwave-js-ui: 10.8.0 / Zwave-js: 15.8.0 and Dashticz V3.18 master XTEND-plugin 1.01
Description:
I'm getting this error:
Error: Invalid Number Value: '%' for device idx: '%'
Any ideas?
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
-
teo1966
- Posts: 43
- Joined: Saturday 18 November 2017 12:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
I don't know if it's related to this problem. The only devices with RFXMeter do show up in utility, but the Lacrosse TX3 and Depressure and the rest don't show up in temperature or switches.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
- waltervl
- Posts: 7020
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
In what context? Is there more in the log around this error?teo1966 wrote: Thursday 10 July 2025 11:24
I'm getting this error:
Error: Invalid Number Value: '%' for device idx: '%'
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
- waltervl
- Posts: 7020
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
In menu Setup - Users do you have devices assigned to the user (admin?) you are logging into Domoticz? If admin then remove all those shared devices. See also the Note on this subject in the wiki:teo1966 wrote: Thursday 10 July 2025 11:36 I don't know if it's related to this problem. The only devices with RFXMeter do show up in utility, but the Lacrosse TX3 and Depressure and the rest don't show up in temperature or switches.
Screenshot 2025-07-10 at 11-29-39 Domoticz.jpg
https://wiki.domoticz.com/User_Management#Set_Devices
Note: It is advised not to set selected devices for an admin user as the rest of the devices will become invisible.
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
-
PeJeWe
- Posts: 70
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
i also get the error: Error: Invalid Number sValue: '%' for device idx: '%'waltervl wrote: Thursday 10 July 2025 12:27In menu Setup - Users do you have devices assigned to the user (admin?) you are logging into Domoticz? If admin then remove all those shared devices. See also the Note on this subject in the wiki:teo1966 wrote: Thursday 10 July 2025 11:36 I don't know if it's related to this problem. The only devices with RFXMeter do show up in utility, but the Lacrosse TX3 and Depressure and the rest don't show up in temperature or switches.
Screenshot 2025-07-10 at 11-29-39 Domoticz.jpg
https://wiki.domoticz.com/User_Management#Set_Devices
Note: It is advised not to set selected devices for an admin user as the rest of the devices will become invisible.
i have no selected devices signed to the admin account.
i get the error when i call: http://domoticzIP:port/json.htm?type=command¶m=getdevices&filter=all&used=true
-
willemd
- Posts: 793
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.3
- Location: The Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
I only get this error if a plugin creates a P1 device and no value is uploaded to the device yet and then the device is queried for example via the user interface. Immediately after the first value update by the plugin the error disappears and everything functions normally. So it is a small bug in the Domoticz plugin framework.
Is this the same as your case? Do tou have any P1 devices from a plugin that are still without a value?
Is this the same as your case? Do tou have any P1 devices from a plugin that are still without a value?
-
PeJeWe
- Posts: 70
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
I do not have any problem with my p1 sensor.willemd wrote: Saturday 16 May 2026 20:28 I only get this error if a plugin creates a P1 device and no value is uploaded to the device yet and then the device is queried for example via the user interface. Immediately after the first value update by the plugin the error disappears and everything functions normally. So it is a small bug in the Domoticz plugin framework.
Is this the same as your case? Do tou have any P1 devices from a plugin that are still without a value?
I only have that error when i ask domoticz for a complete json device list.
-
willemd
- Posts: 793
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.3
- Location: The Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
You can try different filters to narrow down the problem.
-
PeJeWe
- Posts: 70
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
I have tried to shut off hardware things like mqtt broker, mqtt gateway, RFXCOM, internal running dzVents scripts, external python scripts, still getting the error randomly.
Has anyone still any ideas to narrow it down?
When I try to debug sql domoticz crashes.
And sometimes when I connect to the webgui domoticz reports having no sensors connected. And when I select another tab they re appear.
Has anyone still any ideas to narrow it down?
When I try to debug sql domoticz crashes.
And sometimes when I connect to the webgui domoticz reports having no sensors connected. And when I select another tab they re appear.
- jvdz
- Posts: 2481
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
Have you checked the actual domoticz.db with SQLite Express to see if there are any devices in the devicestatus table that have a "wrong" value in the sValue column?
-
willemd
- Posts: 793
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.3
- Location: The Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
Did you try narrowing it down as suggested by adjusting the filter in your statement ?PeJeWe wrote: Thursday 28 May 2026 15:51 I have tried to shut off hardware things like mqtt broker, mqtt gateway, RFXCOM, internal running dzVents scripts, external python scripts, still getting the error randomly.
Has anyone still any ideas to narrow it down?
When I try to debug sql domoticz crashes.
And sometimes when I connect to the webgui domoticz reports having no sensors connected. And when I select another tab they re appear.
http://domoticzIP:port/json.htm?type=command¶m=getdevices&filter=all&used=true
According to the wiki you can use the following filters
light
weather
temp
utility
wind
rain
uv
baro
zwavealarms
-
PeJeWe
- Posts: 70
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
I have checkt it according your list and the following generates this error : utility and zwavealarms.willemd wrote: Thursday 28 May 2026 19:15Did you try narrowing it down as suggested by adjusting the filter in your statement ?PeJeWe wrote: Thursday 28 May 2026 15:51 I have tried to shut off hardware things like mqtt broker, mqtt gateway, RFXCOM, internal running dzVents scripts, external python scripts, still getting the error randomly.
Has anyone still any ideas to narrow it down?
When I try to debug sql domoticz crashes.
And sometimes when I connect to the webgui domoticz reports having no sensors connected. And when I select another tab they re appear.
http://domoticzIP:port/json.htm?type=command¶m=getdevices&filter=all&used=true
According to the wiki you can use the following filters
light
weather
temp
utility
wind
rain
uv
baro
zwavealarms
The lists are to long to present here.
how to narrow it down now?
-
willemd
- Posts: 793
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.3
- Location: The Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
Check the values of the devices in those sublists, either by individual json queries or by using sql.
-
PeJeWe
- Posts: 70
- Joined: Monday 28 November 2016 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Netherlands
- Contact:
Re: Error: Invalid Number Value: '%' for device idx: '%'
I have found the 2 conflicting sensors.
one was a ghost sensor that was not in use anymore, and they other had bad data in it.
when this was deleted and restored the error dus not appear anymore.
thanks for the great help
one was a ghost sensor that was not in use anymore, and they other had bad data in it.
when this was deleted and restored the error dus not appear anymore.
thanks for the great help