Comments (5)
I had a quick look at the docs. It looks like there is a section on alarms raised, but I am not sure if this is generated the same way. It could help if you can capture the traffic. I am mostly interested in the serial comms over USB.
from invertergui.
Thanks for the prompt response. I run VEConfig3 inside a VirtualBox VM, which can be set to capture all USB traffic to a pcap-formatted file which can then be decoded with Wireshark. I'm pretty confident that Wireshark will allow me to extract the embedded serial comms data.
I will give it a try the next time I have the MK3 interface plugged to my PC, and then post the results here.
from invertergui.
I will give it a try the next time I have the MK3 interface plugged to my PC, and then post the results here.
Just did it, and I have good news and bad news:
-
The good news is that I was able to capture the traffic on a wireshark PCAPNG file, please download it here: https://durval.com/xfer-only/Victron_MK3_USB_Traffic_When_Show_IP_NS_Protection_Log_Is_Pressed.pcapng; using the Virtualbox USB traffic capture did not work well due to it being hard to start/stop the capture on the moments right before pressing the "Show IP (NS) protection log" button and the resulting window with the log being shown on screen, so I ended up capturing it directly via Wireshark using the "usbmon" method described here: https://wiki.wireshark.org/CaptureSetup/USB
-
The bad news is that I was not able to extract the embedded serial comms data; Wireshark (v.2.6.10) simply did not have a way to do that (or I could not find it). To make things worse, there was a ton of traffic (over 100 USB packets per second) between my PC and the MK3 device; I'm sure all traffic was to/from MK3 and not any other device because the destination bus and device (1 and 25) were exactly the one assigned to it:
lsusb | grep 0403:6015
Bus 001 Device 025: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
-
I was able to capture the packets for the time interval approximately (~1s precision) right before clicking on the "Show IP (NS) protection log" button and right after the window with the log showing up, but even so the capture file is over 500 packets long :-/
-
In case it helps to make sense of the packet capture, here's the window showing the log, that came up with the above capture:
Please let me know if I can be of any more help, or if there's a better way to capture and/or decode the traffic.
from invertergui.
I am not sure it is helpful but I found this project which has some low voltage status output I think based on the led status
from invertergui.
I am not sure it is helpful but I found this project which has some low voltage status output I think based on the led status
Just had a look and unfortunately this code doesn't have any functionality for accessing the IP (NS) protection log -- and the only voltage condition it mentions is related to the battery, not to AC mains :-/ But anyway, thanks for trying to help.
EDIT: I just sent a similar request to the author of that code, let's see what he/she responds.
from invertergui.
Related Issues (11)
- link on victron page
- armv7l compatibility (or something else...) HOT 8
- mismatch errors HOT 9
- Race condition in munin output. HOT 1
- Docker error HOT 9
- Cant build docker image on latest master HOT 6
- Incorrect output current and voltage HOT 7
- Invalid Input Frequency HOT 1
- Allow remote Victron ON/OFF HOT 2
- Help enabling Prometheus and Grafana
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 invertergui.