I have updated Domoticz to version 2023.2 and updated docker to version 24.0.7 and since I have done that I'm getting the following error when I tried to change modes:
Code: Select all
2023-11-23 11:50:04.392 Airco zolder : onCommand called for Unit: 3, Parameter: 'Set Level', Level: '40'
2023-11-23 11:50:04.343 Status: User: Rens (IP: 172.18.0.1) initiated a switch command (655/Airco zolder - Airco Zolder - Operation selector/Set Level)
2023-11-23 11:50:12.872 Airco zolder : Local context:
2023-11-23 11:50:12.872 Airco zolder : ----> 'DATABASE_KEY' 'FujitsuACPlugin'
2023-11-23 11:50:12.872 Airco zolder : ----> 'Devices' '{1: <Domoticz.Device object at 0x7f7e4e550530>, 2: <Domoticz.Device object at 0x7f7e4e5505d0>, 3: <Domoticz.Device object at 0x7f7e4e550670>, 4: <Domoticz.Device object at 0x7f7e4e550710>, 5: <Domoticz.Device object at 0x7f7e4e5507b0>, 6: <Domoticz.Device object at 0x7f7e4e550850>, 7: <Domoticz.Device object at 0x7f7e4e5508f0>, 8: <Domoticz.Device object at 0x7f7e4e550990>}'
2023-11-23 11:50:12.872 Airco zolder : ----> 'Domoticz' '<module 'Domoticz' (built-in)>'
2023-11-23 11:50:12.873 Airco zolder : ----> 'Images' '{}'
2023-11-23 11:50:12.873 Airco zolder : ----> 'Parameters' '{'HardwareID': 44, 'HomeFolder': '/opt/domoticz/userdata/plugins/Domoticz-Fujitsu-AC/', 'StartupFolder': '/opt/domoticz/', 'UserDataFolder': '/opt/domoticz/userdata/', 'WebRoot': '', 'Database': '/opt/domoticz/userdata/domoticz.db', 'Language': 'nl', 'Version': '0.3', 'Author': '593304', 'Name': 'Airco zolder ', 'Address': '', 'Port': '0', 'SerialPort': '', 'Username': '', 'Password': '', 'Key': 'FujitsuACPlugin', 'Mode1': '', 'Mode2': 'eu', 'Mode3': '150', 'Mode4': 'on', 'Mode5': '', 'Mode6': '', 'DomoticzVersion': '2023.2 (build 15664)', 'DomoticzHash': 'd0a0d075e', 'DomoticzBuildTime': '2023-11-22 08:23:35'}'
2023-11-23 11:50:12.873 Airco zolder : ----> 'Settings' '{'DB_Version': '165', 'Title': 'XXX', 'LightHistoryDays': '30', 'MeterDividerEnergy': '1000', 'MeterDividerGas': '100', 'MeterDividerWater': '100', 'RandomTimerFrame': '15', 'ElectricVoltage': '230', 'CM113DisplayType': '1', '5MinuteHistoryDays': '7', 'SensorTimeout': '61', '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', 'NotificationSensorInterval': '43200', 'NotificationSwitchInterval': '0', 'RemoteSharedPort': '6144', 'Language': 'nl', 'DashboardType': '0', 'MobileType': '1', 'WindUnit': '0', 'TempUnit': '0', 'WeightUnit': '0', 'SecStatus': '0', 'SecOnDelay': '30', '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': '10', 'AllowWidgetOrdering': '1', 'ActiveTimerPlan': '0', 'HideDisabledHardwareSensors': '1', 'EnableEventScriptSystem': '1', 'DisableDzVentsSystem': '0', 'DzVentsLogLevel': '3', 'LogEventScriptTrigger': '1', 'WebTheme': 'machinon', 'FloorplanPopupDelay': '750', 'FloorplanFullscreenMode': '0', 'FloorplanAnimateZoom': '1', 'FloorplanShowSensorValues': '1', 'FloorplanShowSwitchValues': '0', 'FloorplanShowSceneNames': '0', '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': '0', 'Location': '51.51979;5.50513', 'ClickatellEnabled': '0', 'ClickatellAPI': '0', 'ClickatellFrom': '0', 'ClickatellPassword': '0', 'ClickatellTo': '0', 'ClickatellUser': '0', 'EmailFrom': '0', 'EmailServer': '0', 'EmailTo': '0', 'EmailPassword': '0', 'EmailUsername': '0', 'GCMEnabled': '0', 'HTTPEnabled': '0', 'HTTPField1': '0', 'HTTPField2': '0', 'HTTPField3': '0', 'HTTPField4': '0', 'HTTPPostData': '0', 'HTTPPostHeaders': '0', 'HTTPTo': '0', 'KodiIPAddress': '192.168.0.194', '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': '749223504:AAHs1vSDI2u6t_kYdLkGFGYm4WQDoNV-DIQ', 'TelegramChat': '816312166', 'TelegramEnabled': '1', 'WebLocalNetworks': '127.0.0.1;192.168.0.188;192.168.0.184;localhost;192.168.0.201;192.168.0.200', 'SecPassword': '', 'ProtectionPassword': '', 'MyDomoticzUserId': '', 'MyDomoticzSubsystems': '0', 'OneWireSensorPollPeriod': '0', 'OneWireSwitchPollPeriod': '0', 'IFTTTAPI': '0', 'MyDomoticzPassword': 'IzNCODhoalF0a0ZSMkI2JmxaWUo=', 'MyDomoticzInstanceId': 'D0F3B744C471464', 'EventSystemLogFullURL': '1', 'InfluxActive': '0', 'InfluxIP': '192.168.0.200', 'InfluxPort': '8086', 'InfluxPath': '0', 'InfluxDatabase': 'Domoticz', 'InfluxUsername': 'Home', 'InfluxPassword': '==', 'InfluxDebug': '1', 'FCMEnabled': '0', 'MaxElectricPower': '6000', 'InfluxVersion2': '1', 'Unique_ID': '735922de-7d10-4707-920d-c930b7e11d29', 'ShortLogAddOnlyNewValues': '0', 'Domoticz_Version': '2023.2 (build 15664)', 'AllowPlainBasicAuth': '1'}'
2023-11-23 11:50:12.873 Airco zolder : ----> '_plugin' '<plugin.FujitsuACPlugin object at 0x7f7e8040c550>'
2023-11-23 11:50:12.873 Airco zolder : ----> 'json' '<module 'json' from '/usr/lib/python3.9/json/__init__.py'>'
2023-11-23 11:50:12.873 Airco zolder : ----> 'splitAC' '<module 'pyfujitseu.splitAC' from '/usr/local/lib/python3.9/dist-packages/pyfujitseu/splitAC.py'>'
2023-11-23 11:50:12.873 Airco zolder : Acquiring GIL for 'onCommandCallback'
2023-11-23 11:50:12.871 Error: Airco zolder : Call to function 'onCommand' failed, exception details:
2023-11-23 11:50:12.872 Error: Airco zolder : Traceback (most recent call last):
2023-11-23 11:50:12.872 Error: Airco zolder : File "/opt/domoticz/userdata/plugins/Domoticz-Fujitsu-AC/plugin.py", line 735, in onCommand
2023-11-23 11:50:12.872 Error: Airco zolder : _plugin.onCommand(Unit, Command, Level, Hue)
2023-11-23 11:50:12.872 Error: Airco zolder : File "/opt/domoticz/userdata/plugins/Domoticz-Fujitsu-AC/plugin.py", line 691, in onCommand
2023-11-23 11:50:12.872 Error: Airco zolder : self.helper.runCommand(Unit, Command, Level)
2023-11-23 11:50:12.872 Error: Airco zolder : File "/opt/domoticz/userdata/plugins/Domoticz-Fujitsu-AC/plugin.py", line 427, in runCommand
2023-11-23 11:50:12.872 Error: Airco zolder : updateValues = self.units[unit]["command"](unit, dsn, command, str(level))
2023-11-23 11:50:12.872 Error: Airco zolder : File "/opt/domoticz/userdata/plugins/Domoticz-Fujitsu-AC/plugin.py", line 477, in operationSelectorSwitch
2023-11-23 11:50:12.872 Error: Airco zolder : ac.changeOperationMode(sValue)
2023-11-23 11:50:12.872 Error: Airco zolder : File "/usr/local/lib/python3.9/dist-packages/pyfujitseu/splitAC.py", line 196, in changeOperationMode
2023-11-23 11:50:12.872 Error: Airco zolder : operationMode = self._operation_mode_translate(operationMode)
2023-11-23 11:50:12.872 Error: Airco zolder : File "/usr/local/lib/python3.9/dist-packages/pyfujitseu/splitAC.py", line 384, in _operation_mode_translate
2023-11-23 11:50:12.872 Error: Airco zolder : return DICT_OPERATION_MODE[operation_mode]
2023-11-23 11:50:12.872 Error: Airco zolder : KeyError: 'Dry'