Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erreur 'onCommand' failed 'KeyError'. #97

Open
raphoun opened this issue Apr 20, 2021 · 1 comment
Open

erreur 'onCommand' failed 'KeyError'. #97

raphoun opened this issue Apr 20, 2021 · 1 comment

Comments

@raphoun
Copy link

raphoun commented Apr 20, 2021

Bonjour

Je viens de recevoir un rfplayer. Lorsque j'active le learning mode et que je presse un bouton de ma telecommande de volet roulant j'ai bien un nouveau device qui apparait.
Seulement lorsque je clique dessus j'ai cette erreur:
2021-04-20 16:40:15.035 Status: User: Admin (IP: 192.168.2.15) initiated a switch command (79/rfplayer2 - Button 1/On)
2021-04-20 16:40:15.082 Error: rfplayer2: (rfplayer2) 'onCommand' failed 'KeyError'.
2021-04-20 16:40:15.082 Error: rfplayer2: (rfplayer2) ----> Line 324 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function onCommand
2021-04-20 16:40:15.082 Error: rfplayer2: (rfplayer2) ----> Line 246 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function onCommand
2021-04-20 16:40:15.082 Error: rfplayer2: (rfplayer2) ----> Line 474 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function SendtoRfplayer

J'ai tenté de créer des boutons manuellement et la ça semble envoyer la trame au rfplayer mais aucune réaction du volet.

Il semble y avoir un souci lors de la création des devices en learning mode, une idée de comment contourner ça?

@raphoun
Copy link
Author

raphoun commented May 5, 2021

2021-05-05 11:26:17.187 rfplayer: (rfplayer) Received 379 bytes of data
2021-05-05 11:26:17.187 rfplayer: (rfplayer) 49 41 33 33 7b 20 22 66 72 61 6d 65 22 20 3a 7b 22 68 65 61 IA33{."frame".:{"hea
2021-05-05 11:26:17.187 rfplayer: (rfplayer) 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a 20 der":.{"frameType":.
2021-05-05 11:26:17.187 rfplayer: (rfplayer) 22 30 22 2c 20 22 63 6c 75 73 74 65 72 22 3a 20 22 30 22 2c "0",."cluster":."0",
2021-05-05 11:26:17.187 rfplayer: (rfplayer) 20 22 64 61 74 61 46 6c 61 67 22 3a 20 22 31 22 2c 20 22 72 ."dataFlag":."1",."r
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 66 4c 65 76 65 6c 22 3a 20 22 2d 39 33 22 2c 20 22 66 6c 6f fLevel":."-93",."flo
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 35 22 2c 20 22 72 orNoise":."-105",."r
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 66 51 75 61 6c 69 74 79 22 3a 20 22 33 22 2c 20 22 70 72 6f fQuality":."3",."pro
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 74 6f 63 6f 6c 22 3a 20 22 32 22 2c 20 22 70 72 6f 74 6f 63 tocol":."2",."protoc
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 56 49 53 4f 4e 49 43 olMeaning":."VISONIC
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 22 2c 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 32 22 2c 20 ",."infoType":."2",.
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 22 66 72 65 71 75 65 6e 63 79 22 3a 20 22 38 36 38 33 35 30 "frequency":."868350
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 22 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 70 "},"infos":.{"subTyp
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 65 22 3a 20 22 31 22 2c 20 22 73 75 62 54 79 70 65 4d 65 61 e":."1",."subTypeMea
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 6e 69 6e 67 22 3a 20 22 52 65 6d 6f 74 65 20 43 6f 6e 74 72 ning":."Remote.Contr
2021-05-05 11:26:17.188 rfplayer: (rfplayer) 6f 6c 22 2c 20 22 69 64 22 3a 20 22 32 37 31 32 36 37 33 32 ol",."id":."27126732
2021-05-05 11:26:17.189 rfplayer: (rfplayer) 38 30 22 2c 20 22 71 75 61 6c 69 66 69 65 72 22 3a 20 22 33 80",."qualifier":."3
2021-05-05 11:26:17.189 rfplayer: (rfplayer) 32 22 2c 20 22 71 75 61 6c 69 66 69 65 72 4d 65 61 6e 69 6e 2",."qualifierMeanin
2021-05-05 11:26:17.189 rfplayer: (rfplayer) 67 22 3a 20 7b 20 22 66 6c 61 67 73 22 3a 20 5b 22 62 75 74 g":.{."flags":.["but
2021-05-05 11:26:17.189 rfplayer: (rfplayer) 74 6f 6e 2f 63 6f 6d 6d 61 6e 64 22 5d 7d 7d 7d 7d 0a 0d .. ton/command"]}}}}..
2021-05-05 11:26:17.189 rfplayer: (rfplayer) Pushing 'onMessageCallback' on to queue
2021-05-05 11:26:17.189 (rfplayer) Processing 'onMessageCallback' message
2021-05-05 11:26:17.189 rfplayer: (rfplayer) Calling message handler 'onMessage'.
2021-05-05 11:26:17.189 rfplayer: (rfplayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-93", "floorNoise": "-105", "rfQuality": "3", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}}
2021-05-05 11:26:17.190 rfplayer: (rfplayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-93", "floorNoise": "-105", "rfQuality": "3", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}}
2021-05-05 11:26:17.190 rfplayer: (rfplayer) infoType : 2
2021-05-05 11:26:17.190 rfplayer: (rfplayer) Protocol : 2
2021-05-05 11:26:17.190 rfplayer: (rfplayer) id : 2712673280 qualifier :32
2021-05-05 11:26:17.191 rfplayer: (rfplayer) Options to find or set : {'infoType': '2', 'id': '2712673280', 'protocol': '2', 'subType': '1', 'frequency': '868350'}
2021-05-05 11:26:17.191 rfplayer: (rfplayer) Error while reading JSON Infotype
2021-05-05 11:26:17.191 rfplayer: (rfplayer) Debug : Error Decoding/Reading { "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-93", "floorNoise": "-105", "rfQuality": "3", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}}
2021-05-05 11:26:20.135 rfplayer: (rfplayer) Pushing 'onCommandCallback' on to queue
2021-05-05 11:26:20.147 (rfplayer) Processing 'onCommandCallback' message
2021-05-05 11:26:20.147 rfplayer: (rfplayer) Calling message handler 'onCommand'.
2021-05-05 11:26:20.147 rfplayer: (rfplayer) SendtoRfplayer - Options found in DB: {} for devices unit 1
2021-05-05 11:26:20.148 rfplayer: (rfplayer) Local context:
2021-05-05 11:26:20.148 rfplayer: (rfplayer) ----> 'Devices' '{1: <Domoticz.Device object at 0x6d39ff80>}'
2021-05-05 11:26:20.148 rfplayer: (rfplayer) ----> 'Domoticz' '<module 'Domoticz' (built-in)>'
2021-05-05 11:26:20.148 rfplayer: (rfplayer) ----> 'Images' '{}'
2021-05-05 11:26:20.149 rfplayer: (rfplayer) ----> 'InfoType4SubTypes' '{'0x1A2D': (1, 1, 1), '0xCA2C': (4, 1, 1), '0x0ACC': (3, 1, 1), '0xEA4C': (1, 2, 1), '0x1A3D': (6, 1, 1), '0x5A6D': (1, 1, 1), '0xCA48': (1, 3, 1), '0xFA28': (2, 1, 1)}'
2021-05-05 11:26:20.149 rfplayer: (rfplayer) ----> 'Parameters' '{'HardwareID': 12, 'HomeFolder': '/home/domoticz/domoticz/plugins/rfplayer/', 'StartupFolder': '/home/domoticz/domoticz/', 'UserDataFolder': '/home/domoticz/domoticz/', 'WebRoot': '', 'Database': '/home/domoticz/domoticz/domoticz.db', 'Language': 'en', 'Version': '1.1.0', 'Author': 'zaraki673', 'Name': 'rfplayer', 'Address': '', 'Port': '0', 'SerialPort': '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AQ01E4NA-if00-port0', 'Username': '', 'Password': '', 'Key': 'RFplayer', 'Mode1': '', 'Mode2': '', 'Mode3': '', 'Mode4': 'True', 'Mode5': 'False', 'Mode6': '-1', 'DomoticzVersion': '2021.1', 'DomoticzHash': '8547c5b7e', 'DomoticzBuildTime': '2021-04-17 17:29:11'}'
2021-05-05 11:26:20.149 rfplayer: (rfplayer) ----> 'ReqRcv' ''
2021-05-05 11:26:20.149 rfplayer: (rfplayer) ----> 'SerialConn' 'Name: 'RfP1000', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AQ01E4NA-if00-port0', Port: '', Baud: 115200, Timeout: 0, Bytes: 1645, Connected: True, Last Seen: 2021-05-05 11:26:17, Parent: 'None''
2021-05-05 11:26:20.150 rfplayer: (rfplayer) ----> 'Settings' '{'DB_Version': '148', 'Title': 'Domoticz', 'LightHistoryDays': '100', 'MeterDividerEnergy': '1000', 'MeterDividerGas': '100', 'MeterDividerWater': '100', 'RandomTimerFrame': '15', 'ElectricVoltage': '230', 'CM113DisplayType': '0', '5MinuteHistoryDays': '3', 'SensorTimeout': '60', 'SensorTimeoutNotification': '0', 'UseAutoUpdate': '1', 'UseAutoBackup': '1', 'CostEnergy': '2149', 'CostEnergyT2': '2149', 'CostEnergyR1': '800', 'CostEnergyR2': '800', 'CostGas': '6218', 'CostWater': '16473', 'UseEmailInNotifications': '1', 'SendErrorNotifications': '0', 'EmailPort': '25', 'EmailAsAttachment': '0', 'DoorbellCommand': '0', 'SmartMeterType': '0', 'EnableTabLights': '1', 'EnableTabTemp': '1', 'EnableTabWeather': '1', 'EnableTabUtility': '1', 'EnableTabCustom': '1', 'EnableTabScenes': '0', 'EnableTabFloorplans': '0', 'NotificationSensorInterval': '43200', 'NotificationSwitchInterval': '43200', 'RemoteSharedPort': '6144', 'Language': 'en', 'DashboardType': '0', 'MobileType': '0', 'WindUnit': '0', 'TempUnit': '0', 'WeightUnit': '0', 'SecStatus': '0', 'SecOnDelay': '30', 'AuthenticationMethod': '1', 'ReleaseChannel': '0', 'RaspCamParams': '-w 800 -h 600 -t 1', 'UVCParams': '-S80 -B128 -C128 -G80 -x800 -y600 -q100', 'AcceptNewHardware': '1', 'ZWavePollInterval': '60', 'ZWaveEnableDebug': '0', 'ZWaveNetworkKey': '0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10', 'ZWaveEnableNightlyNetworkHeal': '0', 'BatteryLowNotification': '0', 'AllowWidgetOrdering': '1', 'ActiveTimerPlan': '0', 'HideDisabledHardwareSensors': '1', 'EnableEventScriptSystem': '1', 'EventSystemLogFullURL': '1', 'DisableDzVentsSystem': '0', 'DzVentsLogLevel': '3', 'LogEventScriptTrigger': '1', 'WebTheme': 'default', 'FloorplanPopupDelay': '750', 'FloorplanFullscreenMode': '0', 'FloorplanAnimateZoom': '1', 'FloorplanShowSensorValues': '1', 'FloorplanShowSwitchValues': '0', 'FloorplanShowSceneNames': '1', 'FloorplanRoomColour': 'Blue', 'FloorplanActiveOpacity': '25', 'FloorplanInactiveOpacity': '5', 'TempHome': '20', 'TempAway': '15', 'TempComfort': '22.0', 'DegreeDaysBaseTemperature': '18.0', 'HTTPURL': 'aHR0cHM6Ly93d3cuc29tZWdhdGV3YXkuY29tL3B1c2h1cmwucGhwP3VzZXJuYW1lPSNGSUVMRDEmcGFzc3dvcmQ9I0ZJRUxEMiZhcGlrZXk9I0ZJRUxEMyZmcm9tPSNGSUVMRDQmdG89I1RPJm1lc3NhZ2U9I01FU1NBR0U=', 'HTTPPostContentType': 'YXBwbGljYXRpb24vanNvbg==', 'ShowUpdateEffect': '0', 'ShortLogInterval': '5', 'SendErrorsAsNotification': '0', 'IFTTTEnabled': '0', 'EmailEnabled': '1', 'Location': '48.856506;2.352133', 'ClickatellEnabled': '0', 'ClickatellAPI': '0', 'ClickatellTo': '0', 'EmailFrom': '0', 'EmailServer': '0', 'EmailTo': '0', 'EmailPassword': '0', 'EmailUsername': '0', 'FCMEnabled': '0', 'HTTPEnabled': '0', 'HTTPField1': '0', 'HTTPField2': '0', 'HTTPField3': '0', 'HTTPField4': '0', 'HTTPPostData': '0', 'HTTPPostHeaders': '0', 'HTTPTo': '0', 'KodiIPAddress': '224.0.0.1', 'KodiEnabled': '0', 'KodiPort': '9777', 'KodiTimeToLive': '5', 'LmsPlayerMac': '0', 'LmsDuration': '5', 'LmsEnabled': '0', 'ProwlAPI': '0', 'ProwlEnabled': '0', 'PushALotAPI': '0', 'PushALotEnabled': '0', 'PushbulletAPI': '0', 'PushbulletEnabled': '0', 'PushoverAPI': '0', 'PushoverUser': '0', 'PushoverEnabled': '0', 'PushsaferAPI': '0', 'PushsaferImage': '0', 'PushsaferEnabled': '0', 'TelegramAPI': '1454847556:AAFNOifvV6GM0OET99oVbRSR-9U9jmjsgXo', 'TelegramChat': '244934429', 'TelegramEnabled': '1', 'WebLocalNetworks': '127.0.0.;192.168.1.;192.168.2.', 'WebRemoteProxyIPs': '0', 'SecPassword': '9d7311ba459f9e45ed746755a32dcd11', 'ProtectionPassword': 'd41d8cd98f00b204e9800998ecf8427e', 'OneWireSensorPollPeriod': '0', 'OneWireSwitchPollPeriod': '0', 'IFTTTAPI': '0', 'WebUserName': 'cmFwaGFlbA==', 'WebPassword': 'c64962040b5f46135f9e31939bea827c', 'MyDomoticzUserId': '0', 'MyDomoticzSubsystems': '0', 'MaxElectricPower': '6000', 'ClickatellFrom': '0'}'
2021-05-05 11:26:20.150 rfplayer: (rfplayer) ----> 'Tmprcv' 'IA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-93", "floorNoise": "-105", "rfQuality": "3", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}}
2021-05-05 11:26:20.150 rfplayer: (rfplayer) ----> '_plugin' '<plugin.BasePlugin object at 0x6d348690>'
2021-05-05 11:26:20.151 rfplayer: (rfplayer) ----> 'datetime' '<module 'datetime' from '/usr/lib/python3.7/datetime.py'>'
2021-05-05 11:26:20.151 rfplayer: (rfplayer) ----> 'isConnected' 'True'
2021-05-05 11:26:20.151 rfplayer: (rfplayer) ----> 'json' '<module 'json' from '/usr/lib/python3.7/json/init.py'>'
2021-05-05 11:26:20.914 rfplayer: (rfplayer) Pushing 'onCommandCallback' on to queue
2021-05-05 11:26:20.953 (rfplayer) Processing 'onCommandCallback' message
2021-05-05 11:26:20.953 rfplayer: (rfplayer) Calling message handler 'onCommand'.
2021-05-05 11:26:20.953 rfplayer: (rfplayer) SendtoRfplayer - Options found in DB: {} for devices unit 1
2021-05-05 11:26:20.954 rfplayer: (rfplayer) Local context:
2021-05-05 11:26:20.954 rfplayer: (rfplayer) ----> 'Devices' '{1: <Domoticz.Device object at 0x6d39ff80>}'
2021-05-05 11:26:20.954 rfplayer: (rfplayer) ----> 'Domoticz' '<module 'Domoticz' (built-in)>'
2021-05-05 11:26:20.954 rfplayer: (rfplayer) ----> 'Images' '{}'
2021-05-05 11:26:20.954 rfplayer: (rfplayer) ----> 'InfoType4SubTypes' '{'0x1A2D': (1, 1, 1), '0xCA2C': (4, 1, 1), '0x0ACC': (3, 1, 1), '0xEA4C': (1, 2, 1), '0x1A3D': (6, 1, 1), '0x5A6D': (1, 1, 1), '0xCA48': (1, 3, 1), '0xFA28': (2, 1, 1)}'
2021-05-05 11:26:20.955 rfplayer: (rfplayer) ----> 'Parameters' '{'HardwareID': 12, 'HomeFolder': '/home/domoticz/domoticz/plugins/rfplayer/', 'StartupFolder': '/home/domoticz/domoticz/', 'UserDataFolder': '/home/domoticz/domoticz/', 'WebRoot': '', 'Database': '/home/domoticz/domoticz/domoticz.db', 'Language': 'en', 'Version': '1.1.0', 'Author': 'zaraki673', 'Name': 'rfplayer', 'Address': '', 'Port': '0', 'SerialPort': '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AQ01E4NA-if00-port0', 'Username': '', 'Password': '', 'Key': 'RFplayer', 'Mode1': '', 'Mode2': '', 'Mode3': '', 'Mode4': 'True', 'Mode5': 'False', 'Mode6': '-1', 'DomoticzVersion': '2021.1', 'DomoticzHash': '8547c5b7e', 'DomoticzBuildTime': '2021-04-17 17:29:11'}'
2021-05-05 11:26:20.955 rfplayer: (rfplayer) ----> 'ReqRcv' ''
2021-05-05 11:26:20.955 rfplayer: (rfplayer) ----> 'SerialConn' 'Name: 'RfP1000', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AQ01E4NA-if00-port0', Port: '', Baud: 115200, Timeout: 0, Bytes: 1645, Connected: True, Last Seen: 2021-05-05 11:26:17, Parent: 'None''
2021-05-05 11:26:20.956 rfplayer: (rfplayer) ----> 'Settings' '{'DB_Version': '148', 'Title': 'Domoticz', 'LightHistoryDays': '100', 'MeterDividerEnergy': '1000', 'MeterDividerGas': '100', 'MeterDividerWater': '100', 'RandomTimerFrame': '15', 'ElectricVoltage': '230', 'CM113DisplayType': '0', '5MinuteHistoryDays': '3', 'SensorTimeout': '60', 'SensorTimeoutNotification': '0', 'UseAutoUpdate': '1', 'UseAutoBackup': '1', 'CostEnergy': '2149', 'CostEnergyT2': '2149', 'CostEnergyR1': '800', 'CostEnergyR2': '800', 'CostGas': '6218', 'CostWater': '16473', 'UseEmailInNotifications': '1', 'SendErrorNotifications': '0', 'EmailPort': '25', 'EmailAsAttachment': '0', 'DoorbellCommand': '0', 'SmartMeterType': '0', 'EnableTabLights': '1', 'EnableTabTemp': '1', 'EnableTabWeather': '1', 'EnableTabUtility': '1', 'EnableTabCustom': '1', 'EnableTabScenes': '0', 'EnableTabFloorplans': '0', 'NotificationSensorInterval': '43200', 'NotificationSwitchInterval': '43200', 'RemoteSharedPort': '6144', 'Language': 'en', 'DashboardType': '0', 'MobileType': '0', 'WindUnit': '0', 'TempUnit': '0', 'WeightUnit': '0', 'SecStatus': '0', 'SecOnDelay': '30', 'AuthenticationMethod': '1', 'ReleaseChannel': '0', 'RaspCamParams': '-w 800 -h 600 -t 1', 'UVCParams': '-S80 -B128 -C128 -G80 -x800 -y600 -q100', 'AcceptNewHardware': '1', 'ZWavePollInterval': '60', 'ZWaveEnableDebug': '0', 'ZWaveNetworkKey': '0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10', 'ZWaveEnableNightlyNetworkHeal': '0', 'BatteryLowNotification': '0', 'AllowWidgetOrdering': '1', 'ActiveTimerPlan': '0', 'HideDisabledHardwareSensors': '1', 'EnableEventScriptSystem': '1', 'EventSystemLogFullURL': '1', 'DisableDzVentsSystem': '0', 'DzVentsLogLevel': '3', 'LogEventScriptTrigger': '1', 'WebTheme': 'default', 'FloorplanPopupDelay': '750', 'FloorplanFullscreenMode': '0', 'FloorplanAnimateZoom': '1', 'FloorplanShowSensorValues': '1', 'FloorplanShowSwitchValues': '0', 'FloorplanShowSceneNames': '1', 'FloorplanRoomColour': 'Blue', 'FloorplanActiveOpacity': '25', 'FloorplanInactiveOpacity': '5', 'TempHome': '20', 'TempAway': '15', 'TempComfort': '22.0', 'DegreeDaysBaseTemperature': '18.0', 'HTTPURL': 'aHR0cHM6Ly93d3cuc29tZWdhdGV3YXkuY29tL3B1c2h1cmwucGhwP3VzZXJuYW1lPSNGSUVMRDEmcGFzc3dvcmQ9I0ZJRUxEMiZhcGlrZXk9I0ZJRUxEMyZmcm9tPSNGSUVMRDQmdG89I1RPJm1lc3NhZ2U9I01FU1NBR0U=', 'HTTPPostContentType': 'YXBwbGljYXRpb24vanNvbg==', 'ShowUpdateEffect': '0', 'ShortLogInterval': '5', 'SendErrorsAsNotification': '0', 'IFTTTEnabled': '0', 'EmailEnabled': '1', 'Location': '48.856506;2.352133', 'ClickatellEnabled': '0', 'ClickatellAPI': '0', 'ClickatellTo': '0', 'EmailFrom': '0', 'EmailServer': '0', 'EmailTo': '0', 'EmailPassword': '0', 'EmailUsername': '0', 'FCMEnabled': '0', 'HTTPEnabled': '0', 'HTTPField1': '0', 'HTTPField2': '0', 'HTTPField3': '0', 'HTTPField4': '0', 'HTTPPostData': '0', 'HTTPPostHeaders': '0', 'HTTPTo': '0', 'KodiIPAddress': '224.0.0.1', 'KodiEnabled': '0', 'KodiPort': '9777', 'KodiTimeToLive': '5', 'LmsPlayerMac': '0', 'LmsDuration': '5', 'LmsEnabled': '0', 'ProwlAPI': '0', 'ProwlEnabled': '0', 'PushALotAPI': '0', 'PushALotEnabled': '0', 'PushbulletAPI': '0', 'PushbulletEnabled': '0', 'PushoverAPI': '0', 'PushoverUser': '0', 'PushoverEnabled': '0', 'PushsaferAPI': '0', 'PushsaferImage': '0', 'PushsaferEnabled': '0', 'TelegramAPI': '1454847556:AAFNOifvV6GM0OET99oVbRSR-9U9jmjsgXo', 'TelegramChat': '244934429', 'TelegramEnabled': '1', 'WebLocalNetworks': '127.0.0.
;192.168.1.;192.168.2.', 'WebRemoteProxyIPs': '0', 'SecPassword': '9d7311ba459f9e45ed746755a32dcd11', 'ProtectionPassword': 'd41d8cd98f00b204e9800998ecf8427e', 'OneWireSensorPollPeriod': '0', 'OneWireSwitchPollPeriod': '0', 'IFTTTAPI': '0', 'WebUserName': 'cmFwaGFlbA==', 'WebPassword': 'c64962040b5f46135f9e31939bea827c', 'MyDomoticzUserId': '0', 'MyDomoticzSubsystems': '0', 'MaxElectricPower': '6000', 'ClickatellFrom': '0'}'
2021-05-05 11:26:20.956 rfplayer: (rfplayer) ----> 'Tmprcv' 'IA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-93", "floorNoise": "-105", "rfQuality": "3", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}}
2021-05-05 11:26:20.956 rfplayer: (rfplayer) ----> '_plugin' '<plugin.BasePlugin object at 0x6d348690>'
2021-05-05 11:26:20.956 rfplayer: (rfplayer) ----> 'datetime' '<module 'datetime' from '/usr/lib/python3.7/datetime.py'>'
2021-05-05 11:26:20.956 rfplayer: (rfplayer) ----> 'isConnected' 'True'
2021-05-05 11:26:20.957 rfplayer: (rfplayer) ----> 'json' '<module 'json' from '/usr/lib/python3.7/json/init.py'>'
2021-05-05 11:26:20.134 Status: User: Admin (IP: 192.168.2.15) initiated a switch command (77/rfplayer - Button 1 - 2712673280/On)
2021-05-05 11:26:20.913 Status: User: Admin (IP: 192.168.2.15) initiated a switch command (77/rfplayer - Button 1 - 2712673280/On)
2021-05-05 11:26:20.147 Error: rfplayer: (rfplayer) 'onCommand' failed 'KeyError'.
2021-05-05 11:26:20.147 Error: rfplayer: (rfplayer) ----> Line 324 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function onCommand
2021-05-05 11:26:20.147 Error: rfplayer: (rfplayer) ----> Line 246 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function onCommand
2021-05-05 11:26:20.148 Error: rfplayer: (rfplayer) ----> Line 474 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function SendtoRfplayer
2021-05-05 11:26:20.953 Error: rfplayer: (rfplayer) 'onCommand' failed 'KeyError'.
2021-05-05 11:26:20.953 Error: rfplayer: (rfplayer) ----> Line 324 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function onCommand
2021-05-05 11:26:20.953 Error: rfplayer: (rfplayer) ----> Line 246 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function onCommand
2021-05-05 11:26:20.953 Error: rfplayer: (rfplayer) ----> Line 474 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function SendtoRfplayer
2021-05-05 11:26:21.717 rfplayer: (rfplayer) Pushing 'onCommandCallback' on to queue
2021-05-05 11:26:21.758 (rfplayer) Processing 'onCommandCallback' message
2021-05-05 11:26:21.759 rfplayer: (rfplayer) Calling message handler 'onCommand'.
2021-05-05 11:26:21.759 rfplayer: (rfplayer) SendtoRfplayer - Options found in DB: {} for devices unit 1
2021-05-05 11:26:21.759 rfplayer: (rfplayer) Local context:
2021-05-05 11:26:21.760 rfplayer: (rfplayer) ----> 'Devices' '{1: <Domoticz.Device object at 0x6d39ff80>}'
2021-05-05 11:26:21.760 rfplayer: (rfplayer) ----> 'Domoticz' '<module 'Domoticz' (built-in)>'
2021-05-05 11:26:21.760 rfplayer: (rfplayer) ----> 'Images' '{}'
2021-05-05 11:26:21.760 rfplayer: (rfplayer) ----> 'InfoType4SubTypes' '{'0x1A2D': (1, 1, 1), '0xCA2C': (4, 1, 1), '0x0ACC': (3, 1, 1), '0xEA4C': (1, 2, 1), '0x1A3D': (6, 1, 1), '0x5A6D': (1, 1, 1), '0xCA48': (1, 3, 1), '0xFA28': (2, 1, 1)}'
2021-05-05 11:26:21.761 rfplayer: (rfplayer) ----> 'Parameters' '{'HardwareID': 12, 'HomeFolder': '/home/domoticz/domoticz/plugins/rfplayer/', 'StartupFolder': '/home/domoticz/domoticz/', 'UserDataFolder': '/home/domoticz/domoticz/', 'WebRoot': '', 'Database': '/home/domoticz/domoticz/domoticz.db', 'Language': 'en', 'Version': '1.1.0', 'Author': 'zaraki673', 'Name': 'rfplayer', 'Address': '', 'Port': '0', 'SerialPort': '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AQ01E4NA-if00-port0', 'Username': '', 'Password': '', 'Key': 'RFplayer', 'Mode1': '', 'Mode2': '', 'Mode3': '', 'Mode4': 'True', 'Mode5': 'False', 'Mode6': '-1', 'DomoticzVersion': '2021.1', 'DomoticzHash': '8547c5b7e', 'DomoticzBuildTime': '2021-04-17 17:29:11'}'
2021-05-05 11:26:21.761 rfplayer: (rfplayer) ----> 'ReqRcv' ''
2021-05-05 11:26:21.761 rfplayer: (rfplayer) ----> 'SerialConn' 'Name: 'RfP1000', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AQ01E4NA-if00-port0', Port: '', Baud: 115200, Timeout: 0, Bytes: 1645, Connected: True, Last Seen: 2021-05-05 11:26:17, Parent: 'None''
2021-05-05 11:26:21.762 rfplayer: (rfplayer) ----> 'Settings' '{'DB_Version': '148', 'Title': 'Domoticz', 'LightHistoryDays': '100', 'MeterDividerEnergy': '1000', 'MeterDividerGas': '100', 'MeterDividerWater': '100', 'RandomTimerFrame': '15', 'ElectricVoltage': '230', 'CM113DisplayType': '0', '5MinuteHistoryDays': '3', 'SensorTimeout': '60', 'SensorTimeoutNotification': '0', 'UseAutoUpdate': '1', 'UseAutoBackup': '1', 'CostEnergy': '2149', 'CostEnergyT2': '2149', 'CostEnergyR1': '800', 'CostEnergyR2': '800', 'CostGas': '6218', 'CostWater': '16473', 'UseEmailInNotifications': '1', 'SendErrorNotifications': '0', 'EmailPort': '25', 'EmailAsAttachment': '0', 'DoorbellCommand': '0', 'SmartMeterType': '0', 'EnableTabLights': '1', 'EnableTabTemp': '1', 'EnableTabWeather': '1', 'EnableTabUtility': '1', 'EnableTabCustom': '1', 'EnableTabScenes': '0', 'EnableTabFloorplans': '0', 'NotificationSensorInterval': '43200', 'NotificationSwitchInterval': '43200', 'RemoteSharedPort': '6144', 'Language': 'en', 'DashboardType': '0', 'MobileType': '0', 'WindUnit': '0', 'TempUnit': '0', 'WeightUnit': '0', 'SecStatus': '0', 'SecOnDelay': '30', 'AuthenticationMethod': '1', 'ReleaseChannel': '0', 'RaspCamParams': '-w 800 -h 600 -t 1', 'UVCParams': '-S80 -B128 -C128 -G80 -x800 -y600 -q100', 'AcceptNewHardware': '1', 'ZWavePollInterval': '60', 'ZWaveEnableDebug': '0', 'ZWaveNetworkKey': '0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10', 'ZWaveEnableNightlyNetworkHeal': '0', 'BatteryLowNotification': '0', 'AllowWidgetOrdering': '1', 'ActiveTimerPlan': '0', 'HideDisabledHardwareSensors': '1', 'EnableEventScriptSystem': '1', 'EventSystemLogFullURL': '1', 'DisableDzVentsSystem': '0', 'DzVentsLogLevel': '3', 'LogEventScriptTrigger': '1', 'WebTheme': 'default', 'FloorplanPopupDelay': '750', 'FloorplanFullscreenMode': '0', 'FloorplanAnimateZoom': '1', 'FloorplanShowSensorValues': '1', 'FloorplanShowSwitchValues': '0', 'FloorplanShowSceneNames': '1', 'FloorplanRoomColour': 'Blue', 'FloorplanActiveOpacity': '25', 'FloorplanInactiveOpacity': '5', 'TempHome': '20', 'TempAway': '15', 'TempComfort': '22.0', 'DegreeDaysBaseTemperature': '18.0', 'HTTPURL': 'aHR0cHM6Ly93d3cuc29tZWdhdGV3YXkuY29tL3B1c2h1cmwucGhwP3VzZXJuYW1lPSNGSUVMRDEmcGFzc3dvcmQ9I0ZJRUxEMiZhcGlrZXk9I0ZJRUxEMyZmcm9tPSNGSUVMRDQmdG89I1RPJm1lc3NhZ2U9I01FU1NBR0U=', 'HTTPPostContentType': 'YXBwbGljYXRpb24vanNvbg==', 'ShowUpdateEffect': '0', 'ShortLogInterval': '5', 'SendErrorsAsNotification': '0', 'IFTTTEnabled': '0', 'EmailEnabled': '1', 'Location': '48.856506;2.352133', 'ClickatellEnabled': '0', 'ClickatellAPI': '0', 'ClickatellTo': '0', 'EmailFrom': '0', 'EmailServer': '0', 'EmailTo': '0', 'EmailPassword': '0', 'EmailUsername': '0', 'FCMEnabled': '0', 'HTTPEnabled': '0', 'HTTPField1': '0', 'HTTPField2': '0', 'HTTPField3': '0', 'HTTPField4': '0', 'HTTPPostData': '0', 'HTTPPostHeaders': '0', 'HTTPTo': '0', 'KodiIPAddress': '224.0.0.1', 'KodiEnabled': '0', 'KodiPort': '9777', 'KodiTimeToLive': '5', 'LmsPlayerMac': '0', 'LmsDuration': '5', 'LmsEnabled': '0', 'ProwlAPI': '0', 'ProwlEnabled': '0', 'PushALotAPI': '0', 'PushALotEnabled': '0', 'PushbulletAPI': '0', 'PushbulletEnabled': '0', 'PushoverAPI': '0', 'PushoverUser': '0', 'PushoverEnabled': '0', 'PushsaferAPI': '0', 'PushsaferImage': '0', 'PushsaferEnabled': '0', 'TelegramAPI': '1454847556:AAFNOifvV6GM0OET99oVbRSR-9U9jmjsgXo', 'TelegramChat': '244934429', 'TelegramEnabled': '1', 'WebLocalNetworks': '127.0.0.;192.168.1.;192.168.2.*', 'WebRemoteProxyIPs': '0', 'SecPassword': '9d7311ba459f9e45ed746755a32dcd11', 'ProtectionPassword': 'd41d8cd98f00b204e9800998ecf8427e', 'OneWireSensorPollPeriod': '0', 'OneWireSwitchPollPeriod': '0', 'IFTTTAPI': '0', 'WebUserName': 'cmFwaGFlbA==', 'WebPassword': 'c64962040b5f46135f9e31939bea827c', 'MyDomoticzUserId': '0', 'MyDomoticzSubsystems': '0', 'MaxElectricPower': '6000', 'ClickatellFrom': '0'}'
2021-05-05 11:26:21.762 rfplayer: (rfplayer) ----> 'Tmprcv' 'IA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-93", "floorNoise": "-105", "rfQuality": "3", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}}
2021-05-05 11:26:21.762 rfplayer: (rfplayer) ----> '_plugin' '<plugin.BasePlugin object at 0x6d348690>'
2021-05-05 11:26:21.762 rfplayer: (rfplayer) ----> 'datetime' '<module 'datetime' from '/usr/lib/python3.7/datetime.py'>'
2021-05-05 11:26:21.762 rfplayer: (rfplayer) ----> 'isConnected' 'True'
2021-05-05 11:26:21.763 rfplayer: (rfplayer) ----> 'json' '<module 'json' from '/usr/lib/python3.7/json/init.py'>'
2021-05-05 11:26:21.716 Status: User: Admin (IP: 192.168.2.15) initiated a switch command (77/rfplayer - Button 1 - 2712673280/Off)
2021-05-05 11:26:21.759 Error: rfplayer: (rfplayer) 'onCommand' failed 'KeyError'.
2021-05-05 11:26:21.759 Error: rfplayer: (rfplayer) ----> Line 324 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function onCommand
2021-05-05 11:26:21.759 Error: rfplayer: (rfplayer) ----> Line 246 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function onCommand
2021-05-05 11:26:21.759 Error: rfplayer: (rfplayer) ----> Line 474 in '/home/domoticz/domoticz/plugins/rfplayer/plugin.py', function SendtoRfplayer
2021-05-05 11:26:27.027 rfplayer: (rfplayer) Pushing 'onHeartbeatCallback' on to queue
2021-05-05 11:26:27.077 (rfplayer) Processing 'onHeartbeatCallback' message
2021-05-05 11:26:27.077 rfplayer: (rfplayer) Calling message handler 'onHeartbeat'.
2021-05-05 11:26:37.011 rfplayer: (rfplayer) Pushing 'onHeartbeatCallback' on to queue
2021-05-05 11:26:37.061 (rfplayer) Processing 'onHeartbeatCallback' message
2021-05-05 11:26:37.061 rfplayer: (rfplayer) Calling message handler 'onHeartbeat'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant