pyhausbus 1.0.0__tar.gz
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-1.0.0/LICENSE +21 -0
- pyhausbus-1.0.0/PKG-INFO +26 -0
- pyhausbus-1.0.0/README.md +3 -0
- pyhausbus-1.0.0/pyhausbus/ABusFeature.py +22 -0
- pyhausbus-1.0.0/pyhausbus/BusDataMessage.py +23 -0
- pyhausbus-1.0.0/pyhausbus/BusHandler.py +110 -0
- pyhausbus-1.0.0/pyhausbus/HausBusCommand.py +84 -0
- pyhausbus-1.0.0/pyhausbus/HausBusUtils.py +193 -0
- pyhausbus-1.0.0/pyhausbus/HomeServer.py +68 -0
- pyhausbus-1.0.0/pyhausbus/IBusDataListener.py +7 -0
- pyhausbus-1.0.0/pyhausbus/Main.py +100 -0
- pyhausbus-1.0.0/pyhausbus/ObjectId.py +22 -0
- pyhausbus-1.0.0/pyhausbus/ResultWorker.py +53 -0
- pyhausbus-1.0.0/pyhausbus/UdpReceiveWorker.py +73 -0
- pyhausbus-1.0.0/pyhausbus/WeekTime.py +56 -0
- pyhausbus-1.0.0/pyhausbus/de/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Controller.py +763 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Counter.py +123 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/CurrentReader.py +217 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/DaliLine.py +123 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/DigitalPort.py +90 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Dimmer.py +168 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Ethernet.py +146 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Feuchtesensor.py +165 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Gateway.py +135 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Helligkeitssensor.py +153 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/IRSensor.py +92 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Led.py +213 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/LogicalButton.py +272 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ModBusMaster.py +60 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ModbusSlave.py +17 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/PCServer.py +104 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/PIDController.py +130 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/PowerMeter.py +165 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ProxyFactory.py +682 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/RFIDReader.py +120 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/RGBDimmer.py +119 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Rollladen.py +192 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Schalter.py +190 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/SnmpAgent.py +17 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/SystemTime.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Taster.py +212 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Taupunkt.py +165 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/TcpClient.py +72 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Temperatursensor.py +165 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/Wetter.py +50 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/WiFi.py +133 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/EnableFeature.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GenerateRandomDeviceId.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetModuleId.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetRemoteObjects.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetRuleState.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetSystemVariable.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetTime.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetUnitGroupStatus.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/GetUnusedMemory.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/Ping.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/ReadMemory.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/ReadRules.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/Reset.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetConfiguration.py +104 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetDebugOptions.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetRuleState.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetSunTimes.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetSystemVariable.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetTime.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/SetUnitGroupState.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/TriggerRuleElement.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/WriteMemory.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/WriteRules.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/Configuration.py +132 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvConsole.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvDay.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvGroupOff.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvGroupOn.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvGroupUndefined.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvNewDeviceId.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvNight.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvResetWifi.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvStarted.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvSystemVariableChanged.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvTime.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/EvZeroCrossData.py +249 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/MemoryData.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/MemoryStatus.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/ModuleId.py +54 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/Pong.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/RemoteObjects.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/RuleState.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/RulesData.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/SystemVariable.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/Time.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/TimeDifference.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/TriggeredRule.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/UnitGroupStatus.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/UnusedMemory.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EErrorCode.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EFeatureId.py +21 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EFirmwareId.py +31 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EIndex.py +19 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EReason.py +24 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/ESlotType.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EStatus.py +24 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/EType.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/MLogicalButtonMask.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/MOption.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/controller/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/SetConfiguration.py +47 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/SetCount.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/data/Configuration.py +47 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/data/EvStatus.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/data/Status.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/params/EErrorCode.py +18 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/params/MMode.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/counter/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/ClearSignalCount.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/DecSignalCount.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/GetCurrent.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/GetPower.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/GetSignalCount.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/IncSignalCount.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/SetConfiguration.py +47 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/SetSignalCount.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/Configuration.py +47 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/Current.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvCurrent.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvDebug.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvInterrupt.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/EvSignal.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/Power.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/SignalCount.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/params/MConfig.py +24 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/currentReader/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/AllOff.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/AllOn.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/GetConfiguration.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/SendCommand.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/SetConfiguration.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/data/Configuration.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/data/Status.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/params/EErrorCode.py +17 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/daliLine/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/commands/SetConfiguration.py +113 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/data/Configuration.py +113 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/params/EErrorCode.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/params/EPin.py +30 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/digitalPort/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/SetBrightness.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/SetConfiguration.py +54 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/Start.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/Stop.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/Configuration.py +54 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/EvOff.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/EvOn.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/EvStart.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/Status.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/params/EDirection.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/params/EErrorCode.py +21 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/params/EMode.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/dimmer/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/GetCurrentIp.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/SetConfiguration.py +89 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/WakeUpDevice.py +60 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/data/Configuration.py +89 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/data/CurrentIp.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/params/EErrorCode.py +23 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/params/MOptions.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/ethernet/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/commands/SetConfiguration.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/Configuration.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvConfortable.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvDry.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvStatus.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/EvWet.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/Status.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/params/EErrorCode.py +30 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/params/ELastEvent.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/feuchtesensor/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/CheckBusTiming.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/GetBusTiming.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/GetConnectedDevices.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/ResetBusTiming.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/SetConfiguration.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/BusTiming.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/Configuration.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/ConnectedDevices.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/EvGatewayLoad.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/params/EErrorCode.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/params/MOptions.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/gateway/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/commands/SetConfiguration.py +74 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/Configuration.py +74 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvBright.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvDark.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvLight.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/EvStatus.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/Status.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/params/EErrorCode.py +22 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/params/ELastEvent.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/helligkeitssensor/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/commands/Off.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/commands/On.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvClicked.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvHoldEnd.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvHoldStart.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvOff.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/EvOn.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/iRSensor/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/Blink.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/GetMinBrightness.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/Off.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/On.py +39 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/SetConfiguration.py +47 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/SetMinBrightness.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/Configuration.py +47 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvBlink.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvCmdDelay.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvError.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvOff.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/EvOn.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/MinBrightness.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/Status.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/params/MOptions.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/led/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/Blink.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/GetMinBrightness.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/Off.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/On.py +39 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/SetButtonConfiguration.py +48 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/SetConfiguration.py +130 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/SetLedConfiguration.py +47 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/SetMinBrightness.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/Configuration.py +130 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/EvBlink.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/EvOff.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/EvOn.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/Status.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/EErrorCode.py +19 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/EStatus.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/MEventMask.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/MOptionMask.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/MOptions.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/logicalButton/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/commands/GetConfiguration.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/commands/SetConfiguration.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/data/Configuration.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/params/ESensorType.py +27 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/modBusMaster/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Exec.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Quit.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/ReloadUserPlugin.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Restart.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/SetVariable.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Shutdown.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/Standby.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/data/EvOffline.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/data/EvOnline.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pCServer/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/Enable.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/SetConfiguration.py +74 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/SetTargetValue.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/Configuration.py +74 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/EvOff.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/EvOn.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/params/EEnable.py +19 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/params/EErrorCode.py +21 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/pIDController/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/commands/SetConfiguration.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/Configuration.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvHighPower.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvLowPower.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvMediumPower.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/EvStatus.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/Status.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/params/EErrorCode.py +22 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/params/ELastEvent.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/powerMeter/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/GetLastData.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/GetState.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/SetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/Configuration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/EvConnected.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/EvData.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/LastData.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/State.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/params/EErrorCode.py +24 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/params/EState.py +23 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rFIDReader/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/SetColor.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/SetConfiguration.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/Configuration.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/EvOff.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/EvOn.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/Status.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rGBDimmer/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/MoveToPosition.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/SetConfiguration.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/SetPosition.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/Start.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/Stop.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/Configuration.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvClosed.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvNewMainState.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvNewSubState.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvOpen.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/EvStart.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/Status.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/EDirection.py +21 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/EErrorCode.py +17 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/ENewState.py +23 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/MOptions.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/rollladen/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/Off.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/On.py +32 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/SetConfiguration.py +54 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/Toggle.py +39 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/Configuration.py +54 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvCmdDelay.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvDisabled.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvOff.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvOn.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/EvToggle.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/Status.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/params/EErrorCode.py +18 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/params/EState.py +23 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/params/MOptions.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/schalter/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/commands/GetTime.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/commands/SetTime.py +70 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/data/Time.py +67 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/EDate.py +48 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/EErrorCode.py +22 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/EMonth.py +29 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/EWeekDay.py +24 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/systemTime/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/EnableEvents.py +33 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/GetEnabled.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/SetConfiguration.py +55 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/Configuration.py +55 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/Enabled.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvClicked.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvCovered.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvDoubleClick.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvEnabled.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvError.py +25 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvFree.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvHoldEnd.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/EvHoldStart.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/Status.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/params/EEnable.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/params/EState.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/params/MEventMask.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/params/MOptionMask.py +96 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taster/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/commands/SetConfiguration.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/Configuration.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvAbove.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvInRange.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvLow.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/EvStatus.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/Status.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/params/EErrorCode.py +30 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/params/ELastEvent.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/taupunkt/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/commands/AnnounceServer.py +53 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/commands/GetCurrentIp.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/data/CurrentIp.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/data/EvWhoIsServer.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/tcpClient/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/commands/GetStatus.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/commands/SetConfiguration.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/Configuration.py +88 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvCold.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvHot.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvStatus.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/EvWarm.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/Status.py +40 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/params/EErrorCode.py +30 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/params/ELastEvent.py +20 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/temperatursensor/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wetter/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wetter/commands/GetWeather.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wetter/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wetter/data/Weather.py +61 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wetter/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/GetConfiguration.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/GetCurrentIp.py +15 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/SetConfiguration.py +67 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/WakeUpDevice.py +60 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/commands/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/data/Configuration.py +67 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/data/CurrentIp.py +46 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/data/EvError.py +26 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/data/_init_.py +1 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/params/EErrorCode.py +18 -0
- pyhausbus-1.0.0/pyhausbus/de/hausbus/homeassistant/proxy/wiFi/params/_init_.py +1 -0
- pyhausbus-1.0.0/pyproject.toml +19 -0
pyhausbus-1.0.0/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2023 Hermann Hoeschen
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
pyhausbus-1.0.0/PKG-INFO
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: pyhausbus
|
3
|
+
Version: 1.0.0
|
4
|
+
Summary: Python based library for accessing haus-bus.de modules. Inteded to be used in a Home Assistant integration.
|
5
|
+
Author: Hermann Hoeschen
|
6
|
+
Author-email: info@haus-bus.de
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
8
|
+
Classifier: Operating System :: OS Independent
|
9
|
+
Classifier: Programming Language :: Python :: 2
|
10
|
+
Classifier: Programming Language :: Python :: 2.7
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
12
|
+
Classifier: Programming Language :: Python :: 3.4
|
13
|
+
Classifier: Programming Language :: Python :: 3.5
|
14
|
+
Classifier: Programming Language :: Python :: 3.6
|
15
|
+
Classifier: Programming Language :: Python :: 3.7
|
16
|
+
Classifier: Programming Language :: Python :: 3.8
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
21
|
+
Description-Content-Type: text/markdown
|
22
|
+
|
23
|
+
# pyhausbus
|
24
|
+
|
25
|
+
Python based library for accessing haus-bus.de modules. Intended to be used in a Home Assistant integration.
|
26
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
from pyhausbus.HausBusUtils import LOGGER
|
2
|
+
from pyhausbus.ObjectId import ObjectId
|
3
|
+
|
4
|
+
class ABusFeature:
|
5
|
+
|
6
|
+
def __init__(self, objectId:int):
|
7
|
+
self.objectId = objectId
|
8
|
+
self.name:str=""
|
9
|
+
|
10
|
+
def getObjectId(self) -> int:
|
11
|
+
return self.objectId
|
12
|
+
|
13
|
+
def getName(self) -> str:
|
14
|
+
return self.name
|
15
|
+
|
16
|
+
def setName(self, name:str):
|
17
|
+
self.name = name
|
18
|
+
|
19
|
+
def __str__(self):
|
20
|
+
dummy, classType = str(type(self)).rsplit(".", 1)
|
21
|
+
classType = classType[:-2]
|
22
|
+
return f"ABusFeature(type={classType}, name={self.name}, objectId={ObjectId(self.objectId)}"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
|
3
|
+
|
4
|
+
class BusDataMessage:
|
5
|
+
|
6
|
+
def __init__(self, senderObjectId, receiverObjectId, data):
|
7
|
+
self.senderObjectId = senderObjectId
|
8
|
+
self.receiverObjectId = receiverObjectId
|
9
|
+
self.data = data
|
10
|
+
self.time = HausBusUtils.getClockIndependMillis()
|
11
|
+
|
12
|
+
def getSenderObjectId(self):
|
13
|
+
return self.senderObjectId
|
14
|
+
|
15
|
+
def getReceiverObjectId(self):
|
16
|
+
return self.receiverObjectId
|
17
|
+
|
18
|
+
def getData(self):
|
19
|
+
return self.data
|
20
|
+
|
21
|
+
def __str__(self):
|
22
|
+
return f"BusMessage(senderObjectId={self.senderObjectId}, receiverObjectId={self.receiverObjectId}, data={self.data})"
|
23
|
+
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import threading
|
2
|
+
from pyhausbus.de.hausbus.homeassistant.proxy import ProxyFactory
|
3
|
+
from pyhausbus.HausBusUtils import *
|
4
|
+
from pyhausbus.BusDataMessage import BusDataMessage
|
5
|
+
from pyhausbus.IBusDataListener import IBusDataListener
|
6
|
+
import time
|
7
|
+
import importlib
|
8
|
+
from pyhausbus.UdpReceiveWorker import UdpReceiveWorker
|
9
|
+
import socket
|
10
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
11
|
+
import traceback
|
12
|
+
|
13
|
+
RS485_GATEWAY = "#RS485#"
|
14
|
+
EVENTS_START = 200
|
15
|
+
RESULT_START = 128
|
16
|
+
|
17
|
+
class BusHandler:
|
18
|
+
|
19
|
+
_singleInstance = None
|
20
|
+
sock:None
|
21
|
+
broadcastIp = "192.168.178.255"
|
22
|
+
listeners = []
|
23
|
+
|
24
|
+
@staticmethod
|
25
|
+
def getInstance():
|
26
|
+
if BusHandler._singleInstance is None:
|
27
|
+
BusHandler._singleInstance = BusHandler()
|
28
|
+
return BusHandler._singleInstance
|
29
|
+
|
30
|
+
def __init__(self):
|
31
|
+
if BusHandler._singleInstance is None:
|
32
|
+
self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
33
|
+
self.sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
|
34
|
+
x = UdpReceiveWorker(self.busDataReceived)
|
35
|
+
x.startWorker()
|
36
|
+
self._getBroadcastIp()
|
37
|
+
|
38
|
+
def _getBroadcastIp(self):
|
39
|
+
temp_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
40
|
+
try:
|
41
|
+
temp_socket.connect(("8.8.8.8", 80))
|
42
|
+
own_ip = temp_socket.getsockname()[0].split('.')
|
43
|
+
self.broadcastIp = own_ip[0] + "." + own_ip[1] + "." + own_ip[2] + ".255"
|
44
|
+
finally:
|
45
|
+
temp_socket.close()
|
46
|
+
|
47
|
+
def busDataReceived(self, senderObjectId, receiverObjectId, functionId, functionData, gateway, corrupted:bool):
|
48
|
+
# Es kann entweder eine Antwort oder Event des Senders sein oder ein Aufruf auf dem Empfänger
|
49
|
+
featureClassId = 0
|
50
|
+
identifierId = 0
|
51
|
+
if (functionId < RESULT_START):
|
52
|
+
featureClassId = getClassId(receiverObjectId)
|
53
|
+
identifierId = receiverObjectId
|
54
|
+
else:
|
55
|
+
featureClassId = getClassId(senderObjectId)
|
56
|
+
identifierId = senderObjectId
|
57
|
+
|
58
|
+
LOGGER.debug("classId = " + str(featureClassId) + ", functionId = " + str(functionId))
|
59
|
+
className = ProxyFactory.getBusClassNameFor(featureClassId, functionId)
|
60
|
+
if (className=="de.hausbus.proxy.LogicalButton"):
|
61
|
+
LOGGER.debug("test")
|
62
|
+
|
63
|
+
try:
|
64
|
+
module_name, class_name = className.rsplit(".", 1)
|
65
|
+
module = importlib.import_module(className)
|
66
|
+
cls = getattr(module, class_name)
|
67
|
+
method = getattr(cls, "_fromBytes")
|
68
|
+
offset = [0]
|
69
|
+
newObject = method(functionData, offset)
|
70
|
+
|
71
|
+
add = ""
|
72
|
+
if (corrupted):
|
73
|
+
add = " (corrupted) "
|
74
|
+
|
75
|
+
message = gateway + " COMMAND IN " + add + " from " + str(getDeviceId(senderObjectId)) + " to " + str(getDeviceId(receiverObjectId)) + ": " + str(newObject) + ", Sender: " + formatObjectId(senderObjectId) + ", Receiver: " + str(formatObjectId(receiverObjectId))
|
76
|
+
LOGGER.debug(message)
|
77
|
+
|
78
|
+
if (not corrupted):
|
79
|
+
newMessage = BusDataMessage(senderObjectId, receiverObjectId, newObject)
|
80
|
+
LOGGER.debug("got: " + str(newObject) + " from " + str(senderObjectId) + " to " + str(receiverObjectId))
|
81
|
+
for actListener in self.listeners:
|
82
|
+
actListener.busDataReceived(newMessage)
|
83
|
+
except (Exception, RuntimeError, TypeError, NameError, OSError) as err:
|
84
|
+
LOGGER.error(err,exc_info=True,stack_info=True)
|
85
|
+
|
86
|
+
def sendData(self, data:bytearray, debug:str):
|
87
|
+
|
88
|
+
udpData:bytearray = self.prepareForUDP(data)
|
89
|
+
|
90
|
+
LOGGER.debug(UdpReceiveWorker.UDP_GATEWAY + " COMMAND OUT " + debug)
|
91
|
+
LOGGER.debug(UdpReceiveWorker.UDP_GATEWAY + " DATA OUT " + HausBusUtils.formatBytes(udpData))
|
92
|
+
|
93
|
+
try:
|
94
|
+
self.sock.sendto(udpData, (self.broadcastIp, UDP_PORT))
|
95
|
+
except socket.error as e:
|
96
|
+
LOGGER.error(e,exc_info=True,stack_info=True)
|
97
|
+
|
98
|
+
def prepareForUDP(self, data:bytearray) -> bytearray:
|
99
|
+
result = bytearray(len(data) + 2)
|
100
|
+
result[0] = 0xef
|
101
|
+
result[1] = 0xef
|
102
|
+
result[2:] = data[:]
|
103
|
+
return result
|
104
|
+
|
105
|
+
def addBusEventListener(self, listener:IBusDataListener):
|
106
|
+
if not listener in self.listeners:
|
107
|
+
self.listeners.append(listener)
|
108
|
+
|
109
|
+
def removeBusEventListener(self, listener:IBusDataListener):
|
110
|
+
self.listeners.remove(listener)
|
@@ -0,0 +1,84 @@
|
|
1
|
+
from pyhausbus.BusHandler import BusHandler
|
2
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
3
|
+
from pyhausbus.HausBusUtils import LOGGER
|
4
|
+
from pyhausbus.ObjectId import ObjectId
|
5
|
+
|
6
|
+
class HausBusCommand:
|
7
|
+
|
8
|
+
def __init__ (self, receiverObjectId:int, functionId:int, debug:str):
|
9
|
+
self.commandCounter:int = 0
|
10
|
+
self.receiverObjectId = receiverObjectId
|
11
|
+
self.debug = debug
|
12
|
+
self.busHandler = BusHandler.getInstance()
|
13
|
+
self.data:bytearray=bytearray()
|
14
|
+
self.params:bytearray=bytearray()
|
15
|
+
self.bytes:bytearray=None
|
16
|
+
|
17
|
+
# Kontroll-Byte
|
18
|
+
self.data.append(0)
|
19
|
+
|
20
|
+
# Nachrichtenzaehler
|
21
|
+
self.data.append(0)
|
22
|
+
|
23
|
+
# Sender-ID
|
24
|
+
for act in HausBusUtils.dWordToBytes(HausBusUtils.HOMESERVER_OBJECT_ID):
|
25
|
+
self.data.append(act)
|
26
|
+
|
27
|
+
# Empfaenger-ID
|
28
|
+
for act in HausBusUtils.dWordToBytes(receiverObjectId):
|
29
|
+
self.data.append(act)
|
30
|
+
|
31
|
+
self.params.append(functionId)
|
32
|
+
|
33
|
+
def addByte(self, byteParam:int):
|
34
|
+
self.params.append(byteParam)
|
35
|
+
|
36
|
+
def addSByte(self, sByteParam:int):
|
37
|
+
if (sByteParam < 0):
|
38
|
+
self.params.append((256 + sByteParam))
|
39
|
+
else:
|
40
|
+
self.params.append(sByteParam)
|
41
|
+
|
42
|
+
def addBlob(self, blob:bytearray):
|
43
|
+
for act in blob:
|
44
|
+
self.params.append(act)
|
45
|
+
|
46
|
+
def addString(self, value:str):
|
47
|
+
for i in range(len(value)):
|
48
|
+
self.params.append(value[i])
|
49
|
+
self.params.append(0)
|
50
|
+
|
51
|
+
def addMap(self, inMap):
|
52
|
+
for key, value in inMap.items():
|
53
|
+
self.addByte(key)
|
54
|
+
self.addByte(value)
|
55
|
+
|
56
|
+
def addWord(self, wordParam:int):
|
57
|
+
HausBusUtils.addWord(wordParam, self.params)
|
58
|
+
|
59
|
+
def addDWord(self, dWordParam:int):
|
60
|
+
HausBusUtils.addDword(dWordParam, self.params)
|
61
|
+
|
62
|
+
def _createBytes(self):
|
63
|
+
|
64
|
+
# Datenlaenge
|
65
|
+
for act in HausBusUtils.wordToBytes(len(self.params)):
|
66
|
+
self.data.append(act)
|
67
|
+
|
68
|
+
# Daten
|
69
|
+
for act in self.params:
|
70
|
+
self.data.append(act)
|
71
|
+
|
72
|
+
self.bytes = bytearray(len(self.data))
|
73
|
+
for i in range (len(self.data)):
|
74
|
+
self.bytes[i] = self.data[i]
|
75
|
+
|
76
|
+
def send(self):
|
77
|
+
LOGGER.debug("Sende " + self.debug + " an " + str(ObjectId(self.receiverObjectId)))
|
78
|
+
if (self.bytes == None):
|
79
|
+
self._createBytes()
|
80
|
+
|
81
|
+
return self.busHandler.sendData(self.bytes, self.debug + " to " + str(HausBusUtils.getDeviceId(self.receiverObjectId)))
|
82
|
+
|
83
|
+
def __str__(self):
|
84
|
+
return f"HausBusCommand(debug={self.debug} to {HausBusUtils.formatObjectId(self.receiverObjectId)}, params={self.params}, data={self.data}"
|
@@ -0,0 +1,193 @@
|
|
1
|
+
import logging
|
2
|
+
import time
|
3
|
+
import traceback
|
4
|
+
|
5
|
+
LOGGER = logging.getLogger("pyhausbus")
|
6
|
+
|
7
|
+
HOMESERVER_DEVICE_ID:int = 9998
|
8
|
+
HOMESERVER_OBJECT_ID:int = (HOMESERVER_DEVICE_ID << 16) + (0 << 8) + 1
|
9
|
+
|
10
|
+
UDP_PORT = 5855
|
11
|
+
|
12
|
+
def getObjectId(deviceId:int, classId:int, instanceId:int) -> int:
|
13
|
+
return (deviceId << 16) + (classId << 8) + instanceId
|
14
|
+
|
15
|
+
def bytesToDWord(data:bytearray, offset) -> int:
|
16
|
+
try:
|
17
|
+
result = 0
|
18
|
+
result += (data[offset[0]] & 0xff)
|
19
|
+
offset[0] += 1
|
20
|
+
|
21
|
+
result += (data[offset[0]] & 0xff) * 256
|
22
|
+
offset[0] += 1
|
23
|
+
|
24
|
+
result += (data[offset[0]] & 0xff) * 65536
|
25
|
+
offset[0] += 1
|
26
|
+
|
27
|
+
result += (data[offset[0]] & 0xff) * 16777216
|
28
|
+
offset[0] += 1
|
29
|
+
|
30
|
+
return result
|
31
|
+
except (Exception) as err:
|
32
|
+
LOGGER.error(err,exc_info=True,stack_info=True)
|
33
|
+
return 0
|
34
|
+
|
35
|
+
|
36
|
+
def bytesToWord(data:bytearray, offset) -> int:
|
37
|
+
try:
|
38
|
+
result = 0
|
39
|
+
result += (data[offset[0]] & 0xff)
|
40
|
+
offset[0] += 1
|
41
|
+
|
42
|
+
result += (data[offset[0]] & 0xff) * 256
|
43
|
+
offset[0] += 1
|
44
|
+
|
45
|
+
return result
|
46
|
+
except (Exception) as err:
|
47
|
+
LOGGER.error(err,exc_info=True,stack_info=True)
|
48
|
+
return 0
|
49
|
+
|
50
|
+
|
51
|
+
def bytesToInt(data:bytearray, offset) -> int:
|
52
|
+
try:
|
53
|
+
if (len(data)<=offset[0]):
|
54
|
+
return 0
|
55
|
+
result = data[offset[0]] & 0xff
|
56
|
+
offset[0] += 1
|
57
|
+
return result
|
58
|
+
except (Exception) as err:
|
59
|
+
LOGGER.error(err,exc_info=True,stack_info=True)
|
60
|
+
return 0
|
61
|
+
|
62
|
+
|
63
|
+
def bytesToString(data:bytearray, offset) -> str:
|
64
|
+
try:
|
65
|
+
result = ""
|
66
|
+
for i in range(offset[0], len(data)):
|
67
|
+
offset[0] += 1
|
68
|
+
if (data[i] == 0):
|
69
|
+
break
|
70
|
+
|
71
|
+
result += chr(data[i])
|
72
|
+
return result
|
73
|
+
except (Exception) as err:
|
74
|
+
LOGGER.error(err,exc_info=True,stack_info=True)
|
75
|
+
return ""
|
76
|
+
|
77
|
+
|
78
|
+
def bytesToDebugString(message:bytearray) -> str:
|
79
|
+
result = ""
|
80
|
+
for byte in message:
|
81
|
+
if (result != ""):
|
82
|
+
result = result + ", "
|
83
|
+
result = result + hex(byte)
|
84
|
+
return result
|
85
|
+
|
86
|
+
|
87
|
+
def getInstanceId(objectId) -> int:
|
88
|
+
return (objectId) & 0xff
|
89
|
+
|
90
|
+
|
91
|
+
def getDeviceId(objectId) -> int:
|
92
|
+
return ((objectId >> 24) & 0xff) * 256 + ((objectId >> 16) & 0xff)
|
93
|
+
|
94
|
+
|
95
|
+
def getClassId(objectId) -> int:
|
96
|
+
return (objectId >> 8) & 0xff
|
97
|
+
|
98
|
+
|
99
|
+
def formatObjectId(objectId) -> str:
|
100
|
+
result = "[DeviceId: " + str(getDeviceId(objectId))
|
101
|
+
result += ", ClassId: " + str(getClassId(objectId))
|
102
|
+
result += ", Instance: " + str(getInstanceId(objectId)) + "]"
|
103
|
+
return result
|
104
|
+
|
105
|
+
|
106
|
+
def getClockIndependMillis():
|
107
|
+
return time.perf_counter() * 1000
|
108
|
+
|
109
|
+
|
110
|
+
def setBit(is_set: bool, bit: int, value: int) -> int:
|
111
|
+
if is_set:
|
112
|
+
value |= (1 << bit)
|
113
|
+
else:
|
114
|
+
value &= ~(1 << bit)
|
115
|
+
return value
|
116
|
+
|
117
|
+
|
118
|
+
def isBitSet(bit:int, value:int) -> bool:
|
119
|
+
return ((value >> bit) & 1) > 0
|
120
|
+
|
121
|
+
|
122
|
+
def bytesToBlob(data:bytearray, offset) -> bytearray:
|
123
|
+
try:
|
124
|
+
result = bytearray(len(data) - offset[0])
|
125
|
+
result[:] = data[offset[0]:]
|
126
|
+
offset[0]=offset[0]+len(data)
|
127
|
+
return result
|
128
|
+
except (Exception) as err:
|
129
|
+
LOGGER.error(err,exc_info=True,stack_info=True)
|
130
|
+
return 0
|
131
|
+
|
132
|
+
def dWordToBytes(value: int) -> bytearray:
|
133
|
+
result = bytearray(4)
|
134
|
+
result[0] = value & 0xff
|
135
|
+
result[1] = (value >> 8) & 0xff
|
136
|
+
result[2] = (value >> 16) & 0xff
|
137
|
+
result[3] = (value >> 24) & 0xff
|
138
|
+
return result
|
139
|
+
|
140
|
+
|
141
|
+
def addWord(value: int, inOutList):
|
142
|
+
inOutList.append(value & 0xff)
|
143
|
+
inOutList.append((value >> 8) & 0xff)
|
144
|
+
|
145
|
+
def addDword(value: int, inOutList):
|
146
|
+
inOutList.append(value & 0xff)
|
147
|
+
inOutList.append((value >> 8) & 0xff)
|
148
|
+
inOutList.append((value >> 16) & 0xff)
|
149
|
+
inOutList.append((value >> 24) & 0xff)
|
150
|
+
|
151
|
+
def wordToBytes(value: int) -> bytearray:
|
152
|
+
result = bytearray(2)
|
153
|
+
result[0] = value & 0xff
|
154
|
+
result[1] = (value >> 8) & 0xff
|
155
|
+
return result
|
156
|
+
|
157
|
+
def bytesToSInt(data:bytearray, offset) -> int:
|
158
|
+
result = data[offset[0]] & 0xff
|
159
|
+
offset[0]+=1
|
160
|
+
if (result > 127):
|
161
|
+
result -= 256
|
162
|
+
return result
|
163
|
+
|
164
|
+
def formatBytes(data:bytearray, offset:int=0, length:int=-1, asHex:bool=True) -> str:
|
165
|
+
if (length==-1):
|
166
|
+
length=len(data)
|
167
|
+
|
168
|
+
if (data == None):
|
169
|
+
return "NULL"
|
170
|
+
|
171
|
+
result=""
|
172
|
+
|
173
|
+
for i in range (offset,length):
|
174
|
+
if (asHex):
|
175
|
+
result+="0x"+hex(data[i])
|
176
|
+
else:
|
177
|
+
result+=data[i] & 0xff
|
178
|
+
return result
|
179
|
+
|
180
|
+
def bytesToList(data:bytearray, offset):
|
181
|
+
try:
|
182
|
+
result = bytearray()
|
183
|
+
offsetStart = offset[0]
|
184
|
+
for i in range (offsetStart,len(data),2):
|
185
|
+
key = data[i] & 0xff
|
186
|
+
value = data[i + 1] & 0xff
|
187
|
+
result.append(key)
|
188
|
+
result.append(value)
|
189
|
+
offset[0]+=2
|
190
|
+
return result
|
191
|
+
except (Exception) as err:
|
192
|
+
LOGGER.error(err,exc_info=True,stack_info=True)
|
193
|
+
return bytearray()
|
@@ -0,0 +1,68 @@
|
|
1
|
+
from pyhausbus.BusHandler import BusHandler
|
2
|
+
from pyhausbus.IBusDataListener import IBusDataListener
|
3
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.Controller import Controller
|
4
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params.EIndex import EIndex
|
5
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.RemoteObjects import (
|
6
|
+
RemoteObjects,
|
7
|
+
)
|
8
|
+
from pyhausbus.HausBusUtils import LOGGER
|
9
|
+
import pyhausbus.de.hausbus.homeassistant.proxy.ProxyFactory as ProxyFactory
|
10
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
11
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.ModuleId import ModuleId
|
12
|
+
import importlib
|
13
|
+
import traceback
|
14
|
+
import time
|
15
|
+
import threading
|
16
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.EvStarted import EvStarted
|
17
|
+
from pyhausbus.ResultWorker import ResultWorker
|
18
|
+
|
19
|
+
class HomeServer(IBusDataListener):
|
20
|
+
_instance = None
|
21
|
+
bushandler = None
|
22
|
+
|
23
|
+
def __new__(cls, *args, **kwargs):
|
24
|
+
if not cls._instance:
|
25
|
+
cls._instance = super().__new__(cls, *args, **kwargs)
|
26
|
+
return cls._instance
|
27
|
+
|
28
|
+
def __init__(self):
|
29
|
+
LOGGER.debug("init homeserver")
|
30
|
+
self.bushandler = BusHandler.getInstance()
|
31
|
+
self.bushandler.addBusEventListener(ResultWorker())
|
32
|
+
self.bushandler.addBusEventListener(self)
|
33
|
+
|
34
|
+
def searchDevices(self):
|
35
|
+
controler = Controller(0)
|
36
|
+
controler.getModuleId(EIndex.RUNNING)
|
37
|
+
|
38
|
+
def addBusEventListener(self, listener: IBusDataListener):
|
39
|
+
self.bushandler.addBusEventListener(listener)
|
40
|
+
|
41
|
+
def removeBusEventListener(self, listener: IBusDataListener):
|
42
|
+
self.bushandler.removeBusEventListener(listener)
|
43
|
+
|
44
|
+
def getDeviceInstances(self, senderObjectId: int, remoteObjects: RemoteObjects):
|
45
|
+
deviceId = HausBusUtils.getDeviceId(senderObjectId)
|
46
|
+
objectList = remoteObjects.getObjectList()
|
47
|
+
|
48
|
+
result = []
|
49
|
+
for i in range(0, len(objectList), 2):
|
50
|
+
instanceId = objectList[i]
|
51
|
+
classId = objectList[i + 1]
|
52
|
+
className = ProxyFactory.getBusClassNameForClass(classId)
|
53
|
+
objectId = HausBusUtils.getObjectId(deviceId, classId, instanceId)
|
54
|
+
|
55
|
+
try:
|
56
|
+
module_name, class_name = className.rsplit(".", 1)
|
57
|
+
module = importlib.import_module(className)
|
58
|
+
cls = getattr(module, class_name)
|
59
|
+
obj = cls(objectId)
|
60
|
+
result.append(obj)
|
61
|
+
except Exception as err:
|
62
|
+
LOGGER.error(err,exc_info=True, stack_info=True)
|
63
|
+
return result
|
64
|
+
|
65
|
+
def busDataReceived(self, busDataMessage):
|
66
|
+
"""if a device restarts during runtime, we automatically read moduleId"""
|
67
|
+
if isinstance(busDataMessage.getData(), EvStarted):
|
68
|
+
Controller(busDataMessage.getSenderObjectId()).getModuleId(EIndex.RUNNING)
|
@@ -0,0 +1,100 @@
|
|
1
|
+
from pyhausbus.HomeServer import HomeServer
|
2
|
+
from pyhausbus.ResultWorker import ResultWorker
|
3
|
+
from pyhausbus.IBusDataListener import IBusDataListener
|
4
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.Controller import Controller
|
5
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.Taster import Taster
|
6
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.Led import Led
|
7
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.Dimmer import Dimmer
|
8
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.Schalter import Schalter
|
9
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.ModuleId import ModuleId
|
10
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.data.RemoteObjects import RemoteObjects
|
11
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.LogicalButton import LogicalButton
|
12
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.controller.params import EIndex
|
13
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.taster.data.Configuration import Configuration
|
14
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.params.EDirection import EDirection
|
15
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.data.EvOn import EvOn
|
16
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.dimmer.data.EvOff import EvOff
|
17
|
+
from pyhausbus.de.hausbus.homeassistant.proxy.Feuchtesensor import Feuchtesensor
|
18
|
+
import pyhausbus.HausBusUtils
|
19
|
+
from pyhausbus.ObjectId import ObjectId
|
20
|
+
import time
|
21
|
+
|
22
|
+
class Main(IBusDataListener):
|
23
|
+
|
24
|
+
def __init__(self):
|
25
|
+
|
26
|
+
'''
|
27
|
+
Instantiate Homeserver, add as Lister and search Devices
|
28
|
+
Afterwards all devices respond with their moduleId. See method busDataReceived
|
29
|
+
'''
|
30
|
+
self.server = HomeServer()
|
31
|
+
self.server.addBusEventListener(self)
|
32
|
+
'''self.server.searchDevices()'''
|
33
|
+
|
34
|
+
''' Example how to directly create a feature with given class and instance id'''
|
35
|
+
Dimmer.create(22784, 5).setBrightness(100, 0)
|
36
|
+
|
37
|
+
''' Example how to directly create a feature with given ObjectId and wait for the result '''
|
38
|
+
taster = Taster(1313542180)
|
39
|
+
''' Then we call the method'''
|
40
|
+
taster.getConfiguration()
|
41
|
+
''' And then wait for the Result with a timeout of 2 seconds'''
|
42
|
+
configuration = ResultWorker().waitForResult(2)
|
43
|
+
print("configuration = "+str(configuration))
|
44
|
+
|
45
|
+
self.doTests()
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
def busDataReceived(self, busDataMessage):
|
51
|
+
print("got: " + str(busDataMessage.getData()) + " from " + str(ObjectId(busDataMessage.getSenderObjectId())) + " to " + str(ObjectId(busDataMessage.getReceiverObjectId())))
|
52
|
+
|
53
|
+
if (isinstance(busDataMessage.getData(), RemoteObjects)):
|
54
|
+
instances = self.server.getDeviceInstances(busDataMessage.getSenderObjectId(), busDataMessage.getData())
|
55
|
+
for actInstance in instances:
|
56
|
+
print (actInstance)
|
57
|
+
|
58
|
+
|
59
|
+
def doTests(self):
|
60
|
+
|
61
|
+
controller = Controller.create(3359, 1)
|
62
|
+
controller.getConfiguration()
|
63
|
+
print("Controller.configuration = "+str(ResultWorker().waitForResult(2)))
|
64
|
+
controller.getModuleId(EIndex.EIndex.RUNNING)
|
65
|
+
print("Controller.moduleId = "+str(ResultWorker().waitForResult(2)))
|
66
|
+
controller.ping()
|
67
|
+
print("Controller.pong = "+str(ResultWorker().waitForResult(2)))
|
68
|
+
|
69
|
+
dimmer = Dimmer.create(22784, 5)
|
70
|
+
dimmer.getConfiguration()
|
71
|
+
print("Dimmer.configuration = "+str(ResultWorker().waitForResult(2)))
|
72
|
+
dimmer.getStatus()
|
73
|
+
print("Dimmer.status = "+str(ResultWorker().waitForResult(2)))
|
74
|
+
dimmer.start(EDirection.TO_LIGHT)
|
75
|
+
print("Dimmer.evOn = "+str(ResultWorker().waitForEvent(EvOn, dimmer.getObjectId(), 5)))
|
76
|
+
dimmer.start(EDirection.TO_DARK)
|
77
|
+
print("Dimmer.evOff = "+str(ResultWorker().waitForEvent(EvOff, dimmer.getObjectId(), 5)))
|
78
|
+
|
79
|
+
feuchtesensor = Feuchtesensor.create(25661 , 88)
|
80
|
+
feuchtesensor.getConfiguration()
|
81
|
+
print("Feuchtesensor.configuration = "+str(ResultWorker().waitForResult(2)))
|
82
|
+
feuchtesensor.getStatus()
|
83
|
+
print("Feuchtesensor.status = "+str(ResultWorker().waitForResult(2)))
|
84
|
+
|
85
|
+
led = Led.create(20043,54)
|
86
|
+
led.getConfiguration()
|
87
|
+
print("Led.configuration = "+str(ResultWorker().waitForResult(2)))
|
88
|
+
led.getStatus()
|
89
|
+
print("Led.status = "+str(ResultWorker().waitForResult(2)))
|
90
|
+
led.on(50, 5, 0)
|
91
|
+
led.getStatus()
|
92
|
+
print("Led.status = "+str(ResultWorker().waitForResult(2)))
|
93
|
+
time.sleep(2)
|
94
|
+
led.getStatus()
|
95
|
+
print("Led.status = "+str(ResultWorker().waitForResult(2)))
|
96
|
+
time.sleep(3)
|
97
|
+
led.getStatus()
|
98
|
+
print("Led.status = "+str(ResultWorker().waitForResult(2)))
|
99
|
+
|
100
|
+
Main()
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import pyhausbus.HausBusUtils as HausBusUtils
|
2
|
+
|
3
|
+
class ObjectId:
|
4
|
+
objectId:int=0
|
5
|
+
|
6
|
+
def __init__ (self, objectId:int):
|
7
|
+
self.objectId = objectId
|
8
|
+
|
9
|
+
def getValue(self) -> int:
|
10
|
+
return self.objectId
|
11
|
+
|
12
|
+
def getDeviceId(self) -> int:
|
13
|
+
return HausBusUtils.getDeviceId(self.objectId)
|
14
|
+
|
15
|
+
def getClassId(self) -> int:
|
16
|
+
return HausBusUtils.getClassId(self.objectId)
|
17
|
+
|
18
|
+
def getInstanceId(self) -> int:
|
19
|
+
return HausBusUtils.getInstanceId(self.objectId)
|
20
|
+
|
21
|
+
def __str__(self):
|
22
|
+
return f"Object(DeviceId={self.getDeviceId()}, ClassId={self.getClassId()}, InstanceId={self.getInstanceId()} - {hex(self.objectId)} ({self.objectId}))"
|