Plugin Rfplayer Rfp1000

Posez ici vos questions d'utilisation, de configuration de DomoticZ, de bugs, de conseils sur le logiciel lui même dans son utilisation et son paramétrage.
Des forums spécifiques sont ouverts ci-dessous pour regrouper les différents sujets.
yellowsky
Messages : 64
Inscription : 09 déc. 2016, 13:48

Re: Plugin Rfplayer Rfp1000

Message par yellowsky »

J'ai en effet cela...
Mais bon il me renvoie une erreur quand même ;-)

Pour la beta je suis assez froid, car en général domoticz a la fâcheuse manière de planter chez moi...
yoannrouzic
Messages : 5
Inscription : 20 août 2017, 21:05

Re: Plugin Rfplayer Rfp1000

Message par yoannrouzic »

Bonsoir,

J'ai la même chose avec le dernier plugin.
Pour info, je suis sur un synology (j'ai mis trois plombes à voir qu'il fallait mettre le plugin 'RFPlayer' dans le dossier '.../@appstore/domoticz/var/plugins/' et non pas '.../@ppstore/domoticz/plugins/' (...).
Second problème avec la version pour synology de jadahl, j'avais plusieurs versions de python installées qui posaient problème(...).
Toujours est-il que j'y suis à utiliser ce plugin (enfin !) et que ça ne fonctionne pas pour moi. :roll:.
Seul un interrupteur sur un X10 classique fonctionne (mais pas à tous les coups).
Les différents objets RF ne viennent pas s'inscrire dans les dispositifs malgré le mode apprentissage actif.
A la maison, du X10 classique (avec TM13 et modules X10), du X2D Deltia 2 zones, du RTS Somfy (deux volets roulants, chacun sa télécommande).

Code : Tout sélectionner

2017-08-20 21:04:17.189 (RFP) Calling message handler 'onMessage'.
2017-08-20 21:04:17.189 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-20 21:04:17.189 (RFP) Received 1 bytes of data:.
2017-08-20 21:04:17.189 (RFP) cc .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �
2017-08-20 21:04:17.189 (RFP) Calling message handler 'onMessage'.
2017-08-20 21:04:17.190 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-20 21:04:17.249 (RFP) Received 1 bytes of data:.
2017-08-20 21:04:17.249 (RFP) ff .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �
2017-08-20 21:04:17.249 (RFP) Calling message handler 'onMessage'.
2017-08-20 21:04:17.249 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-20 21:04:17.549 (RFP) Calling message handler 'onHeartbeat'.
J'ai bien fait les vérifs demandées ci-avant, le plugin est le dernier et la version domoticz est la dernière béta dispo pour synology (3.8143).
Que faire ?

Merci d'avance pour les pistes.
zaraki673
Messages : 229
Inscription : 07 oct. 2016, 04:29

Re: Plugin Rfplayer Rfp1000

Message par zaraki673 »

Ok merci pour ce retour,

je vais regarder ça ... :(

je vous tiens au courant rapidement ;)
papoo
Messages : 2029
Inscription : 10 janv. 2016, 11:29
Localisation : Limoges (87)
Contact :

Re: Plugin Rfplayer Rfp1000

Message par papoo »

bonjour
pour ma part, j'ai ce message d'erreur dans mes logs

Code : Tout sélectionner

 2017-08-23 13:32:11.250 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 13:32:11.256 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 13:32:19.641 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 13:36:57.192 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 13:40:10.606 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 13:50:58.016 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 13:56:02.245 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 13:56:02.253 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 14:10:47.409 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 14:40:36.571 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 14:41:10.658 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz.
2017-08-23 14:52:05.941 Error: (RF) Device creation failed, Hardware/Unit combination (2:54) already exists in Domoticz. 
une soixantaine par heure

et pas mal de matériels non reconnus (Unknown)

Code : Tout sélectionner

 2017-08-23 15:04:06.702 (RF) Device: 48 - ID: 121, Name: 'Unknown', nValue: 0, sValue: '8543;1'
2017-08-23 15:04:06.702 (RF) Device ID: '121'
2017-08-23 15:04:06.702 (RF) Device Name: 'Unknown'
2017-08-23 15:04:06.702 (RF) Device nValue: 0
2017-08-23 15:04:06.702 (RF) Device sValue: '8543;1'
2017-08-23 15:04:06.702 (RF) Device LastLevel: 0
2017-08-23 15:04:06.702 (RF) Device: 4 - ID: 65, Name: 'RF - Temp Extérieure', nValue: 1, sValue: '+24.8;59;1'
2017-08-23 15:04:06.702 (RF) Device ID: '65'
2017-08-23 15:04:06.703 (RF) Device Name: 'RF - Temp Extérieure'
2017-08-23 15:04:06.703 (RF) Device nValue: 1
2017-08-23 15:04:06.703 (RF) Device sValue: '+24.8;59;1'
2017-08-23 15:04:06.703 (RF) Device LastLevel: 0
2017-08-23 15:04:06.703 (RF) Device: 5 - ID: 120, Name: 'RF - Hygro - 0', nValue: 0, sValue: '1'
2017-08-23 15:04:06.703 (RF) Device ID: '120'
2017-08-23 15:04:06.703 (RF) Device Name: 'RF - Hygro - 0'
2017-08-23 15:04:06.703 (RF) Device nValue: 0
2017-08-23 15:04:06.703 (RF) Device sValue: '1'
2017-08-23 15:04:06.704 (RF) Device LastLevel: 0
2017-08-23 15:04:06.704 (RF) Device: 6 - ID: 67, Name: 'RF - Wind - 47616', nValue: 0, sValue: '0'
2017-08-23 15:04:06.704 (RF) Device ID: '67'
2017-08-23 15:04:06.704 (RF) Device Name: 'RF - Wind - 47616'
2017-08-23 15:04:06.704 (RF) Device nValue: 0
2017-08-23 15:04:06.704 (RF) Device sValue: '0'
2017-08-23 15:04:06.704 (RF) Device LastLevel: 0
2017-08-23 15:04:06.704 (RF) Device: 7 - ID: 119, Name: 'RF - Temp - 0', nValue: 1, sValue: '-0.0'
2017-08-23 15:04:06.704 (RF) Device ID: '119'
2017-08-23 15:04:06.705 (RF) Device Name: 'RF - Temp - 0'
2017-08-23 15:04:06.705 (RF) Device nValue: 1
2017-08-23 15:04:06.705 (RF) Device sValue: '-0.0'
2017-08-23 15:04:06.705 (RF) Device LastLevel: 0
2017-08-23 15:04:06.705 (RF) Device: 52 - ID: 117, Name: 'Unknown', nValue: 1, sValue: '+27.4'
2017-08-23 15:04:06.705 (RF) Device ID: '117'
2017-08-23 15:04:06.705 (RF) Device Name: 'Unknown'
2017-08-23 15:04:06.705 (RF) Device nValue: 1
2017-08-23 15:04:06.705 (RF) Device sValue: '+27.4'
2017-08-23 15:04:06.706 (RF) Device LastLevel: 0
2017-08-23 15:04:06.706 (RF) Device: 54 - ID: 122, Name: 'RF - 4 - 268500993', nValue: 0, sValue: '0'
2017-08-23 15:04:06.706 (RF) Device ID: '122'
2017-08-23 15:04:06.706 (RF) Device Name: 'RF - 4 - 268500993'
2017-08-23 15:04:06.706 (RF) Device nValue: 0
2017-08-23 15:04:06.706 (RF) Device sValue: '0'
2017-08-23 15:04:06.706 (RF) Device LastLevel: 0
2017-08-23 15:04:06.706 (RF) Device: 53 - ID: 118, Name: 'Unknown', nValue: 48, sValue: '1'
2017-08-23 15:04:06.706 (RF) Device ID: '118'
2017-08-23 15:04:06.707 (RF) Device Name: 'Unknown'
2017-08-23 15:04:06.707 (RF) Device nValue: 48
2017-08-23 15:04:06.707 (RF) Device sValue: '1'
2017-08-23 15:04:06.707 (RF) Device LastLevel: 0
2017-08-23 15:04:06.707 (RF) Protocol set to: 'None'.
2017-08-23 15:04:06.707 (RF) Transport set to: 'Serial', '/dev/ttyUSB0', 115200.
2017-08-23 15:04:06.712 (RF) Connect directive received, action initiated successfully.
2017-08-23 15:04:06.712 (RF) Calling message handler 'onConnect'.
2017-08-23 15:04:06.713 (RF) Connected successfully to: /dev/ttyUSB0
2017-08-23 15:04:06.713 (RF) Sending 19 bytes of data:.
2017-08-23 15:04:06.713 (RF) 5a 49 41 2b 2b 52 45 43 45 49 56 45 52 20 2b 20 2a 0a 0d .. ZIA++RECEIVER.+.*..
2017-08-23 15:04:06.713 (RF) Sending 18 bytes of data:.
2017-08-23 15:04:06.713 (RF) 5a 49 41 2b 2b 46 4f 52 4d 41 54 20 4a 53 4f 4e 0a 0d .. .. ZIA++FORMAT.JSON..
2017-08-23 15:04:06.892 (RF) Received 109 bytes of data:.
2017-08-23 15:04:06.892 (RF) 5a 49 41 2d 2d 52 45 43 45 49 56 45 44 20 50 52 4f 54 4f 43 ZIA--RECEIVED.PROTOC
2017-08-23 15:04:06.893 (RF) 4f 4c 53 3a 20 58 31 30 20 52 54 53 20 56 49 53 4f 4e 49 43 OLS:.X10.RTS.VISONIC
2017-08-23 15:04:06.893 (RF) 20 42 4c 59 53 53 20 43 48 41 43 4f 4e 20 4f 52 45 47 4f 4e .BLYSS.CHACON.OREGON
2017-08-23 15:04:06.893 (RF) 56 31 20 4f 52 45 47 4f 4e 56 32 20 4f 52 45 47 4f 4e 56 33 V1.OREGONV2.OREGONV3
2017-08-23 15:04:06.893 (RF) 2f 4f 57 4c 20 44 4f 4d 49 41 20 58 32 44 20 4b 44 31 30 31 /OWL.DOMIA.X2D.KD101
2017-08-23 15:04:06.893 (RF) 20 50 41 52 52 4f 54 0a 0d .. .. .. .. .. .. .. .. .. .. .. .PARROT.. 
2017-08-23 15:08:54.319 (RF) 5a 49 41 33 33 7b 20 22 66 72 61 6d 65 22 20 3a 7b 22 68 65 ZIA33{."frame".:{"he
2017-08-23 15:08:54.319 (RF) 61 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a ader":.{"frameType":
2017-08-23 15:08:54.320 (RF) 20 22 30 22 2c 20 22 63 6c 75 73 74 65 72 22 3a 20 22 30 22 ."0",."cluster":."0"
2017-08-23 15:08:54.320 (RF) 2c 20 22 64 61 74 61 46 6c 61 67 22 3a 20 22 30 22 2c 20 22 ,."dataFlag":."0",."
2017-08-23 15:08:54.320 (RF) 72 66 4c 65 76 65 6c 22 3a 20 22 2d 36 35 22 2c 20 22 66 6c rfLevel":."-65",."fl
2017-08-23 15:08:54.320 (RF) 6f 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 33 22 2c 20 22 oorNoise":."-103",."
2017-08-23 15:08:54.320 (RF) 72 66 51 75 61 6c 69 74 79 22 3a 20 22 39 22 2c 20 22 70 72 rfQuality":."9",."pr
2017-08-23 15:08:54.320 (RF) 6f 74 6f 63 6f 6c 22 3a 20 22 35 22 2c 20 22 70 72 6f 74 6f otocol":."5",."proto
2017-08-23 15:08:54.320 (RF) 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 4f 52 45 47 4f 4e colMeaning":."OREGON
2017-08-23 15:08:54.320 (RF) 22 2c 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 34 22 2c 20 ",."infoType":."4",.
2017-08-23 15:08:54.321 (RF) 22 66 72 65 71 75 65 6e 63 79 22 3a 20 22 34 33 33 39 32 30 "frequency":."433920
2017-08-23 15:08:54.321 (RF) 22 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 70 "},"infos":.{"subTyp
2017-08-23 15:08:54.321 (RF) 65 22 3a 20 22 30 22 2c 20 22 69 64 5f 50 48 59 22 3a 20 22 e":."0",."id_PHY":."
2017-08-23 15:08:54.321 (RF) 30 78 32 41 31 39 22 2c 20 22 69 64 5f 50 48 59 4d 65 61 6e 0x2A19",."id_PHYMean
2017-08-23 15:08:54.321 (RF) 69 6e 67 22 3a 20 22 50 43 52 38 30 30 22 2c 20 22 61 64 72 ing":."PCR800",."adr
2017-08-23 15:08:54.321 (RF) 5f 63 68 61 6e 6e 65 6c 22 3a 20 22 34 31 32 31 36 22 2c 20 _channel":."41216",.
2017-08-23 15:08:54.321 (RF) 20 22 61 64 72 22 3a 20 22 31 36 31 22 2c 20 20 22 63 68 61 ."adr":."161",.."cha
2017-08-23 15:08:54.321 (RF) 6e 6e 65 6c 22 3a 20 22 30 22 2c 20 20 22 71 75 61 6c 69 66 nnel":."0",.."qualif
2017-08-23 15:08:54.322 (RF) 69 65 72 22 3a 20 22 34 38 22 2c 20 20 22 6c 6f 77 42 61 74 ier":."48",.."lowBat
2017-08-23 15:08:54.322 (RF) 74 22 3a 20 22 30 22 2c 20 22 6d 65 61 73 75 72 65 73 22 20 t":."0",."measures".
2017-08-23 15:08:54.322 (RF) 3a 20 5b 7b 22 74 79 70 65 22 20 3a 20 22 74 65 6d 70 65 72 :.[{"type".:."temper
2017-08-23 15:08:54.322 (RF) 61 74 75 72 65 22 2c 20 22 76 61 6c 75 65 22 20 3a 20 22 2d ature",."value".:."-
2017-08-23 15:08:54.322 (RF) 30 2e 30 22 2c 20 22 75 6e 69 74 22 20 3a 20 22 43 65 6c 73 0.0",."unit".:."Cels
2017-08-23 15:08:54.322 (RF) 69 75 73 22 7d 2c 20 7b 22 74 79 70 65 22 20 3a 20 22 68 79 ius"},.{"type".:."hy
2017-08-23 15:08:54.322 (RF) 67 72 6f 6d 65 74 72 79 22 2c 20 22 76 61 6c 75 .. .. .. .. grometry",."valu
2017-08-23 15:08:54.322 (RF) Calling message handler 'onMessage'.
2017-08-23 15:08:54.323 (RF) Last Message was 287.428539 seconds ago, Message clear
2017-08-23 15:08:54.323 (RF) Received 29 bytes of data:.
2017-08-23 15:08:54.323 (RF) 65 22 20 3a 20 22 30 22 2c 20 22 75 6e 69 74 22 20 3a 20 22 e".:."0",."unit".:."
2017-08-23 15:08:54.323 (RF) 25 22 7d 5d 7d 7d 7d 0a 0d .. .. .. .. .. .. .. .. .. .. .. %"}]}}}..
2017-08-23 15:08:54.324 (RF) Calling message handler 'onMessage'.
2017-08-23 15:08:54.324 (RF) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-65", "floorNoise": "-103", "rfQuality": "9", "protocol": "5", "protocolMeaning": "OREGON", "infoType": "4", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0x2A19", "id_PHYMeaning": "PCR800", "adr_channel": "41216", "adr": "161", "channel": "0", "qualifier": "48", "lowBatt": "0", "measures" : [{"type" : "temperature", "value" : "-0.0", "unit" : "Celsius"}, {"type" : "hygrometry", "value" : "0", "unit" : "%"}]}}}
2017-08-23 15:08:54.325 (RF) infoType : 4
2017-08-23 15:08:54.325 (RF) id_PHY : 0x2A19 adr_channel : 41216
2017-08-23 15:08:54.325 (RF) Options to find or set : {'adr_channel': '41216', 'id_PHY': '0x2A19', 'protocol': '5', 'Temp': '1', 'infoType': '4'}
2017-08-23 15:08:54.325 (RF) Creating device 'Temp - 41216'. 
Response.zip
(1.33 Kio) Téléchargé 272 fois
domoticz beta/RaspBerry PI3 stretch
https://pon.fr github
zaraki673
Messages : 229
Inscription : 07 oct. 2016, 04:29

Re: Plugin Rfplayer Rfp1000

Message par zaraki673 »

merci pour le fichier papoo, tu es en quel version de domoticz ?
papoo
Messages : 2029
Inscription : 10 janv. 2016, 11:29
Localisation : Limoges (87)
Contact :

Re: Plugin Rfplayer Rfp1000

Message par papoo »

La dernière bêta 3.8355
Mais ça le faisait aussi sur la précédente
domoticz beta/RaspBerry PI3 stretch
https://pon.fr github
yoannrouzic
Messages : 5
Inscription : 20 août 2017, 21:05

Re: Plugin Rfplayer Rfp1000

Message par yoannrouzic »

Bonjour,

plugin.py mis à jour. Question pour zaraki673, j'ai toujours la même erreur qui revient dès que je reçois du signal RF sur le dongle Rfp1000.

Code : Tout sélectionner

2017-08-30 08:48:14.100 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-30 08:48:14.100 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-30 08:48:14.100 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-30 08:48:14.101 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-30 08:48:14.101 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-30 08:48:14.101 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-30 08:48:14.101 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2017-08-30 08:48:14.102 Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'. 
Pour info, mon fichier 'Debug.txt' (debug activé dans l'interface domoticz dans le matériel RFP associé au plugin 'Rfplayer') est présent à la date/heure du lancement de domoticz et contient :

Code : Tout sélectionner

Started recording message for debug.
Le fichier 'Response.txt' n'apparaît nulle part.

Voici le contenu du répertoire du plugin

Code : Tout sélectionner

yoann@SynoYo:/usr/local/domoticz/var/plugins/RFPlayer$ ls -l
total 120
-rw-r--r--  1 root     root     37 Aug 30 08:46 Debug.txt
drwx------  2 domoticz root   4096 Aug 19 14:00 images
-rwx------  1 domoticz root  35141 Aug 19 14:00 LICENSE
-r-xr-xr-x+ 1 yoann    users 66931 Aug 29 21:28 plugin.py
drwxr-xr-x  2 domoticz root   4096 Aug 30 08:46 __pycache__
-rwx------  1 domoticz root    201 Aug 19 14:00 README.md
J'ai l'impression que les messages RF entrants ne sont pas interprétés par le plugin. Peut-être une histoire de droits ? de compte ? de fichier ?

Merci d'avance pour ton retour.

Bonne journée à tous.
ogulf
Messages : 445
Inscription : 15 juin 2017, 14:41

Re: Plugin Rfplayer Rfp1000

Message par ogulf »

C'est moi ou bien le plugin "RFPlayer" n'est plus disponible dans la liste des matériels ?

Image

Dernière version du plugin téléchargée à l'instant.
Restart du service.
Dernière version Beta de Domoticz (3.8373).

Bon je rentre de vacances, mais quand même : je ne peux pas tout avoir oublié ainsi !!
Une idée ?
Domoticz Stable sur RPi3 + RFPlayer + ZWave+ + RFLink R48 :
- 11 x RF660P
- 1 x FGSD-002
- 10 x F007TH
- 5 x Emcoluxr EV1527 + 4 x NAS-DS01Z
- 4 x NAS-PD02Z
- 1 x Shelly 1PM
zaraki673
Messages : 229
Inscription : 07 oct. 2016, 04:29

Re: Plugin Rfplayer Rfp1000

Message par zaraki673 »

sur la derniere version beta, j ai le meme soucis que toi, plus aucun plugin python, regarde les logs de démarrage tu dois avoir ca :
EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
pourquoi je l'ignore ... (cf http://www.domoticz.com/forum/viewtopic.php?f=6&t=19122 )

Pour cette autre message d'erreur :
Error: (RFP) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
j'ai le meme sur ma nouvelle install et pas sur mon ancienne ...
et pourant d autre plugin fonctionne sur ma nouvelle sans ce message ...
je continue de chercher pourquoi :(

Edit : et oui plus de fichier reponse , je l ai renommé en debug :D
papoo
Messages : 2029
Inscription : 10 janv. 2016, 11:29
Localisation : Limoges (87)
Contact :

Re: Plugin Rfplayer Rfp1000

Message par papoo »

Le support de python a été temporairement désactivé dans la dernière beta
domoticz beta/RaspBerry PI3 stretch
https://pon.fr github
Répondre