Playing Kitchen notification sounds for new orders

Typically when that happens usually it’s due to custom automation interfering or rule debugger is on.

By design it refreshes screens every submitted ticket.

Then Message Server configuration is incorrect and it is not working properly. There should be no reason to set a timer. Just check the box for Auto Refresh and set the Interval to 0.

Run the Message Server Service Tool (Samba.MessagingServerServiceTool.exe) on the Server machine only, which allows you to set the port and install the Messaging Server as a Windows Service. Once this is done, there is no need to run the Tool again, unless you need to change the port for some reason.

image

If you set the port in the Tool to 9000+, then your Terminals (all of them, including the Server) should have the Message Server Name set to http://MYSERVER (or an IP address like http://192.168.1.10) and the Message Server Port set to 9000, and have the box checked for Auto Start Message Client.

When you look in the Windows Service Manager, you should see the Messaging Server Service running, on the Server machine only, and NOT at all on any other Terminal …

You might need to open the port in the Windows Firewall (or any other Firewall program you might use) for the Messaging Service on the Server machine only. Other Terminals do not require an open port …

Yes, I have done all of the above steps. I’ve set my port to 9000+ on the server and verified that it is running on the server only. I used my server ip address to connect each client to and set their port to 9000. They all say connected in the lower left corner and when I run the connection test it says successfully connected. I have actually turned off firewall completely on all machines and to no avail.

Have you simplified? Try just a very basic broadcast message and message received rule with a popup action, no constraints other than the actual message name bit.

Yes, I have tried that. Message was set to say hello. Did not show up on any terminal.

Care to share screenshots.
I notice your hard coding your actions, I reconmend ‘carrying’ the field with [:Field Name] so it can be set in the rule.
Changes made to action after adding to rule are not updated unless action is removed, rule saves and the readded.

I created an automation command with a button that says hello. Set it to trigger the broadcast message and send the command Hello. Set a rule up to receive the command and show a message box that says Hello. Also the screen shots shot my server setup with message server running and the settings and a screen shot of one of the client terminals. This is sure a lot of work for a simple sound to play. lol. I ordered a printer that is esc/pos compatible that will ring a bell. Maybe ill just set it up as the bell to ring when an order is received but not print. Seems easier.

Thats not right though…
You put the broadcast message action in an automation command executed rule to make the button trigger the broadcast.
Then you have a message received action which triggers your popup.
From your screenshot there is NOTHING happening on your button press on the hello automation command.

JTRTech is correct. Your Automation Command is never executing because you have no Rule to handle the command.

Also, your Message Server Name has the incorrect slashes ( \\ ). It should be forward-slashes, like:

http://192.168.1.9

Install the MSTC DB Tools import File. It is the easiest way to check your Messaging Service…

https://forum.sambapos.com/t/solved-multi-terminal-message-server-woes/8352/41

I just now saw this reply.

Thank you for that correction, I fixed it and I installed MSTC DB tool and tested it. Nothing happened on the terminals.

Then your Messaging Server service is not configured properly. Please continue this discussion in the other Topic (see my latest reply there).

Hello,
I’ve got a quick question: I only need to broadcast the message when I’m closing the ticket and any of the newly added order contains a product with a specific GROUP CODE.
It works when I put the action to an Order Added rule with a constraint ‘{GROUP CODE}’==‘XYZ’ but I can’t figure out how to fire it on Ticket Closing event.

Thank you very much

Before ticket closing with a report expression to count orders with group code and status of new as a constraint?

1 Like

The reason it wont work on Ticket Closing is your trying to access order level info from ticket level. So {GROUP CODE} is not valid at ticket level. As JTRTech mentioned you can access it with a report expression but that could cause a delay of fraction of second… it may not who knows.

There is a ticket specific report expression for orders, I use it to sumarise ticket food/drink using custom product tag code.
Think it’s {report ticket order total exp:, can’t remember if there is a ticket order quantity exp report but exculiding gift or 0 price items total value should work for this use

Thank you for the suggestions. I was sure there must be an easy and straightforward way and I’m just missing something.
I tried another way: Tag a ticket whenever a new Kitchen order is added. Check the Ticket Tag as the Broadcast Message action’s constraint when closing the ticket. Clear the Ticket Tag after that. Seems to work well.

Hey Stroodl, I’m trying to do the same thing, to play the sound only when food group has new orders, but I can’t figure out what exactly you did, would you show me the rules/actions you made for this? thanks in advance

Hi, it’s easy:

Add an Update Ticket Tag action into your New Order Adding Rule:
image
It tags the ticket if an order with a specific Group Code (“Kuchyn”) is added.

Add a Broadcast message action to the Ticket Closing Rule:
image
It broadcasts the message if the ticket tag is set.

Finally, clear the tag at the end of the Ticket Closing Rule:
image

Hope it helps,

stroodl

New SambaPOS KDS is ready for kitchen operations. (Anroid / iOS)