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
@@ -0,0 +1,32 @@
|
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
|
3
|
+
class ToggleByDuty:
|
4
|
+
CLASS_ID = 19
|
5
|
+
FUNCTION_ID = 6
|
6
|
+
|
7
|
+
def __init__(self,duty:int, quantity:int):
|
8
|
+
self.duty=duty
|
9
|
+
self.quantity=quantity
|
10
|
+
|
11
|
+
|
12
|
+
@staticmethod
|
13
|
+
def _fromBytes(dataIn:bytearray, offset):
|
14
|
+
return ToggleByDuty(HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset))
|
15
|
+
|
16
|
+
def __str__(self):
|
17
|
+
return f"ToggleByDuty(duty={self.duty}, quantity={self.quantity})"
|
18
|
+
|
19
|
+
'''
|
20
|
+
@param duty 0-100% Pulsverh?ltnis.
|
21
|
+
'''
|
22
|
+
def getDuty(self):
|
23
|
+
return self.duty
|
24
|
+
|
25
|
+
'''
|
26
|
+
@param quantity Anzahl der Zustandswechsel.
|
27
|
+
'''
|
28
|
+
def getQuantity(self):
|
29
|
+
return self.quantity
|
30
|
+
|
31
|
+
|
32
|
+
|
@@ -1,11 +1,11 @@
|
|
1
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.schalter.params.MOptions import MOptions
|
2
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
-
|
4
|
-
class Configuration:
|
5
|
-
CLASS_ID = 19
|
6
|
-
FUNCTION_ID = 128
|
7
|
-
|
8
|
-
def __init__(self,maxOnTime:int, offDelayTime:int, timeBase:int, options:MOptions, disableBitIndex:int):
|
1
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.schalter.params.MOptions import MOptions
|
2
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
+
|
4
|
+
class Configuration:
|
5
|
+
CLASS_ID = 19
|
6
|
+
FUNCTION_ID = 128
|
7
|
+
|
8
|
+
def __init__(self,maxOnTime:int, offDelayTime:int, timeBase:int, options:MOptions, disableBitIndex:int):
|
9
9
|
self.maxOnTime=maxOnTime
|
10
10
|
self.offDelayTime=offDelayTime
|
11
11
|
self.timeBase=timeBase
|
@@ -14,7 +14,7 @@ class Configuration:
|
|
14
14
|
|
15
15
|
|
16
16
|
@staticmethod
|
17
|
-
def _fromBytes(dataIn:bytearray, offset):
|
17
|
+
def _fromBytes(dataIn:bytearray, offset):
|
18
18
|
return Configuration(HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToWord(dataIn, offset), MOptions._fromBytes(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset))
|
19
19
|
|
20
20
|
def __str__(self):
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
2
|
|
3
|
-
class EvCmdDelay:
|
4
|
-
CLASS_ID = 19
|
5
|
-
FUNCTION_ID = 203
|
6
|
-
|
7
|
-
def __init__(self,cmdDelay:int):
|
3
|
+
class EvCmdDelay:
|
4
|
+
CLASS_ID = 19
|
5
|
+
FUNCTION_ID = 203
|
6
|
+
|
7
|
+
def __init__(self,cmdDelay:int):
|
8
8
|
self.cmdDelay=cmdDelay
|
9
9
|
|
10
10
|
|
11
11
|
@staticmethod
|
12
|
-
def _fromBytes(dataIn:bytearray, offset):
|
12
|
+
def _fromBytes(dataIn:bytearray, offset):
|
13
13
|
return EvCmdDelay(HausBusUtils.bytesToWord(dataIn, offset))
|
14
14
|
|
15
15
|
def __str__(self):
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
|
3
|
-
class EvDisabled:
|
4
|
-
CLASS_ID = 19
|
5
|
-
FUNCTION_ID = 204
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
6
2
|
|
3
|
+
class EvDisabled:
|
4
|
+
CLASS_ID = 19
|
5
|
+
FUNCTION_ID = 204
|
6
|
+
|
7
7
|
@staticmethod
|
8
|
-
def _fromBytes(dataIn:bytearray, offset):
|
8
|
+
def _fromBytes(dataIn:bytearray, offset):
|
9
9
|
return EvDisabled()
|
10
10
|
|
11
11
|
def __str__(self):
|
@@ -1,16 +1,16 @@
|
|
1
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.schalter.params.EErrorCode import EErrorCode
|
2
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
-
|
4
|
-
class EvError:
|
5
|
-
CLASS_ID = 19
|
6
|
-
FUNCTION_ID = 255
|
7
|
-
|
8
|
-
def __init__(self,errorCode:EErrorCode):
|
1
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.schalter.params.EErrorCode import EErrorCode
|
2
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
+
|
4
|
+
class EvError:
|
5
|
+
CLASS_ID = 19
|
6
|
+
FUNCTION_ID = 255
|
7
|
+
|
8
|
+
def __init__(self,errorCode:EErrorCode):
|
9
9
|
self.errorCode=errorCode
|
10
10
|
|
11
11
|
|
12
12
|
@staticmethod
|
13
|
-
def _fromBytes(dataIn:bytearray, offset):
|
13
|
+
def _fromBytes(dataIn:bytearray, offset):
|
14
14
|
return EvError(EErrorCode._fromBytes(dataIn, offset))
|
15
15
|
|
16
16
|
def __str__(self):
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
|
3
|
-
class EvOff:
|
4
|
-
CLASS_ID = 19
|
5
|
-
FUNCTION_ID = 200
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
6
2
|
|
3
|
+
class EvOff:
|
4
|
+
CLASS_ID = 19
|
5
|
+
FUNCTION_ID = 200
|
6
|
+
|
7
7
|
@staticmethod
|
8
|
-
def _fromBytes(dataIn:bytearray, offset):
|
8
|
+
def _fromBytes(dataIn:bytearray, offset):
|
9
9
|
return EvOff()
|
10
10
|
|
11
11
|
def __str__(self):
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
2
|
|
3
|
-
class EvOn:
|
4
|
-
CLASS_ID = 19
|
5
|
-
FUNCTION_ID = 201
|
6
|
-
|
7
|
-
def __init__(self,duration:int):
|
3
|
+
class EvOn:
|
4
|
+
CLASS_ID = 19
|
5
|
+
FUNCTION_ID = 201
|
6
|
+
|
7
|
+
def __init__(self,duration:int):
|
8
8
|
self.duration=duration
|
9
9
|
|
10
10
|
|
11
11
|
@staticmethod
|
12
|
-
def _fromBytes(dataIn:bytearray, offset):
|
12
|
+
def _fromBytes(dataIn:bytearray, offset):
|
13
13
|
return EvOn(HausBusUtils.bytesToWord(dataIn, offset))
|
14
14
|
|
15
15
|
def __str__(self):
|
@@ -1,15 +1,39 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
|
3
|
+
class EvToggle:
|
4
|
+
CLASS_ID = 19
|
5
|
+
FUNCTION_ID = 202
|
6
|
+
|
7
|
+
def __init__(self,offTime:int, onTime:int, quantity:int):
|
8
|
+
self.offTime=offTime
|
9
|
+
self.onTime=onTime
|
10
|
+
self.quantity=quantity
|
2
11
|
|
3
|
-
class EvToggle:
|
4
|
-
CLASS_ID = 19
|
5
|
-
FUNCTION_ID = 202
|
6
12
|
|
7
13
|
@staticmethod
|
8
|
-
def _fromBytes(dataIn:bytearray, offset):
|
9
|
-
return EvToggle()
|
14
|
+
def _fromBytes(dataIn:bytearray, offset):
|
15
|
+
return EvToggle(HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset))
|
10
16
|
|
11
17
|
def __str__(self):
|
12
|
-
return f"EvToggle()"
|
18
|
+
return f"EvToggle(offTime={self.offTime}, onTime={self.onTime}, quantity={self.quantity})"
|
19
|
+
|
20
|
+
'''
|
21
|
+
@param offTime Dauer der Aus-Phase beim Togglen: \r\nWert * Zeitbasis [ms].
|
22
|
+
'''
|
23
|
+
def getOffTime(self):
|
24
|
+
return self.offTime
|
25
|
+
|
26
|
+
'''
|
27
|
+
@param onTime Dauer der An-Phase beim Togglen: \r\nWert * Zeitbasis [ms].
|
28
|
+
'''
|
29
|
+
def getOnTime(self):
|
30
|
+
return self.onTime
|
31
|
+
|
32
|
+
'''
|
33
|
+
@param quantity Anzahl der Schaltvorgaenge.
|
34
|
+
'''
|
35
|
+
def getQuantity(self):
|
36
|
+
return self.quantity
|
13
37
|
|
14
38
|
|
15
39
|
|
@@ -1,21 +1,23 @@
|
|
1
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.schalter.params.EState import EState
|
2
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
-
|
4
|
-
class Status:
|
5
|
-
CLASS_ID = 19
|
6
|
-
FUNCTION_ID = 129
|
7
|
-
|
8
|
-
def __init__(self,state:EState, duration:int):
|
1
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.schalter.params.EState import EState
|
2
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
+
|
4
|
+
class Status:
|
5
|
+
CLASS_ID = 19
|
6
|
+
FUNCTION_ID = 129
|
7
|
+
|
8
|
+
def __init__(self,state:EState, duration:int, offTime:int, onTime:int):
|
9
9
|
self.state=state
|
10
10
|
self.duration=duration
|
11
|
+
self.offTime=offTime
|
12
|
+
self.onTime=onTime
|
11
13
|
|
12
14
|
|
13
15
|
@staticmethod
|
14
|
-
def _fromBytes(dataIn:bytearray, offset):
|
15
|
-
return Status(EState._fromBytes(dataIn, offset), HausBusUtils.bytesToWord(dataIn, offset))
|
16
|
+
def _fromBytes(dataIn:bytearray, offset):
|
17
|
+
return Status(EState._fromBytes(dataIn, offset), HausBusUtils.bytesToWord(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset))
|
16
18
|
|
17
19
|
def __str__(self):
|
18
|
-
return f"Status(state={self.state}, duration={self.duration})"
|
20
|
+
return f"Status(state={self.state}, duration={self.duration}, offTime={self.offTime}, onTime={self.onTime})"
|
19
21
|
|
20
22
|
'''
|
21
23
|
@param state .
|
@@ -24,10 +26,22 @@ class Status:
|
|
24
26
|
return self.state
|
25
27
|
|
26
28
|
'''
|
27
|
-
@param duration Einschaltdauer: Wert * Zeitbasis [ms]\r\n0=Endlos.
|
29
|
+
@param duration Einschaltdauer: Wert * Zeitbasis [ms]\r\n0=Endlos\r\nWenn state TOGGLE.
|
28
30
|
'''
|
29
31
|
def getDuration(self):
|
30
32
|
return self.duration
|
31
33
|
|
34
|
+
'''
|
35
|
+
@param offTime Dauer der Aus-Phase beim Togglen: \r\nWert * Zeitbasis [ms].
|
36
|
+
'''
|
37
|
+
def getOffTime(self):
|
38
|
+
return self.offTime
|
39
|
+
|
40
|
+
'''
|
41
|
+
@param onTime Dauer der An-Phase beim Togglen: \r\nWert * Zeitbasis [ms].
|
42
|
+
'''
|
43
|
+
def getOnTime(self):
|
44
|
+
return self.onTime
|
45
|
+
|
32
46
|
|
33
47
|
|
@@ -1,8 +1,10 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
from enum import Enum
|
3
|
-
|
4
|
-
class EErrorCode(Enum):
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
from enum import Enum
|
3
|
+
|
4
|
+
class EErrorCode(Enum):
|
5
|
+
CONFIGURATION_OUT_OF_MEMORY=128
|
5
6
|
CMD_NOT_SUPPORTED=130
|
7
|
+
ANY_ERROR=255
|
6
8
|
SER_UNKNOWN=-1
|
7
9
|
|
8
10
|
@staticmethod
|
@@ -14,5 +16,13 @@ class EErrorCode(Enum):
|
|
14
16
|
|
15
17
|
return EErrorCode.SER_UNKNOWN
|
16
18
|
|
19
|
+
@staticmethod
|
20
|
+
def value_of(name: str) -> 'EFirmwareId':
|
21
|
+
try:
|
22
|
+
return EFirmwareId[name]
|
23
|
+
except KeyError:
|
24
|
+
return EFirmwareId.SER_UNKNOWN
|
17
25
|
|
26
|
+
|
27
|
+
|
18
28
|
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
from enum import Enum
|
3
|
-
|
4
|
-
class EState(Enum):
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
from enum import Enum
|
3
|
+
|
4
|
+
class EState(Enum):
|
5
5
|
OFF=0
|
6
6
|
ON=1
|
7
7
|
OFF_DELAY=2
|
@@ -19,5 +19,13 @@ class EState(Enum):
|
|
19
19
|
|
20
20
|
return EState.SER_UNKNOWN
|
21
21
|
|
22
|
+
@staticmethod
|
23
|
+
def value_of(name: str) -> 'EFirmwareId':
|
24
|
+
try:
|
25
|
+
return EFirmwareId[name]
|
26
|
+
except KeyError:
|
27
|
+
return EFirmwareId.SER_UNKNOWN
|
22
28
|
|
29
|
+
|
30
|
+
|
23
31
|
|
@@ -1,65 +1,65 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
class MOptions:
|
3
|
-
|
4
|
-
def setInvert(self, setValue:bool):
|
5
|
-
self.value = HausBusUtils.setBit(setValue, 0, self.value)
|
6
|
-
return self
|
7
|
-
|
8
|
-
def isInvert(self):
|
9
|
-
return HausBusUtils.isBitSet(0, self.value)
|
10
|
-
def setDriveOnState(self, setValue:bool):
|
11
|
-
self.value = HausBusUtils.setBit(setValue, 1, self.value)
|
12
|
-
return self
|
13
|
-
|
14
|
-
def isDriveOnState(self):
|
15
|
-
return HausBusUtils.isBitSet(1, self.value)
|
16
|
-
def setDriveOffState(self, setValue:bool):
|
17
|
-
self.value = HausBusUtils.setBit(setValue, 2, self.value)
|
18
|
-
return self
|
19
|
-
|
20
|
-
def isDriveOffState(self):
|
21
|
-
return HausBusUtils.isBitSet(2, self.value)
|
22
|
-
def setAdditionalLogicalSwitch(self, setValue:bool):
|
23
|
-
self.value = HausBusUtils.setBit(setValue, 3, self.value)
|
24
|
-
return self
|
25
|
-
|
26
|
-
def isAdditionalLogicalSwitch(self):
|
27
|
-
return HausBusUtils.isBitSet(3, self.value)
|
28
|
-
def setReserved4(self, setValue:bool):
|
29
|
-
self.value = HausBusUtils.setBit(setValue, 4, self.value)
|
30
|
-
return self
|
31
|
-
|
32
|
-
def isReserved4(self):
|
33
|
-
return HausBusUtils.isBitSet(4, self.value)
|
34
|
-
def setReserved5(self, setValue:bool):
|
35
|
-
self.value = HausBusUtils.setBit(setValue, 5, self.value)
|
36
|
-
return self
|
37
|
-
|
38
|
-
def isReserved5(self):
|
39
|
-
return HausBusUtils.isBitSet(5, self.value)
|
40
|
-
def setReserved6(self, setValue:bool):
|
41
|
-
self.value = HausBusUtils.setBit(setValue, 6, self.value)
|
42
|
-
return self
|
43
|
-
|
44
|
-
def isReserved6(self):
|
45
|
-
return HausBusUtils.isBitSet(6, self.value)
|
46
|
-
def setReserved7(self, setValue:bool):
|
47
|
-
self.value = HausBusUtils.setBit(setValue, 7, self.value)
|
48
|
-
return self
|
49
|
-
|
50
|
-
def isReserved7(self):
|
51
|
-
return HausBusUtils.isBitSet(7, self.value)
|
52
|
-
def __init__(self, value:int):
|
53
|
-
self.value = value
|
54
|
-
|
55
|
-
@staticmethod
|
56
|
-
def _fromBytes(data:bytearray, offset):
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
class MOptions:
|
3
|
+
|
4
|
+
def setInvert(self, setValue:bool):
|
5
|
+
self.value = HausBusUtils.setBit(setValue, 0, self.value)
|
6
|
+
return self;
|
7
|
+
|
8
|
+
def isInvert(self):
|
9
|
+
return HausBusUtils.isBitSet(0, self.value)
|
10
|
+
def setDriveOnState(self, setValue:bool):
|
11
|
+
self.value = HausBusUtils.setBit(setValue, 1, self.value)
|
12
|
+
return self;
|
13
|
+
|
14
|
+
def isDriveOnState(self):
|
15
|
+
return HausBusUtils.isBitSet(1, self.value)
|
16
|
+
def setDriveOffState(self, setValue:bool):
|
17
|
+
self.value = HausBusUtils.setBit(setValue, 2, self.value)
|
18
|
+
return self;
|
19
|
+
|
20
|
+
def isDriveOffState(self):
|
21
|
+
return HausBusUtils.isBitSet(2, self.value)
|
22
|
+
def setAdditionalLogicalSwitch(self, setValue:bool):
|
23
|
+
self.value = HausBusUtils.setBit(setValue, 3, self.value)
|
24
|
+
return self;
|
25
|
+
|
26
|
+
def isAdditionalLogicalSwitch(self):
|
27
|
+
return HausBusUtils.isBitSet(3, self.value)
|
28
|
+
def setReserved4(self, setValue:bool):
|
29
|
+
self.value = HausBusUtils.setBit(setValue, 4, self.value)
|
30
|
+
return self;
|
31
|
+
|
32
|
+
def isReserved4(self):
|
33
|
+
return HausBusUtils.isBitSet(4, self.value)
|
34
|
+
def setReserved5(self, setValue:bool):
|
35
|
+
self.value = HausBusUtils.setBit(setValue, 5, self.value)
|
36
|
+
return self;
|
37
|
+
|
38
|
+
def isReserved5(self):
|
39
|
+
return HausBusUtils.isBitSet(5, self.value)
|
40
|
+
def setReserved6(self, setValue:bool):
|
41
|
+
self.value = HausBusUtils.setBit(setValue, 6, self.value)
|
42
|
+
return self;
|
43
|
+
|
44
|
+
def isReserved6(self):
|
45
|
+
return HausBusUtils.isBitSet(6, self.value)
|
46
|
+
def setReserved7(self, setValue:bool):
|
47
|
+
self.value = HausBusUtils.setBit(setValue, 7, self.value)
|
48
|
+
return self;
|
49
|
+
|
50
|
+
def isReserved7(self):
|
51
|
+
return HausBusUtils.isBitSet(7, self.value)
|
52
|
+
def __init__(self, value:int):
|
53
|
+
self.value = value
|
54
|
+
|
55
|
+
@staticmethod
|
56
|
+
def _fromBytes(data:bytearray, offset):
|
57
57
|
return MOptions(HausBusUtils.bytesToInt(data, offset))
|
58
58
|
|
59
|
-
|
60
|
-
|
61
|
-
def getValue(self):
|
62
|
-
return self.value
|
59
|
+
|
60
|
+
|
61
|
+
def getValue(self):
|
62
|
+
return self.value
|
63
63
|
def getEntryNames(self):
|
64
64
|
result = []
|
65
65
|
result.append("Invert")
|
@@ -92,5 +92,5 @@ class MOptions:
|
|
92
92
|
def __str__(self):
|
93
93
|
return f"MOptions(Invert = {self.isInvert()}, DriveOnState = {self.isDriveOnState()}, DriveOffState = {self.isDriveOffState()}, AdditionalLogicalSwitch = {self.isAdditionalLogicalSwitch()}, Reserved4 = {self.isReserved4()}, Reserved5 = {self.isReserved5()}, Reserved6 = {self.isReserved6()}, Reserved7 = {self.isReserved7()})"
|
94
94
|
|
95
|
-
|
95
|
+
|
96
96
|
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
|
3
|
-
class GetTime:
|
4
|
-
CLASS_ID = 3
|
5
|
-
FUNCTION_ID = 0
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
6
2
|
|
3
|
+
class GetTime:
|
4
|
+
CLASS_ID = 3
|
5
|
+
FUNCTION_ID = 0
|
6
|
+
|
7
7
|
@staticmethod
|
8
|
-
def _fromBytes(dataIn:bytearray, offset):
|
8
|
+
def _fromBytes(dataIn:bytearray, offset):
|
9
9
|
return GetTime()
|
10
10
|
|
11
11
|
def __str__(self):
|
@@ -1,13 +1,13 @@
|
|
1
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.systemTime.params.EWeekDay import EWeekDay
|
2
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.systemTime.params.EDate import EDate
|
3
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.systemTime.params.EMonth import EMonth
|
4
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
1
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.systemTime.params.EWeekDay import EWeekDay
|
2
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.systemTime.params.EDate import EDate
|
3
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.systemTime.params.EMonth import EMonth
|
4
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
5
5
|
|
6
|
-
class SetTime:
|
7
|
-
CLASS_ID = 3
|
8
|
-
FUNCTION_ID = 1
|
9
|
-
|
10
|
-
def __init__(self,weekDay:EWeekDay, date:EDate, month:EMonth, year:int, hours:int, minutes:int, seconds:int):
|
6
|
+
class SetTime:
|
7
|
+
CLASS_ID = 3
|
8
|
+
FUNCTION_ID = 1
|
9
|
+
|
10
|
+
def __init__(self,weekDay:EWeekDay, date:EDate, month:EMonth, year:int, hours:int, minutes:int, seconds:int):
|
11
11
|
self.weekDay=weekDay
|
12
12
|
self.date=date
|
13
13
|
self.month=month
|
@@ -18,7 +18,7 @@ class SetTime:
|
|
18
18
|
|
19
19
|
|
20
20
|
@staticmethod
|
21
|
-
def _fromBytes(dataIn:bytearray, offset):
|
21
|
+
def _fromBytes(dataIn:bytearray, offset):
|
22
22
|
return SetTime(EWeekDay._fromBytes(dataIn, offset), EDate._fromBytes(dataIn, offset), EMonth._fromBytes(dataIn, offset), HausBusUtils.bytesToWord(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset))
|
23
23
|
|
24
24
|
def __str__(self):
|
@@ -1,16 +1,16 @@
|
|
1
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.systemTime.params.EErrorCode import EErrorCode
|
2
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
-
|
4
|
-
class EvError:
|
5
|
-
CLASS_ID = 3
|
6
|
-
FUNCTION_ID = 255
|
7
|
-
|
8
|
-
def __init__(self,errorCode:EErrorCode):
|
1
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.systemTime.params.EErrorCode import EErrorCode
|
2
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
+
|
4
|
+
class EvError:
|
5
|
+
CLASS_ID = 3
|
6
|
+
FUNCTION_ID = 255
|
7
|
+
|
8
|
+
def __init__(self,errorCode:EErrorCode):
|
9
9
|
self.errorCode=errorCode
|
10
10
|
|
11
11
|
|
12
12
|
@staticmethod
|
13
|
-
def _fromBytes(dataIn:bytearray, offset):
|
13
|
+
def _fromBytes(dataIn:bytearray, offset):
|
14
14
|
return EvError(EErrorCode._fromBytes(dataIn, offset))
|
15
15
|
|
16
16
|
def __str__(self):
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
2
|
|
3
|
-
class Time:
|
4
|
-
CLASS_ID = 3
|
5
|
-
FUNCTION_ID = 128
|
6
|
-
|
7
|
-
def __init__(self,weekday:int, date:int, month:int, year:int, hours:int, minutes:int, seconds:int):
|
3
|
+
class Time:
|
4
|
+
CLASS_ID = 3
|
5
|
+
FUNCTION_ID = 128
|
6
|
+
|
7
|
+
def __init__(self,weekday:int, date:int, month:int, year:int, hours:int, minutes:int, seconds:int):
|
8
8
|
self.weekday=weekday
|
9
9
|
self.date=date
|
10
10
|
self.month=month
|
@@ -15,7 +15,7 @@ class Time:
|
|
15
15
|
|
16
16
|
|
17
17
|
@staticmethod
|
18
|
-
def _fromBytes(dataIn:bytearray, offset):
|
18
|
+
def _fromBytes(dataIn:bytearray, offset):
|
19
19
|
return Time(HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToWord(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset), HausBusUtils.bytesToInt(dataIn, offset))
|
20
20
|
|
21
21
|
def __str__(self):
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
from enum import Enum
|
3
|
-
|
4
|
-
class EDate(Enum):
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
from enum import Enum
|
3
|
+
|
4
|
+
class EDate(Enum):
|
5
5
|
_1=1
|
6
6
|
_2=2
|
7
7
|
_3=3
|
@@ -44,5 +44,13 @@ class EDate(Enum):
|
|
44
44
|
|
45
45
|
return EDate.SER_UNKNOWN
|
46
46
|
|
47
|
+
@staticmethod
|
48
|
+
def value_of(name: str) -> 'EFirmwareId':
|
49
|
+
try:
|
50
|
+
return EFirmwareId[name]
|
51
|
+
except KeyError:
|
52
|
+
return EFirmwareId.SER_UNKNOWN
|
47
53
|
|
54
|
+
|
55
|
+
|
48
56
|
|
@@ -1,12 +1,13 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
from enum import Enum
|
3
|
-
|
4
|
-
class EErrorCode(Enum):
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
from enum import Enum
|
3
|
+
|
4
|
+
class EErrorCode(Enum):
|
5
5
|
NO_ERROR=0
|
6
6
|
TWI_BUSY=1
|
7
7
|
TWI_READ_FAILED=2
|
8
8
|
TWI_WRITE_FAILED=3
|
9
9
|
CLOCK_HALTED=4
|
10
|
+
ANY_ERROR=255
|
10
11
|
SER_UNKNOWN=-1
|
11
12
|
|
12
13
|
@staticmethod
|
@@ -18,5 +19,13 @@ class EErrorCode(Enum):
|
|
18
19
|
|
19
20
|
return EErrorCode.SER_UNKNOWN
|
20
21
|
|
22
|
+
@staticmethod
|
23
|
+
def value_of(name: str) -> 'EFirmwareId':
|
24
|
+
try:
|
25
|
+
return EFirmwareId[name]
|
26
|
+
except KeyError:
|
27
|
+
return EFirmwareId.SER_UNKNOWN
|
21
28
|
|
29
|
+
|
30
|
+
|
22
31
|
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
-
from enum import Enum
|
3
|
-
|
4
|
-
class EMonth(Enum):
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
from enum import Enum
|
3
|
+
|
4
|
+
class EMonth(Enum):
|
5
5
|
January=1
|
6
6
|
February=2
|
7
7
|
March=3
|
@@ -25,5 +25,13 @@ class EMonth(Enum):
|
|
25
25
|
|
26
26
|
return EMonth.SER_UNKNOWN
|
27
27
|
|
28
|
+
@staticmethod
|
29
|
+
def value_of(name: str) -> 'EFirmwareId':
|
30
|
+
try:
|
31
|
+
return EFirmwareId[name]
|
32
|
+
except KeyError:
|
33
|
+
return EFirmwareId.SER_UNKNOWN
|
28
34
|
|
35
|
+
|
36
|
+
|
29
37
|
|