Re: Cozytouch Thermor
Publié : 02 août 2019, 15:26
Merci pour ton aide,
Quelle adresse rentres tu dans ton navigateur pour afficher la page de domoticz ?
http://192.168.1.13:8080
J'ai désactivé le wifi pour être sur de l'adresse ip 192.168.1.13 (en ethernet) et j'ai ajouté dans les paramètres de domoticz
Réseaux locaux (pas d'authentification):
Réseaux: 192.168.1.*
au niveau SSH, j'ai maintenant :
pi@domoticz:~/domoticz/scripts/python $ python cozytouch_V3.py
¤¤¤¤ Demarrage script cozytouch <=> domoticz version 3 (debug :2)
Version python : 2.7.13
**** Test existence / creation configuration cozytouch (hardware domoticz + fichier de sauvegarde) ****
Fichier de sauvegarde de la configuration : /home/pi/domoticz/scripts/python/cozytouch_save
Traceback (most recent call last):
File "cozytouch_V3.py", line 1056, in <module>
if test_exist_cozytouch_domoticz_hw_and_backup_store():
File "cozytouch_V3.py", line 423, in test_exist_cozytouch_domoticz_hw_and_backup_store
save_idx = var_restore('save_idx')
File "cozytouch_V3.py", line 313, in var_restore
d = shelve.open(cozytouch_save)
File "/usr/lib/python2.7/shelve.py", line 243, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/usr/lib/python2.7/shelve.py", line 227, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
File "/usr/lib/python2.7/anydbm.py", line 85, in open
return mod.open(file, flag, mode)
File "/usr/lib/python2.7/dbhash.py", line 18, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.7/bsddb/__init__.py", line 364, in hashopen
d.open(file, db.DB_HASH, flags, mode)
bsddb.db.DBAccessError: (13, 'Permission denied')
Pour le moment, je ne vois pas de nouveau matériel ou équipement ou capteur de température ou mesures.
J'ai créé un scénario qui lance le script avec Action on :
script:///home/pi/domoticz/scripts/python/cozytouch_V3.py
Je ne vois pas ce qui peut bloquer.
Quelle adresse rentres tu dans ton navigateur pour afficher la page de domoticz ?
http://192.168.1.13:8080
J'ai désactivé le wifi pour être sur de l'adresse ip 192.168.1.13 (en ethernet) et j'ai ajouté dans les paramètres de domoticz
Réseaux locaux (pas d'authentification):
Réseaux: 192.168.1.*
au niveau SSH, j'ai maintenant :
pi@domoticz:~/domoticz/scripts/python $ python cozytouch_V3.py
¤¤¤¤ Demarrage script cozytouch <=> domoticz version 3 (debug :2)
Version python : 2.7.13
**** Test existence / creation configuration cozytouch (hardware domoticz + fichier de sauvegarde) ****
Fichier de sauvegarde de la configuration : /home/pi/domoticz/scripts/python/cozytouch_save
Traceback (most recent call last):
File "cozytouch_V3.py", line 1056, in <module>
if test_exist_cozytouch_domoticz_hw_and_backup_store():
File "cozytouch_V3.py", line 423, in test_exist_cozytouch_domoticz_hw_and_backup_store
save_idx = var_restore('save_idx')
File "cozytouch_V3.py", line 313, in var_restore
d = shelve.open(cozytouch_save)
File "/usr/lib/python2.7/shelve.py", line 243, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/usr/lib/python2.7/shelve.py", line 227, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
File "/usr/lib/python2.7/anydbm.py", line 85, in open
return mod.open(file, flag, mode)
File "/usr/lib/python2.7/dbhash.py", line 18, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.7/bsddb/__init__.py", line 364, in hashopen
d.open(file, db.DB_HASH, flags, mode)
bsddb.db.DBAccessError: (13, 'Permission denied')
Pour le moment, je ne vois pas de nouveau matériel ou équipement ou capteur de température ou mesures.
J'ai créé un scénario qui lance le script avec Action on :
script:///home/pi/domoticz/scripts/python/cozytouch_V3.py
Je ne vois pas ce qui peut bloquer.