Deleted devices but still used by plugin

Python and python framework

Moderator: leecollings

Post Reply
alecc
Posts: 4
Joined: Friday 20 December 2019 18:14
Target OS: -
Domoticz version:
Contact:

Deleted devices but still used by plugin

Post by alecc »

Hi,
I post a new thread regarding how python plugins work in domoticz for instance the ShellyCloudPlugin (from MarioPeters)

The 3 devices have been created but one of them died. It becomes unreacheable. So I decide to delete it via the trash in devices in domoticz GUI (a lot of logs error raised)

But nothing happen (restart domoticz or server, flush the browser cache ..). The device is always called : at the domoticz startup, in the logs :

Code: Select all

 2020-11-25 08:48:17.529 Status: Domoticz V2020.2 (c)2012-2020 GizMoCuz
2020-11-25 08:48:17.529 Status: Build Hash: b63341bc0, Date: 2020-04-26 13:47:55
2020-11-25 08:48:17.529 Status: Startup Path: /home/domoticz/domoticz/
2020-11-25 08:48:17.656 Status: PluginSystem: Started, Python version '3.7.3'.
2020-11-25 08:48:17.666 Status: WebServer(SSL) started on address: :: with port 4444
2020-11-25 08:48:17.669 Status: Camera: settings (re)loaded
2020-11-25 08:48:17.669 Status: TCPServer: shared server started...
2020-11-25 08:48:17.670 Status: RxQueue: queue worker started...
2020-11-25 08:48:17.668 Error: No servers are configured. Hence mydomoticz will not be started either (if configured)
2020-11-25 08:48:19.675 Status: Hardware Monitor: Started
2020-11-25 08:48:19.699 Status: Pinger: Worker started...
2020-11-25 08:48:19.744 Status: Sysfs GPIO: Startup - polling:no interrupts:no debounce:50msec inputs:0 outputs:4
2020-11-25 08:48:19.744 Status: (Shell-lum-ext-ent) Started.
2020-11-25 08:48:19.744 Status: (Shell-pt) Started.
2020-11-25 08:48:19.744 Status: (Shell-pp) Started.


I don't understand really what to stop the plugin call this deleted device ("shell-pt") ?

Any idea ? Thanks
alecc
Posts: 4
Joined: Friday 20 December 2019 18:14
Target OS: -
Domoticz version:
Contact:

Re: Deleted devices but still used by plugin

Post by alecc »

Hi,
i answer myself : the only way i've found is to delete the line of the hardware directly in the hardware table of the domoticz DB
Works fine
Hope this help
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest