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,141 @@
|
|
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.drucksensor.params.ELastEvent import ELastEvent
|
7
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.drucksensor.data.Configuration import Configuration
|
8
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.drucksensor.data.Status import Status
|
9
|
+
|
10
|
+
class Drucksensor(ABusFeature):
|
11
|
+
CLASS_ID:int = 48
|
12
|
+
|
13
|
+
def __init__ (self,objectId:int):
|
14
|
+
super().__init__(objectId)
|
15
|
+
|
16
|
+
@staticmethod
|
17
|
+
def create(deviceId:int, instanceId:int):
|
18
|
+
return Drucksensor(HausBusUtils.getObjectId(deviceId, 48, instanceId))
|
19
|
+
|
20
|
+
"""
|
21
|
+
"""
|
22
|
+
def evLow(self):
|
23
|
+
logging.info("evLow")
|
24
|
+
hbCommand = HausBusCommand(self.objectId, 200, "evLow")
|
25
|
+
ResultWorker()._setResultInfo(None,self.getObjectId())
|
26
|
+
hbCommand.send()
|
27
|
+
logging.info("returns")
|
28
|
+
|
29
|
+
"""
|
30
|
+
"""
|
31
|
+
def evInRange(self):
|
32
|
+
logging.info("evInRange")
|
33
|
+
hbCommand = HausBusCommand(self.objectId, 201, "evInRange")
|
34
|
+
ResultWorker()._setResultInfo(None,self.getObjectId())
|
35
|
+
hbCommand.send()
|
36
|
+
logging.info("returns")
|
37
|
+
|
38
|
+
"""
|
39
|
+
"""
|
40
|
+
def evHigh(self):
|
41
|
+
logging.info("evHigh")
|
42
|
+
hbCommand = HausBusCommand(self.objectId, 202, "evHigh")
|
43
|
+
ResultWorker()._setResultInfo(None,self.getObjectId())
|
44
|
+
hbCommand.send()
|
45
|
+
logging.info("returns")
|
46
|
+
|
47
|
+
"""
|
48
|
+
@param value gemessener Druck in Pa.
|
49
|
+
@param lastEvent .
|
50
|
+
"""
|
51
|
+
def evStatus(self, value:int, lastEvent:ELastEvent):
|
52
|
+
logging.info("evStatus"+" value = "+str(value)+" lastEvent = "+str(lastEvent))
|
53
|
+
hbCommand = HausBusCommand(self.objectId, 203, "evStatus")
|
54
|
+
hbCommand.addWord(value)
|
55
|
+
hbCommand.addByte(lastEvent.value)
|
56
|
+
ResultWorker()._setResultInfo(None,self.getObjectId())
|
57
|
+
hbCommand.send()
|
58
|
+
logging.info("returns")
|
59
|
+
|
60
|
+
"""
|
61
|
+
"""
|
62
|
+
def getConfiguration(self):
|
63
|
+
logging.info("getConfiguration")
|
64
|
+
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
65
|
+
ResultWorker()._setResultInfo(Configuration,self.getObjectId())
|
66
|
+
hbCommand.send()
|
67
|
+
logging.info("returns")
|
68
|
+
|
69
|
+
"""
|
70
|
+
@param lowerThreshold untere Schwelle.
|
71
|
+
@param upperThreshold obere Schwelle.
|
72
|
+
@param reportTimeBase Zeitbasis fuer die Einstellungen von minReportTime und maxReportTime [s].
|
73
|
+
@param minReportTime Mindestzeit.
|
74
|
+
@param maxReportTime Maximalzeit.
|
75
|
+
@param hysteresis Hysterese.
|
76
|
+
@param calibration Dieser Wert wird verwendet um die vom Sensor gelieferten Messwerte zu justieren..
|
77
|
+
@param deltaSensorID Die InstanceID des Sensors auf diesem Controller.
|
78
|
+
"""
|
79
|
+
def setConfiguration(self, lowerThreshold:int, upperThreshold:int, reportTimeBase:int, minReportTime:int, maxReportTime:int, hysteresis:int, calibration:int, deltaSensorID:int):
|
80
|
+
logging.info("setConfiguration"+" lowerThreshold = "+str(lowerThreshold)+" upperThreshold = "+str(upperThreshold)+" reportTimeBase = "+str(reportTimeBase)+" minReportTime = "+str(minReportTime)+" maxReportTime = "+str(maxReportTime)+" hysteresis = "+str(hysteresis)+" calibration = "+str(calibration)+" deltaSensorID = "+str(deltaSensorID))
|
81
|
+
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
82
|
+
hbCommand.addWord(lowerThreshold)
|
83
|
+
hbCommand.addWord(upperThreshold)
|
84
|
+
hbCommand.addByte(reportTimeBase)
|
85
|
+
hbCommand.addByte(minReportTime)
|
86
|
+
hbCommand.addByte(maxReportTime)
|
87
|
+
hbCommand.addByte(hysteresis)
|
88
|
+
hbCommand.addSByte(calibration)
|
89
|
+
hbCommand.addByte(deltaSensorID)
|
90
|
+
ResultWorker()._setResultInfo(None,self.getObjectId())
|
91
|
+
hbCommand.send()
|
92
|
+
logging.info("returns")
|
93
|
+
|
94
|
+
"""
|
95
|
+
"""
|
96
|
+
def getStatus(self):
|
97
|
+
logging.info("getStatus")
|
98
|
+
hbCommand = HausBusCommand(self.objectId, 2, "getStatus")
|
99
|
+
ResultWorker()._setResultInfo(Status,self.getObjectId())
|
100
|
+
hbCommand.send()
|
101
|
+
logging.info("returns")
|
102
|
+
|
103
|
+
"""
|
104
|
+
@param lowerThreshold untere Schwelle.
|
105
|
+
@param upperThreshold obere Schwelle.
|
106
|
+
@param reportTimeBase Zeitbasis fuer die Einstellungen von minReportTime und maxReportTime [s].
|
107
|
+
@param minReportTime Mindestzeit.
|
108
|
+
@param maxReportTime Maximalzeit.
|
109
|
+
@param hysteresis Hysterese.
|
110
|
+
@param calibration Dieser Wert wird verwendet um die vom Sensor gelieferten Messwerte zu justieren..
|
111
|
+
@param deltaSensorID Die InstanceID des Sensors auf diesem Controller.
|
112
|
+
"""
|
113
|
+
def Configuration(self, lowerThreshold:int, upperThreshold:int, reportTimeBase:int, minReportTime:int, maxReportTime:int, hysteresis:int, calibration:int, deltaSensorID:int):
|
114
|
+
logging.info("Configuration"+" lowerThreshold = "+str(lowerThreshold)+" upperThreshold = "+str(upperThreshold)+" reportTimeBase = "+str(reportTimeBase)+" minReportTime = "+str(minReportTime)+" maxReportTime = "+str(maxReportTime)+" hysteresis = "+str(hysteresis)+" calibration = "+str(calibration)+" deltaSensorID = "+str(deltaSensorID))
|
115
|
+
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
116
|
+
hbCommand.addWord(lowerThreshold)
|
117
|
+
hbCommand.addWord(upperThreshold)
|
118
|
+
hbCommand.addByte(reportTimeBase)
|
119
|
+
hbCommand.addByte(minReportTime)
|
120
|
+
hbCommand.addByte(maxReportTime)
|
121
|
+
hbCommand.addByte(hysteresis)
|
122
|
+
hbCommand.addByte(calibration)
|
123
|
+
hbCommand.addByte(deltaSensorID)
|
124
|
+
ResultWorker()._setResultInfo(None,self.getObjectId())
|
125
|
+
hbCommand.send()
|
126
|
+
logging.info("returns")
|
127
|
+
|
128
|
+
"""
|
129
|
+
@param value aktuell gemessener Druck in Pa.
|
130
|
+
@param lastEvent .
|
131
|
+
"""
|
132
|
+
def Status(self, value:int, lastEvent:ELastEvent):
|
133
|
+
logging.info("Status"+" value = "+str(value)+" lastEvent = "+str(lastEvent))
|
134
|
+
hbCommand = HausBusCommand(self.objectId, 129, "Status")
|
135
|
+
hbCommand.addWord(value)
|
136
|
+
hbCommand.addByte(lastEvent.value)
|
137
|
+
ResultWorker()._setResultInfo(None,self.getObjectId())
|
138
|
+
hbCommand.send()
|
139
|
+
logging.info("returns")
|
140
|
+
|
141
|
+
|
@@ -1,23 +1,23 @@
|
|
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.ethernet.params.MOptions import MOptions
|
7
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.ethernet.data.Configuration import Configuration
|
8
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.ethernet.params.EErrorCode import EErrorCode
|
9
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.ethernet.data.CurrentIp import CurrentIp
|
10
|
-
|
11
|
-
class Ethernet(ABusFeature):
|
12
|
-
CLASS_ID:int = 162
|
13
|
-
|
14
|
-
def __init__ (self,objectId:int):
|
15
|
-
super().__init__(objectId)
|
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.ethernet.params.MOptions import MOptions
|
7
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.ethernet.data.Configuration import Configuration
|
8
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.ethernet.params.EErrorCode import EErrorCode
|
9
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.ethernet.data.CurrentIp import CurrentIp
|
16
10
|
|
11
|
+
class Ethernet(ABusFeature):
|
12
|
+
CLASS_ID:int = 162
|
13
|
+
|
14
|
+
def __init__ (self,objectId:int):
|
15
|
+
super().__init__(objectId)
|
16
|
+
|
17
17
|
@staticmethod
|
18
18
|
def create(deviceId:int, instanceId:int):
|
19
|
-
return Ethernet(HausBusUtils.getObjectId(deviceId, 162, instanceId))
|
20
|
-
|
19
|
+
return Ethernet(HausBusUtils.getObjectId(deviceId, 162, instanceId))
|
20
|
+
|
21
21
|
"""
|
22
22
|
@param mac5 .
|
23
23
|
@param mac4 .
|
@@ -26,9 +26,9 @@ class Ethernet(ABusFeature):
|
|
26
26
|
@param mac1 .
|
27
27
|
@param mac0 .
|
28
28
|
"""
|
29
|
-
def wakeUpDevice(self, mac5:int, mac4:int, mac3:int, mac2:int, mac1:int, mac0:int):
|
30
|
-
|
31
|
-
hbCommand = HausBusCommand(self.objectId, 2, "wakeUpDevice")
|
29
|
+
def wakeUpDevice(self, mac5:int, mac4:int, mac3:int, mac2:int, mac1:int, mac0:int):
|
30
|
+
logging.info("wakeUpDevice"+" mac5 = "+str(mac5)+" mac4 = "+str(mac4)+" mac3 = "+str(mac3)+" mac2 = "+str(mac2)+" mac1 = "+str(mac1)+" mac0 = "+str(mac0))
|
31
|
+
hbCommand = HausBusCommand(self.objectId, 2, "wakeUpDevice")
|
32
32
|
hbCommand.addByte(mac5)
|
33
33
|
hbCommand.addByte(mac4)
|
34
34
|
hbCommand.addByte(mac3)
|
@@ -36,24 +36,24 @@ class Ethernet(ABusFeature):
|
|
36
36
|
hbCommand.addByte(mac1)
|
37
37
|
hbCommand.addByte(mac0)
|
38
38
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
39
|
-
hbCommand.send()
|
40
|
-
|
41
|
-
|
39
|
+
hbCommand.send()
|
40
|
+
logging.info("returns")
|
41
|
+
|
42
42
|
"""
|
43
43
|
@param IP0 Eigene IP-Adresse im Format IP0.IP1.IP2.IP3.
|
44
44
|
@param IP1 Eigene IP-Adresse im Format IP0.IP1.IP2.IP3.
|
45
45
|
@param IP2 Eigene IP-Adresse im Format IP0.IP1.IP2.IP3.
|
46
46
|
@param IP3 Eigene IP-Adresse im Format IP0.IP1.IP2.IP3.
|
47
47
|
@param options .
|
48
|
-
@param Server_Port Zusaetzlicher Port fuer die Homeserverfunktionen z.B 15557
|
48
|
+
@param Server_Port Zusaetzlicher Port fuer die Homeserverfunktionen z.B 15557 fuer Loxone oder 5855 f?r IOBroker.
|
49
49
|
@param Server_IP0 Server IP-Adresse im Format IP0.IP1.IP2.IP3 0.0.0.0 deaktiviert das Gateway 13 und 14.
|
50
50
|
@param Server_IP1 Server IP-Adresse im Format IP0.IP1.IP2.IP3 0.0.0.0 deaktiviert das Gateway 13 und 14.
|
51
51
|
@param Server_IP2 Server IP-Adresse im Format IP0.IP1.IP2.IP3 0.0.0.0 deaktiviert das Gateway 13 und 14.
|
52
52
|
@param Server_IP3 Server IP-Adresse im Format IP0.IP1.IP2.IP3 0.0.0.0 deaktiviert das Gateway 13 und 14.
|
53
53
|
"""
|
54
|
-
def Configuration(self, IP0:int, IP1:int, IP2:int, IP3:int, options:MOptions, Server_Port:int, Server_IP0:int, Server_IP1:int, Server_IP2:int, Server_IP3:int):
|
55
|
-
|
56
|
-
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
54
|
+
def Configuration(self, IP0:int, IP1:int, IP2:int, IP3:int, options:MOptions, Server_Port:int, Server_IP0:int, Server_IP1:int, Server_IP2:int, Server_IP3:int):
|
55
|
+
logging.info("Configuration"+" IP0 = "+str(IP0)+" IP1 = "+str(IP1)+" IP2 = "+str(IP2)+" IP3 = "+str(IP3)+" options = "+str(options)+" Server_Port = "+str(Server_Port)+" Server_IP0 = "+str(Server_IP0)+" Server_IP1 = "+str(Server_IP1)+" Server_IP2 = "+str(Server_IP2)+" Server_IP3 = "+str(Server_IP3))
|
56
|
+
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
57
57
|
hbCommand.addByte(IP0)
|
58
58
|
hbCommand.addByte(IP1)
|
59
59
|
hbCommand.addByte(IP2)
|
@@ -65,24 +65,24 @@ class Ethernet(ABusFeature):
|
|
65
65
|
hbCommand.addByte(Server_IP2)
|
66
66
|
hbCommand.addByte(Server_IP3)
|
67
67
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
68
|
-
hbCommand.send()
|
69
|
-
|
70
|
-
|
68
|
+
hbCommand.send()
|
69
|
+
logging.info("returns")
|
70
|
+
|
71
71
|
"""
|
72
72
|
@param IP0 .
|
73
73
|
@param IP1 .
|
74
74
|
@param IP2 .
|
75
75
|
@param IP3 .
|
76
76
|
@param options .
|
77
|
-
@param Server_Port Zusaetzlicher Port fuer die Homeserverfunktionen z.B 15557
|
77
|
+
@param Server_Port Zusaetzlicher Port fuer die Homeserverfunktionen z.B 15557 fuer Loxone oder 5855 f?r IOBroker.
|
78
78
|
@param Server_IP0 Server IP-Adresse im Format IP0.IP1.IP2.IP3 0.0.0.0 deaktiviert das Gateway 13 und 14.
|
79
79
|
@param Server_IP1 Server IP-Adresse im Format IP0.IP1.IP2.IP3 0.0.0.0 deaktiviert das Gateway 13 und 14.
|
80
80
|
@param Server_IP2 Server IP-Adresse im Format IP0.IP1.IP2.IP3 0.0.0.0 deaktiviert das Gateway 13 und 14.
|
81
81
|
@param Server_IP3 Server IP-Adresse im Format IP0.IP1.IP2.IP3 0.0.0.0 deaktiviert das Gateway 13 und 14.
|
82
82
|
"""
|
83
|
-
def setConfiguration(self, IP0:int, IP1:int, IP2:int, IP3:int, options:MOptions, Server_Port:int, Server_IP0:int, Server_IP1:int, Server_IP2:int, Server_IP3:int):
|
84
|
-
|
85
|
-
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
83
|
+
def setConfiguration(self, IP0:int, IP1:int, IP2:int, IP3:int, options:MOptions, Server_Port:int, Server_IP0:int, Server_IP1:int, Server_IP2:int, Server_IP3:int):
|
84
|
+
logging.info("setConfiguration"+" IP0 = "+str(IP0)+" IP1 = "+str(IP1)+" IP2 = "+str(IP2)+" IP3 = "+str(IP3)+" options = "+str(options)+" Server_Port = "+str(Server_Port)+" Server_IP0 = "+str(Server_IP0)+" Server_IP1 = "+str(Server_IP1)+" Server_IP2 = "+str(Server_IP2)+" Server_IP3 = "+str(Server_IP3))
|
85
|
+
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
86
86
|
hbCommand.addByte(IP0)
|
87
87
|
hbCommand.addByte(IP1)
|
88
88
|
hbCommand.addByte(IP2)
|
@@ -94,53 +94,53 @@ class Ethernet(ABusFeature):
|
|
94
94
|
hbCommand.addByte(Server_IP2)
|
95
95
|
hbCommand.addByte(Server_IP3)
|
96
96
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
97
|
-
hbCommand.send()
|
98
|
-
|
99
|
-
|
97
|
+
hbCommand.send()
|
98
|
+
logging.info("returns")
|
99
|
+
|
100
100
|
"""
|
101
101
|
"""
|
102
|
-
def getConfiguration(self):
|
103
|
-
|
104
|
-
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
102
|
+
def getConfiguration(self):
|
103
|
+
logging.info("getConfiguration")
|
104
|
+
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
105
105
|
ResultWorker()._setResultInfo(Configuration,self.getObjectId())
|
106
|
-
hbCommand.send()
|
107
|
-
|
108
|
-
|
106
|
+
hbCommand.send()
|
107
|
+
logging.info("returns")
|
108
|
+
|
109
109
|
"""
|
110
110
|
@param errorCode .
|
111
111
|
"""
|
112
|
-
def evError(self, errorCode:EErrorCode):
|
113
|
-
|
114
|
-
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
112
|
+
def evError(self, errorCode:EErrorCode):
|
113
|
+
logging.info("evError"+" errorCode = "+str(errorCode))
|
114
|
+
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
115
115
|
hbCommand.addByte(errorCode.value)
|
116
116
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
117
|
-
hbCommand.send()
|
118
|
-
|
119
|
-
|
117
|
+
hbCommand.send()
|
118
|
+
logging.info("returns")
|
119
|
+
|
120
120
|
"""
|
121
121
|
@param IP0 .
|
122
122
|
@param IP1 .
|
123
123
|
@param IP2 .
|
124
124
|
@param IP3 .
|
125
125
|
"""
|
126
|
-
def CurrentIp(self, IP0:int, IP1:int, IP2:int, IP3:int):
|
127
|
-
|
128
|
-
hbCommand = HausBusCommand(self.objectId, 129, "CurrentIp")
|
126
|
+
def CurrentIp(self, IP0:int, IP1:int, IP2:int, IP3:int):
|
127
|
+
logging.info("CurrentIp"+" IP0 = "+str(IP0)+" IP1 = "+str(IP1)+" IP2 = "+str(IP2)+" IP3 = "+str(IP3))
|
128
|
+
hbCommand = HausBusCommand(self.objectId, 129, "CurrentIp")
|
129
129
|
hbCommand.addByte(IP0)
|
130
130
|
hbCommand.addByte(IP1)
|
131
131
|
hbCommand.addByte(IP2)
|
132
132
|
hbCommand.addByte(IP3)
|
133
133
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
134
|
-
hbCommand.send()
|
135
|
-
|
136
|
-
|
134
|
+
hbCommand.send()
|
135
|
+
logging.info("returns")
|
136
|
+
|
137
137
|
"""
|
138
138
|
"""
|
139
|
-
def getCurrentIp(self):
|
140
|
-
|
141
|
-
hbCommand = HausBusCommand(self.objectId, 3, "getCurrentIp")
|
139
|
+
def getCurrentIp(self):
|
140
|
+
logging.info("getCurrentIp")
|
141
|
+
hbCommand = HausBusCommand(self.objectId, 3, "getCurrentIp")
|
142
142
|
ResultWorker()._setResultInfo(CurrentIp,self.getObjectId())
|
143
|
-
hbCommand.send()
|
144
|
-
|
145
|
-
|
143
|
+
hbCommand.send()
|
144
|
+
logging.info("returns")
|
145
|
+
|
146
146
|
|
@@ -1,70 +1,70 @@
|
|
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.feuchtesensor.params.EErrorCode import EErrorCode
|
7
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.feuchtesensor.data.Configuration import Configuration
|
8
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.feuchtesensor.data.Status import Status
|
9
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.feuchtesensor.params.ELastEvent import ELastEvent
|
10
|
-
|
11
|
-
class Feuchtesensor(ABusFeature):
|
12
|
-
CLASS_ID:int = 34
|
13
|
-
|
14
|
-
def __init__ (self,objectId:int):
|
15
|
-
super().__init__(objectId)
|
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.feuchtesensor.params.EErrorCode import EErrorCode
|
7
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.feuchtesensor.data.Configuration import Configuration
|
8
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.feuchtesensor.data.Status import Status
|
9
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.feuchtesensor.params.ELastEvent import ELastEvent
|
16
10
|
|
11
|
+
class Feuchtesensor(ABusFeature):
|
12
|
+
CLASS_ID:int = 34
|
13
|
+
|
14
|
+
def __init__ (self,objectId:int):
|
15
|
+
super().__init__(objectId)
|
16
|
+
|
17
17
|
@staticmethod
|
18
18
|
def create(deviceId:int, instanceId:int):
|
19
|
-
return Feuchtesensor(HausBusUtils.getObjectId(deviceId, 34, instanceId))
|
20
|
-
|
19
|
+
return Feuchtesensor(HausBusUtils.getObjectId(deviceId, 34, instanceId))
|
20
|
+
|
21
21
|
"""
|
22
22
|
"""
|
23
|
-
def evDry(self):
|
24
|
-
|
25
|
-
hbCommand = HausBusCommand(self.objectId, 200, "evDry")
|
23
|
+
def evDry(self):
|
24
|
+
logging.info("evDry")
|
25
|
+
hbCommand = HausBusCommand(self.objectId, 200, "evDry")
|
26
26
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
27
|
-
hbCommand.send()
|
28
|
-
|
29
|
-
|
27
|
+
hbCommand.send()
|
28
|
+
logging.info("returns")
|
29
|
+
|
30
30
|
"""
|
31
31
|
"""
|
32
|
-
def evConfortable(self):
|
33
|
-
|
34
|
-
hbCommand = HausBusCommand(self.objectId, 201, "evConfortable")
|
32
|
+
def evConfortable(self):
|
33
|
+
logging.info("evConfortable")
|
34
|
+
hbCommand = HausBusCommand(self.objectId, 201, "evConfortable")
|
35
35
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
36
|
-
hbCommand.send()
|
37
|
-
|
38
|
-
|
36
|
+
hbCommand.send()
|
37
|
+
logging.info("returns")
|
38
|
+
|
39
39
|
"""
|
40
40
|
"""
|
41
|
-
def evWet(self):
|
42
|
-
|
43
|
-
hbCommand = HausBusCommand(self.objectId, 202, "evWet")
|
41
|
+
def evWet(self):
|
42
|
+
logging.info("evWet")
|
43
|
+
hbCommand = HausBusCommand(self.objectId, 202, "evWet")
|
44
44
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
45
|
-
hbCommand.send()
|
46
|
-
|
47
|
-
|
45
|
+
hbCommand.send()
|
46
|
+
logging.info("returns")
|
47
|
+
|
48
48
|
"""
|
49
49
|
@param errorCode .
|
50
50
|
"""
|
51
|
-
def evError(self, errorCode:EErrorCode):
|
52
|
-
|
53
|
-
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
51
|
+
def evError(self, errorCode:EErrorCode):
|
52
|
+
logging.info("evError"+" errorCode = "+str(errorCode))
|
53
|
+
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
54
54
|
hbCommand.addByte(errorCode.value)
|
55
55
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
56
|
-
hbCommand.send()
|
57
|
-
|
58
|
-
|
56
|
+
hbCommand.send()
|
57
|
+
logging.info("returns")
|
58
|
+
|
59
59
|
"""
|
60
60
|
"""
|
61
|
-
def getConfiguration(self):
|
62
|
-
|
63
|
-
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
61
|
+
def getConfiguration(self):
|
62
|
+
logging.info("getConfiguration")
|
63
|
+
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
64
64
|
ResultWorker()._setResultInfo(Configuration,self.getObjectId())
|
65
|
-
hbCommand.send()
|
66
|
-
|
67
|
-
|
65
|
+
hbCommand.send()
|
66
|
+
logging.info("returns")
|
67
|
+
|
68
68
|
"""
|
69
69
|
@param lowerThreshold untere Temperaturschwelle.
|
70
70
|
@param lowerThresholdFraction Nachkommastellen der unteren Temperaturschwelle [00-99].
|
@@ -77,9 +77,9 @@ class Feuchtesensor(ABusFeature):
|
|
77
77
|
@param calibration Dieser Wert wird verwendet um die vom Sensor gelieferten Messwerte zu justieren. [1/10 Prozent].
|
78
78
|
@param deltaSensorID Die InstanceID des Sensors auf diesem Controller.
|
79
79
|
"""
|
80
|
-
def setConfiguration(self, lowerThreshold:int, lowerThresholdFraction:int, upperThreshold:int, upperThresholdFraction:int, reportTimeBase:int, minReportTime:int, maxReportTime:int, hysteresis:int, calibration:int, deltaSensorID:int):
|
81
|
-
|
82
|
-
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
80
|
+
def setConfiguration(self, lowerThreshold:int, lowerThresholdFraction:int, upperThreshold:int, upperThresholdFraction:int, reportTimeBase:int, minReportTime:int, maxReportTime:int, hysteresis:int, calibration:int, deltaSensorID:int):
|
81
|
+
logging.info("setConfiguration"+" lowerThreshold = "+str(lowerThreshold)+" lowerThresholdFraction = "+str(lowerThresholdFraction)+" upperThreshold = "+str(upperThreshold)+" upperThresholdFraction = "+str(upperThresholdFraction)+" reportTimeBase = "+str(reportTimeBase)+" minReportTime = "+str(minReportTime)+" maxReportTime = "+str(maxReportTime)+" hysteresis = "+str(hysteresis)+" calibration = "+str(calibration)+" deltaSensorID = "+str(deltaSensorID))
|
82
|
+
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
83
83
|
hbCommand.addByte(lowerThreshold)
|
84
84
|
hbCommand.addByte(lowerThresholdFraction)
|
85
85
|
hbCommand.addByte(upperThreshold)
|
@@ -91,18 +91,18 @@ class Feuchtesensor(ABusFeature):
|
|
91
91
|
hbCommand.addSByte(calibration)
|
92
92
|
hbCommand.addByte(deltaSensorID)
|
93
93
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
94
|
-
hbCommand.send()
|
95
|
-
|
96
|
-
|
94
|
+
hbCommand.send()
|
95
|
+
logging.info("returns")
|
96
|
+
|
97
97
|
"""
|
98
98
|
"""
|
99
|
-
def getStatus(self):
|
100
|
-
|
101
|
-
hbCommand = HausBusCommand(self.objectId, 2, "getStatus")
|
99
|
+
def getStatus(self):
|
100
|
+
logging.info("getStatus")
|
101
|
+
hbCommand = HausBusCommand(self.objectId, 2, "getStatus")
|
102
102
|
ResultWorker()._setResultInfo(Status,self.getObjectId())
|
103
|
-
hbCommand.send()
|
104
|
-
|
105
|
-
|
103
|
+
hbCommand.send()
|
104
|
+
logging.info("returns")
|
105
|
+
|
106
106
|
"""
|
107
107
|
@param lowerThreshold untere Temperaturschwelle.
|
108
108
|
@param lowerThresholdFraction Nachkommastellen der unteren Temperaturschwelle [00-99].
|
@@ -115,9 +115,9 @@ class Feuchtesensor(ABusFeature):
|
|
115
115
|
@param calibration Dieser Wert wird verwendet um die vom Sensor gelieferten Messwerte zu justieren. [1/10 Prozent].
|
116
116
|
@param deltaSensorID Die InstanceID des Sensors auf diesem Controller.
|
117
117
|
"""
|
118
|
-
def Configuration(self, lowerThreshold:int, lowerThresholdFraction:int, upperThreshold:int, upperThresholdFraction:int, reportTimeBase:int, minReportTime:int, maxReportTime:int, hysteresis:int, calibration:int, deltaSensorID:int):
|
119
|
-
|
120
|
-
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
118
|
+
def Configuration(self, lowerThreshold:int, lowerThresholdFraction:int, upperThreshold:int, upperThresholdFraction:int, reportTimeBase:int, minReportTime:int, maxReportTime:int, hysteresis:int, calibration:int, deltaSensorID:int):
|
119
|
+
logging.info("Configuration"+" lowerThreshold = "+str(lowerThreshold)+" lowerThresholdFraction = "+str(lowerThresholdFraction)+" upperThreshold = "+str(upperThreshold)+" upperThresholdFraction = "+str(upperThresholdFraction)+" reportTimeBase = "+str(reportTimeBase)+" minReportTime = "+str(minReportTime)+" maxReportTime = "+str(maxReportTime)+" hysteresis = "+str(hysteresis)+" calibration = "+str(calibration)+" deltaSensorID = "+str(deltaSensorID))
|
120
|
+
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
121
121
|
hbCommand.addByte(lowerThreshold)
|
122
122
|
hbCommand.addByte(lowerThresholdFraction)
|
123
123
|
hbCommand.addByte(upperThreshold)
|
@@ -129,37 +129,37 @@ class Feuchtesensor(ABusFeature):
|
|
129
129
|
hbCommand.addSByte(calibration)
|
130
130
|
hbCommand.addByte(deltaSensorID)
|
131
131
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
132
|
-
hbCommand.send()
|
133
|
-
|
134
|
-
|
132
|
+
hbCommand.send()
|
133
|
+
logging.info("returns")
|
134
|
+
|
135
135
|
"""
|
136
136
|
@param relativeHumidity Relative Luftfeuchte in %.
|
137
137
|
@param centiHumidity hundertstel Relative Luftfeuchte in %.
|
138
138
|
@param lastEvent .
|
139
139
|
"""
|
140
|
-
def evStatus(self, relativeHumidity:int, centiHumidity:int, lastEvent:ELastEvent):
|
141
|
-
|
142
|
-
hbCommand = HausBusCommand(self.objectId, 203, "evStatus")
|
140
|
+
def evStatus(self, relativeHumidity:int, centiHumidity:int, lastEvent:ELastEvent):
|
141
|
+
logging.info("evStatus"+" relativeHumidity = "+str(relativeHumidity)+" centiHumidity = "+str(centiHumidity)+" lastEvent = "+str(lastEvent))
|
142
|
+
hbCommand = HausBusCommand(self.objectId, 203, "evStatus")
|
143
143
|
hbCommand.addByte(relativeHumidity)
|
144
144
|
hbCommand.addByte(centiHumidity)
|
145
145
|
hbCommand.addByte(lastEvent.value)
|
146
146
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
147
|
-
hbCommand.send()
|
148
|
-
|
149
|
-
|
147
|
+
hbCommand.send()
|
148
|
+
logging.info("returns")
|
149
|
+
|
150
150
|
"""
|
151
151
|
@param relativeHumidity Relative Luftfeuchte in %.
|
152
152
|
@param centiHumidity hundertstel Relative Luftfeuchte in %.
|
153
153
|
@param lastEvent .
|
154
154
|
"""
|
155
|
-
def Status(self, relativeHumidity:int, centiHumidity:int, lastEvent:ELastEvent):
|
156
|
-
|
157
|
-
hbCommand = HausBusCommand(self.objectId, 129, "Status")
|
155
|
+
def Status(self, relativeHumidity:int, centiHumidity:int, lastEvent:ELastEvent):
|
156
|
+
logging.info("Status"+" relativeHumidity = "+str(relativeHumidity)+" centiHumidity = "+str(centiHumidity)+" lastEvent = "+str(lastEvent))
|
157
|
+
hbCommand = HausBusCommand(self.objectId, 129, "Status")
|
158
158
|
hbCommand.addByte(relativeHumidity)
|
159
159
|
hbCommand.addByte(centiHumidity)
|
160
160
|
hbCommand.addByte(lastEvent.value)
|
161
161
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
162
|
-
hbCommand.send()
|
163
|
-
|
164
|
-
|
162
|
+
hbCommand.send()
|
163
|
+
logging.info("returns")
|
164
|
+
|
165
165
|
|