Q&A Forum
So, ive known the developer of Tunernerd knock detection some years now. As a user of both Yourdyno and Tunernerd knock, may main peeve is the extra wiring needed to use Tunernerd along with the Dyno.
However, the developer has said he would like to do a plugin where the Tunernerd Knock App would get its RPM, AFR and Boost data from Yourdyno, and send knock data to Yourdyno, meaning any owner of the software can use it with out the actual tunernerd hardware.
PROBLEM: He has no idea on how the plugin systems work and what ways he would integrate/modify the current system, So if anyone has the know how and would like to make this happen let me know, i am sure there are many other users using the same setup.
Unfortunately I had a bad accident recently so gonna be sometime before I can test this plugin, realistically after Feb tbh
Has anyone had a chance to test this?
Folks,
I created a skeleton plugin for the TunerNerd. There is a fair chance it will work but I have no way to test. In any case it needs testing and refinement such as auto connect, etc.
If anyone wants to send me a TunerNerd device, then I can finish it, otherwise I hope someone else will. Send the code to me when finished and I can include it in the standard builds.
Folks,
I created a skeleton plugin for the TunerNerd. There is a fair chance it will work but I have no way to test. In any case it needs testing and refinement such as auto connect, etc.
If anyone wants to send me a TunerNerd device, then I can finish it, otherwise I hope someone else will. Send the code to me when finished and I can include it in the standard builds.
I've v2 and v4 versions so yup can help while V5 with canbus is released lol
Yup. So who's going to make this plugin with what's available? 🙂
@donperry Great. Both of these options will work. I assume the web server a bit slower than the serial, or is it not noticeable? What is the update frequency of the data?
The serial port seems a better option as it won't require the knock software running on the PC reducing pc overheads processor!/memory. The new tuner nerd v4 unit with integrated display kinda negates the need for tuner nerd running on PC too.
I think for many users map and afr can be omitted as they are usually a given with yourdyno hardware
@donperry Great. Both of these options will work. I assume the web server a bit slower than the serial, or is it not noticeable? What is the update frequency of the data?
great! hopefully it will be available soon!
Hey, creator of KM Pro here.
We have two options so far:
1. Reading the serial port directly (can't run the KM software while doing this)
2. Reading from the TN web server
To read the serial port here's an example with parser:
https://github.com/donperry/TKM/blob/main/SampleUsage.cs
The only problem is the port can't be used by both the software and the dyno, either one or the other.
The other option is a local web server which serves a JSON.
{
"RPM": 0,
"MAP": 198.931402572977,
"volumeLeft": 0,
"volumeRight": 0,
"Threshold": 0,
"knockedLeft": 0,
"knockedRight": 0,
"CylinderKnockCounts": [0, 0, 0, 0, 0, 0, 0, 0]
}
You can enable the web server in settings>advanced settings tab. Scroll down for web server and enable it.
you'll need to restart the software (run as admin) to get that working.
You can poll the TN server using a class similar to this to consume the JSON:
https://github.com/donperry/TKM/blob/main/EngineData.cs
Beyond this I do not know how to make a plugin, but i'm sure you can take it from here.
@bigm Good! I think the best would be if Knock Monitor Pro can run in parallel with YourDyno and output the data we need. The plugin and Knock Monitor Pro need to agree on the communication protocol. It could be something simple like Named pipes or sockets etc. Using this, the data is received in the YourDyno plugin and the data channels can have their value updated for every data package it receives.
