Lots of error-messages after 2.3 Update - No idea what this could be?

Hi,

after a fresh install of Openhabian with OH 2.3 stable, I am receiving tons of error messages in openhab.log. I have absolutely no idea, where to start with debugging, as I can’t find any hint I would understand. Maybe somebody can help me out here?

I have installed Binding for NTP, Astro, Zwave, KNX, MQTT
Application-wise there is OH2 2.3, Grafana, Influx, Mosquitto, Node Red

Thanks

2018-05-30 13:26:29.995 [ERROR] [ersey.server.ServerRuntime$Responder] - An I/O error has occurred while writing a response message entity to the container output stream.
org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException
	at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:92) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [169:org.glassfish.jersey.core.jersey-common:2.22.2]
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [170:org.glassfish.jersey.core.jersey-server:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [167:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [15:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.3.21.v20170918]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [85:org.eclipse.jetty.servlet:9.3.21.v20170918]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [183:org.ops4j.pax.web.pax-web-jetty:6.0.9]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.Server.handle(Server.java:534) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [87:org.eclipse.jetty.util:9.3.21.v20170918]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: org.eclipse.jetty.io.EofException
	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:199) ~[76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:420) ~[76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:313) ~[76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:147) ~[76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:731) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) ~[87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) ~[87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:519) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:745) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:801) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:235) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:219) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:496) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at java.io.OutputStream.write(OutputStream.java:75) ~[?:?]
	at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:320) ~[?:?]
	at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:218) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:294) ~[?:?]
	at org.eclipse.smarthome.io.rest.core.internal.GsonProvider.writeTo(GsonProvider.java:71) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
	at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
	at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) ~[?:?]
	... 46 more
Caused by: java.io.IOException: Datenübergabe unterbrochen (broken pipe)
	at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) ~[?:?]
	at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) ~[?:?]
	at sun.nio.ch.IOUtil.write(IOUtil.java:148) ~[?:?]
	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504) ~[?:?]
	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:179) ~[76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:420) ~[76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:313) ~[76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:147) ~[76:org.eclipse.jetty.io:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:731) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) ~[87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) ~[87:org.eclipse.jetty.util:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:519) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:745) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:801) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:235) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:219) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:496) ~[84:org.eclipse.jetty.server:9.3.21.v20170918]
	at java.io.OutputStream.write(OutputStream.java:75) ~[?:?]
	at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:320) ~[?:?]
	at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:218) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:294) ~[?:?]
	at org.eclipse.smarthome.io.rest.core.internal.GsonProvider.writeTo(GsonProvider.java:71) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
	at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) ~[?:?]
	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
	at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) ~[?:?]
	... 46 more

  • Platform information:
    • Hardware: RPi 3b
    • OS: Openhabian
    • Java Runtime Environment: Standard Version of Openhabian

If you have done the configuration in conf-files, you can post your items, sidemaps and rule-files.

Anything of particular interest? I can post the knx items (which work), the sitemap ( works as well) and the rules (which I always suspect first ;-))

Zwave is configured using habmin, so no config file (works as well)
Mqtt and node red work as well amd influx&grafana are not in use yet

lightning.rules (works with no problems)

rule "Nachtlicht bei Bewegung Ost im Schlafzimmer"
when
	Item Bewegung_Schlafzimmer_Ost changed from OFF to ON
then
	if (EsIstTag.state == OFF && HueColorCandle4_Dimmer.state == 0 && HueColorCandle3_Dimmer.state == 0) {
//	HueColorCandle3_Color.sendCommand ("7,92,1")
//	HueColorCandle4_Color.sendCommand ("7,92,1")
	HueColorCandle3_Color.sendCommand ("34,98,1")
	HueColorCandle4_Color.sendCommand ("34,98,1")
	createTimer(now.plusSeconds(120)) [HueColorCandle3_Dimmer.sendCommand (0)]
	createTimer(now.plusSeconds(120)) [HueColorCandle4_Dimmer.sendCommand (0)]
	}
end


rule "Nachtlicht bei Bewegung West im Schlafzimmer"
when
	Item Bewegung_Schlafzimmer_West changed from OFF to ON
then
	if (EsIstTag.state == OFF && HueColorCandle4_Dimmer.state == 0 && HueColorCandle3_Dimmer.state == 0) {
//	HueColorCandle3_Color.sendCommand ("7,92,1")
//	HueColorCandle4_Color.sendCommand ("7,92,1")
	HueColorCandle3_Color.sendCommand ("34,98,1")
	HueColorCandle4_Color.sendCommand ("34,98,1")
	createTimer(now.plusSeconds(120)) [HueColorCandle3_Dimmer.sendCommand (0)]
	createTimer(now.plusSeconds(120)) [HueColorCandle4_Dimmer.sendCommand (0)]
	}
end

/*
rule "Licht Treppenhaus oben an bei Anwesenheit"
when
	Item EsIstTag changed from ON to OFF
then
	if (Anwesenheit.state == ON) {
	Steckdose_Treppenhaus_Oben.sendCommand (ON)
	}
end


rule "Licht Treppenhaus aus um 22:05 Uhr"
	when
		Time cron "0 05 22 ? * MON-SUN"
	then
		Steckdose_Treppenhaus_Oben.sendCommand (OFF)
end
*/


rule "Licht Kellertreppe Zeit"
when
	Item Licht_Kellertreppe changed from OFF to ON
then
	createTimer(now.plusSeconds(12000)) [Licht_Kellertreppe.sendCommand(OFF)]
end

shutters.rules (works partially, as Positions of the rollershutters are ignored. Rules fire every time a cron job goes off)

// Meldungen

rule "Message if Blinds UP"
	when
		Item RL_Haus_Alles received command UP
	then
		sendTelegram("bot1","Rolläden im ganzen Haus am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " geöffnet")
end


rule "Message if Blinds DOWN"
	when
		Item RL_Haus_Alles received command DOWN
	then
		sendTelegram("bot1","Rolläden im ganzen Haus am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " geschlossen")
end

// Beschattung OST

rule "Shutter EAST set to ON to 85% when Outside Temp above 23 Grad and Shutter Auto set to ON"
when
	Time cron "0 0/15 6-12 * * ?"
then
	if (RL_Kueche_Ost.state != 85 && (Temperature_Aussen_Sued.state as DecimalType).floatValue >= 23 && (Beschattung_Automatik.state == ON)) {
		Beschattung_Ost.postUpdate (ON)
		sendTelegram("bot1","Beschattung OST am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " aktiviert")
		}
end


rule "Shutter EAST set to OFF when below 22 degrees"
when
	Time cron "0 0/15 6-12 * * ?"
then
	if (RL_Kueche_Ost.state == 85 && (Temperature_Aussen_Sued.state as DecimalType).floatValue <= 22 && (Beschattung_Automatik.state == ON)) {
		Beschattung_Ost.postUpdate (OFF)
		sendTelegram("bot1","Beschattung OST am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " deaktiviert")
	}
end


rule "Shutter EAST set to OFF"
when
	Time cron "0 05 13 ? * *"
then
	if (Beschattung_Automatik.state == ON || RL_Kueche_Ost.state == 85)	{ 
		Beschattung_Ost.postUpdate (OFF)
		sendTelegram("bot1","Beschattung OST am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " deaktiviert")
	}
end


// Beschattung SUED

rule "Shutter SOUTH set to ON to 85% when Outside Temp above 23 Grad and Shutter Auto set to ON"
when
	Time cron "0 0/15 10-17 * * ?"
then
	if (RL_WoZi_Sued.state != 85 && (Temperature_Aussen_Sued.state as DecimalType).floatValue >= 23 && (Beschattung_Automatik.state == ON)) {
		Beschattung_Sued.postUpdate (ON)
		sendTelegram("bot1","Beschattung SÜD am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " aktiviert")
		}
end

rule "Shutter SOUTH set to OFF when below 22 degrees"
when
	Time cron "0 0/15 10-17 * * ?"
then
	if (RL_WoZi_Sued.state == 85 && (Temperature_Aussen_Sued.state as DecimalType).floatValue <= 22 && (Beschattung_Automatik.state == ON)) {
		Beschattung_Sued.postUpdate (OFF)
		sendTelegram("bot1","1 Beschattung SUED am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " deaktiviert")
	}
end

rule "Shutter SOUTH set to OFF"
when
	Time cron "0 15 18 ? * *"
then
	if (Beschattung_Automatik.state == ON || RL_WoZi_Sued.state == 85)	{ 
		Beschattung_Sued.postUpdate (OFF)
		sendTelegram("bot1","Beschattung SÜD am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " deaktiviert")
	}
end

// Beschattung West

rule "Shutter WEST o 85% when Outside Temp above 23 Grad and Shutter Auto set to ON"
when
	Time cron "0 0/15 14-18 * * ?"
then
	if (RL_Zimmer_West_West.state != 85 && (Temperature_Aussen_Sued.state as DecimalType).floatValue >= 23 && (Beschattung_Automatik.state == ON)) {
		Beschattung_West.postUpdate (ON)
		sendTelegram("bot1","Beschattung WEST am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " aktiviert")
		}
end

rule "Shutter WEST set to OFF when below 22 degrees"
when
	Time cron "0 0/15 14-18 * * ?"
then
	if (RL_Zimmer_West_West.state == 85 && (Temperature_Aussen_Sued.state as DecimalType).floatValue <= 22 && (Beschattung_Automatik.state == ON)) {
		Beschattung_West.postUpdate (OFF)
		sendTelegram("bot1","Beschattung WEST am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " deaktiviert")
	}
end

rule "Shutter WEST set to OFF"
when
	Time cron "0 05 19 ? * *"
then
	if (Beschattung_Automatik.state == ON || RL_Zimmer_West_West.state == 85)	{ 
		Beschattung_West.postUpdate (OFF)
		sendTelegram("bot1","Beschattung WEST am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " deaktiviert")
	}
end

// Alle Beschattungen AUS

rule "Shutter Auto set ALL to OFF when AUTO = OFF"
when
	Item Beschattung_Automatik changed from ON to OFF
then
		Beschattung_Ost.postUpdate (OFF)
		Beschattung_Sued.postUpdate (OFF)
		Beschattung_West.postUpdate (OFF)
		Beschattung_Haus.postUpdate (OFF)
		sendTelegram("bot1","Beschattungsautomatik am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " deaktiviert")
end

rule "Shutter Auto set ALL to OFF after 7:10pm"
when
	Time cron "0 10 19 ? * *"
then
	if (Beschattung_Automatik.state == ON || RL_Zimmer_West_West.state == 85)	{ 
		Beschattung_Ost.postUpdate (OFF)
		Beschattung_Sued.postUpdate (OFF)
		Beschattung_West.postUpdate (OFF)
		Beschattung_Haus.postUpdate (OFF)
		sendTelegram("bot1","Beschattung ALLES am "+ Date.state.format("%1$td.%1$tm.%1$tY") +" um " + Date.state.format("%1$tH:%1$tM") + " deaktiviert")
	}
end

scenes.rules (work, although they are quite slow sometimes)

rule "Szene 1 Guten Morgen"
when
	Item Scene received command 0
then
/*	Steckdose_WoZi_Sued.sendCommand (ON) */
/*	Steckdose_WoZi_Ost.sendCommand (ON) */
/*	Steckdose_Radio.sendCommand (ON) */
	HueLightstripPlus1_Dimmer.sendCommand (ON)
	HueColorCandle1_Dimmer.sendCommand (ON)
	HueColorCandle2_Dimmer.sendCommand (ON)
	createTimer(now.plusSeconds(3)) [HueColorCandle1_Color.sendCommand ("42,78,100") HueColorCandle2_Color.sendCommand ("42,78,100")]
end


rule "Szene 2 Gute Nacht"
when
	Item Scene received command 1
then
	HueLightstripPlus1_Dimmer.sendCommand (OFF)
	HueColorCandle1_Dimmer.sendCommand (OFF)
	HueColorCandle2_Dimmer.sendCommand (OFF)
	ZentralAus_EG.sendCommand (OFF)
	Steckdose_WoZi_Sued.sendCommand (OFF)
	Steckdose_WoZi_Ost.sendCommand (OFF)
	Steckdose_Treppenhaus_Oben.sendCommand (OFF)
end


rule "Szene 3 Chillen"
when
	Item Scene received command 2
then
	createTimer(now.plusSeconds(3)) [HueLightstripPlus1_Dimmer.sendCommand (ON)
	HueColorCandle1_Dimmer.sendCommand (ON)
	HueColorCandle2_Dimmer.sendCommand (ON)
	HueLightstripPlus1_Color.sendCommand ("42,78,100") 	
	HueColorCandle1_Color.sendCommand ("42,78,100")
	HueColorCandle2_Color.sendCommand ("42,78,100")]
end


/*
rule "Szene 4 TV"
when
	Item Scene received command 3
then
	if (EsIstTag.state == OFF) {HueColorCandle1_Dimmer.sendCommand (ON)
	HueColorCandle2_Dimmer.sendCommand (ON)}
	
end
*/

rule "Szene 5 Essen"
when
	Item Scene received command 4
then
	HueColorCandle2_Dimmer.sendCommand (OFF)	
	HueLightstripPlus1_Dimmer.sendCommand (OFF)
	Steckdose_WoZi_Ost.sendCommand (OFF)
	Licht_WoZi_West_Links.sendCommand (OFF)
	Steckdose_WoZi_Sued.sendCommand (ON)
	createTimer(now.plusSeconds(3)) [HueColorCandle1_Dimmer.sendCommand (ON)
	HueColorCandle1_Color.sendCommand ("42,78,90")]
end 


rule "Szene 6 Kochen"
when
	Item Scene received command 5
then
	HueColorCandle2_Dimmer.sendCommand (ON) 
	HueColorCandle1_Color.sendCommand ("42,78,90")
	HueColorCandle2_Color.sendCommand ("42,78,90")
	Steckdose_WoZi_Sued.sendCommand (ON)
	Steckdose_WoZi_Ost.sendCommand (ON)
	createTimer(now.plusSeconds(3))	[HueColorCandle1_Dimmer.sendCommand (ON)
	HueColorCandle2_Dimmer.sendCommand (ON) 
	HueColorCandle1_Color.sendCommand ("42,78,90")
	HueColorCandle2_Color.sendCommand ("42,78,90")]
end


rule "Szene 7 Herein"
when
	Item Scene received command 6
then
	Steckdose_WoZi_Sued.sendCommand (ON)
	Steckdose_WoZi_Ost.sendCommand (ON)
	createTimer(now.plusSeconds(3))	[HueColorCandle1_Dimmer.sendCommand (ON)
	HueColorCandle2_Dimmer.sendCommand (ON) 
	HueColorCandle1_Color.sendCommand ("42,78,90")
	HueColorCandle2_Color.sendCommand ("42,78,90")]
end


rule "Szene 8 Wohnen Sunset"
when
	Item Scene received command 7
then
	Licht_WoZi_West_Links.sendCommand (ON)
	Steckdose_WoZi_Sued.sendCommand (ON)
	Steckdose_WoZi_Ost.sendCommand (ON)
	createTimer(now.plusSeconds(3)) [HueLightstripPlus1_Dimmer.sendCommand (ON)
	HueColorCandle1_Dimmer.sendCommand (ON) 
	HueColorCandle2_Dimmer.sendCommand (ON)
	HueLightstripPlus1_Color.sendCommand ("7,92,78")
	HueColorCandle1_Color.sendCommand ("7,92,78")
	HueColorCandle2_Color.sendCommand ("7,92,78")]
end


rule "Szene 9 Wohnen Entspannen"
when
	Item Scene received command 8
then
	Licht_WoZi_West_Links.sendCommand (ON)
	Steckdose_WoZi_Sued.sendCommand (ON)
	Steckdose_WoZi_Ost.sendCommand (ON)
	createTimer(now.plusSeconds(3)) [HueLightstripPlus1_Dimmer.sendCommand (ON)
	HueColorCandle1_Dimmer.sendCommand (ON) 
	HueColorCandle2_Dimmer.sendCommand (ON)
	HueLightstripPlus1_Color.sendCommand ("42,78,100") 	
	HueColorCandle1_Color.sendCommand ("42,78,100")
	HueColorCandle2_Color.sendCommand ("42,78,100")]
end


rule "Szene 10 Wohnen Gedimmt"
when
	Item Scene received command 9
then
	Licht_WoZi_West_Links.sendCommand (ON)
	Steckdose_WoZi_Sued.sendCommand (ON)
	Steckdose_WoZi_Ost.sendCommand (ON)
	createTimer(now.plusSeconds(3)) [HueLightstripPlus1_Dimmer.sendCommand (ON)
	HueColorCandle1_Dimmer.sendCommand (ON) 
	HueColorCandle2_Dimmer.sendCommand (ON)
	HueLightstripPlus1_Color.sendCommand ("42,78,50") 	
	HueColorCandle1_Color.sendCommand ("42,78,50")
	HueColorCandle2_Color.sendCommand ("42,78,50")]
end


rule "Szene 11 Wohnen Aus"
when
	Item Scene received command 10
then
	HueLightstripPlus1_Color.sendCommand (OFF)
	HueColorCandle1_Color.sendCommand (OFF)
	HueColorCandle2_Color.sendCommand (OFF)
	Licht_WoZi_West_Links.sendCommand (OFF)
	Steckdose_WoZi_Sued.sendCommand (OFF)
	Steckdose_WoZi_Ost.sendCommand (OFF)
end


rule "Szene 12 Schlafen Sunset"
when
	Item Scene received command 11
then
	HueColorCandle3_Color.sendCommand ("7,92,78")
	HueColorCandle4_Color.sendCommand ("7,92,78")
end


rule "Szene 13 Schlafen Entspannen"
when
	Item Scene received command 12
then
	HueColorCandle3_Color.sendCommand ("42,78,100")
	HueColorCandle4_Color.sendCommand ("42,78,100")
end


rule "Szene 14 Schlafen Gedimmt"
when
	Item Scene received command 13
then
	HueColorCandle3_Color.sendCommand ("42,78,50")
	HueColorCandle4_Color.sendCommand ("42,78,50")
end


rule "Szene 15 Schlafen Aus"
when
	Item Scene received command 14
then
	HueColorCandle3_Color.sendCommand (OFF)
	HueColorCandle4_Color.sendCommand (OFF)
end

rule "Szene 16 Küche aus"
when
	Item Scene received command 15
then
	Licht_Unterschrank_West.sendCommand (OFF)
	Licht_Unterschrank_Nord.sendCommand (OFF)
	Licht_Kueche.sendCommand (OFF)
end


rule "Zentralaus"
when
	Item ZentralAus_EG received command OFF
then
	HueLightstripPlus1_Dimmer.sendCommand (OFF)
	HueColorCandle1_Dimmer.sendCommand (OFF)
	HueColorCandle2_Dimmer.sendCommand (OFF)
	Steckdose_WoZi_Sued.sendCommand (OFF)
	Steckdose_WoZi_Ost.sendCommand (OFF)
	Steckdose_Treppenhaus_Oben.sendCommand (OFF)
end

automation.rules (is not active currently. Did not work anymore after Upgrade to 2.3. Worked fine with 2.2)

rule "Keller lüften wenn Feuchte aussen < Feuchte Keller"
when
	Time cron "0 0/15 * * * ?"
then
	logInfo("Feuchtewerte", (Humidity_Vorratskeller.state as DecimalType).floatValue + " " + (Humidity_Aussen.state as DecimalType).floatValue)
	if ((Humidity_Vorratskeller.state as DecimalType).floatValue > (Humidity_Aussen.state as DecimalType).floatValue) {
		if (Vorratskeller_Fenster_Lueften.state == OFF) {
		sendTelegram("bot1","Lüften im Keller!")
		Vorratskeller_Fenster_Lueften.postUpdate (ON)}
		}
	else
		if (Vorratskeller_Fenster_Lueften.state == ON) {
		sendTelegram("bot1","Fenster schliessen im Keller!")
		Vorratskeller_Fenster_Lueften.postUpdate (OFF)
		}
end

/*

rule "Steckdose Entfeuchter aus wenn Feuchte unter 48%"
when
	Time cron "0 0/30 * * * ?"
then
	if ((Humidity_Vorratskeller.state as DecimalType).floatValue >= 50) {
		Steckdose_Entfeuchter.postUpdate (ON)
		}
	else
	(if ((Humidity_Vorratskeller.state as DecimalType).floatValue <= 48) {
		Steckdose_Entfeuchter.postUpdate (OFF)
		}
	else
		logInfo("Entfeuchter", (Humidity_Vorratskeller.state as DecimalType).floatValue + " " + (Humidity_Aussen.state as DecimalType).floatValue)
)
end

Hope there is something that helps?

You need to add a space after the [ in the timer lambdas
I am not sure about the other rules

From the stack trace it seems to be an error in the rest api, I have seen these errors sometimes when i have problems in paperui. A browser refresh usually solves it then. A first thing to try could be to clear the cache in any browser you use for paperui, habpanel etc.

In the last rule there is a /* without corresponding */

That was just a mistake when copying the rules, sorry. Original rule had the missing */

Did so, but really confused how a cache problem generates errors on the server side?
Didn’t change anything though…

look also to the following LINKS:



I got the same errors, by using Alexa App to search for new devices and also if I use the local IP Adress in the IOS App.

you mean from this

createTimer(now.plusSeconds(3)) [HueColorCandle1_Dimmer.sendCommand (ON)
	HueColorCandle1_Color.sendCommand ("42,78,90")]

to this?

createTimer(now.plusSeconds(3)) [ HueColorCandle1_Dimmer.sendCommand (ON)
	HueColorCandle1_Color.sendCommand ("42,78,90") ]

Yes

ok, thanks. Did miss this change.

Hm…seems to be a quite unclear situation. I am encountering errors when using VSC as well, which point into the same direction (REST API)

Error while connecting to openHAB REST API. 

This error starts to show up after some minutes of working with VSC. Never seen this with 2.2.
This is a brand new Openhabian installation, so no old data to deal with.
Strange…

It’s probably a longshot, but just to be sure it’s not some old cached version of the webpage that sends a faulty request or something like that. But I think that the problem is server-side, so not sure if you can do anything about it…

Hey Buddy,

same situation here.
Today i’ve installed 2.3 --> Since then a lot of errors in the log.

I’ve noticed that the errors occur only after opening the Paper UI / or using the mobile app!
Without any sitemaps everything works fine!
Also no idea where i should start with troubleshooting?!? :confounded:

Hardware: RPi 3b+
OS: Openhabian

Did you already try to clear the browsers cache … ?

Clearing the Browser cache had no effect on my side.
I would agree, that these messages start to pop in after using the paper ui extensively, or after working with VSC for some time (which seems to access the REST Api as well?).
I am using HTTP access to a Hue Bridge as well, to read out motion sensor data. Maybe this adds to the effect as well, as somebody mentioned possible resource constrains as a possible cause…

What I can say from testing today:

  • Browser Cache has no influence (used a totally different machine with a freshly installed chrome)
  • Using the paper UI defininitely triggers the problem (not saying it IS the problem, but it forces these log entries to start rolling in)
  • When left alone, all is fine. So the HTTP Get requests to the Hue Bridge doesn’t seem to have any influence

Hope this helps the pro’s to have a good idea where to start looking :slight_smile:

We who have used the snapshot have seen this for quite a while Snapshot: openhab.log swamped with exceptions if any browser connected to :8080