Comments (4)
You need to provide a little bit more information than that.
Do you use a router or tunnel client?
Can you provide a more detailed example?
Have you brought this up with the ‘knx-virtual’ project?
Does ‘knx-virtual’ log any information before crashing?
I have not experienced any KNX device (or any software for that matter) crashing when used with this library.
from knx-go.
Thanks in advance. @vapourismo
Please let me know if you need any further information. I really appreciate your help.
Extra information:
I have setup HomeAssistant (https://www.home-assistant.io/) in IP 192.168.1.84 (Mac) and configured KNX Virtual. I am able to control the Switch without any issues.
I using Tunnel client
client, err := knx.NewGroupTunnel("192.168.1.21:3671", knx.DefaultTunnelConfig)
Can you provide a more detailed example?
Using KNX ETS i have setup a lamp and button with group "1/1/1". I am trying to control the switch using this package.
KNX Virtual installed in a separate windows box with IP 192.168.1.21.
Go/python code is running in mac with IP 192.168.1.84. They both are in the same network.
Have you brought this up with the ‘knx-virtual’ project?
Not yet. As this was working fine when used with Python and HomeAssistant.
Does ‘knx-virtual’ log any information before crashing?
No info before crashing but i found this in event log of windows.
Log Name: Application
Source: .NET Runtime
Date: 27/08/2020 12:05:49
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: DESKTOP-8L3MTNC
Description:
Application: KNX Virtual.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
at System.Net.Sockets.Socket.Send(Byte[], Int32, Int32, System.Net.Sockets.SocketFlags)
at System.Net.Sockets.UdpClient.Send(Byte[], Int32, System.Net.IPEndPoint)
at KnxVirtualForm.MainForm.CoreService(Byte[])
at KnxVirtualForm.MainForm.ListenUdpClient(System.IAsyncResult)
at System.Net.LazyAsyncResult.Complete(IntPtr)
at System.Net.ContextAwareResult.CompleteCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Net.ContextAwareResult.Complete(IntPtr)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
Event Xml:
1026
2
0
0x80000000000000
35913
Application
DESKTOP-8L3MTNC
Application: KNX Virtual.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
at System.Net.Sockets.Socket.Send(Byte[], Int32, Int32, System.Net.Sockets.SocketFlags)
at System.Net.Sockets.UdpClient.Send(Byte[], Int32, System.Net.IPEndPoint)
at KnxVirtualForm.MainForm.CoreService(Byte[])
at KnxVirtualForm.MainForm.ListenUdpClient(System.IAsyncResult)
at System.Net.LazyAsyncResult.Complete(IntPtr)
at System.Net.ContextAwareResult.CompleteCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Net.ContextAwareResult.Complete(IntPtr)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
from knx-go.
Here i am attaching Go code and ETS5 sample knx project as zip file.
from knx-go.
This seems like a KNX Virtual issue so far.
Can you provide network captures so we can look at the differences between xknx
and this library?
Ideally something Wireshark-compatible.
from knx-go.
Related Issues (20)
- Update telegraf's import to newest knx-go version HOT 3
- MessageCode differs on GOARM 5 HOT 10
- Missing datatypes HOT 1
- Impossible to read memory address with Authentication HOT 3
- more example HOT 3
- Advice needed HOT 2
- Implement DESCRIPTION_REQUEST HOT 4
- Missing telegrams in IP KNX tunnel HOT 36
- cemi.NewGroupAddrString() does not report error with some wrong addresses HOT 2
- DPT232 HOT 2
- Query value-status of a group address HOT 3
- DPT242 changes discussion HOT 1
- support for knx secure tunnel? HOT 2
- Problem in Telegraf that connection loss from KNX-Router is not recognized HOT 13
- Problem with DPT with 4 digits after dot
- knx-go is writing wrong "source" tag HOT 6
- All DPT1.xxx are boolean HOT 4
- NewGroupAddr2 needs to shift a by 11 bits HOT 1
- Read on command group address
- race condition in connection state handling HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knx-go.