MQTT Publish Formatting

So, I’m running onstar2mqtt for my car’s controls. I can publish the command (in mosquito broker) {"command": "startVehicle"} and it runs successfully. However, when trying to pass one of the commands that requires parameters I can’t figure out the correct formatting for the publish message. I’ve googled for hours trying to get an idea, but figured I would reach out to the community for help. I’ve attached screen shots of the commands.js file that I’m trying to execute. The ones without parameters work great. It’s the alert() one that I’m trying to solve. If anyone has any input I really do appreciate your time. Screen Shot 2022-04-05 at 12.45.39 PM
Screen Shot 2022-04-05 at 12.45.48 PM

It seems to be an issue in the command code syntax which I fixed in my fork - GitHub - BigThunderSR/onstar2mqtt: OnStarJS wrapper for MQTT

I also added a couple of additional commands that should also provide what you are looking for:

  1. alertFlash
  2. alertHonk

Let me know if it works for you if you try it out.