Re: Eldat Easywave RXR09 Script
Posted: Tuesday 14 November 2023 13:21
by aeisenhuth
Sorry for my late response. So the stick is properly recognized. BUS 001 DEVICE 004: ID 155a:1006 Silicon Labs USB Transceiver Easywave, when I switch something in the web interface I get the following message in the log of Domoticz:
2023-11-14 13:16:06.557 Eldat Easywave: Pushing 'onCommandCallback' on to queue
2023-11-14 13:16:06.596 Eldat Easywave: Processing 'onCommandCallback' message
2023-11-14 13:16:06.596 Eldat Easywave: Acquiring GIL for 'onCommandCallback'
2023-11-14 13:16:06.596 Eldat Easywave: Calling message handler 'onCommand' on 'module' type object.
2023-11-14 13:16:06.596 Eldat Easywave: onMessage called using socket params: 127.0.0.1 5331
2023-11-14 13:16:06.598 Eldat Easywave: Local context:
2023-11-14 13:16:06.599 Eldat Easywave: ----> 'Devices' '{1: <Domoticz.Device object at 0x717e18c0>, 2: <Domoticz.Device object at 0x705d7c20>, 3: <Domoticz.Device object at 0x705d74a0>, 4: <Domoticz.Device object at 0x705d7d40>, 5: <Domoticz.Device object at 0x705d7380>, 6: <Domoticz.Device object at 0x705d7ec0>, 7: <Domoticz.Device object at 0x705d7aa0>, 8: <Domoticz.Device object at 0x705d7f20>, 9: <Domoticz.Device object at 0x705d7f80>, 10: <Domoticz.Device object at 0x6ebd0020>, 11: <Domoticz.Device object at 0x6ebd0080>, 12: <Domoticz.Device object at 0x6ebd00e0>, 13: <Domoticz.Device object at 0x6ebd0140>, 14: <Domoticz.Device object at 0x6ebd01a0>, 15: <Domoticz.Device object at 0x6ebd0200>, 16: <Domoticz.Device object at 0x6ebd0260>, 17: <Domoticz.Device object at 0x6ebd02c0>, 18: <Domoticz.Device object at 0x6ebd0320>, 19: <Domoticz.Device object at 0x6ebd0380>, 20: <Domoticz.Device object at 0x6ebd03e0>, 21: <Domoticz.Device object at 0x6ebd0440>, 22: <Domoticz.Device object at 0x6ebd04a0>, 23: <Domoticz.Device object at 0x6ebd0500>, 24: <Domoticz.Device object at 0x6ebd0560>, 25: <Domoticz.Device object at 0x6ebd05c0>, 26: <Domoticz.Device object at 0x6ebd0620>, 27: <Domoticz.Device object at 0x6ebd0680>, 28: <Domoticz.Device object at 0x6ebd06e0>, 29: <Domoticz.Device object at 0x6ebd0740>, 30: <Domoticz.Device object at 0x6ebd07a0>, 31: <Domoticz.Device object at 0x6ebd0800>, 32: <Domoticz.Device object at 0x6ebd0860>, 33: <Domoticz.Device object at 0x6ebd08c0>, 34: <Domoticz.Device object at 0x6ebd0920>, 35: <Domoticz.Device object at 0x6ebd0980>, 36: <Domoticz.Device object at 0x6ebd09e0>, 37: <Domoticz.Device object at 0x6ebd0a40>, 38: <Domoticz.Device object at 0x6ebd0aa0>, 39: <Domoticz.Device object at 0x6ebd0b00>, 40: <Domoticz.Device object at 0x6ebd0b60>, 41: <Domoticz.Device object at 0x6ebd0bc0>, 42: <Domoticz.Device object at 0x6ebd0c20>, 43: <Domoticz.Device object at 0x6ebd0c80>, 44: <Domoticz.Device object at 0x6ebd0ce0>, 45: <Domoticz.Device object at 0x6ebd0d40>, 46: <Domoticz.Device object at 0x6ebd0da0>, 47: <Domoticz.Device object at 0x6ebd0e00>, 48: <Domoticz.Device object at 0x6ebd0e60>, 49: <Domoticz.Device object at 0x6ebd0ec0>, 50: <Domoticz.Device object at 0x6ebd0f20>, 51: <Domoticz.Device object at 0x6ebd0f80>, 52: <Domoticz.Device object at 0x6ebd3020>, 53: <Domoticz.Device object at 0x6ebd3080>, 54: <Domoticz.Device object at 0x6ebd30e0>, 55: <Domoticz.Device object at 0x6ebd3140>, 56: <Domoticz.Device object at 0x6ebd31a0>, 57: <Domoticz.Device object at 0x6ebd3200>, 58: <Domoticz.Device object at 0x6ebd3260>, 59: <Domoticz.Device object at 0x6ebd32c0>, 60: <Domoticz.Device object at 0x6ebd3320>, 61: <Domoticz.Device object at 0x6ebd3380>, 62: <Domoticz.Device object at 0x6ebd33e0>, 63: <Domoticz.Device object at 0x6ebd3440>, 64: <Domoticz.Device object at 0x6ebd34a0>}'
2023-11-14 13:16:06.599 Eldat Easywave: ----> 'Domoticz' '<module 'Domoticz' (built-in)>'
2023-11-14 13:16:06.599 Eldat Easywave: ----> 'Images' '{}'
2023-11-14 13:16:06.599 Eldat Easywave: ----> 'Parameters' '{'HardwareID': 2, 'HomeFolder': '/home/aeisenhuth/domoticz/plugins/Eldat_Easywave/', 'StartupFolder': '/home/aeisenhuth/domoticz/', 'UserDataFolder': '/home/aeisenhuth/domoticz/', 'WebRoot': '', 'Database': '/home/aeisenhuth/domoticz/domoticz.db', 'Language': 'de', 'Version': '0.4.0', 'Author': 'WimR', 'Name': 'Eldat Easywave', 'Address': '', 'Port': '0', 'SerialPort': '', 'Username': '', 'Password': '', 'Key': 'Easywave', 'Mode1': '64', 'Mode2': '127.0.0.1', 'Mode3': '5331', 'Mode4': '', 'Mode5': '', 'Mode6': 'Debug', 'DomoticzVersion': '2023.2 (build 15650)', 'DomoticzHash': '10dbd8d2e', 'DomoticzBuildTime': '2023-11-13 14:22:32'}'
2023-11-14 13:16:06.600 Eldat Easywave: ----> 'Settings' '{'DB_Version': '165', 'Title': 'Domoticz', 'Unique_ID': 'e1a5b05b-dc49-4ebe-9d99-98fb79d63bb6', 'LightHistoryDays': '30', 'MeterDividerEnergy': '1000', 'MeterDividerGas': '100', 'MeterDividerWater': '100', 'RandomTimerFrame': '15', 'ElectricVoltage': '230', 'CM113DisplayType': '0', '5MinuteHistoryDays': '1', 'SensorTimeout': '60', 'SensorTimeoutNotification': '0', 'UseAutoUpdate': '1', 'UseAutoBackup': '0', 'CostEnergy': '2149', 'CostEnergyT2': '2149', 'CostEnergyR1': '800', 'CostEnergyR2': '800', 'CostGas': '6218', 'CostWater': '16473', 'UseEmailInNotifications': '1', 'SendErrorNotifications': '0', 'EmailPort': '25', 'EmailAsAttachment': '0', 'DoorbellCommand': '0', 'SmartMeterType': '0', 'NotificationSensorInterval': '43200', 'NotificationSwitchInterval': '0', 'RemoteSharedPort': '6144', 'Language': 'de', 'DashboardType': '0', 'MobileType': '0', 'WindUnit': '0', 'TempUnit': '0', 'WeightUnit': '0', 'SecStatus': '0', 'SecOnDelay': '30', 'ReleaseChannel': '1', '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', 'ShortLogAddOnlyNewValues': '0', 'SendErrorsAsNotification': '0', 'IFTTTEnabled': '0', 'EmailEnabled': '1', 'MaxElectricPower': '6000', 'Domoticz_Version': '2023.2 (build 15650)', 'OneWireSensorPollPeriod': '0', 'OneWireSwitchPollPeriod': '0', 'IFTTTAPI': '0', 'Location': '51.0357;9.41577', 'AllowPlainBasicAuth': '0', 'WebLocalNetworks': '0', 'SecPassword': 'd41d8cd98f00b204e9800998ecf8427e', 'ProtectionPassword': 'd41d8cd98f00b204e9800998ecf8427e', 'ClickatellEnabled': '0', 'ClickatellAPI': '0', 'ClickatellFrom': '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': '0', 'TelegramChat': '0', 'TelegramEnabled': '0'}'
2023-11-14 13:16:06.600 Eldat Easywave: ----> 'socket' '<module 'socket' from '/usr/lib/python3.9/socket.py'>'
2023-11-14 13:16:06.600 Eldat Easywave: ----> 'sys' '<module 'sys' (built-in)>'
2023-11-14 13:16:06.600 Eldat Easywave: ----> 'time' '<module 'time' (built-in)>'
2023-11-14 13:16:06.600 Eldat Easywave: Acquiring GIL for 'onCommandCallback'
2023-11-14 13:16:06.556 Status: User: admin (IP: 192.168.178.134) initiated a switch command (2/Beschattung_Esszimmer_EG/Close)
2023-11-14 13:16:06.597 Error: Eldat Easywave: Call to function 'onCommand' failed, exception details:
2023-11-14 13:16:06.597 Error: Eldat Easywave: Traceback (most recent call last):
2023-11-14 13:16:06.597 Error: Eldat Easywave: File "/home/aeisenhuth/domoticz/plugins/Eldat_Easywave/plugin.py", line 114, in onCommand
2023-11-14 13:16:06.597 Error: Eldat Easywave: sock.connect(server_address)
2023-11-14 13:16:06.598 Error: Eldat Easywave: ConnectionRefusedError: [Errno 111] Connection refused
2023-11-14 13:16:09.006 Eldat Easywave: Pushing 'onHeartbeatCallback' on to queue
2023-11-14 13:16:09.056 Eldat Easywave: Processing 'onHeartbeatCallback' message
2023-11-14 13:16:09.056 Eldat Easywave: Acquiring GIL for 'onHeartbeatCallback'
2023-11-14 13:16:09.056 Eldat Easywave: Calling message handler 'onHeartbeat' on 'module' type object.
2023-11-14 13:16:09.056 Eldat Easywave: Acquiring GIL for 'onHeartbeatCallback'
2023-11-14 13:16:19.024 Eldat Easywave: Pushing 'onHeartbeatCallback' on to queue
I reinstalled the PI, then domoticz, then the scripts. SOnst is not on the PI. The stick is connected to the PI via USB. I hope someone can help me. I don`t hab a serproxy.log on my raspberry?
Best regards
AEisenhuth