Global voice-title to sensor announcement?

You know when you have a sensor, let’s say fuel-sensor of some sort and you assign a announcement to a switch and Jeti tells you “340 ml” or “56%” and nothing else? Would it not be nicer to make it say “Fuel left 340 ml” or “Fuel 56%”?

There is two ways to do this. One is to use a alarm with an trigger so low it’s always active, then have a switch to activate this alarm. We know that alarm has the opportunity to add a title to the value so this is the first way. Drawback is that it takes one alarm-spot. Especially on more complicated models this may or may not be an issue. Another thing is that this is model-specific since every alarm has to be programmed to every model separately.

Way to go Wayne!

Thankfully community is full of wise men, one of these wise men is Wayne who is frequent on RC-Groups.com.  He did a very good find yesterday, a way to add the title to a telemetry-value. This can then be used in voice announcement and always announces the title of sensor with the value. Pretty cool!

How To

This needs editing system-wide .jsn file, so always make sure you are having a untouched backup-file!

So, backup your numbers.jsn file from /voice/en -directory (or what the language is you are using) and open the file.

Search for the section:

//V4.0
{"Type":2,"Label":"R.volume","File":"R.Volume.wav"},
{"Type":2,"Label":"R.volumeP","File":"R.Volume.wav"},
{"Type":2,"Label":"Flow","File":"Flow.wav"},
{"Type":2,"Label":"Pressure","File":"Pressure.wav"},

What we need to do is to add a line here. Let’s say your sensor is named “TANK “, and we want the announcement be like “Fuel 56%”. We need to add the extra line as follows:

{"Type":2,"Label":"TANK ","File":"Fuel.wav"},

So now the whole section is:

//V4.0
{"Type":2,"Label":"R.volume","File":"R.Volume.wav"},
{"Type":2,"Label":"R.volumeP","File":"R.Volume.wav"},
{"Type":2,"Label":"Flow","File":"Flow.wav"},
{"Type":2,"Label":"Pressure","File":"Pressure.wav"},
{"Type":2,"Label":"TANK ","File":"Fuel.wav"},

Now,some important things:

  • Make sure the sensor-name is EXACTLY as it is in the model’s .jsn file!
  • Make sure to include any spaces etc there might be in the sensor-name (Hint: Look into TANK…)
  • This is a system-file, did I say to make a untouched backup?

Now. Since this is a system-wide file and it’s read on transmitter start-up you need to turn of your transmitter after saving the file to it. Transmitter reads the file on start and changes take effect only then.

Make sure you have the .wav-file in your voice-directory also! (Remember that you can make your own sound-files here!)

Result

Now you can assign a single voice announcement to a switch to announce the sensor-name with the value, no more guessing what the value belongs to!

Thanks Wayne, great find!

Leave a Reply

Your email address will not be published. Required fields are marked *