pyhausbus 1.0.0__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 -0
- pyhausbus/HausBusUtils.py +203 -193
- 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.0.dist-info → pyhausbus-1.0.2.dist-info}/LICENSE +21 -21
- {pyhausbus-1.0.0.dist-info → pyhausbus-1.0.2.dist-info}/METADATA +5 -1
- pyhausbus-1.0.2.dist-info/RECORD +640 -0
- {pyhausbus-1.0.0.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.0.dist-info/RECORD +0 -525
@@ -1,123 +1,123 @@
|
|
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.daliLine.data.Configuration import Configuration
|
7
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.daliLine.params.EErrorCode import EErrorCode
|
8
|
-
|
9
|
-
class DaliLine(ABusFeature):
|
10
|
-
CLASS_ID:int = 160
|
11
|
-
|
12
|
-
def __init__ (self,objectId:int):
|
13
|
-
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.daliLine.data.Configuration import Configuration
|
7
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.daliLine.params.EErrorCode import EErrorCode
|
14
8
|
|
9
|
+
class DaliLine(ABusFeature):
|
10
|
+
CLASS_ID:int = 160
|
11
|
+
|
12
|
+
def __init__ (self,objectId:int):
|
13
|
+
super().__init__(objectId)
|
14
|
+
|
15
15
|
@staticmethod
|
16
16
|
def create(deviceId:int, instanceId:int):
|
17
|
-
return DaliLine(HausBusUtils.getObjectId(deviceId, 160, instanceId))
|
18
|
-
|
17
|
+
return DaliLine(HausBusUtils.getObjectId(deviceId, 160, instanceId))
|
18
|
+
|
19
19
|
"""
|
20
20
|
@param address0 .
|
21
21
|
@param address1 .
|
22
22
|
@param address2 .
|
23
23
|
@param address3 .
|
24
24
|
"""
|
25
|
-
def getConfiguration(self, address0:int, address1:int, address2:int, address3:int):
|
26
|
-
|
27
|
-
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
25
|
+
def getConfiguration(self, address0:int, address1:int, address2:int, address3:int):
|
26
|
+
logging.info("getConfiguration"+" address0 = "+str(address0)+" address1 = "+str(address1)+" address2 = "+str(address2)+" address3 = "+str(address3))
|
27
|
+
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
28
28
|
hbCommand.addByte(address0)
|
29
29
|
hbCommand.addByte(address1)
|
30
30
|
hbCommand.addByte(address2)
|
31
31
|
hbCommand.addByte(address3)
|
32
32
|
ResultWorker()._setResultInfo(Configuration,self.getObjectId())
|
33
|
-
hbCommand.send()
|
34
|
-
|
35
|
-
|
33
|
+
hbCommand.send()
|
34
|
+
logging.info("returns")
|
35
|
+
|
36
36
|
"""
|
37
37
|
@param address0 .
|
38
38
|
@param address1 .
|
39
39
|
@param address2 .
|
40
40
|
@param address3 .
|
41
41
|
"""
|
42
|
-
def setConfiguration(self, address0:int, address1:int, address2:int, address3:int):
|
43
|
-
|
44
|
-
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
42
|
+
def setConfiguration(self, address0:int, address1:int, address2:int, address3:int):
|
43
|
+
logging.info("setConfiguration"+" address0 = "+str(address0)+" address1 = "+str(address1)+" address2 = "+str(address2)+" address3 = "+str(address3))
|
44
|
+
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
45
45
|
hbCommand.addByte(address0)
|
46
46
|
hbCommand.addByte(address1)
|
47
47
|
hbCommand.addByte(address2)
|
48
48
|
hbCommand.addByte(address3)
|
49
49
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
50
|
-
hbCommand.send()
|
51
|
-
|
52
|
-
|
50
|
+
hbCommand.send()
|
51
|
+
logging.info("returns")
|
52
|
+
|
53
53
|
"""
|
54
54
|
"""
|
55
|
-
def allOff(self):
|
56
|
-
|
57
|
-
hbCommand = HausBusCommand(self.objectId, 2, "allOff")
|
55
|
+
def allOff(self):
|
56
|
+
logging.info("allOff")
|
57
|
+
hbCommand = HausBusCommand(self.objectId, 2, "allOff")
|
58
58
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
59
|
-
hbCommand.send()
|
60
|
-
|
61
|
-
|
59
|
+
hbCommand.send()
|
60
|
+
logging.info("returns")
|
61
|
+
|
62
62
|
"""
|
63
63
|
"""
|
64
|
-
def allOn(self):
|
65
|
-
|
66
|
-
hbCommand = HausBusCommand(self.objectId, 3, "allOn")
|
64
|
+
def allOn(self):
|
65
|
+
logging.info("allOn")
|
66
|
+
hbCommand = HausBusCommand(self.objectId, 3, "allOn")
|
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 command Dali Kommando s.Spezifikation.
|
73
73
|
@param address Kurz- oder Gruppenadresse YAAA AAAS\r\n64 Kurzadressen 0AAA AAAS\r\n16 Gruppenadressen 100A AAAS\r\nSammelaufruf 1111 111S\r\n\r\nY: Adressenart: Y=? ? ? ?? ?? ??? ?? ?0? ? ? ?? ?? ??? ?? ? ? Kurzadresse.
|
74
74
|
"""
|
75
|
-
def sendCommand(self, command:int, address:int):
|
76
|
-
|
77
|
-
hbCommand = HausBusCommand(self.objectId, 4, "sendCommand")
|
75
|
+
def sendCommand(self, command:int, address:int):
|
76
|
+
logging.info("sendCommand"+" command = "+str(command)+" address = "+str(address))
|
77
|
+
hbCommand = HausBusCommand(self.objectId, 4, "sendCommand")
|
78
78
|
hbCommand.addByte(command)
|
79
79
|
hbCommand.addByte(address)
|
80
80
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
81
|
-
hbCommand.send()
|
82
|
-
|
83
|
-
|
81
|
+
hbCommand.send()
|
82
|
+
logging.info("returns")
|
83
|
+
|
84
84
|
"""
|
85
85
|
@param address0 .
|
86
86
|
@param address1 .
|
87
87
|
@param address2 .
|
88
88
|
@param address3 .
|
89
89
|
"""
|
90
|
-
def Configuration(self, address0:int, address1:int, address2:int, address3:int):
|
91
|
-
|
92
|
-
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
90
|
+
def Configuration(self, address0:int, address1:int, address2:int, address3:int):
|
91
|
+
logging.info("Configuration"+" address0 = "+str(address0)+" address1 = "+str(address1)+" address2 = "+str(address2)+" address3 = "+str(address3))
|
92
|
+
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
93
93
|
hbCommand.addByte(address0)
|
94
94
|
hbCommand.addByte(address1)
|
95
95
|
hbCommand.addByte(address2)
|
96
96
|
hbCommand.addByte(address3)
|
97
97
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
98
|
-
hbCommand.send()
|
99
|
-
|
100
|
-
|
98
|
+
hbCommand.send()
|
99
|
+
logging.info("returns")
|
100
|
+
|
101
101
|
"""
|
102
102
|
@param status .
|
103
103
|
"""
|
104
|
-
def Status(self, status:int):
|
105
|
-
|
106
|
-
hbCommand = HausBusCommand(self.objectId, 129, "Status")
|
104
|
+
def Status(self, status:int):
|
105
|
+
logging.info("Status"+" status = "+str(status))
|
106
|
+
hbCommand = HausBusCommand(self.objectId, 129, "Status")
|
107
107
|
hbCommand.addByte(status)
|
108
108
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
109
|
-
hbCommand.send()
|
110
|
-
|
111
|
-
|
109
|
+
hbCommand.send()
|
110
|
+
logging.info("returns")
|
111
|
+
|
112
112
|
"""
|
113
113
|
@param errorCode .
|
114
114
|
"""
|
115
|
-
def evError(self, errorCode:EErrorCode):
|
116
|
-
|
117
|
-
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
115
|
+
def evError(self, errorCode:EErrorCode):
|
116
|
+
logging.info("evError"+" errorCode = "+str(errorCode))
|
117
|
+
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
118
118
|
hbCommand.addByte(errorCode.value)
|
119
119
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
120
|
-
hbCommand.send()
|
121
|
-
|
122
|
-
|
120
|
+
hbCommand.send()
|
121
|
+
logging.info("returns")
|
122
|
+
|
123
123
|
|
@@ -1,31 +1,31 @@
|
|
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.digitalPort.data.Configuration import Configuration
|
7
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.digitalPort.params.EPin import EPin
|
8
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.digitalPort.params.EErrorCode import EErrorCode
|
9
|
-
|
10
|
-
class DigitalPort(ABusFeature):
|
11
|
-
CLASS_ID:int = 15
|
12
|
-
|
13
|
-
def __init__ (self,objectId:int):
|
14
|
-
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.digitalPort.data.Configuration import Configuration
|
7
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.digitalPort.params.EPin import EPin
|
8
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.digitalPort.params.EErrorCode import EErrorCode
|
15
9
|
|
10
|
+
class DigitalPort(ABusFeature):
|
11
|
+
CLASS_ID:int = 15
|
12
|
+
|
13
|
+
def __init__ (self,objectId:int):
|
14
|
+
super().__init__(objectId)
|
15
|
+
|
16
16
|
@staticmethod
|
17
17
|
def create(deviceId:int, instanceId:int):
|
18
|
-
return DigitalPort(HausBusUtils.getObjectId(deviceId, 15, instanceId))
|
19
|
-
|
18
|
+
return DigitalPort(HausBusUtils.getObjectId(deviceId, 15, instanceId))
|
19
|
+
|
20
20
|
"""
|
21
21
|
"""
|
22
|
-
def getConfiguration(self):
|
23
|
-
|
24
|
-
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
22
|
+
def getConfiguration(self):
|
23
|
+
logging.info("getConfiguration")
|
24
|
+
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
25
25
|
ResultWorker()._setResultInfo(Configuration,self.getObjectId())
|
26
|
-
hbCommand.send()
|
27
|
-
|
28
|
-
|
26
|
+
hbCommand.send()
|
27
|
+
logging.info("returns")
|
28
|
+
|
29
29
|
"""
|
30
30
|
@param pin0 .
|
31
31
|
@param pin1 .
|
@@ -36,9 +36,9 @@ class DigitalPort(ABusFeature):
|
|
36
36
|
@param pin6 .
|
37
37
|
@param pin7 .
|
38
38
|
"""
|
39
|
-
def setConfiguration(self, pin0:EPin, pin1:EPin, pin2:EPin, pin3:EPin, pin4:EPin, pin5:EPin, pin6:EPin, pin7:EPin):
|
40
|
-
|
41
|
-
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
39
|
+
def setConfiguration(self, pin0:EPin, pin1:EPin, pin2:EPin, pin3:EPin, pin4:EPin, pin5:EPin, pin6:EPin, pin7:EPin):
|
40
|
+
logging.info("setConfiguration"+" pin0 = "+str(pin0)+" pin1 = "+str(pin1)+" pin2 = "+str(pin2)+" pin3 = "+str(pin3)+" pin4 = "+str(pin4)+" pin5 = "+str(pin5)+" pin6 = "+str(pin6)+" pin7 = "+str(pin7))
|
41
|
+
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
42
42
|
hbCommand.addByte(pin0.value)
|
43
43
|
hbCommand.addByte(pin1.value)
|
44
44
|
hbCommand.addByte(pin2.value)
|
@@ -48,9 +48,9 @@ class DigitalPort(ABusFeature):
|
|
48
48
|
hbCommand.addByte(pin6.value)
|
49
49
|
hbCommand.addByte(pin7.value)
|
50
50
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
51
|
-
hbCommand.send()
|
52
|
-
|
53
|
-
|
51
|
+
hbCommand.send()
|
52
|
+
logging.info("returns")
|
53
|
+
|
54
54
|
"""
|
55
55
|
@param pin0 .
|
56
56
|
@param pin1 .
|
@@ -61,9 +61,9 @@ class DigitalPort(ABusFeature):
|
|
61
61
|
@param pin6 .
|
62
62
|
@param pin7 .
|
63
63
|
"""
|
64
|
-
def Configuration(self, pin0:EPin, pin1:EPin, pin2:EPin, pin3:EPin, pin4:EPin, pin5:EPin, pin6:EPin, pin7:EPin):
|
65
|
-
|
66
|
-
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
64
|
+
def Configuration(self, pin0:EPin, pin1:EPin, pin2:EPin, pin3:EPin, pin4:EPin, pin5:EPin, pin6:EPin, pin7:EPin):
|
65
|
+
logging.info("Configuration"+" pin0 = "+str(pin0)+" pin1 = "+str(pin1)+" pin2 = "+str(pin2)+" pin3 = "+str(pin3)+" pin4 = "+str(pin4)+" pin5 = "+str(pin5)+" pin6 = "+str(pin6)+" pin7 = "+str(pin7))
|
66
|
+
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
67
67
|
hbCommand.addByte(pin0.value)
|
68
68
|
hbCommand.addByte(pin1.value)
|
69
69
|
hbCommand.addByte(pin2.value)
|
@@ -73,18 +73,18 @@ class DigitalPort(ABusFeature):
|
|
73
73
|
hbCommand.addByte(pin6.value)
|
74
74
|
hbCommand.addByte(pin7.value)
|
75
75
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
76
|
-
hbCommand.send()
|
77
|
-
|
78
|
-
|
76
|
+
hbCommand.send()
|
77
|
+
logging.info("returns")
|
78
|
+
|
79
79
|
"""
|
80
80
|
@param errorCode .
|
81
81
|
"""
|
82
|
-
def evError(self, errorCode:EErrorCode):
|
83
|
-
|
84
|
-
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
82
|
+
def evError(self, errorCode:EErrorCode):
|
83
|
+
logging.info("evError"+" errorCode = "+str(errorCode))
|
84
|
+
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
85
85
|
hbCommand.addByte(errorCode.value)
|
86
86
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
87
|
-
hbCommand.send()
|
88
|
-
|
89
|
-
|
87
|
+
hbCommand.send()
|
88
|
+
logging.info("returns")
|
89
|
+
|
90
90
|
|
@@ -1,37 +1,37 @@
|
|
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.dimmer.params.EMode import EMode
|
7
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.data.Configuration import Configuration
|
8
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.params.EDirection import EDirection
|
9
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.data.Status import Status
|
10
|
-
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.params.EErrorCode import EErrorCode
|
11
|
-
|
12
|
-
class Dimmer(ABusFeature):
|
13
|
-
CLASS_ID:int = 17
|
14
|
-
|
15
|
-
def __init__ (self,objectId:int):
|
16
|
-
super().__init__(objectId)
|
17
|
-
|
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.dimmer.params.EMode import EMode
|
7
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.data.Configuration import Configuration
|
8
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.params.EDirection import EDirection
|
9
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.data.Status import Status
|
10
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.params.EErrorCode import EErrorCode
|
11
|
+
|
12
|
+
class Dimmer(ABusFeature):
|
13
|
+
CLASS_ID:int = 17
|
14
|
+
|
15
|
+
def __init__ (self,objectId:int):
|
16
|
+
super().__init__(objectId)
|
17
|
+
|
18
18
|
@staticmethod
|
19
19
|
def create(deviceId:int, instanceId:int):
|
20
|
-
return Dimmer(HausBusUtils.getObjectId(deviceId, 17, instanceId))
|
21
|
-
|
20
|
+
return Dimmer(HausBusUtils.getObjectId(deviceId, 17, instanceId))
|
21
|
+
|
22
22
|
"""
|
23
23
|
@param brightness aktuelle Helligkeit 0-100%.
|
24
24
|
@param duration Einschaltdauer: Wert in Sekunden\r\n0=Endlos.
|
25
25
|
"""
|
26
|
-
def evOn(self, brightness:int, duration:int):
|
27
|
-
|
28
|
-
hbCommand = HausBusCommand(self.objectId, 201, "evOn")
|
26
|
+
def evOn(self, brightness:int, duration:int):
|
27
|
+
logging.info("evOn"+" brightness = "+str(brightness)+" duration = "+str(duration))
|
28
|
+
hbCommand = HausBusCommand(self.objectId, 201, "evOn")
|
29
29
|
hbCommand.addByte(brightness)
|
30
30
|
hbCommand.addWord(duration)
|
31
31
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
32
|
-
hbCommand.send()
|
33
|
-
|
34
|
-
|
32
|
+
hbCommand.send()
|
33
|
+
logging.info("returns")
|
34
|
+
|
35
35
|
"""
|
36
36
|
@param mode DIMM_CR: dieser Mode ist zu Verwenden.
|
37
37
|
@param fadingTime Zeit a 50ms um 0-100% zu dimmen.
|
@@ -39,40 +39,40 @@ class Dimmer(ABusFeature):
|
|
39
39
|
@param dimmingRangeStart Startwert des Helligkeitbereiches in dem gedimmt werden soll. 0-100%.
|
40
40
|
@param dimmingRangeEnd Endwert des Helligkeitbereiches in dem gedimmt werden soll. 0-100%.
|
41
41
|
"""
|
42
|
-
def setConfiguration(self, mode:EMode, fadingTime:int, dimmingTime:int, dimmingRangeStart:int, dimmingRangeEnd:int):
|
43
|
-
|
44
|
-
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
42
|
+
def setConfiguration(self, mode:EMode, fadingTime:int, dimmingTime:int, dimmingRangeStart:int, dimmingRangeEnd:int):
|
43
|
+
logging.info("setConfiguration"+" mode = "+str(mode)+" fadingTime = "+str(fadingTime)+" dimmingTime = "+str(dimmingTime)+" dimmingRangeStart = "+str(dimmingRangeStart)+" dimmingRangeEnd = "+str(dimmingRangeEnd))
|
44
|
+
hbCommand = HausBusCommand(self.objectId, 1, "setConfiguration")
|
45
45
|
hbCommand.addByte(mode.value)
|
46
46
|
hbCommand.addByte(fadingTime)
|
47
47
|
hbCommand.addByte(dimmingTime)
|
48
48
|
hbCommand.addByte(dimmingRangeStart)
|
49
49
|
hbCommand.addByte(dimmingRangeEnd)
|
50
50
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
51
|
-
hbCommand.send()
|
52
|
-
|
53
|
-
|
51
|
+
hbCommand.send()
|
52
|
+
logging.info("returns")
|
53
|
+
|
54
54
|
"""
|
55
55
|
"""
|
56
|
-
def getConfiguration(self):
|
57
|
-
|
58
|
-
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
56
|
+
def getConfiguration(self):
|
57
|
+
logging.info("getConfiguration")
|
58
|
+
hbCommand = HausBusCommand(self.objectId, 0, "getConfiguration")
|
59
59
|
ResultWorker()._setResultInfo(Configuration,self.getObjectId())
|
60
|
-
hbCommand.send()
|
61
|
-
|
62
|
-
|
60
|
+
hbCommand.send()
|
61
|
+
logging.info("returns")
|
62
|
+
|
63
63
|
"""
|
64
64
|
@param brightness Helligkeit in Prozent.
|
65
65
|
@param duration Einschaltdauer in Sekunden.
|
66
66
|
"""
|
67
|
-
def setBrightness(self, brightness:int, duration:int):
|
68
|
-
|
69
|
-
hbCommand = HausBusCommand(self.objectId, 2, "setBrightness")
|
67
|
+
def setBrightness(self, brightness:int, duration:int):
|
68
|
+
logging.info("setBrightness"+" brightness = "+str(brightness)+" duration = "+str(duration))
|
69
|
+
hbCommand = HausBusCommand(self.objectId, 2, "setBrightness")
|
70
70
|
hbCommand.addByte(brightness)
|
71
71
|
hbCommand.addWord(duration)
|
72
72
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
73
|
-
hbCommand.send()
|
74
|
-
|
75
|
-
|
73
|
+
hbCommand.send()
|
74
|
+
logging.info("returns")
|
75
|
+
|
76
76
|
"""
|
77
77
|
@param mode DIMM_CR: Dimmer arbeitet mit Phasenabschnitt\r\nDIMM_L: Dimmer arbeitet mit Phasenanschnitt\r\nSWITCH: Dimmer schaltet nur keine Dimmfunktion\r\n\r\nACHTUNG: EIN FALSCHER MODE.
|
78
78
|
@param fadingTime Zeit a 50ms um zwischen den unterschiedlichen Helligkeitsstufen zu schalten.
|
@@ -80,89 +80,89 @@ class Dimmer(ABusFeature):
|
|
80
80
|
@param dimmingRangeStart Startwert des Helligkeitbereiches in dem gedimmt werden soll. 0-100%.
|
81
81
|
@param dimmingRangeEnd Endwert des Helligkeitbereiches in dem gedimmt werden soll. 0-100%.
|
82
82
|
"""
|
83
|
-
def Configuration(self, mode:EMode, fadingTime:int, dimmingTime:int, dimmingRangeStart:int, dimmingRangeEnd:int):
|
84
|
-
|
85
|
-
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
83
|
+
def Configuration(self, mode:EMode, fadingTime:int, dimmingTime:int, dimmingRangeStart:int, dimmingRangeEnd:int):
|
84
|
+
logging.info("Configuration"+" mode = "+str(mode)+" fadingTime = "+str(fadingTime)+" dimmingTime = "+str(dimmingTime)+" dimmingRangeStart = "+str(dimmingRangeStart)+" dimmingRangeEnd = "+str(dimmingRangeEnd))
|
85
|
+
hbCommand = HausBusCommand(self.objectId, 128, "Configuration")
|
86
86
|
hbCommand.addByte(mode.value)
|
87
87
|
hbCommand.addByte(fadingTime)
|
88
88
|
hbCommand.addByte(dimmingTime)
|
89
89
|
hbCommand.addByte(dimmingRangeStart)
|
90
90
|
hbCommand.addByte(dimmingRangeEnd)
|
91
91
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
92
|
-
hbCommand.send()
|
93
|
-
|
94
|
-
|
92
|
+
hbCommand.send()
|
93
|
+
logging.info("returns")
|
94
|
+
|
95
95
|
"""
|
96
96
|
"""
|
97
|
-
def evOff(self):
|
98
|
-
|
99
|
-
hbCommand = HausBusCommand(self.objectId, 200, "evOff")
|
97
|
+
def evOff(self):
|
98
|
+
logging.info("evOff")
|
99
|
+
hbCommand = HausBusCommand(self.objectId, 200, "evOff")
|
100
100
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
101
|
-
hbCommand.send()
|
102
|
-
|
103
|
-
|
101
|
+
hbCommand.send()
|
102
|
+
logging.info("returns")
|
103
|
+
|
104
104
|
"""
|
105
105
|
@param direction .
|
106
106
|
"""
|
107
|
-
def evStart(self, direction:EDirection):
|
108
|
-
|
109
|
-
hbCommand = HausBusCommand(self.objectId, 202, "evStart")
|
107
|
+
def evStart(self, direction:EDirection):
|
108
|
+
logging.info("evStart"+" direction = "+str(direction))
|
109
|
+
hbCommand = HausBusCommand(self.objectId, 202, "evStart")
|
110
110
|
hbCommand.addByte(direction.value)
|
111
111
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
112
|
-
hbCommand.send()
|
113
|
-
|
114
|
-
|
112
|
+
hbCommand.send()
|
113
|
+
logging.info("returns")
|
114
|
+
|
115
115
|
"""
|
116
116
|
@param direction .
|
117
117
|
"""
|
118
|
-
def start(self, direction:EDirection):
|
119
|
-
|
120
|
-
hbCommand = HausBusCommand(self.objectId, 3, "start")
|
118
|
+
def start(self, direction:EDirection):
|
119
|
+
logging.info("start"+" direction = "+str(direction))
|
120
|
+
hbCommand = HausBusCommand(self.objectId, 3, "start")
|
121
121
|
hbCommand.addByte(direction.value)
|
122
122
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
123
|
-
hbCommand.send()
|
124
|
-
|
125
|
-
|
123
|
+
hbCommand.send()
|
124
|
+
logging.info("returns")
|
125
|
+
|
126
126
|
"""
|
127
127
|
"""
|
128
|
-
def stop(self):
|
129
|
-
|
130
|
-
hbCommand = HausBusCommand(self.objectId, 4, "stop")
|
128
|
+
def stop(self):
|
129
|
+
logging.info("stop")
|
130
|
+
hbCommand = HausBusCommand(self.objectId, 4, "stop")
|
131
131
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
132
|
-
hbCommand.send()
|
133
|
-
|
134
|
-
|
132
|
+
hbCommand.send()
|
133
|
+
logging.info("returns")
|
134
|
+
|
135
135
|
"""
|
136
136
|
"""
|
137
|
-
def getStatus(self):
|
138
|
-
|
139
|
-
hbCommand = HausBusCommand(self.objectId, 5, "getStatus")
|
137
|
+
def getStatus(self):
|
138
|
+
logging.info("getStatus")
|
139
|
+
hbCommand = HausBusCommand(self.objectId, 5, "getStatus")
|
140
140
|
ResultWorker()._setResultInfo(Status,self.getObjectId())
|
141
|
-
hbCommand.send()
|
142
|
-
|
143
|
-
|
141
|
+
hbCommand.send()
|
142
|
+
logging.info("returns")
|
143
|
+
|
144
144
|
"""
|
145
145
|
@param brightness aktuelle Helligkeit 0-100%.
|
146
146
|
@param duration Einschaltdauer: Wert in Sekunden\r\n0=Endlos.
|
147
147
|
"""
|
148
|
-
def Status(self, brightness:int, duration:int):
|
149
|
-
|
150
|
-
hbCommand = HausBusCommand(self.objectId, 129, "Status")
|
148
|
+
def Status(self, brightness:int, duration:int):
|
149
|
+
logging.info("Status"+" brightness = "+str(brightness)+" duration = "+str(duration))
|
150
|
+
hbCommand = HausBusCommand(self.objectId, 129, "Status")
|
151
151
|
hbCommand.addByte(brightness)
|
152
152
|
hbCommand.addWord(duration)
|
153
153
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
154
|
-
hbCommand.send()
|
155
|
-
|
156
|
-
|
154
|
+
hbCommand.send()
|
155
|
+
logging.info("returns")
|
156
|
+
|
157
157
|
"""
|
158
158
|
@param errorCode NO_ZERO_CROSS_DETECTED: Nulldurchgaenge koennen nicht detektiert werde.
|
159
159
|
"""
|
160
|
-
def evError(self, errorCode:EErrorCode):
|
161
|
-
|
162
|
-
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
160
|
+
def evError(self, errorCode:EErrorCode):
|
161
|
+
logging.info("evError"+" errorCode = "+str(errorCode))
|
162
|
+
hbCommand = HausBusCommand(self.objectId, 255, "evError")
|
163
163
|
hbCommand.addByte(errorCode.value)
|
164
164
|
ResultWorker()._setResultInfo(None,self.getObjectId())
|
165
|
-
hbCommand.send()
|
166
|
-
|
167
|
-
|
165
|
+
hbCommand.send()
|
166
|
+
logging.info("returns")
|
167
|
+
|
168
168
|
|