2019-03-12 21:11:16.996 Error: (SurveillanceStation) failed to load 'plugin.py', Python Path used was '/usr/local/domoticz/var/plugins/SurveillanceStation/:/volume1/@appstore/py3k/usr/local/lib/python35.zip:/volume1/@appstore/py3k/usr/local/lib/python3.5/:/volume1/@appstore/py3k/usr/local/lib/python3.5/plat-linux:/volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload:/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages'.
2019-03-12 21:11:16.996 Error: (Syno) Module Import failed, exception: 'ImportError'
2019-03-12 21:11:16.996 Error: (Syno) Module Import failed: ' Name: requests'
2019-03-12 21:11:16.996 Error: (Syno) Error Line details not available.
2019-03-12 21:11:17.537 Error: Logitech Media Server: No connected players found.
2019-03-12 21:12:15.949 Error: PROXY: timeout occurred, reconnecting
2019-03-12 21:12:24.515 Error: Syno hardware (40) thread seems to have ended unexpectedly
2019-03-12 21:12:38.517 Error: Syno hardware (40) thread seems to have ended unexpectedly
Python Plugin pour Synology Surveillance Station
-
coolplay54
- Messages : 103
- Inscription : 19 juil. 2016, 21:47
Re: Python Plugin pour Synology Surveillance Station
Voilou pour moi
Domoticz sur Syno + Rflink
Re: Python Plugin pour Synology Surveillance Station
D@udigood, il te faut pip, de mémoire pip installe les packages python pour python2.
Regarde sur le web comment l'installer.
Regarde sur le web comment l'installer.
D@udigood a écrit : 12 mars 2019, 20:07 Bonsoir,
Je viens de vérifier sur mon Nas le repertoire :
Capture d’écran 2019-03-12 à 19.58.31.png
je ne trouve pas "requests"
J'ai donc essayé de l'installer, mais il ne connait pas pip3, juste pip
Capture d’écran 2019-03-12 à 20.02.09.png
coté Domoticz ça change rien
Capture d’écran 2019-03-12 à 20.05.03.png
snif![]()
Re: Python Plugin pour Synology Surveillance Station
Essaie de remplacer ligne 43 sys.path.append('/usr/lib/python3/dist-packages') par sys.path.append('/usr/lib/python3.5/dist-packages')
coolplay54 a écrit : 12 mars 2019, 21:14 Voilou pour moi
2019-03-12 21:11:16.996 Error: (SurveillanceStation) failed to load 'plugin.py', Python Path used was '/usr/local/domoticz/var/plugins/SurveillanceStation/:/volume1/@appstore/py3k/usr/local/lib/python35.zip:/volume1/@appstore/py3k/usr/local/lib/python3.5/:/volume1/@appstore/py3k/usr/local/lib/python3.5/plat-linux:/volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload:/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages'.
2019-03-12 21:11:16.996 Error: (Syno) Module Import failed, exception: 'ImportError'
2019-03-12 21:11:16.996 Error: (Syno) Module Import failed: ' Name: requests'
2019-03-12 21:11:16.996 Error: (Syno) Error Line details not available.
2019-03-12 21:11:17.537 Error: Logitech Media Server: No connected players found.
2019-03-12 21:12:15.949 Error: PROXY: timeout occurred, reconnecting
2019-03-12 21:12:24.515 Error: Syno hardware (40) thread seems to have ended unexpectedly
2019-03-12 21:12:38.517 Error: Syno hardware (40) thread seems to have ended unexpectedly
Re: Python Plugin pour Synology Surveillance Station
Bonjour,
Je suis intéresser par ce plugin pour contrôler mes cameras. mais il n'est pas possible de le télécharger.
Est ce qu'il y a un moyen de le récupérer ?
Merci et bonne fêtes
Je suis intéresser par ce plugin pour contrôler mes cameras. mais il n'est pas possible de le télécharger.
Est ce qu'il y a un moyen de le récupérer ?
Merci et bonne fêtes
Re: Python Plugin pour Synology Surveillance Station
Erreurs dans les Log :
Code : Tout sélectionner
2019-12-26 01:44:05.701 Error: (Synology Surveillance Station) 'onHeartbeat' failed 'AttributeError':''NoneType' object has no attribute 'update''.
2019-12-26 01:44:05.701 Error: (Synology Surveillance Station) ----> Line 314 in '/home/dd/domoticz/plugins/SurveillanceStation/plugin.py', function onHeartbeat
2019-12-26 01:44:05.701 Error: (Synology Surveillance Station) ----> Line 210 in '/home/dd/domoticz/plugins/SurveillanceStation/plugin.py', function onHeartbeatNUC sous Ubuntu Server / RFXCom / Domoticz Version: 2020.2
Re: Python Plugin pour Synology Surveillance Station
quelle version de de domoticz et python utilises tu?
peux tu passer en mode debug et me donner également les valeurs de
SID refresh
Polling interva
l
peux tu passer en mode debug et me donner également les valeurs de
SID refresh
Polling interva
l
Re: Python Plugin pour Synology Surveillance Station
Domoticz : Version: 4.10717
Python :
Mode debug : ON.
Affichage des logs :
Valeurs par défaut :
SID refresh: 30
Polling interval: 10
Python :
Code : Tout sélectionner
:~$ python --version
Python 2.7.17rc1
:~$ python3 --version
Python 3.7.5rc1
Affichage des logs :
Code : Tout sélectionner
2019-12-27 00:02:16.700 (Surveillance Station) Pushing 'onHeartbeatCallback' on to queue
2019-12-27 00:02:16.737 (Surveillance Station) Processing 'onHeartbeatCallback' message
2019-12-27 00:02:16.737 (Surveillance Station) Calling message handler 'onHeartbeat'.
2019-12-27 00:02:16.737 (Surveillance Station) onHeartbeat called
2019-12-27 00:02:17.444 (Surveillance Station) Camera CAM is in mode 5
2019-12-27 00:02:17.444 Error: (Surveillance Station) 'onHeartbeat' failed 'KeyError'.
2019-12-27 00:02:17.444 Error: (Surveillance Station) ----> Line 314 in '/home/dd/domoticz/plugins/SurveillanceStation/plugin.py', function onHeartbeat
2019-12-27 00:02:17.444 Error: (Surveillance Station) ----> Line 212 in '/home/dd/domoticz/plugins/SurveillanceStation/plugin.py', function onHeartbeat
2019-12-27 00:02:17.444 Error: (Surveillance Station) ----> Line 201 in '/home/dd/domoticz/plugins/SurveillanceStation/plugin.py', function _camerasUpdate
2019-12-27 00:02:17.444 Error: (Surveillance Station) ----> Line 58 in '/home/dd/domoticz/plugins/SurveillanceStation/plugin.py', function updateStatusSID refresh: 30
Polling interval: 10
NUC sous Ubuntu Server / RFXCom / Domoticz Version: 2020.2
Re: Python Plugin pour Synology Surveillance Station
Visiblement il y a eu un problème lors de la création du device. Peux-tu supprimer le matériel et le récréer avec le mode debug activé?
Re: Python Plugin pour Synology Surveillance Station
Le plugin a besoin d 'une petite mise a Jour :
- Depuis DSM 6 il faut que la version de connection soit a 6 et non a 2
J'ai proposé une correction a ce sujet
- Depuis DSM 6 il faut que la version de connection soit a 6 et non a 2
J'ai proposé une correction a ce sujet
De quoi se faire Plaisir et essayer d'aider...
http://www.domo-attitude.fr
http://www.domo-attitude.fr