Could not find device in system Topic is solved

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
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Could not find device in system

Post by capman »

I have some time a error in my log. But i can't find the problem.
I found no idx 0 in my app. Also looking in my events but found also nothing
with idx 0 in it. Somebody know how to fix this (database maybe) ?

Thanks.

Error: EventSystem: Could not find device in system: (idx 0)
User avatar
waltervl
Posts: 5846
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Could not find device in system

Post by waltervl »

Check for double names (same name for multiple devices). The name for each device should be unique.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Could not find device in system

Post by capman »

Change some duplicated names. No luck :(
A lot of 'unknown' devices. These have all the same name ;)

Thanks 4 the reply.
screenshot of error
Schermafbeelding 2024-07-02 125042.jpg
Schermafbeelding 2024-07-02 125042.jpg (202.42 KiB) Viewed 2148 times
User avatar
gizmocuz
Posts: 2537
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Could not find device in system

Post by gizmocuz »

Searching in the domoticz code, you find this line here:

CEventSystem::ProcessDevice

Are you using one of the below hardware/plugins:

- Kodi
- Logitech Media Server
- Panasonic TV

Did you update domoticz to the latest beta version and reverted to a previous version?
Quality outlives Quantity!
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Could not find device in system

Post by capman »

Yes , a use Kodi and LMS hardware.
Should a remove them and then add them again ? Or ...

It's possible that a did in the past a reverse update 8-)
User avatar
gizmocuz
Posts: 2537
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Could not find device in system

Post by gizmocuz »

Is it possible to disable these two hardware types and see if the error disappears?
Quality outlives Quantity!
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Could not find device in system

Post by capman »

When a disable kodi and LMS hardware the error stops :o .
Enable kodi > no error in log.
Enable LMS > the error is back.
Should a reinstall LMS hardware ?

Thanks.
User avatar
gizmocuz
Posts: 2537
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Could not find device in system

Post by gizmocuz »

I have no idea as I don't use this hardware. You at least found out where the problem is appearing from.
How about you select this hardware, disable it, press update
Give it another name, enable it, and press ADD, you just made a copy
Do you see the same errors with the copy?
Quality outlives Quantity!
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Could not find device in system

Post by capman »

That's it !! Just like you say :o
Finally , no more errors , thanks a lot :D
Just one question , how do you know to search in that direction ?
User avatar
gizmocuz
Posts: 2537
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Could not find device in system

Post by gizmocuz »

I downloaded the domoticz source code and searched for the error message.
This pointed me to the hardware that creates the error message.
Quality outlives Quantity!
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Could not find device in system

Post by capman »

Good 2 know 4 future errors :lol:
This topic can b marked as solved.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest