pyhausbus 1.0.1__py2.py3-none-any.whl → 1.0.2__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyhausbus/ABusFeature.py +22 -22
- pyhausbus/BusDataMessage.py +23 -23
- pyhausbus/BusHandler.py +110 -110
- pyhausbus/HausBusCommand.py +83 -83
- pyhausbus/HausBusDevice.py +70 -70
- pyhausbus/HausBusUtils.py +203 -203
- pyhausbus/HomeServer.py +86 -68
- pyhausbus/IBusDataListener.py +6 -6
- pyhausbus/Main.py +100 -100
- pyhausbus/ObjectId.py +22 -22
- pyhausbus/ResultWorker.py +53 -53
- pyhausbus/Templates.py +135 -0
- pyhausbus/UdpReceiveWorker.py +73 -73
- pyhausbus/WeekTime.py +55 -55
- pyhausbus/de/hausbus/homeassistant/proxy/AnalogEingang.py +139 -0
- pyhausbus/de/hausbus/homeassistant/proxy/Controller.py +357 -342
- pyhausbus/de/hausbus/homeassistant/proxy/Counter.py +65 -65
- pyhausbus/de/hausbus/homeassistant/proxy/CurrentReader.py +133 -121
- pyhausbus/de/hausbus/homeassistant/proxy/DaliLine.py +63 -63
- pyhausbus/de/hausbus/homeassistant/proxy/DigitalPort.py +40 -40
- pyhausbus/de/hausbus/homeassistant/proxy/Dimmer.py +91 -91
- pyhausbus/de/hausbus/homeassistant/proxy/Drucksensor.py +141 -0
- pyhausbus/de/hausbus/homeassistant/proxy/Ethernet.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/Feuchtesensor.py +77 -77
- pyhausbus/de/hausbus/homeassistant/proxy/Gateway.py +108 -97
- pyhausbus/de/hausbus/homeassistant/proxy/Helligkeitssensor.py +77 -77
- pyhausbus/de/hausbus/homeassistant/proxy/IRSensor.py +55 -55
- pyhausbus/de/hausbus/homeassistant/proxy/Led.py +117 -116
- pyhausbus/de/hausbus/homeassistant/proxy/LogicalButton.py +116 -116
- pyhausbus/de/hausbus/homeassistant/proxy/ModBusMaster.py +34 -34
- pyhausbus/de/hausbus/homeassistant/proxy/ModbusSlave.py +13 -13
- pyhausbus/de/hausbus/homeassistant/proxy/PCA9555.py +29 -0
- pyhausbus/de/hausbus/homeassistant/proxy/PCServer.py +67 -67
- pyhausbus/de/hausbus/homeassistant/proxy/PIDController.py +69 -64
- pyhausbus/de/hausbus/homeassistant/proxy/PT1000.py +153 -0
- pyhausbus/de/hausbus/homeassistant/proxy/PowerMeter.py +77 -77
- pyhausbus/de/hausbus/homeassistant/proxy/ProxyFactory.py +86 -12
- pyhausbus/de/hausbus/homeassistant/proxy/RFIDReader.py +78 -78
- pyhausbus/de/hausbus/homeassistant/proxy/RGBDimmer.py +63 -63
- pyhausbus/de/hausbus/homeassistant/proxy/Rollladen.py +110 -110
- pyhausbus/de/hausbus/homeassistant/proxy/Schalter.py +127 -104
- pyhausbus/de/hausbus/homeassistant/proxy/SnmpAgent.py +13 -13
- pyhausbus/de/hausbus/homeassistant/proxy/SystemTime.py +42 -42
- pyhausbus/de/hausbus/homeassistant/proxy/Taster.py +128 -118
- pyhausbus/de/hausbus/homeassistant/proxy/Taupunkt.py +77 -77
- pyhausbus/de/hausbus/homeassistant/proxy/TcpClient.py +38 -38
- pyhausbus/de/hausbus/homeassistant/proxy/Temperatursensor.py +78 -78
- pyhausbus/de/hausbus/homeassistant/proxy/Wetter.py +26 -26
- pyhausbus/de/hausbus/homeassistant/proxy/WiFi.py +60 -60
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/commands/GetConfiguration.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/{gateway/commands/CheckBusTiming.py → analogEingang/commands/GetStatus.py} +8 -8
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/commands/SetConfiguration.py +74 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/commands/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/data/Configuration.py +74 -0
- pyhausbus/de/hausbus/homeassistant/proxy/{gateway/commands/ResetBusTiming.py → analogEingang/data/EvHigh.py} +8 -8
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/data/EvInRange.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/data/EvLow.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/data/EvStatus.py +33 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/data/Status.py +25 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/data/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/params/ELastEvent.py +28 -0
- pyhausbus/de/hausbus/homeassistant/proxy/analogEingang/params/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/EnableFeature.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GenerateRandomDeviceId.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetModuleId.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetRemoteObjects.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetRuleState.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetSystemVariable.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetTime.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetUnitGroupStatus.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetUnusedMemory.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/Ping.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/ReadMemory.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/ReadRules.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/Reset.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/ResetOneWireManager.py +25 -0
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetConfiguration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetDebugOptions.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetRuleState.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetSunTimes.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetSystemVariable.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetTime.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetUnitGroupState.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/TriggerRuleElement.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/WriteMemory.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/WriteRules.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/Configuration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvConsole.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvDay.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvGroupOff.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvGroupOn.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvGroupUndefined.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvNewDeviceId.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvNight.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvResetWifi.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvStarted.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvSystemVariableChanged.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvTime.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvZeroCrossData.py +23 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/MemoryData.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/MemoryStatus.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/ModuleId.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/Pong.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/RemoteObjects.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/RuleState.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/RulesData.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/SystemVariable.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/Time.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/TimeDifference.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/TriggeredRule.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/UnitGroupStatus.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/data/UnusedMemory.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EErrorCode.py +17 -4
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EFeatureId.py +13 -4
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EFirmwareId.py +15 -6
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EIndex.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EReason.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/ESlotType.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EStatus.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EType.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/MLogicalButtonMask.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/controller/params/MOption.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/SetConfiguration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/SetCount.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/counter/data/Configuration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/counter/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/counter/data/EvStatus.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/counter/data/Status.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/counter/params/EErrorCode.py +13 -4
- pyhausbus/de/hausbus/homeassistant/proxy/counter/params/MMode.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/ClearSignalCount.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/DecSignalCount.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/GetCurrent.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/GetPower.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/GetSignalCount.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/IncSignalCount.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/SetConfiguration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/SetSignalCount.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/Configuration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/Current.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvCurrent.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvDebug.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvError.py +26 -0
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvInterrupt.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvSignal.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/Power.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/SignalCount.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/params/EErrorCode.py +27 -0
- pyhausbus/de/hausbus/homeassistant/proxy/currentReader/params/MConfig.py +13 -13
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/AllOff.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/AllOn.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/GetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/SendCommand.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/SetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/data/Configuration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/data/Status.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/daliLine/params/EErrorCode.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/commands/SetConfiguration.py +11 -11
- pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/data/Configuration.py +28 -28
- pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/params/EErrorCode.py +13 -4
- pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/params/EPin.py +13 -4
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/SetBrightness.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/SetConfiguration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/Start.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/Stop.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/Configuration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/EvOff.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/EvOn.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/EvStart.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/Status.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/params/EDirection.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/dimmer/params/EMode.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/commands/GetConfiguration.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/commands/GetStatus.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/commands/SetConfiguration.py +74 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/commands/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/data/Configuration.py +74 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/data/EvHigh.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/data/EvInRange.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/data/EvLow.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/data/EvStatus.py +33 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/data/Status.py +33 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/data/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/params/ELastEvent.py +28 -0
- pyhausbus/de/hausbus/homeassistant/proxy/drucksensor/params/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/GetCurrentIp.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/SetConfiguration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/WakeUpDevice.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/data/Configuration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/data/CurrentIp.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/params/EErrorCode.py +13 -4
- pyhausbus/de/hausbus/homeassistant/proxy/ethernet/params/MOptions.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/commands/SetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/Configuration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvConfortable.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvDry.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvStatus.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvWet.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/Status.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/params/ELastEvent.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/GetConnectedDevices.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/{GetBusTiming.py → GetMinIdleTime.py} +8 -8
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/SetConfiguration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/SetMinIdleTime.py +25 -0
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/SetPreferLoxone.py +26 -0
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/Configuration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/ConnectedDevices.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/EvGatewayLoad.py +38 -17
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/MinIdleTime.py +25 -0
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/params/EValue.py +27 -0
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/params/MOptions.py +65 -65
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/commands/SetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/Configuration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvBright.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvDark.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvLight.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvStatus.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/Status.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/params/ELastEvent.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/commands/Off.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/commands/On.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvClicked.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvHoldEnd.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvHoldStart.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvOff.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvOn.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/led/commands/Blink.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/led/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/led/commands/GetMinBrightness.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/led/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/led/commands/Off.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/led/commands/On.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/led/commands/SetConfiguration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/led/commands/SetMinBrightness.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/led/data/Configuration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvBlink.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvCmdDelay.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvError.py +10 -9
- pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvOff.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvOn.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/led/data/MinBrightness.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/led/data/Status.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/led/params/EErrorCode.py +26 -0
- pyhausbus/de/hausbus/homeassistant/proxy/led/params/MOptions.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/Blink.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/GetMinBrightness.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/Off.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/On.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/SetButtonConfiguration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/SetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/SetLedConfiguration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/SetMinBrightness.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/Configuration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/EvBlink.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/EvOff.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/EvOn.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/Status.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/EStatus.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/MEventMask.py +65 -65
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/MOptionMask.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/MOptions.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/commands/GetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/commands/SetConfiguration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/data/Configuration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/params/ESensorType.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/pCA9555/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pCA9555/data/EvError.py +26 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pCA9555/data/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pCA9555/params/EErrorCode.py +28 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pCA9555/params/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Exec.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Quit.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/ReloadUserPlugin.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Restart.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/SetVariable.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Shutdown.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Standby.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/data/EvOffline.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pCServer/data/EvOnline.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/Enable.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/SetConfiguration.py +18 -10
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/SetTargetValue.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/Configuration.py +18 -10
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/EvOff.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/EvOn.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/params/EEnable.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/params/EErrorCode.py +15 -4
- pyhausbus/de/hausbus/homeassistant/proxy/pIDController/params/MOptions.py +96 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/commands/GetConfiguration.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/commands/GetStatus.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/commands/SetConfiguration.py +74 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/commands/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/data/Configuration.py +74 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/data/EvError.py +26 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/data/EvHigh.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/data/EvInRange.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/data/EvLow.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/data/EvStatus.py +33 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/data/Status.py +33 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/data/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/params/EErrorCode.py +40 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/params/ELastEvent.py +28 -0
- pyhausbus/de/hausbus/homeassistant/proxy/pT1000/params/_init_.py +1 -0
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/commands/SetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/Configuration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvHighPower.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvLowPower.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvMediumPower.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvStatus.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/Status.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/params/ELastEvent.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/GetLastData.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/GetState.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/SetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/Configuration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/EvConnected.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/EvData.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/LastData.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/State.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/params/EErrorCode.py +13 -4
- pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/params/EState.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/SetColor.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/SetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/Configuration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/EvOff.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/EvOn.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/Status.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/MoveToPosition.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/SetConfiguration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/SetPosition.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/Start.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/Stop.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/Configuration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvClosed.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvNewMainState.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvNewSubState.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvOpen.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvStart.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/Status.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/EDirection.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/ENewState.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/MOptions.py +65 -65
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/Off.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/On.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/SetConfiguration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/Toggle.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/ToggleByDuty.py +32 -0
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/Configuration.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvCmdDelay.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvDisabled.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvOff.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvOn.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvToggle.py +31 -7
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/Status.py +26 -12
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/params/EState.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/schalter/params/MOptions.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/systemTime/commands/GetTime.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/systemTime/commands/SetTime.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/systemTime/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/systemTime/data/Time.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/EDate.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/EErrorCode.py +13 -4
- pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/EMonth.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/EWeekDay.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/EnableEvents.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/GetEnabled.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/SetConfiguration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/TriggerStatusEvent.py +15 -0
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/Configuration.py +10 -10
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/Enabled.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvClicked.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvCovered.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvDoubleClick.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvEnabled.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvError.py +10 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvFree.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvHoldEnd.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvHoldStart.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/data/Status.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taster/params/EEnable.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/taster/params/EErrorCode.py +27 -0
- pyhausbus/de/hausbus/homeassistant/proxy/taster/params/EState.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/taster/params/MEventMask.py +65 -65
- pyhausbus/de/hausbus/homeassistant/proxy/taster/params/MOptionMask.py +61 -61
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/commands/SetConfiguration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/Configuration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvAbove.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvInRange.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvLow.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvStatus.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/Status.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/params/ELastEvent.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/commands/AnnounceServer.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/commands/GetCurrentIp.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/data/CurrentIp.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/data/EvWhoIsServer.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/commands/GetStatus.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/commands/SetConfiguration.py +8 -8
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/Configuration.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvCold.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvHot.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvStatus.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvWarm.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/Status.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/params/EErrorCode.py +14 -4
- pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/params/ELastEvent.py +12 -4
- pyhausbus/de/hausbus/homeassistant/proxy/wetter/commands/GetWeather.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/wetter/data/Weather.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/GetConfiguration.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/GetCurrentIp.py +6 -6
- pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/SetConfiguration.py +8 -8
- pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/WakeUpDevice.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/wiFi/data/Configuration.py +8 -8
- pyhausbus/de/hausbus/homeassistant/proxy/wiFi/data/CurrentIp.py +7 -7
- pyhausbus/de/hausbus/homeassistant/proxy/wiFi/data/EvError.py +9 -9
- pyhausbus/de/hausbus/homeassistant/proxy/wiFi/params/EErrorCode.py +14 -4
- pyhausbus/templates/AR8_30_8-fach-Relaismodul.tpl +18 -0
- pyhausbus/templates/ESP32C3_69_WLAN-Steckdose.tpl +5 -0
- pyhausbus/templates/ESP32_00_4-fach-0-10V-Dimmer.tpl +14 -0
- pyhausbus/templates/ESP32_01_4-fach-1-10V-Dimmer.tpl +10 -0
- pyhausbus/templates/ESP32_04_4-fach-Relaismodul.tpl +12 -0
- pyhausbus/templates/ESP32_08_8-fach-Relaismodul.tpl +18 -0
- pyhausbus/templates/ESP32_0A_12-fach-Relaismodul.tpl +22 -0
- pyhausbus/templates/ESP32_0C_16-fach-Relaismodul.tpl +26 -0
- pyhausbus/templates/ESP32_0D_8-fach-Motormodul.tpl +18 -0
- pyhausbus/templates/ESP32_10_22-fach-UP-IO.tpl +29 -0
- pyhausbus/templates/ESP32_18_6-fach-Taster.tpl +33 -0
- pyhausbus/templates/ESP32_19_4-fach-Taster.tpl +29 -0
- pyhausbus/templates/ESP32_1A_2-fach-Taster.tpl +25 -0
- pyhausbus/templates/ESP32_1B_1-fach-Taster.tpl +23 -0
- pyhausbus/templates/ESP32_1C_6-fach-Taster.tpl +29 -0
- pyhausbus/templates/ESP32_20_32-fach-IO.tpl +39 -0
- pyhausbus/templates/ESP32_28_8-fach-Dimmer.tpl +18 -0
- pyhausbus/templates/ESP32_30_2-fach-RGB-Dimmer.tpl +17 -0
- pyhausbus/templates/ESP32_31_2-fach-RGB-Dimmer.tpl +17 -0
- pyhausbus/templates/ESP32_65_LAN-RS485-Brueckenmodul.tpl +1 -0
- pyhausbus/templates/ESP32_99_LocalBroadcastDevice.tpl +1 -0
- pyhausbus/templates/FckmMapping.def +1 -0
- pyhausbus/templates/HBC_00_4-fach-0-10V-Dimmer.tpl +10 -0
- pyhausbus/templates/HBC_01_4-fach-1-10V-Dimmer.tpl +10 -0
- pyhausbus/templates/HBC_08_8-fach-Relaismodul.tpl +18 -0
- pyhausbus/templates/HBC_0C_16-fach-Relaismodul.tpl +26 -0
- pyhausbus/templates/HBC_10_24-fach-UP-IO.tpl +31 -0
- pyhausbus/templates/HBC_18_6-fach-Taster.tpl +34 -0
- pyhausbus/templates/HBC_19_4-fach-Taster.tpl +28 -0
- pyhausbus/templates/HBC_1A_2-fach-Taster.tpl +24 -0
- pyhausbus/templates/HBC_1B_1-fach-Taster.tpl +22 -0
- pyhausbus/templates/HBC_1C_6-fach-Taster.tpl +33 -0
- pyhausbus/templates/HBC_1D_4-fach-Taster.tpl +29 -0
- pyhausbus/templates/HBC_1E_2-fach-Taster.tpl +29 -0
- pyhausbus/templates/HBC_1F_1-fach-Taster.tpl +27 -0
- pyhausbus/templates/HBC_20_32-fach-IO.tpl +39 -0
- pyhausbus/templates/HBC_29_8-fach-Dimmer.tpl +18 -0
- pyhausbus/templates/HBC_30_2-fach-RGB-Dimmer.tpl +17 -0
- pyhausbus/templates/LoxoneHausBusMapping.txt +80 -0
- pyhausbus/templates/LoxoneModuleMapping.txt +11 -0
- pyhausbus/templates/SD485_1E_6-fach-Taster.tpl +30 -0
- pyhausbus/templates/SD485_28_24-fach-UP-IO.tpl +31 -0
- pyhausbus/templates/SD485_29_1-fach-Taster.tpl +24 -0
- pyhausbus/templates/SD485_2A_2-fach-Taster.tpl +26 -0
- pyhausbus/templates/SD485_2C_4-fach-Taster.tpl +26 -0
- pyhausbus/templates/SD485_2E_6-fach-Taster.tpl +30 -0
- pyhausbus/templates/SD485_2F_6-fach-Taster.tpl +30 -0
- pyhausbus/templates/SD6_14_Multitaster.tpl +26 -0
- pyhausbus/templates/SD6_1E_Multitaster.tpl +26 -0
- pyhausbus/templates/classMapping.def +9 -0
- pyhausbus/templates/deviceTypes.def +47 -0
- {pyhausbus-1.0.1.dist-info → pyhausbus-1.0.2.dist-info}/LICENSE +21 -21
- {pyhausbus-1.0.1.dist-info → pyhausbus-1.0.2.dist-info}/METADATA +2 -1
- pyhausbus-1.0.2.dist-info/RECORD +640 -0
- {pyhausbus-1.0.1.dist-info → pyhausbus-1.0.2.dist-info}/WHEEL +1 -1
- pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/BusTiming.py +0 -25
- pyhausbus-1.0.1.dist-info/RECORD +0 -526
@@ -1,61 +1,61 @@
|
|
1
|
-
|
2
|
-
from pyhausbus.HausBusCommand import HausBusCommand
|
3
|
-
from pyhausbus.ABusFeature import *
|
4
|
-
from pyhausbus.ResultWorker import ResultWorker
|
5
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
6
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.ModuleId import ModuleId
|
7
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EIndex import EIndex
|
8
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.Configuration import Configuration
|
9
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EFirmwareId import EFirmwareId
|
10
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.MLogicalButtonMask import MLogicalButtonMask
|
11
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.ESlotType import ESlotType
|
12
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.RemoteObjects import RemoteObjects
|
13
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.UnusedMemory import UnusedMemory
|
14
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.MemoryData import MemoryData
|
15
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.MemoryStatus import MemoryStatus
|
16
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.Pong import Pong
|
17
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EStatus import EStatus
|
18
|
-
from pyhausbus.WeekTime import WeekTime
|
19
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EReason import EReason
|
20
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EErrorCode import EErrorCode
|
21
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.Time import Time
|
22
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.RuleState import RuleState
|
23
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.MOption import MOption
|
24
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EType import EType
|
25
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.SystemVariable import SystemVariable
|
26
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.UnitGroupStatus import UnitGroupStatus
|
27
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EFeatureId import EFeatureId
|
28
|
-
|
29
|
-
class Controller(ABusFeature):
|
30
|
-
CLASS_ID:int = 0
|
31
|
-
|
32
|
-
def __init__ (self,objectId:int):
|
33
|
-
super().__init__(objectId)
|
34
|
-
|
1
|
+
import logging
|
2
|
+
from pyhausbus.HausBusCommand import HausBusCommand
|
3
|
+
from pyhausbus.ABusFeature import *
|
4
|
+
from pyhausbus.ResultWorker import ResultWorker
|
5
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
6
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.ModuleId import ModuleId
|
7
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EIndex import EIndex
|
8
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.Configuration import Configuration
|
9
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EFirmwareId import EFirmwareId
|
10
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.MLogicalButtonMask import MLogicalButtonMask
|
11
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.ESlotType import ESlotType
|
12
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.RemoteObjects import RemoteObjects
|
13
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.UnusedMemory import UnusedMemory
|
14
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.MemoryData import MemoryData
|
15
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.MemoryStatus import MemoryStatus
|
16
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.Pong import Pong
|
17
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EStatus import EStatus
|
18
|
+
from pyhausbus.WeekTime import WeekTime
|
19
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EReason import EReason
|
20
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EErrorCode import EErrorCode
|
21
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.Time import Time
|
22
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.RuleState import RuleState
|
23
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.MOption import MOption
|
24
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EType import EType
|
25
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.SystemVariable import SystemVariable
|
26
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.UnitGroupStatus import UnitGroupStatus
|
27
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EFeatureId import EFeatureId
|
28
|
+
|
29
|
+
class Controller(ABusFeature):
|
30
|
+
CLASS_ID:int = 0
|
31
|
+
|
32
|
+
def __init__ (self,objectId:int):
|
33
|
+
super().__init__(objectId)
|
34
|
+
|
35
35
|
@staticmethod
|
36
36
|
def create(deviceId:int, instanceId:int):
|
37
|
-
return Controller(HausBusUtils.getObjectId(deviceId, 0, instanceId))
|
38
|
-
|
37
|
+
return Controller(HausBusUtils.getObjectId(deviceId, 0, instanceId))
|
38
|
+
|
39
39
|
"""
|
40
40
|
@param index .
|
41
41
|
"""
|
42
|
-
def getModuleId(self, index:EIndex):
|
43
|
-
|
44
|
-
hbCommand = HausBusCommand(self.objectId, 2, "getModuleId")
|
42
|
+
def getModuleId(self, index:EIndex):
|
43
|
+
logging.info("getModuleId"+" index = "+str(index))
|
44
|
+
hbCommand = HausBusCommand(self.objectId, 2, "getModuleId")
|
45
45
|
hbCommand.addByte(index.value)
|
46
46
|
ResultWorker()._setResultInfo(ModuleId,self.getObjectId())
|
47
|
-
hbCommand.send()
|
48
|
-
|
49
|
-
|
47
|
+
hbCommand.send()
|
48
|
+
logging.info("returns")
|
49
|
+
|
50
50
|
"""
|
51
51
|
"""
|
52
|
-
def getConfiguration(self):
|
53
|
-
|
54
|
-
hbCommand = HausBusCommand(self.objectId, 5, "getConfiguration")
|
52
|
+
def getConfiguration(self):
|
53
|
+
logging.info("getConfiguration")
|
54
|
+
hbCommand = HausBusCommand(self.objectId, 5, "getConfiguration")
|
55
55
|
ResultWorker()._setResultInfo(Configuration,self.getObjectId())
|
56
|
-
hbCommand.send()
|
57
|
-
|
58
|
-
|
56
|
+
hbCommand.send()
|
57
|
+
logging.info("returns")
|
58
|
+
|
59
59
|
"""
|
60
60
|
@param name Modulname.
|
61
61
|
@param size Modulgroesse in Bytes.
|
@@ -63,18 +63,18 @@ class Controller(ABusFeature):
|
|
63
63
|
@param minorRelease Release-Kennung Format major.minor.
|
64
64
|
@param firmwareId Firmware-Kennung.
|
65
65
|
"""
|
66
|
-
def ModuleId(self, name:str, size:int, majorRelease:int, minorRelease:int, firmwareId:EFirmwareId):
|
67
|
-
|
68
|
-
hbCommand = HausBusCommand(self.objectId, 128, "ModuleId")
|
66
|
+
def ModuleId(self, name:str, size:int, majorRelease:int, minorRelease:int, firmwareId:EFirmwareId):
|
67
|
+
logging.info("ModuleId"+" name = "+str(name)+" size = "+str(size)+" majorRelease = "+str(majorRelease)+" minorRelease = "+str(minorRelease)+" firmwareId = "+str(firmwareId))
|
68
|
+
hbCommand = HausBusCommand(self.objectId, 128, "ModuleId")
|
69
69
|
hbCommand.addString(name)
|
70
70
|
hbCommand.addDWord(size)
|
71
71
|
hbCommand.addByte(majorRelease)
|
72
72
|
hbCommand.addByte(minorRelease)
|
73
73
|
hbCommand.addByte(firmwareId.value)
|
74
74
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
75
|
-
hbCommand.send()
|
76
|
-
|
77
|
-
|
75
|
+
hbCommand.send()
|
76
|
+
logging.info("returns")
|
77
|
+
|
78
78
|
"""
|
79
79
|
@param startupDelay a 250ms.
|
80
80
|
@param logicalButtonMask jedes Bit enspricht einem logischem Taster.
|
@@ -93,9 +93,9 @@ class Controller(ABusFeature):
|
|
93
93
|
@param dataBlockSize maximale Groesse des Datenblocks in einer Nachricht.
|
94
94
|
@param FCKE ControllerBoard Version Bsp. 30 = v3.0.
|
95
95
|
"""
|
96
|
-
def Configuration(self, startupDelay:int, logicalButtonMask:MLogicalButtonMask, deviceId:int, reportMemoryStatusTime:int, slotType0:ESlotType, slotType1:ESlotType, slotType2:ESlotType, slotType3:ESlotType, slotType4:ESlotType, slotType5:ESlotType, slotType6:ESlotType, slotType7:ESlotType, timeCorrection:int, reserve:int, dataBlockSize:int, FCKE:int):
|
97
|
-
|
98
|
-
hbCommand = HausBusCommand(self.objectId, 131, "Configuration")
|
96
|
+
def Configuration(self, startupDelay:int, logicalButtonMask:MLogicalButtonMask, deviceId:int, reportMemoryStatusTime:int, slotType0:ESlotType, slotType1:ESlotType, slotType2:ESlotType, slotType3:ESlotType, slotType4:ESlotType, slotType5:ESlotType, slotType6:ESlotType, slotType7:ESlotType, timeCorrection:int, reserve:int, dataBlockSize:int, FCKE:int):
|
97
|
+
logging.info("Configuration"+" startupDelay = "+str(startupDelay)+" logicalButtonMask = "+str(logicalButtonMask)+" deviceId = "+str(deviceId)+" reportMemoryStatusTime = "+str(reportMemoryStatusTime)+" slotType0 = "+str(slotType0)+" slotType1 = "+str(slotType1)+" slotType2 = "+str(slotType2)+" slotType3 = "+str(slotType3)+" slotType4 = "+str(slotType4)+" slotType5 = "+str(slotType5)+" slotType6 = "+str(slotType6)+" slotType7 = "+str(slotType7)+" timeCorrection = "+str(timeCorrection)+" reserve = "+str(reserve)+" dataBlockSize = "+str(dataBlockSize)+" FCKE = "+str(FCKE))
|
98
|
+
hbCommand = HausBusCommand(self.objectId, 131, "Configuration")
|
99
99
|
hbCommand.addByte(startupDelay)
|
100
100
|
hbCommand.addByte(logicalButtonMask.getValue())
|
101
101
|
hbCommand.addWord(deviceId)
|
@@ -113,56 +113,56 @@ class Controller(ABusFeature):
|
|
113
113
|
hbCommand.addWord(dataBlockSize)
|
114
114
|
hbCommand.addByte(FCKE)
|
115
115
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
116
|
-
hbCommand.send()
|
117
|
-
|
118
|
-
|
116
|
+
hbCommand.send()
|
117
|
+
logging.info("returns")
|
118
|
+
|
119
119
|
"""
|
120
120
|
"""
|
121
|
-
def getRemoteObjects(self):
|
122
|
-
|
123
|
-
hbCommand = HausBusCommand(self.objectId, 3, "getRemoteObjects")
|
121
|
+
def getRemoteObjects(self):
|
122
|
+
logging.info("getRemoteObjects")
|
123
|
+
hbCommand = HausBusCommand(self.objectId, 3, "getRemoteObjects")
|
124
124
|
ResultWorker()._setResultInfo(RemoteObjects,self.getObjectId())
|
125
|
-
hbCommand.send()
|
126
|
-
|
127
|
-
|
125
|
+
hbCommand.send()
|
126
|
+
logging.info("returns")
|
127
|
+
|
128
128
|
"""
|
129
129
|
@param objectList Eine Liste der Verfuegbaren Objekte im Geraete.
|
130
130
|
"""
|
131
|
-
def RemoteObjects(self, objectList):
|
132
|
-
|
133
|
-
hbCommand = HausBusCommand(self.objectId, 129, "RemoteObjects")
|
131
|
+
def RemoteObjects(self, objectList):
|
132
|
+
logging.info("RemoteObjects"+" objectList = "+str(objectList))
|
133
|
+
hbCommand = HausBusCommand(self.objectId, 129, "RemoteObjects")
|
134
134
|
hbCommand.addMap(objectList)
|
135
135
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
136
|
-
hbCommand.send()
|
137
|
-
|
138
|
-
|
136
|
+
hbCommand.send()
|
137
|
+
logging.info("returns")
|
138
|
+
|
139
139
|
"""
|
140
140
|
"""
|
141
|
-
def generateRandomDeviceId(self):
|
142
|
-
|
143
|
-
hbCommand = HausBusCommand(self.objectId, 0, "generateRandomDeviceId")
|
141
|
+
def generateRandomDeviceId(self):
|
142
|
+
logging.info("generateRandomDeviceId")
|
143
|
+
hbCommand = HausBusCommand(self.objectId, 0, "generateRandomDeviceId")
|
144
144
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
145
|
-
hbCommand.send()
|
146
|
-
|
147
|
-
|
145
|
+
hbCommand.send()
|
146
|
+
logging.info("returns")
|
147
|
+
|
148
148
|
"""
|
149
149
|
"""
|
150
|
-
def reset(self):
|
151
|
-
|
152
|
-
hbCommand = HausBusCommand(self.objectId, 1, "reset")
|
150
|
+
def reset(self):
|
151
|
+
logging.info("reset")
|
152
|
+
hbCommand = HausBusCommand(self.objectId, 1, "reset")
|
153
153
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
154
|
-
hbCommand.send()
|
155
|
-
|
156
|
-
|
154
|
+
hbCommand.send()
|
155
|
+
logging.info("returns")
|
156
|
+
|
157
157
|
"""
|
158
158
|
"""
|
159
|
-
def getUnusedMemory(self):
|
160
|
-
|
161
|
-
hbCommand = HausBusCommand(self.objectId, 4, "getUnusedMemory")
|
159
|
+
def getUnusedMemory(self):
|
160
|
+
logging.info("getUnusedMemory")
|
161
|
+
hbCommand = HausBusCommand(self.objectId, 4, "getUnusedMemory")
|
162
162
|
ResultWorker()._setResultInfo(UnusedMemory,self.getObjectId())
|
163
|
-
hbCommand.send()
|
164
|
-
|
165
|
-
|
163
|
+
hbCommand.send()
|
164
|
+
logging.info("returns")
|
165
|
+
|
166
166
|
"""
|
167
167
|
@param startupDelay a 10ms.
|
168
168
|
@param logicalButtonMask jedes Bit enspricht einem logischem Taster.
|
@@ -177,9 +177,9 @@ class Controller(ABusFeature):
|
|
177
177
|
@param slotType6 .
|
178
178
|
@param slotType7 .
|
179
179
|
"""
|
180
|
-
def setConfiguration(self, startupDelay:int, logicalButtonMask:MLogicalButtonMask, deviceId:int, reportMemoryStatusTime:int, slotType0:ESlotType, slotType1:ESlotType, slotType2:ESlotType, slotType3:ESlotType, slotType4:ESlotType, slotType5:ESlotType, slotType6:ESlotType, slotType7:ESlotType):
|
181
|
-
|
182
|
-
hbCommand = HausBusCommand(self.objectId, 6, "setConfiguration")
|
180
|
+
def setConfiguration(self, startupDelay:int, logicalButtonMask:MLogicalButtonMask, deviceId:int, reportMemoryStatusTime:int, slotType0:ESlotType, slotType1:ESlotType, slotType2:ESlotType, slotType3:ESlotType, slotType4:ESlotType, slotType5:ESlotType, slotType6:ESlotType, slotType7:ESlotType):
|
181
|
+
logging.info("setConfiguration"+" startupDelay = "+str(startupDelay)+" logicalButtonMask = "+str(logicalButtonMask)+" deviceId = "+str(deviceId)+" reportMemoryStatusTime = "+str(reportMemoryStatusTime)+" slotType0 = "+str(slotType0)+" slotType1 = "+str(slotType1)+" slotType2 = "+str(slotType2)+" slotType3 = "+str(slotType3)+" slotType4 = "+str(slotType4)+" slotType5 = "+str(slotType5)+" slotType6 = "+str(slotType6)+" slotType7 = "+str(slotType7))
|
182
|
+
hbCommand = HausBusCommand(self.objectId, 6, "setConfiguration")
|
183
183
|
hbCommand.addByte(startupDelay)
|
184
184
|
hbCommand.addByte(logicalButtonMask.getValue())
|
185
185
|
hbCommand.addWord(deviceId)
|
@@ -193,472 +193,474 @@ class Controller(ABusFeature):
|
|
193
193
|
hbCommand.addByte(slotType6.value)
|
194
194
|
hbCommand.addByte(slotType7.value)
|
195
195
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
196
|
-
hbCommand.send()
|
197
|
-
|
198
|
-
|
196
|
+
hbCommand.send()
|
197
|
+
logging.info("returns")
|
198
|
+
|
199
199
|
"""
|
200
200
|
@param freeStack Anzahl des nicht genutzten Stacks in Bytes..
|
201
201
|
@param freeHeap Aktuell freier Heap in Bytes..
|
202
202
|
"""
|
203
|
-
def UnusedMemory(self, freeStack:int, freeHeap:int):
|
204
|
-
|
205
|
-
hbCommand = HausBusCommand(self.objectId, 130, "UnusedMemory")
|
203
|
+
def UnusedMemory(self, freeStack:int, freeHeap:int):
|
204
|
+
logging.info("UnusedMemory"+" freeStack = "+str(freeStack)+" freeHeap = "+str(freeHeap))
|
205
|
+
hbCommand = HausBusCommand(self.objectId, 130, "UnusedMemory")
|
206
206
|
hbCommand.addWord(freeStack)
|
207
207
|
hbCommand.addWord(freeHeap)
|
208
208
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
209
|
-
hbCommand.send()
|
210
|
-
|
211
|
-
|
209
|
+
hbCommand.send()
|
210
|
+
logging.info("returns")
|
211
|
+
|
212
212
|
"""
|
213
213
|
@param address .
|
214
214
|
@param length .
|
215
215
|
"""
|
216
|
-
def readMemory(self, address:int, length:int):
|
217
|
-
|
218
|
-
hbCommand = HausBusCommand(self.objectId, 7, "readMemory")
|
216
|
+
def readMemory(self, address:int, length:int):
|
217
|
+
logging.info("readMemory"+" address = "+str(address)+" length = "+str(length))
|
218
|
+
hbCommand = HausBusCommand(self.objectId, 7, "readMemory")
|
219
219
|
hbCommand.addDWord(address)
|
220
220
|
hbCommand.addWord(length)
|
221
221
|
ResultWorker()._setResultInfo(MemoryData,self.getObjectId())
|
222
|
-
hbCommand.send()
|
223
|
-
|
224
|
-
|
222
|
+
hbCommand.send()
|
223
|
+
logging.info("returns")
|
224
|
+
|
225
225
|
"""
|
226
226
|
@param address .
|
227
227
|
@param data .
|
228
228
|
"""
|
229
|
-
def writeMemory(self, address:int, data:bytearray):
|
230
|
-
|
231
|
-
hbCommand = HausBusCommand(self.objectId, 8, "writeMemory")
|
229
|
+
def writeMemory(self, address:int, data:bytearray):
|
230
|
+
logging.info("writeMemory"+" address = "+str(address)+" data = "+str(data))
|
231
|
+
hbCommand = HausBusCommand(self.objectId, 8, "writeMemory")
|
232
232
|
hbCommand.addDWord(address)
|
233
233
|
hbCommand.addBlob(data)
|
234
234
|
ResultWorker()._setResultInfo(MemoryStatus,self.getObjectId())
|
235
|
-
hbCommand.send()
|
236
|
-
|
237
|
-
|
235
|
+
hbCommand.send()
|
236
|
+
logging.info("returns")
|
237
|
+
|
238
238
|
"""
|
239
239
|
"""
|
240
|
-
def ping(self):
|
241
|
-
|
242
|
-
hbCommand = HausBusCommand(self.objectId, 127, "ping")
|
240
|
+
def ping(self):
|
241
|
+
logging.info("ping")
|
242
|
+
hbCommand = HausBusCommand(self.objectId, 127, "ping")
|
243
243
|
ResultWorker()._setResultInfo(Pong,self.getObjectId())
|
244
|
-
hbCommand.send()
|
245
|
-
|
246
|
-
|
244
|
+
hbCommand.send()
|
245
|
+
logging.info("returns")
|
246
|
+
|
247
247
|
"""
|
248
248
|
"""
|
249
|
-
def pong(self):
|
250
|
-
|
251
|
-
hbCommand = HausBusCommand(self.objectId, 199, "pong")
|
249
|
+
def pong(self):
|
250
|
+
logging.info("pong")
|
251
|
+
hbCommand = HausBusCommand(self.objectId, 199, "pong")
|
252
252
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
253
|
-
hbCommand.send()
|
254
|
-
|
255
|
-
|
253
|
+
hbCommand.send()
|
254
|
+
logging.info("returns")
|
255
|
+
|
256
256
|
"""
|
257
257
|
@param address Adresse des gemeldeten Speicherinhaltes.
|
258
258
|
@param data Daten....
|
259
259
|
"""
|
260
|
-
def MemoryData(self, address:int, data:bytearray):
|
261
|
-
|
262
|
-
hbCommand = HausBusCommand(self.objectId, 132, "MemoryData")
|
260
|
+
def MemoryData(self, address:int, data:bytearray):
|
261
|
+
logging.info("MemoryData"+" address = "+str(address)+" data = "+str(data))
|
262
|
+
hbCommand = HausBusCommand(self.objectId, 132, "MemoryData")
|
263
263
|
hbCommand.addDWord(address)
|
264
264
|
hbCommand.addBlob(data)
|
265
265
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
266
|
-
hbCommand.send()
|
267
|
-
|
268
|
-
|
266
|
+
hbCommand.send()
|
267
|
+
logging.info("returns")
|
268
|
+
|
269
269
|
"""
|
270
270
|
@param status Status des letzten Speicherzugriffs.
|
271
271
|
@param address Speicheradresse zu dem dieser Status gesendet wird..
|
272
272
|
"""
|
273
|
-
def MemoryStatus(self, status:EStatus, address:int):
|
274
|
-
|
275
|
-
hbCommand = HausBusCommand(self.objectId, 133, "MemoryStatus")
|
273
|
+
def MemoryStatus(self, status:EStatus, address:int):
|
274
|
+
logging.info("MemoryStatus"+" status = "+str(status)+" address = "+str(address))
|
275
|
+
hbCommand = HausBusCommand(self.objectId, 133, "MemoryStatus")
|
276
276
|
hbCommand.addByte(status.value)
|
277
277
|
hbCommand.addDWord(address)
|
278
278
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
279
|
-
hbCommand.send()
|
280
|
-
|
281
|
-
|
279
|
+
hbCommand.send()
|
280
|
+
logging.info("returns")
|
281
|
+
|
282
282
|
"""
|
283
283
|
@param offset aktueller Offset im Gesamtregelblock.
|
284
284
|
@param data .
|
285
285
|
"""
|
286
|
-
def writeRules(self, offset:int, data:bytearray):
|
287
|
-
|
288
|
-
hbCommand = HausBusCommand(self.objectId, 9, "writeRules")
|
286
|
+
def writeRules(self, offset:int, data:bytearray):
|
287
|
+
logging.info("writeRules"+" offset = "+str(offset)+" data = "+str(data))
|
288
|
+
hbCommand = HausBusCommand(self.objectId, 9, "writeRules")
|
289
289
|
hbCommand.addWord(offset)
|
290
290
|
hbCommand.addBlob(data)
|
291
291
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
292
|
-
hbCommand.send()
|
293
|
-
|
294
|
-
|
292
|
+
hbCommand.send()
|
293
|
+
logging.info("returns")
|
294
|
+
|
295
295
|
"""
|
296
296
|
@param offset Offset im Gesamtregelblock.
|
297
297
|
@param length Datenlaenge.
|
298
298
|
"""
|
299
|
-
def readRules(self, offset:int, length:int):
|
300
|
-
|
301
|
-
hbCommand = HausBusCommand(self.objectId, 10, "readRules")
|
299
|
+
def readRules(self, offset:int, length:int):
|
300
|
+
logging.info("readRules"+" offset = "+str(offset)+" length = "+str(length))
|
301
|
+
hbCommand = HausBusCommand(self.objectId, 10, "readRules")
|
302
302
|
hbCommand.addWord(offset)
|
303
303
|
hbCommand.addWord(length)
|
304
304
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
305
|
-
hbCommand.send()
|
306
|
-
|
307
|
-
|
305
|
+
hbCommand.send()
|
306
|
+
logging.info("returns")
|
307
|
+
|
308
308
|
"""
|
309
309
|
@param offset offset im Gesamtregelblock.
|
310
310
|
@param data .
|
311
311
|
"""
|
312
|
-
def RulesData(self, offset:int, data:bytearray):
|
313
|
-
|
314
|
-
hbCommand = HausBusCommand(self.objectId, 134, "RulesData")
|
312
|
+
def RulesData(self, offset:int, data:bytearray):
|
313
|
+
logging.info("RulesData"+" offset = "+str(offset)+" data = "+str(data))
|
314
|
+
hbCommand = HausBusCommand(self.objectId, 134, "RulesData")
|
315
315
|
hbCommand.addWord(offset)
|
316
316
|
hbCommand.addBlob(data)
|
317
317
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
318
|
-
hbCommand.send()
|
319
|
-
|
320
|
-
|
318
|
+
hbCommand.send()
|
319
|
+
logging.info("returns")
|
320
|
+
|
321
321
|
"""
|
322
322
|
@param weektime .
|
323
323
|
"""
|
324
324
|
def evTime(self, weektime:WeekTime=None
|
325
|
-
):
|
326
|
-
|
327
|
-
hbCommand = HausBusCommand(self.objectId, 200, "evTime")
|
325
|
+
):
|
326
|
+
logging.info("evTime"+" weektime = "+str(weektime))
|
327
|
+
hbCommand = HausBusCommand(self.objectId, 200, "evTime")
|
328
328
|
hbCommand.addWord(weektime.getValue())
|
329
329
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
330
|
-
hbCommand.send()
|
331
|
-
|
332
|
-
|
330
|
+
hbCommand.send()
|
331
|
+
logging.info("returns")
|
332
|
+
|
333
333
|
"""
|
334
334
|
@param deviceId neue ID.
|
335
335
|
"""
|
336
|
-
def evNewDeviceId(self, deviceId:int):
|
337
|
-
|
338
|
-
hbCommand = HausBusCommand(self.objectId, 201, "evNewDeviceId")
|
336
|
+
def evNewDeviceId(self, deviceId:int):
|
337
|
+
logging.info("evNewDeviceId"+" deviceId = "+str(deviceId))
|
338
|
+
hbCommand = HausBusCommand(self.objectId, 201, "evNewDeviceId")
|
339
339
|
hbCommand.addWord(deviceId)
|
340
340
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
341
|
-
hbCommand.send()
|
342
|
-
|
343
|
-
|
341
|
+
hbCommand.send()
|
342
|
+
logging.info("returns")
|
343
|
+
|
344
344
|
"""
|
345
345
|
@param reason Grund fuer dieses Event.
|
346
346
|
"""
|
347
|
-
def evStarted(self, reason:EReason):
|
348
|
-
|
349
|
-
hbCommand = HausBusCommand(self.objectId, 202, "evStarted")
|
347
|
+
def evStarted(self, reason:EReason):
|
348
|
+
logging.info("evStarted"+" reason = "+str(reason))
|
349
|
+
hbCommand = HausBusCommand(self.objectId, 202, "evStarted")
|
350
350
|
hbCommand.addByte(reason.value)
|
351
351
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
352
|
-
hbCommand.send()
|
353
|
-
|
354
|
-
|
352
|
+
hbCommand.send()
|
353
|
+
logging.info("returns")
|
354
|
+
|
355
355
|
"""
|
356
356
|
@param errorCode .
|
357
357
|
"""
|
358
|
-
def evError(self, errorCode:EErrorCode):
|
359
|
-
|
360
|
-
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
358
|
+
def evError(self, errorCode:EErrorCode):
|
359
|
+
logging.info("evError"+" errorCode = "+str(errorCode))
|
360
|
+
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
361
361
|
hbCommand.addByte(errorCode.value)
|
362
362
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
363
|
-
hbCommand.send()
|
364
|
-
|
365
|
-
|
363
|
+
hbCommand.send()
|
364
|
+
logging.info("returns")
|
365
|
+
|
366
366
|
"""
|
367
367
|
"""
|
368
|
-
def getTime(self):
|
369
|
-
|
370
|
-
hbCommand = HausBusCommand(self.objectId, 126, "getTime")
|
368
|
+
def getTime(self):
|
369
|
+
logging.info("getTime")
|
370
|
+
hbCommand = HausBusCommand(self.objectId, 126, "getTime")
|
371
371
|
ResultWorker()._setResultInfo(Time,self.getObjectId())
|
372
|
-
hbCommand.send()
|
373
|
-
|
374
|
-
|
372
|
+
hbCommand.send()
|
373
|
+
logging.info("returns")
|
374
|
+
|
375
375
|
"""
|
376
376
|
@param weekTime .
|
377
377
|
"""
|
378
378
|
def setTime(self, weekTime:WeekTime=None
|
379
|
-
):
|
380
|
-
|
381
|
-
hbCommand = HausBusCommand(self.objectId, 125, "setTime")
|
379
|
+
):
|
380
|
+
logging.info("setTime"+" weekTime = "+str(weekTime))
|
381
|
+
hbCommand = HausBusCommand(self.objectId, 125, "setTime")
|
382
382
|
hbCommand.addWord(weekTime.getValue())
|
383
383
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
384
|
-
hbCommand.send()
|
385
|
-
|
386
|
-
|
384
|
+
hbCommand.send()
|
385
|
+
logging.info("returns")
|
386
|
+
|
387
387
|
"""
|
388
388
|
@param weekTime .
|
389
389
|
"""
|
390
390
|
def Time(self, weekTime:WeekTime=None
|
391
|
-
):
|
392
|
-
|
393
|
-
hbCommand = HausBusCommand(self.objectId, 198, "Time")
|
391
|
+
):
|
392
|
+
logging.info("Time"+" weekTime = "+str(weekTime))
|
393
|
+
hbCommand = HausBusCommand(self.objectId, 198, "Time")
|
394
394
|
hbCommand.addWord(weekTime.getValue())
|
395
395
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
396
|
-
hbCommand.send()
|
397
|
-
|
398
|
-
|
396
|
+
hbCommand.send()
|
397
|
+
logging.info("returns")
|
398
|
+
|
399
399
|
"""
|
400
400
|
@param index Index des abzufragenden Regelzustandes auf dem Controller.
|
401
401
|
"""
|
402
|
-
def getRuleState(self, index:int):
|
403
|
-
|
404
|
-
hbCommand = HausBusCommand(self.objectId, 12, "getRuleState")
|
402
|
+
def getRuleState(self, index:int):
|
403
|
+
logging.info("getRuleState"+" index = "+str(index))
|
404
|
+
hbCommand = HausBusCommand(self.objectId, 12, "getRuleState")
|
405
405
|
hbCommand.addByte(index)
|
406
406
|
ResultWorker()._setResultInfo(RuleState,self.getObjectId())
|
407
|
-
hbCommand.send()
|
408
|
-
|
409
|
-
|
407
|
+
hbCommand.send()
|
408
|
+
logging.info("returns")
|
409
|
+
|
410
410
|
"""
|
411
411
|
@param index Index des zu setzenden Regelzustandes auf dem Controller..
|
412
412
|
@param state Der Zustand wird gesetzt ohne die Aktionen auszufuehren..
|
413
413
|
"""
|
414
|
-
def setRuleState(self, index:int, state:int):
|
415
|
-
|
416
|
-
hbCommand = HausBusCommand(self.objectId, 11, "setRuleState")
|
414
|
+
def setRuleState(self, index:int, state:int):
|
415
|
+
logging.info("setRuleState"+" index = "+str(index)+" state = "+str(state))
|
416
|
+
hbCommand = HausBusCommand(self.objectId, 11, "setRuleState")
|
417
417
|
hbCommand.addByte(index)
|
418
418
|
hbCommand.addByte(state)
|
419
419
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
420
|
-
hbCommand.send()
|
421
|
-
|
422
|
-
|
420
|
+
hbCommand.send()
|
421
|
+
logging.info("returns")
|
422
|
+
|
423
423
|
"""
|
424
424
|
@param indexRule Index der Regel im Controller..
|
425
425
|
@param indexElement Index des auszufuehrenden Regelelementes. Alle Aktionen werden ausgefuehrt und der neue Zustand eingenommen..
|
426
426
|
"""
|
427
|
-
def triggerRuleElement(self, indexRule:int, indexElement:int):
|
428
|
-
|
429
|
-
hbCommand = HausBusCommand(self.objectId, 13, "triggerRuleElement")
|
427
|
+
def triggerRuleElement(self, indexRule:int, indexElement:int):
|
428
|
+
logging.info("triggerRuleElement"+" indexRule = "+str(indexRule)+" indexElement = "+str(indexElement))
|
429
|
+
hbCommand = HausBusCommand(self.objectId, 13, "triggerRuleElement")
|
430
430
|
hbCommand.addByte(indexRule)
|
431
431
|
hbCommand.addByte(indexElement)
|
432
432
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
433
|
-
hbCommand.send()
|
434
|
-
|
435
|
-
|
433
|
+
hbCommand.send()
|
434
|
+
logging.info("returns")
|
435
|
+
|
436
436
|
"""
|
437
437
|
@param index Index der abgefragten Regel.
|
438
438
|
@param state Regelzustand.
|
439
439
|
"""
|
440
|
-
def RuleState(self, index:int, state:int):
|
441
|
-
|
442
|
-
hbCommand = HausBusCommand(self.objectId, 135, "RuleState")
|
440
|
+
def RuleState(self, index:int, state:int):
|
441
|
+
logging.info("RuleState"+" index = "+str(index)+" state = "+str(state))
|
442
|
+
hbCommand = HausBusCommand(self.objectId, 135, "RuleState")
|
443
443
|
hbCommand.addByte(index)
|
444
444
|
hbCommand.addByte(state)
|
445
445
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
446
|
-
hbCommand.send()
|
447
|
-
|
448
|
-
|
446
|
+
hbCommand.send()
|
447
|
+
logging.info("returns")
|
448
|
+
|
449
449
|
"""
|
450
450
|
@param index Gruppenindex.
|
451
451
|
@param member Gruppenteilnehmer 0-15.
|
452
452
|
@param state Zustand des Teilnehmers 0=AUS.
|
453
453
|
@param triggerBits Anzahl der Teilnehmer die gesetzt sein muessen damit evGroupOn erzeugt wird.
|
454
454
|
"""
|
455
|
-
def setUnitGroupState(self, index:int, member:int, state:int, triggerBits:int):
|
456
|
-
|
457
|
-
hbCommand = HausBusCommand(self.objectId, 14, "setUnitGroupState")
|
455
|
+
def setUnitGroupState(self, index:int, member:int, state:int, triggerBits:int):
|
456
|
+
logging.info("setUnitGroupState"+" index = "+str(index)+" member = "+str(member)+" state = "+str(state)+" triggerBits = "+str(triggerBits))
|
457
|
+
hbCommand = HausBusCommand(self.objectId, 14, "setUnitGroupState")
|
458
458
|
hbCommand.addByte(index)
|
459
459
|
hbCommand.addByte(member)
|
460
460
|
hbCommand.addByte(state)
|
461
461
|
hbCommand.addByte(triggerBits)
|
462
462
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
463
|
-
hbCommand.send()
|
464
|
-
|
465
|
-
|
463
|
+
hbCommand.send()
|
464
|
+
logging.info("returns")
|
465
|
+
|
466
466
|
"""
|
467
467
|
@param index Gruppenindex.
|
468
468
|
@param status Status der Bits in der logischen Gruppe..
|
469
469
|
"""
|
470
|
-
def evGroupOn(self, index:int, status:int):
|
471
|
-
|
472
|
-
hbCommand = HausBusCommand(self.objectId, 203, "evGroupOn")
|
470
|
+
def evGroupOn(self, index:int, status:int):
|
471
|
+
logging.info("evGroupOn"+" index = "+str(index)+" status = "+str(status))
|
472
|
+
hbCommand = HausBusCommand(self.objectId, 203, "evGroupOn")
|
473
473
|
hbCommand.addByte(index)
|
474
474
|
hbCommand.addWord(status)
|
475
475
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
476
|
-
hbCommand.send()
|
477
|
-
|
478
|
-
|
476
|
+
hbCommand.send()
|
477
|
+
logging.info("returns")
|
478
|
+
|
479
479
|
"""
|
480
480
|
@param index Gruppenindex.
|
481
481
|
@param status Status der Bits in der logischen Gruppe..
|
482
482
|
"""
|
483
|
-
def evGroupOff(self, index:int, status:int):
|
484
|
-
|
485
|
-
hbCommand = HausBusCommand(self.objectId, 205, "evGroupOff")
|
483
|
+
def evGroupOff(self, index:int, status:int):
|
484
|
+
logging.info("evGroupOff"+" index = "+str(index)+" status = "+str(status))
|
485
|
+
hbCommand = HausBusCommand(self.objectId, 205, "evGroupOff")
|
486
486
|
hbCommand.addByte(index)
|
487
487
|
hbCommand.addWord(status)
|
488
488
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
489
|
-
hbCommand.send()
|
490
|
-
|
491
|
-
|
489
|
+
hbCommand.send()
|
490
|
+
logging.info("returns")
|
491
|
+
|
492
492
|
"""
|
493
493
|
@param index Gruppenindex.
|
494
494
|
@param status Status der Bits in der logischen Gruppe..
|
495
495
|
"""
|
496
|
-
def evGroupUndefined(self, index:int, status:int):
|
497
|
-
|
498
|
-
hbCommand = HausBusCommand(self.objectId, 204, "evGroupUndefined")
|
496
|
+
def evGroupUndefined(self, index:int, status:int):
|
497
|
+
logging.info("evGroupUndefined"+" index = "+str(index)+" status = "+str(status))
|
498
|
+
hbCommand = HausBusCommand(self.objectId, 204, "evGroupUndefined")
|
499
499
|
hbCommand.addByte(index)
|
500
500
|
hbCommand.addWord(status)
|
501
501
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
502
|
-
hbCommand.send()
|
503
|
-
|
504
|
-
|
502
|
+
hbCommand.send()
|
503
|
+
logging.info("returns")
|
504
|
+
|
505
505
|
"""
|
506
506
|
@param ruleIndex .
|
507
507
|
@param elementIndex .
|
508
508
|
"""
|
509
|
-
def TriggeredRule(self, ruleIndex:int, elementIndex:int):
|
510
|
-
|
511
|
-
hbCommand = HausBusCommand(self.objectId, 136, "TriggeredRule")
|
509
|
+
def TriggeredRule(self, ruleIndex:int, elementIndex:int):
|
510
|
+
logging.info("TriggeredRule"+" ruleIndex = "+str(ruleIndex)+" elementIndex = "+str(elementIndex))
|
511
|
+
hbCommand = HausBusCommand(self.objectId, 136, "TriggeredRule")
|
512
512
|
hbCommand.addByte(ruleIndex)
|
513
513
|
hbCommand.addByte(elementIndex)
|
514
514
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
515
|
-
hbCommand.send()
|
516
|
-
|
517
|
-
|
515
|
+
hbCommand.send()
|
516
|
+
logging.info("returns")
|
517
|
+
|
518
518
|
"""
|
519
519
|
@param option SEND_TRIGGERED_RULE_EVENT: generiert ein Event zu einer aktivierten Regel\r\nREAD_ONLY_GATEWAYS: schaltet das Versenden saemtlicher Nachrichten ab. Eingehende Nachrichten werden verarbeitet\r\nREPORT_INTERNAL_TEMPERATURE: aktiviert den internen TemperaturSensor des Prozessors ungenau\r\nSEND_ZERO_CROSS_DATA: sendet im Sekundentakt aufgezeichnete Daten zur Nulldurchganserkennung bei Dimmer-Modulen.
|
520
520
|
"""
|
521
|
-
def setDebugOptions(self, option:MOption):
|
522
|
-
|
523
|
-
hbCommand = HausBusCommand(self.objectId, 124, "setDebugOptions")
|
521
|
+
def setDebugOptions(self, option:MOption):
|
522
|
+
logging.info("setDebugOptions"+" option = "+str(option))
|
523
|
+
hbCommand = HausBusCommand(self.objectId, 124, "setDebugOptions")
|
524
524
|
hbCommand.addByte(option.getValue())
|
525
525
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
526
|
-
hbCommand.send()
|
527
|
-
|
528
|
-
|
526
|
+
hbCommand.send()
|
527
|
+
logging.info("returns")
|
528
|
+
|
529
529
|
"""
|
530
530
|
@param timeDifference Abweichung der internen Wochenzeit in Minuten Achtung: Vorzeichenbehaftetes Byte. 255 entspricht -1.
|
531
531
|
"""
|
532
|
-
def TimeDifference(self, timeDifference:int):
|
533
|
-
|
534
|
-
hbCommand = HausBusCommand(self.objectId, 197, "TimeDifference")
|
532
|
+
def TimeDifference(self, timeDifference:int):
|
533
|
+
logging.info("TimeDifference"+" timeDifference = "+str(timeDifference))
|
534
|
+
hbCommand = HausBusCommand(self.objectId, 197, "TimeDifference")
|
535
535
|
hbCommand.addByte(timeDifference)
|
536
536
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
537
|
-
hbCommand.send()
|
538
|
-
|
539
|
-
|
537
|
+
hbCommand.send()
|
538
|
+
logging.info("returns")
|
539
|
+
|
540
540
|
"""
|
541
541
|
"""
|
542
|
-
def evDay(self):
|
543
|
-
|
544
|
-
hbCommand = HausBusCommand(self.objectId, 206, "evDay")
|
542
|
+
def evDay(self):
|
543
|
+
logging.info("evDay")
|
544
|
+
hbCommand = HausBusCommand(self.objectId, 206, "evDay")
|
545
545
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
546
|
-
hbCommand.send()
|
547
|
-
|
548
|
-
|
546
|
+
hbCommand.send()
|
547
|
+
logging.info("returns")
|
548
|
+
|
549
549
|
"""
|
550
550
|
"""
|
551
|
-
def evNight(self):
|
552
|
-
|
553
|
-
hbCommand = HausBusCommand(self.objectId, 207, "evNight")
|
551
|
+
def evNight(self):
|
552
|
+
logging.info("evNight")
|
553
|
+
hbCommand = HausBusCommand(self.objectId, 207, "evNight")
|
554
554
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
555
|
-
hbCommand.send()
|
556
|
-
|
557
|
-
|
555
|
+
hbCommand.send()
|
556
|
+
logging.info("returns")
|
557
|
+
|
558
558
|
"""
|
559
559
|
@param sunriseTime Zeit fuer den Sonnenaufgang..
|
560
560
|
@param sunsetTime Zeit fuer den Sonnenuntergang..
|
561
561
|
"""
|
562
562
|
def setSunTimes(self, sunriseTime:WeekTime=None
|
563
563
|
, sunsetTime:WeekTime=None
|
564
|
-
):
|
565
|
-
|
566
|
-
hbCommand = HausBusCommand(self.objectId, 15, "setSunTimes")
|
564
|
+
):
|
565
|
+
logging.info("setSunTimes"+" sunriseTime = "+str(sunriseTime)+" sunsetTime = "+str(sunsetTime))
|
566
|
+
hbCommand = HausBusCommand(self.objectId, 15, "setSunTimes")
|
567
567
|
hbCommand.addWord(sunriseTime.getValue())
|
568
568
|
hbCommand.addWord(sunsetTime.getValue())
|
569
569
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
570
|
-
hbCommand.send()
|
571
|
-
|
572
|
-
|
570
|
+
hbCommand.send()
|
571
|
+
logging.info("returns")
|
572
|
+
|
573
573
|
"""
|
574
574
|
@param type Hier wird der Typ der Variable.
|
575
575
|
@param index Die Variablen liegen mehrfach vor 32xBIT.
|
576
576
|
@param value Die Systemvariable wird mit diesem Wert belegt..
|
577
577
|
"""
|
578
|
-
def setSystemVariable(self, type:EType, index:int, value:int):
|
579
|
-
|
580
|
-
hbCommand = HausBusCommand(self.objectId, 16, "setSystemVariable")
|
578
|
+
def setSystemVariable(self, type:EType, index:int, value:int):
|
579
|
+
logging.info("setSystemVariable"+" type = "+str(type)+" index = "+str(index)+" value = "+str(value))
|
580
|
+
hbCommand = HausBusCommand(self.objectId, 16, "setSystemVariable")
|
581
581
|
hbCommand.addByte(type.value)
|
582
582
|
hbCommand.addByte(index)
|
583
583
|
hbCommand.addWord(value)
|
584
584
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
585
|
-
hbCommand.send()
|
586
|
-
|
587
|
-
|
585
|
+
hbCommand.send()
|
586
|
+
logging.info("returns")
|
587
|
+
|
588
588
|
"""
|
589
589
|
@param type Hier wird der Typ der Variable.
|
590
590
|
@param index Die Variablen liegen mehrfach vor 32xBIT.
|
591
591
|
"""
|
592
|
-
def getSystemVariable(self, type:EType, index:int):
|
593
|
-
|
594
|
-
hbCommand = HausBusCommand(self.objectId, 17, "getSystemVariable")
|
592
|
+
def getSystemVariable(self, type:EType, index:int):
|
593
|
+
logging.info("getSystemVariable"+" type = "+str(type)+" index = "+str(index))
|
594
|
+
hbCommand = HausBusCommand(self.objectId, 17, "getSystemVariable")
|
595
595
|
hbCommand.addByte(type.value)
|
596
596
|
hbCommand.addByte(index)
|
597
597
|
ResultWorker()._setResultInfo(SystemVariable,self.getObjectId())
|
598
|
-
hbCommand.send()
|
599
|
-
|
600
|
-
|
598
|
+
hbCommand.send()
|
599
|
+
logging.info("returns")
|
600
|
+
|
601
601
|
"""
|
602
602
|
@param type Gibt den Typ der Variable an.
|
603
603
|
@param index Die Variablen liegen mehrfach vor 32xBIT.
|
604
604
|
@param value Der Wert der Systemvariable..
|
605
605
|
"""
|
606
|
-
def SystemVariable(self, type:EType, index:int, value:int):
|
607
|
-
|
608
|
-
hbCommand = HausBusCommand(self.objectId, 137, "SystemVariable")
|
606
|
+
def SystemVariable(self, type:EType, index:int, value:int):
|
607
|
+
logging.info("SystemVariable"+" type = "+str(type)+" index = "+str(index)+" value = "+str(value))
|
608
|
+
hbCommand = HausBusCommand(self.objectId, 137, "SystemVariable")
|
609
609
|
hbCommand.addByte(type.value)
|
610
610
|
hbCommand.addByte(index)
|
611
611
|
hbCommand.addWord(value)
|
612
612
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
613
|
-
hbCommand.send()
|
614
|
-
|
615
|
-
|
613
|
+
hbCommand.send()
|
614
|
+
logging.info("returns")
|
615
|
+
|
616
616
|
"""
|
617
617
|
@param index Index der logischen Gruppe in diesem Controller.
|
618
618
|
"""
|
619
|
-
def getUnitGroupStatus(self, index:int):
|
620
|
-
|
621
|
-
hbCommand = HausBusCommand(self.objectId, 18, "getUnitGroupStatus")
|
619
|
+
def getUnitGroupStatus(self, index:int):
|
620
|
+
logging.info("getUnitGroupStatus"+" index = "+str(index))
|
621
|
+
hbCommand = HausBusCommand(self.objectId, 18, "getUnitGroupStatus")
|
622
622
|
hbCommand.addByte(index)
|
623
623
|
ResultWorker()._setResultInfo(UnitGroupStatus,self.getObjectId())
|
624
|
-
hbCommand.send()
|
625
|
-
|
626
|
-
|
624
|
+
hbCommand.send()
|
625
|
+
logging.info("returns")
|
626
|
+
|
627
627
|
"""
|
628
628
|
@param index Index der logischen Gruppe in diesem Controller.
|
629
629
|
@param status Status der Bits in der logischen Gruppe..
|
630
630
|
"""
|
631
|
-
def UnitGroupStatus(self, index:int, status:int):
|
632
|
-
|
633
|
-
hbCommand = HausBusCommand(self.objectId, 138, "UnitGroupStatus")
|
631
|
+
def UnitGroupStatus(self, index:int, status:int):
|
632
|
+
logging.info("UnitGroupStatus"+" index = "+str(index)+" status = "+str(status))
|
633
|
+
hbCommand = HausBusCommand(self.objectId, 138, "UnitGroupStatus")
|
634
634
|
hbCommand.addByte(index)
|
635
635
|
hbCommand.addWord(status)
|
636
636
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
637
|
-
hbCommand.send()
|
638
|
-
|
639
|
-
|
637
|
+
hbCommand.send()
|
638
|
+
logging.info("returns")
|
639
|
+
|
640
640
|
"""
|
641
641
|
@param consoleString Debug Ausgaben bei spezieller Firmware zur Fehlersuche.
|
642
642
|
"""
|
643
|
-
def evConsole(self, consoleString:str):
|
644
|
-
|
645
|
-
hbCommand = HausBusCommand(self.objectId, 250, "evConsole")
|
643
|
+
def evConsole(self, consoleString:str):
|
644
|
+
logging.info("evConsole"+" consoleString = "+str(consoleString))
|
645
|
+
hbCommand = HausBusCommand(self.objectId, 250, "evConsole")
|
646
646
|
hbCommand.addString(consoleString)
|
647
647
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
648
|
-
hbCommand.send()
|
649
|
-
|
650
|
-
|
648
|
+
hbCommand.send()
|
649
|
+
logging.info("returns")
|
650
|
+
|
651
651
|
"""
|
652
652
|
"""
|
653
|
-
def evResetWifi(self):
|
654
|
-
|
655
|
-
hbCommand = HausBusCommand(self.objectId, 208, "evResetWifi")
|
653
|
+
def evResetWifi(self):
|
654
|
+
logging.info("evResetWifi")
|
655
|
+
hbCommand = HausBusCommand(self.objectId, 208, "evResetWifi")
|
656
656
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
657
|
-
hbCommand.send()
|
658
|
-
|
659
|
-
|
657
|
+
hbCommand.send()
|
658
|
+
logging.info("returns")
|
659
|
+
|
660
660
|
"""
|
661
661
|
@param channel PWM-Kanal.
|
662
|
+
@param pulseCount Anzahl der guten Pulse innerhalb der letzten Messperiode 1s.
|
663
|
+
@param deltaTime Falls Messperiode l?nger als 1s ist.
|
662
664
|
@param lowTime0 .
|
663
665
|
@param lowTime1 .
|
664
666
|
@param lowTime2 .
|
@@ -692,10 +694,12 @@ class Controller(ABusFeature):
|
|
692
694
|
@param pulsWidth14 .
|
693
695
|
@param pulsWidth15 .
|
694
696
|
"""
|
695
|
-
def evZeroCrossData(self, channel:int, lowTime0:int, lowTime1:int, lowTime2:int, lowTime3:int, lowTime4:int, lowTime5:int, lowTime6:int, lowTime7:int, lowTime8:int, lowTime9:int, lowTime10:int, lowTime11:int, lowTime12:int, lowTime13:int, lowTime14:int, lowTime15:int, pulsWidth0:int, pulsWidth1:int, pulsWidth2:int, pulsWidth3:int, pulsWidth4:int, pulsWidth5:int, pulsWidth6:int, pulsWidth7:int, pulsWidth8:int, pulsWidth9:int, pulsWidth10:int, pulsWidth11:int, pulsWidth12:int, pulsWidth13:int, pulsWidth14:int, pulsWidth15:int):
|
696
|
-
|
697
|
-
hbCommand = HausBusCommand(self.objectId, 209, "evZeroCrossData")
|
697
|
+
def evZeroCrossData(self, channel:int, pulseCount:int, deltaTime:int, lowTime0:int, lowTime1:int, lowTime2:int, lowTime3:int, lowTime4:int, lowTime5:int, lowTime6:int, lowTime7:int, lowTime8:int, lowTime9:int, lowTime10:int, lowTime11:int, lowTime12:int, lowTime13:int, lowTime14:int, lowTime15:int, pulsWidth0:int, pulsWidth1:int, pulsWidth2:int, pulsWidth3:int, pulsWidth4:int, pulsWidth5:int, pulsWidth6:int, pulsWidth7:int, pulsWidth8:int, pulsWidth9:int, pulsWidth10:int, pulsWidth11:int, pulsWidth12:int, pulsWidth13:int, pulsWidth14:int, pulsWidth15:int):
|
698
|
+
logging.info("evZeroCrossData"+" channel = "+str(channel)+" pulseCount = "+str(pulseCount)+" deltaTime = "+str(deltaTime)+" lowTime0 = "+str(lowTime0)+" lowTime1 = "+str(lowTime1)+" lowTime2 = "+str(lowTime2)+" lowTime3 = "+str(lowTime3)+" lowTime4 = "+str(lowTime4)+" lowTime5 = "+str(lowTime5)+" lowTime6 = "+str(lowTime6)+" lowTime7 = "+str(lowTime7)+" lowTime8 = "+str(lowTime8)+" lowTime9 = "+str(lowTime9)+" lowTime10 = "+str(lowTime10)+" lowTime11 = "+str(lowTime11)+" lowTime12 = "+str(lowTime12)+" lowTime13 = "+str(lowTime13)+" lowTime14 = "+str(lowTime14)+" lowTime15 = "+str(lowTime15)+" pulsWidth0 = "+str(pulsWidth0)+" pulsWidth1 = "+str(pulsWidth1)+" pulsWidth2 = "+str(pulsWidth2)+" pulsWidth3 = "+str(pulsWidth3)+" pulsWidth4 = "+str(pulsWidth4)+" pulsWidth5 = "+str(pulsWidth5)+" pulsWidth6 = "+str(pulsWidth6)+" pulsWidth7 = "+str(pulsWidth7)+" pulsWidth8 = "+str(pulsWidth8)+" pulsWidth9 = "+str(pulsWidth9)+" pulsWidth10 = "+str(pulsWidth10)+" pulsWidth11 = "+str(pulsWidth11)+" pulsWidth12 = "+str(pulsWidth12)+" pulsWidth13 = "+str(pulsWidth13)+" pulsWidth14 = "+str(pulsWidth14)+" pulsWidth15 = "+str(pulsWidth15))
|
699
|
+
hbCommand = HausBusCommand(self.objectId, 209, "evZeroCrossData")
|
698
700
|
hbCommand.addByte(channel)
|
701
|
+
hbCommand.addByte(pulseCount)
|
702
|
+
hbCommand.addByte(deltaTime)
|
699
703
|
hbCommand.addWord(lowTime0)
|
700
704
|
hbCommand.addWord(lowTime1)
|
701
705
|
hbCommand.addWord(lowTime2)
|
@@ -729,35 +733,46 @@ class Controller(ABusFeature):
|
|
729
733
|
hbCommand.addWord(pulsWidth14)
|
730
734
|
hbCommand.addWord(pulsWidth15)
|
731
735
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
732
|
-
hbCommand.send()
|
733
|
-
|
734
|
-
|
736
|
+
hbCommand.send()
|
737
|
+
logging.info("returns")
|
738
|
+
|
735
739
|
"""
|
736
740
|
@param featureId Zusatzfunktion.
|
737
741
|
@param key Der Schluessel mit dem die Zusatzfunktion aktiviert werden soll..
|
738
742
|
"""
|
739
|
-
def enableFeature(self, featureId:EFeatureId, key:str):
|
740
|
-
|
741
|
-
hbCommand = HausBusCommand(self.objectId, 19, "enableFeature")
|
743
|
+
def enableFeature(self, featureId:EFeatureId, key:str):
|
744
|
+
logging.info("enableFeature"+" featureId = "+str(featureId)+" key = "+str(key))
|
745
|
+
hbCommand = HausBusCommand(self.objectId, 19, "enableFeature")
|
742
746
|
hbCommand.addByte(featureId.value)
|
743
747
|
hbCommand.addString(key)
|
744
748
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
745
|
-
hbCommand.send()
|
746
|
-
|
747
|
-
|
749
|
+
hbCommand.send()
|
750
|
+
logging.info("returns")
|
751
|
+
|
748
752
|
"""
|
749
753
|
@param type Hier wird der Typ der Variable.
|
750
754
|
@param index Die Variablen liegen mehrfach vor 32xBIT.
|
751
755
|
@param value Die Systemvariable hat nun diesen Wert erhalten..
|
752
756
|
"""
|
753
|
-
def evSystemVariableChanged(self, type:EType, index:int, value:int):
|
754
|
-
|
755
|
-
hbCommand = HausBusCommand(self.objectId, 210, "evSystemVariableChanged")
|
757
|
+
def evSystemVariableChanged(self, type:EType, index:int, value:int):
|
758
|
+
logging.info("evSystemVariableChanged"+" type = "+str(type)+" index = "+str(index)+" value = "+str(value))
|
759
|
+
hbCommand = HausBusCommand(self.objectId, 210, "evSystemVariableChanged")
|
756
760
|
hbCommand.addByte(type.value)
|
757
761
|
hbCommand.addByte(index)
|
758
762
|
hbCommand.addWord(value)
|
759
763
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
760
|
-
hbCommand.send()
|
761
|
-
|
762
|
-
|
764
|
+
hbCommand.send()
|
765
|
+
logging.info("returns")
|
766
|
+
|
767
|
+
"""
|
768
|
+
@param index 0: loescht alle OneWire Sensor Positionen\r\n1-32: loescht nur den Sensor auf der Position.
|
769
|
+
"""
|
770
|
+
def resetOneWireManager(self, index:int):
|
771
|
+
logging.info("resetOneWireManager"+" index = "+str(index))
|
772
|
+
hbCommand = HausBusCommand(self.objectId, 20, "resetOneWireManager")
|
773
|
+
hbCommand.addByte(index)
|
774
|
+
ResultWorker()._setResultInfo(None,self.getObjectId())
|
775
|
+
hbCommand.send()
|
776
|
+
logging.info("returns")
|
777
|
+
|
763
778
|
|