Hi Scot,
here are the logs and the rule. The rule was working fine about 4 month.
openhab.log ###################################################
2020-07-28 23:18:10.913 [INFO ] [ternal.scheduler.WeatherJobScheduler] - Deleting weatherJob-home
2020-07-28 23:18:10.961 [INFO ] [b.core.service.AbstractActiveService] - HTTP Refresh Service has been shut down
2020-07-28 23:18:11.078 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2020-07-28 23:18:11.103 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = aaaaaaaaaaaaaaaaaaaaaaaaaa, base URL = http://localhost:8080)
2020-07-28 23:18:12.347 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2020-07-28 23:18:40.968 [WARN ] [core.thing.internal.ThingManagerImpl] - Disposing handler for thing ‘zwave:serial_zstick:6bfce7b4’ takes more than 5000ms.
2020-07-28 23:18:41.992 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2020-07-28 23:18:42.729 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2020-07-28 23:18:42.768 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2020-07-28 23:18:42.805 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2020-07-28 23:19:40.686 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘fasanenweg.items’
2020-07-28 23:19:41.717 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘rrd4j.persist’
2020-07-28 23:19:42.778 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘fasanenweg.sitemap’
2020-07-28 23:19:43.330 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘tradfri.things’
2020-07-28 23:19:43.503 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘modbus.things’
2020-07-28 23:19:43.558 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘fasanenweg.things’
2020-07-28 23:19:47.773 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-07-28 23:19:50.616 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.10:8080
2020-07-28 23:19:50.620 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.10:8443
2020-07-28 23:19:54.955 [WARN ] [iscovery.TradfriDiscoveryParticipant] - Discovered Tradfri gateway doesn’t have an IP address: [ServiceInfoImpl@12660985 name: ‘gw-b8d7af2b20f3._coap._udp.local.’ address: ‘(null):0’ status: ‘DNS: JmDNS-/192.168.1.10 [/192.168.1.10] state: probing 1 task: null’, has NO data
gw-b8d7af2b20f3._coap._udp.local.: ]
2020-07-28 23:19:55.274 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:sun:home every 15 seconds
2020-07-28 23:19:55.433 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:sun:home every 15 seconds
2020-07-28 23:19:59.317 [INFO ] [ternal.handler.TradfriGatewayHandler] - Received pre-shared key for gateway ‘192.168.1.19’
2020-07-28 23:20:04.458 [INFO ] [eather.internal.common.WeatherConfig] - ProviderConfig[providerName=FORECASTIO,apiKey=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa]
2020-07-28 23:20:04.461 [INFO ] [eather.internal.common.WeatherConfig] - ProviderConfig[providerName=OPENWEATHERMAP,apiKey=aaaaaaaaaaaaaaaaaaaaaaaaaaaaa]
2020-07-28 23:20:04.463 [INFO ] [eather.internal.common.WeatherConfig] - LocationConfig[providerName=FORECASTIO,language=de,updateInterval=5,latitude=50.828483,longitude=7.214354,locationId=home,name=Lohmar]
2020-07-28 23:20:06.200 [INFO ] [b.core.service.AbstractActiveService] - FritzboxTr064 Refresh Service has been started
2020-07-28 23:20:06.232 [INFO ] [b.core.service.AbstractActiveService] - HTTP Refresh Service has been started
2020-07-28 23:20:06.863 [INFO ] [rnal.service.RemoteControllerService] - Using None interface
2020-07-28 23:20:07.051 [INFO ] [rnal.service.RemoteControllerService] - Using SecureWebSocket interface
2020-07-28 23:20:07.310 [INFO ] [rnal.service.RemoteControllerService] - Using None interface
2020-07-28 23:20:07.383 [INFO ] [rnal.service.RemoteControllerService] - Using None interface
2020-07-28 23:20:07.577 [INFO ] [ternal.scheduler.WeatherJobScheduler] - Starting and scheduling weatherJob-home with interval of 5 minutes
2020-07-28 23:20:08.022 [INFO ] [io.hueemulation.internal.ConfigStore] - Using discovery ip 192.168.3.10
2020-07-28 23:20:08.025 [INFO ] [io.hueemulation.internal.ConfigStore] - Hue Emulation pairing disabled
2020-07-28 23:20:09.605 [WARN ] [ulation.internal.HueEmulationService] - The UPnP Server service has not been started!
2020-07-28 23:20:09.614 [INFO ] [ulation.internal.HueEmulationService] - Hue Emulation service available under /api
2020-07-28 23:20:10.293 [INFO ] [ueemulation.internal.upnp.UpnpServer] - Hue Emulation UPNP server started on 127.0.0.1:8080
2020-07-28 23:20:10.578 [INFO ] [ulation.internal.HueEmulationService] - Hue Emulation service available under /api
2020-07-28 23:20:11.070 [INFO ] [rt.modbus.internal.ModbusManagerImpl] - Modbus manager activated
2020-07-28 23:20:11.256 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2020-07-28 23:20:12.152 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = aaaaaaaaaaaaaaaaaaaaaaaaa, base URL = http://localhost:8080)
2020-07-28 23:20:16.838 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2020-07-28 23:20:16.839 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2020-07-28 23:20:17.307 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2020-07-28 23:20:17.666 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2020-07-28 23:20:17.916 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2020-07-28 23:20:19.969 [WARN ] [.serialmessage.ZWaveCommandProcessor] - SerialMessage class null is not implemented!
2020-07-28 23:20:19.971 [WARN ] [ve.internal.protocol.ZWaveController] - TODO: Implement processing of Request Message = – (0xa)
2020-07-28 23:20:19.975 [WARN ] [nal.protocol.ZWaveTransactionManager] - NODE 13: Not initialized (ie node unknown), ignoring message.
2020-07-28 23:20:19.978 [WARN ] [nal.protocol.ZWaveTransactionManager] - NODE 13: Not initialized (ie node unknown), ignoring message.
2020-07-28 23:20:20.824 [WARN ] [ve.internal.protocol.ZWaveController] - NODE 16: Restore from config: Error. Data invalid, ignoring config.
2020-07-28 23:20:20.844 [WARN ] [ve.internal.protocol.ZWaveController] - NODE 4: Restore from config: Error. Data invalid, ignoring config.
2020-07-28 23:20:22.208 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: {}
io.socket.engineio.client.EngineIOException: xhr poll error
at io.socket.engineio.client.Transport.onError(Transport.java:63) [bundleFile:?]
at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:26) [bundleFile:?]
at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:140) [bundleFile:?]
at io.socket.thread.EventThread$2.run(EventThread.java:80) [bundleFile:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_262]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_262]
at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_262]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_262]
at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:467) ~[?:1.8.0_262]
at sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:461) ~[?:1.8.0_262]
at sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70) ~[?:1.8.0_262]
at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1146) ~[?:1.8.0_262]
at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:72) ~[?:1.8.0_262]
at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:833) ~[?:1.8.0_262]
at okio.Okio$2.read(Okio.java:139) ~[?:?]
at okio.AsyncTimeout$2.read(AsyncTimeout.java:237) ~[?:?]
at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345) ~[?:?]
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217) ~[?:?]
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:211) ~[?:?]
at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) ~[?:?]
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:75) ~[?:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) ~[?:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) ~[?:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[?:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) ~[?:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185) ~[?:?]
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:135) ~[?:?]
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]
… 3 more
2020-07-28 23:20:22.285 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = aaaaaaaaaaaaaaaaaaaaaaaaaaa, base URL = http://localhost:8080)
2020-07-28 23:20:22.515 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2020-07-28 23:20:23.781 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, base URL = http://localhost:8080)
2020-07-28 23:21:12.555 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘02BR_display.rules’
2020-07-28 23:21:13.669 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘02BR_Rollo.rules’
2020-07-28 23:21:18.028 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘aurora.rules’
2020-07-28 23:21:19.261 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘02brlight.rules’
2020-07-28 23:21:19.422 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘presence.rules’
2020-07-28 23:21:19.428 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘presence.rules’ is either empty or cannot be parsed correctly!
2020-07-28 23:21:21.303 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘lights_floor.rules’
2020-07-28 23:21:26.054 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘fasanenweg.rules’
2020-07-28 23:21:27.172 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘02WC_Light.rules’
2020-07-28 23:50:05.395 [INFO ] [rnal.service.RemoteControllerService] - Using SecureWebSocket interface
2020-07-29 00:16:03.223 [INFO ] [rnal.service.RemoteControllerService] - Using SecureWebSocket interface
2020-07-29 06:53:01.872 [INFO ] [ternal.scheduler.WeatherJobScheduler] - Deleting weatherJob-home
2020-07-29 06:53:02.084 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2020-07-29 06:53:02.122 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = a89b7181-43e5-4d9a-a07c-d77a74869f96, base URL = http://localhost:8080)
2020-07-29 06:53:02.636 [INFO ] [b.core.service.AbstractActiveService] - HTTP Refresh Service has been shut down
events.log ###################################################
2020-07-29 05:59:57.355 [vent.ItemStateChangedEvent] - ntp_ntp_local_dateTime changed from 2020-07-29T05:58:57.295+0200 to 2020-07-29T05:59:57.301+0200
2020-07-29 06:00:00.016 [vent.ChannelTriggeredEvent] - astro:sun:nightlight:rise#event triggered START
2020-07-29 06:00:00.020 [vent.ChannelTriggeredEvent] - astro:sun:home:rise#event triggered START
2020-07-29 06:00:00.030 [ome.event.ItemCommandEvent] - Item ‘SceneF2_Hallway_Light_Night’ received command OFF
2020-07-29 06:00:00.120 [ome.event.ItemCommandEvent] - Item ‘FF_Hallway_Light_dm’ received command 100
2020-07-29 06:00:00.124 [vent.ItemStateChangedEvent] - SceneF2_Hallway_Light_Night changed from ON to OFF
2020-07-29 06:00:00.131 [ome.event.ItemCommandEvent] - Item ‘FF_Hallway_Light_co’ received command 15
2020-07-29 06:00:00.135 [nt.ItemStatePredictedEvent] - FF_Hallway_Light_dm predicted to become 100
2020-07-29 06:00:00.186 [ome.event.ItemCommandEvent] - Item ‘F2_Hallway_Light_dm’ received command 100
2020-07-29 06:00:00.257 [ome.event.ItemCommandEvent] - Item ‘GF_Hallway2_Light_dm’ received command 100
2020-07-29 06:00:00.262 [ome.event.ItemCommandEvent] - Item ‘GF_Hallway2_Light_co’ received command 15
2020-07-29 06:00:00.286 [ome.event.ItemCommandEvent] - Item ‘GF_Hallway3_Light_dm’ received command 100
2020-07-29 06:00:00.291 [ome.event.ItemCommandEvent] - Item ‘GF_Hallway3_Light_co’ received command 15
2020-07-29 06:00:00.294 [nt.ItemStatePredictedEvent] - FF_Hallway_Light_co predicted to become 15
2020-07-29 06:00:00.296 [nt.ItemStatePredictedEvent] - F2_Hallway_Light_dm predicted to become 100
2020-07-29 06:00:00.332 [vent.ItemStateChangedEvent] - FF_Hallway_Light_dm changed from 1 to 100
2020-07-29 06:00:00.334 [nt.ItemStatePredictedEvent] - GF_Hallway2_Light_dm predicted to become 100
2020-07-29 06:00:00.347 [nt.ItemStatePredictedEvent] - GF_Hallway2_Light_co predicted to become 0
2020-07-29 06:00:00.349 [nt.ItemStatePredictedEvent] - GF_Hallway3_Light_dm predicted to become 100
2020-07-29 06:00:00.378 [nt.ItemStatePredictedEvent] - GF_Hallway3_Light_co predicted to become 0
2020-07-29 06:00:00.380 [vent.ItemStateChangedEvent] - F2_Hallway_Light_dm changed from 0 to 100
2020-07-29 06:00:00.382 [vent.ItemStateChangedEvent] - GF_Hallway2_Light_dm changed from 0 to 100
2020-07-29 06:00:00.384 [vent.ItemStateChangedEvent] - GF_Hallway3_Light_dm changed from 0 to 100
2020-07-29 06:00:01.675 [vent.ItemStateChangedEvent] - F2_Hallway_Light_sw changed from OFF to ON
2020-07-29 06:00:01.678 [vent.ItemStateChangedEvent] - F2_Hallway_Light_dm changed from 100 to 1
2020-07-29 06:00:01.680 [vent.ItemStateChangedEvent] - F2_Hallway_Light_swday changed from OFF to ON
2020-07-29 06:00:01.682 [vent.ItemStateChangedEvent] - F2_Hallway_Light_dm changed from 1 to 100
2020-07-29 06:00:01.709 [ome.event.ItemCommandEvent] - Item ‘F2_Hallway_Light_swday’ received command ON
2020-07-29 06:00:01.712 [vent.ItemStateChangedEvent] - FF_Hallway_Light_dm changed from 100 to 28
2020-07-29 06:00:01.714 [nt.ItemStatePredictedEvent] - F2_Hallway_Light_swday predicted to become ON
2020-07-29 06:00:02.499 [vent.ItemStateChangedEvent] - F2_Hallway_Light_dm changed from 100 to 1
2020-07-29 06:00:02.501 [vent.ItemStateChangedEvent] - FF_Hallway_Light_dm changed from 28 to 100
2020-07-29 06:00:02.504 [vent.ItemStateChangedEvent] - GF_Hallway2_Light_sw changed from OFF to ON
2020-07-29 06:00:02.506 [vent.ItemStateChangedEvent] - GF_Hallway2_Light_dm changed from 100 to 28
2020-07-29 06:00:03.554 [vent.ItemStateChangedEvent] - GF_Hallway2_Light_dm changed from 28 to 100
2020-07-29 06:00:03.851 [vent.ItemStateChangedEvent] - F2_Office_AC01_watts changed from 62.4 to 83.2
2020-07-29 06:00:04.679 [vent.ItemStateChangedEvent] - F2_Hallway_Light_dm changed from 1 to 100
2020-07-29 06:00:04.681 [vent.ItemStateChangedEvent] - F2_Hallway_Light_dm changed from 100 to 1
2020-07-29 06:00:04.683 [vent.ItemStateChangedEvent] - F2_Hallway_Light_dm changed from 1 to 100
2020-07-29 06:00:08.335 [vent.ItemStateChangedEvent] - Temperature changed from 13.43 to 13.46
2020-07-29 06:00:08.338 [vent.ItemStateChangedEvent] - Clouds changed from 31.00 to 30.00
2020-07-29 06:00:08.341 [vent.ItemStateChangedEvent] - LastUpdate changed from 2020-07-29T05:55:08.293+0200 to 2020-07-29T06:00:08.274+0200
2020-07-29 06:00:08.344 [vent.ItemStateChangedEvent] - ObservationTime changed from 2020-07-29T05:55:08.000+0200 to 2020-07-29T06:00:08.000+0200
2020-07-29 06:00:10.486 [vent.ItemStateChangedEvent] - Sun_Elevation changed from 0.030017317704953698 to 0.06399685064567535
2020-07-29 06:00:13.850 [vent.ItemStateChangedEvent] - F2_Office_AC01_watts changed from 83.2 to 76.2
2020-07-29 06:00:15.189 [ome.event.ItemCommandEvent] - Item ‘FF_Hallway_Light_dm’ received command OFF
2020-07-29 06:00:15.233 [ome.event.ItemCommandEvent] - Item ‘F2_Hallway_Light_dm’ received command OFF
2020-07-29 06:00:15.249 [ome.event.ItemCommandEvent] - Item ‘GF_Hallway2_Light_dm’ received command OFF
2020-07-29 06:00:15.251 [nt.ItemStatePredictedEvent] - FF_Hallway_Light_dm predicted to become OFF
2020-07-29 06:00:15.274 [ome.event.ItemCommandEvent] - Item ‘GF_Hallway3_Light_dm’ received command OFF
2020-07-29 06:00:15.304 [nt.ItemStatePredictedEvent] - F2_Hallway_Light_dm predicted to become OFF
2020-07-29 06:00:15.335 [nt.ItemStatePredictedEvent] - GF_Hallway2_Light_dm predicted to become OFF
2020-07-29 06:00:15.345 [nt.ItemStatePredictedEvent] - GF_Hallway3_Light_dm predicted to become OFF
2020-07-29 06:00:15.360 [vent.ItemStateChangedEvent] - FF_Hallway_Light_dm changed from 100 to 0
2020-07-29 06:00:15.361 [vent.ItemStateChangedEvent] - F2_Hallway_Light_dm changed from 100 to 0
2020-07-29 06:00:15.363 [vent.ItemStateChangedEvent] - GF_Hallway2_Light_dm changed from 100 to 0
2020-07-29 06:00:15.364 [vent.ItemStateChangedEvent] - GF_Hallway3_Light_dm changed from 100 to 0
lights_floor.rules ###################################################################
//####################################################################################################################################
rule “Beleuchtung_Nacht”
when
Channel 'astro:sun:home:set#event' triggered START
then {
FF_Hallway_Light_dm.sendCommand(1)
FF_Hallway_Light_co.sendCommand(60)
F2_Hallway_Light_dm.sendCommand(1)
// Treppe UG
GF_Hallway2_Light_dm.sendCommand(1)
GF_Hallway2_Light_co.sendCommand(60)
// Flur UG
GF_Hallway3_Light_dm.sendCommand(1)
GF_Hallway3_Light_co.sendCommand(60)
// warten zum ausschalten
Thread::sleep(15000)
FF_Hallway_Light_dm.sendCommand(OFF)
F2_Hallway_Light_dm.sendCommand(OFF)
GF_Hallway2_Light_dm.sendCommand(OFF)
GF_Hallway3_Light_dm.sendCommand(OFF)
}
end
rule “Beleuchtung_Tag”
when
Channel 'astro:sun:home:rise#event' triggered START
then {
FF_Hallway_Light_dm.sendCommand(100)
FF_Hallway_Light_co.sendCommand(15)
F2_Hallway_Light_dm.sendCommand(100)
// Treppe UG
GF_Hallway2_Light_dm.sendCommand(100)
GF_Hallway2_Light_co.sendCommand(15)
// Flur UG
GF_Hallway3_Light_dm.sendCommand(100)
GF_Hallway3_Light_co.sendCommand(15)
// warten zum ausschalten
Thread::sleep(15000)
FF_Hallway_Light_dm.sendCommand(OFF)
F2_Hallway_Light_dm.sendCommand(OFF)
GF_Hallway2_Light_dm.sendCommand(OFF)
GF_Hallway3_Light_dm.sendCommand(OFF)
}
end
//####################################################################################################################################
rule “Beleuchtung_TagScene”
when
Channel 'astro:sun:nightlight:rise#event' triggered START
then {
SceneF2_Hallway_Light_Night.sendCommand(OFF)
}
end
rule “Beleuchtung_NachtScene”
when
Channel 'astro:sun:nightlight:set#event' triggered START
then {
SceneF2_Hallway_Light_Night.sendCommand(ON)
}
end
//####################################################################################################################################
rule “Beleuchtung_Nachtmodus_aus_an”
when
Item F2_Hallway_Light_sw changed to ON
then
if (SceneF2_Hallway_Light_Night.state == OFF) {
F2_Hallway_Light_swday.sendCommand(ON)
}
end
rule “Beleuchtung_Nachtmodus_aus_aus”
when
Item F2_Hallway_Light_sw changed to OFF
then
{
F2_Hallway_Light_swday.sendCommand(OFF)
}
end
//####################################################################################################################################