Closed tuxick closed 4 years ago
Hello, Can you check if the procedure went well ? With checking the presence of a file called "plugin.py" in /home/pi/domoticz/plugins/Domoticz-deCONZ ?
No error in Domoticz log (Setting/logs) at startup ?
It's your first python plugin ?
PS: And you right ^^, it's pluginS
Yes, double checked. In my case it's /home/domoticz/plugins since /home/domotics is the home dir. of user 'domotizc'. Even made all *.py executable. I see nothing in Setup->Log, and assuming Setup-Hardware->Types is where to look. The only plugin related stuff i see in log is: Status: PluginSystem: Started, Python version '3.5.3'. ... Status: PluginSystem: Entering work loop."
Hi, same issue here: domoticz (docker container on synology ds918+):: https://hub.docker.com/r/linuxserver/domoticz/ python: Python 2.7.16 && Python 3.7.5
Plugin never appear on plugin list
And you have another working python plugin ? or it's the first one you are tried ? Nothing like that in your log 2019-07-22 21:55:11.307 Status: PluginSystem: Entering work loop. 2019-07-22 21:55:11.530 Status: Python EventSystem: Initalizing event module.
Can I have your starting logs ?
If it's your first plugin, are you sure you have used (the syntax is not perfect)
sudo apt install libpython3.5
sudo apt install python3-dev
Hi, in my case fresh install of docker domoticz, I had to install python (it is a light alpine image)
2019-11-21 17:32:24.291 Sunrise: 07:08:00 SunSet: 16:04:00
2019-11-21 17:32:24.291 Day length: 08:56:00 Sun at south: 11:36:00
2019-11-21 17:32:24.291 Civil twilight start: 06:33:00 Civil twilight end: 16:39:00
2019-11-21 17:32:24.291 Nautical twilight start: 05:54:00 Nautical twilight end: 17:18:00
2019-11-21 17:32:24.291 Astronomical twilight start: 05:16:00 Astronomical twilight end: 17:55:00
2019-11-21 17:32:24.321 Active notification Subsystems: (0/13)
2019-11-21 17:32:24.347 Starting shared server on: 0.0.0.0:6144
2019-11-21 17:32:24.280 Status: Domoticz V4.11464 (c)2012-2019 GizMoCuz
2019-11-21 17:32:24.280 Status: Build Hash: 7d3c72999, Date: 2019-11-04 09:19:36
2019-11-21 17:32:24.281 Status: Startup Path: /var/lib/domoticz/
2019-11-21 17:32:24.317 Status: PluginSystem: Started, Python version '3.7.5'.
2019-11-21 17:32:24.341 Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2019-11-21 17:32:24.346 Status: WebServer(SSL) started on address: 0.0.0.0 with port 1443
2019-11-21 17:32:24.347 Status: TCPServer: shared server started...
2019-11-21 17:32:24.347 Status: RxQueue: queue worker started...
2019-11-21 17:32:26.348 Status: EventSystem: reset all events...
2019-11-21 17:32:26.348 Status: EventSystem: reset all device statuses...
2019-11-21 17:32:26.371 Status: Python EventSystem: Initalizing event module.
2019-11-21 17:32:26.371 Status: EventSystem: Started
2019-11-21 17:32:26.371 Status: EventSystem: Queue thread started...
2019-11-21 17:32:26.791 Status: PluginSystem: Entering work loop.
And you have another working python plugin ? or it's the first one you are tried ? Nothing like that in your log 2019-07-22 21:55:11.307 Status: PluginSystem: Entering work loop. 2019-07-22 21:55:11.530 Status: Python EventSystem: Initalizing event module.
I installed the Zigate plugin before, tried removing it but it still shows in the Hardware list. Maybe that's causing the problem?
@davdi1982 Your install seem fine, can you enable an example plugin (in the plugins folder) to make tests ?
@tuxick , have you restarted domoticz ? If the folder "Zigate" was removed from "plugins" folder, you can't see it in hardware list, or there is a problem in your folders
Restarted domoticz a lot, but deleting the zigate from plugins does not remove it. A Mystery to me.
And you can you re-enable this plugin ?
Yes, even when it's not there. Is there a secret cache somewhere?
Secret ^^. Seriously, it's strange, can you make a search on your system for a folder with the word zigate ? Perhaps domoticz are using another folder somewhere.
I tried all this, and went for the very lame solution: reinstalled domoticz, it loads now. Thank you for your patience, and good to know your plugin is not to blame :)
But it's still a mystery. Domoticz don't save hardware plugins in memory (on database) so what happen ? You have used the same database ? (with making a backup and restore)
Followed instructions, did git pull in plugins/ dir (not plugin!), restarted domoticz but i don't see it in the hardware list. Any way to find out why?