I'm trying to get your project running with my HMS-800W-2T.
I disabled the software version check and have to use active communication, as no message arrives from the DTU in passive mode.
Although setting the dtuStepTime worked fine and also all basic infos are retrieved fine.
But I'm currently getting this error message:
NFO | 2023-10-05 11:30:27 | [nioEventLoopGroup-2-1] dtu.DtuMessageDecoder (DtuMessageDecoder.java:101) - <-- end
INFO | 2023-10-05 11:30:27 | [nioEventLoopGroup-2-1] dtu.SimpleMessageAggregator (SimpleMessageAggregator.java:40) - Next message, last=true
ERROR | 2023-10-05 11:30:27 | [nioEventLoopGroup-2-1] dtu.DtuClient$InboundHandler (DtuClient.java:188) - exceptionCaught: io.netty.handler.codec.MessageAggregationException: Message number mismatch
io.netty.handler.codec.DecoderException: io.netty.handler.codec.MessageAggregationException: Message number mismatch
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98) ~[hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [hoymiles-dtu-1.0-SNAPSHOT-jar-with-dependencies.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
I'm trying to get your project running with my HMS-800W-2T.
I disabled the software version check and have to use active communication, as no message arrives from the DTU in passive mode.
Although setting the
dtuStepTimeworked fine and also all basic infos are retrieved fine.But I'm currently getting this error message: