How to use IoT devices in Point of Sale¶
Pos IoT links the hardware on a paired IoT box to one specific till of the Point of Sale: its receipt printer, its barcode scanners, its scale and its customer screen. One box can serve several tills in a shop, and each till uses only the devices that were named for it, so the hardware of one till never gets in the way of another.
The till reaches the box over the shop network, so printing, the cash drawer, scanning, weighing and the customer screen keep working when the Internet is down.
Who |
The installer or IT sets up each POS terminal; the Store Manager sets up each till; the Cashier sells with the devices; the IT / Maintenance Technician watches boxes and devices. |
App |
Pos IoT (with Point of Sale and Internet of Things) |
Before you start
The IoT box is paired and its devices are connected: follow Set up and manage IoT boxes. Do it before anything below.
Who uses Pos IoT¶
Role |
What they do |
Access right to assign |
|---|---|---|
System Administrator |
Installs the module, chooses which people hold which access right, and may set up a till from Settings. |
Administration / Settings |
Cashier |
Sells at the till: scans products, weighs products sold by weight, prints receipts and shows the order to the customer. |
Point of Sale / User |
Store Manager |
Sets up each till: chooses the IoT box and the named printer, scanners, scale and customer screen, and links preparation printers (kitchen, bar) to devices. |
Point of Sale / Administrator |
IT / Maintenance Technician |
Sets up each POS terminal once, watches boxes and devices, and checks which till uses a device when something stops answering. |
Internet of Things (IoT) / User |
The roles are the people who typically hold these jobs; in your company one person may hold several of them.
How do I install Pos IoT and give the access rights?¶
Pos IoT needs Point of Sale and Internet of Things (IoT). Viindoo installs it by itself when both are installed. To check, or to install it directly:
Open Apps.
Remove the Apps filter from the search bar and search for
Pos IoT.Click Activate if it is not installed yet.
Then give each person the access right of their job:
Open Settings ‣ Users & Companies ‣ Users and open the person.
Give each person the access right of their job:
the cashier: Point of Sale / User;
the store manager: Point of Sale / Administrator;
the IT technician: Internet of Things (IoT) / User.
Click Save.
Point of Sale / Administrator brings Internet of Things (IoT) / User with it, so the store manager can see the boxes and devices to choose from without a second right. A cashier needs no IoT access right: once the hardware is assigned, it is simply there when the shift is opened.
Without Pos IoT installed, Point of Sale / Administrator does not bring Internet of Things (IoT) / User with it, but the people who already hold it keep it. Remove it by hand from those who do not need it.
How do I set up each POS terminal?¶
The till talks to its IoT box over the shop network, by the address of the box on that network. Printing, the cash drawer, scanning, weighing and the customer screen need the shop network, not the Internet. The installer or IT does the following once for the shop and once for each POS terminal:
Give the box a fixed address: ask the person who manages the router to reserve an address for the box (a DHCP reservation, by the hardware address of the box). The address the tills use then does not change.
On each POS terminal, use a Chromium-based browser: Chrome, Edge, or Chrome on Android.
Open the till once on that terminal. When the browser asks whether the Viindoo site may use local network access, click Allow. On terminals that IT manages, IT can allow the site in advance with the managed-browser policy
LocalNetworkAccessAllowedForUrls, listing the address of your Viindoo site.Sell a test item and print a test receipt. When it prints, the terminal is set up.
A POS terminal that uses another kind of browser keeps the secure (https) road to the box: accept the box once in that browser, as the chapter How do I make each browser reach the box? of How to connect and test devices on an IoT box explains.
A terminal that is not set up (the permission is missing or was denied) cannot reach the box. Its cashier sees The devices are not connected to this screen. Call your IT., described below.
How do I choose the IoT box and the devices of a till?¶
Open Point of Sale ‣ Configuration ‣ Point of Sales and open the till. The IoT Box block holds the pickers (tick IoT Box first if it is not ticked). With a Viindoo IoT box chosen, the block shows the pickers below and hides the standard IoT Box IP Address, Barcode Scanner/Card Reader, Electronic Scale and Receipt Printer rows; the Cashdrawer row stays. Clear the box and the standard rows come back.
IoT Box - the paired box this till talks to. Its address is filled in and cannot be typed over once a box is chosen.
Receipt Printer - the printer on the box that prints this till’s receipts.
Barcode Scanners - every scanner on the box that feeds scans into this till.
Customer Display - the screen of the box that shows this till’s order. Choosing a screen for a till that had none sets the customer display of the till to An IOT-connected screen: the till feeds the screen through the box over the shop network, with no Internet needed. Another device feeds the screen through the Viindoo server instead.
Electronic Scale - the scale this till reads weights from.
IoT Devices - opens the devices of the box.
The pickers only offer the devices of the chosen box. A barcode scanner or a customer screen can be named for one till at a time; Viindoo stops you when you pick one that another till already uses. A receipt printer and a scale may be shared by several tills.
A screen of the box serves one till at a time. When another till of the same box already uses An IOT-connected screen, Viindoo refuses to name a screen for a second till and tells you the way out: set the customer display of the other till to Another device first, or remove the customer screen from this till. In the same way, a till that has no named screen of its own cannot use An IOT-connected screen on a box that carries another till’s named screen.
Automatic Receipt Printing is switched on when a receipt printer is assigned to the till, so the receipt prints as soon as the payment is validated. You can switch it off in Settings ‣ Point of Sale ‣ Bills & Receipts; it stays off.
Do it from Settings¶
Setting up a till is the Store Manager’s task. If you hold the Settings right, you can do it from Settings ‣ Point of Sale too: Viindoo only lets people with the Settings right open that page.
Settings ‣ Point of Sale has the same pickers under Connected Devices ‣ IoT Box. Choose the till at the top of the page, then the box and its devices, and click Save once: the box and its devices are saved together, and the pickers list the devices of the chosen box right after you choose it. Changing the box clears the four device pickers, so a till never keeps a device of another box. The standard rows are hidden and the Cashdrawer row stays, as on the till’s own form.
Two tills can share a box and still keep their own devices: give each till its own scanner and customer screen of that box. A till that shares the box but has no named customer screen never drives another till’s named screen.
A till that only shows its page on a display (a display-only till) needs the IoT Box option ticked so the till page can reach the screen.
To print kitchen and bar orders through the box, see How to print kitchen and bar orders through an IoT box.
How does the cashier sell with the devices?¶
A cashier opens Point of Sale, then clicks Open Register on the till’s card (an open till has its own button there). No IoT access right is needed. The video shows the cashier’s day at the till: scan, weigh, print, the customer screen, and what the till says when the box is off.
Scan products¶
Every barcode scanner named for this till sends its scans straight into the current order. A scan counts as a touch: a till that sat on its idle screen leaves it and adds the product, with no touch needed. The scanner belongs to one screen at a time. When something stops the scans from arriving, the till shows a notice that stays on the screen until the problem is gone:
Barcode scanner unreachable - scans are not received until it is back - the till cannot reach the scanner. Check that the IoT box is switched on and on the network. The notice disappears by itself when the scanner is back.
Barcode scanner in use by another screen - touch this screen to take it back - the same till is open on another screen (another browser tab or a team leader’s computer) and that screen holds the scanner. Touch your own till screen to take the scanner back. A scan is never entered twice.
Weigh a product sold by weight¶
Click the product. The weighing window opens and shows the weight read from the scale.
Wait until the weight is steady. Every refresh of the window is a new reading of the scale.
Click Order to add the line with the weight and its price.
A confirmed weight adds one line with that weight. If you close the weighing window without clicking Order, or the scale cannot be read, no line is added to the order.
If the scale cannot be read, the till names the scale and says what to check, for example The scale Scales Serial cannot be reached. Check that its IoT box is on and connected., The scale Scales Serial did not answer. Check the scale and weigh again. or The scale Scales Serial could not be read. Check that it is connected and working.
Print the receipt¶
After Validate, the receipt prints on the receipt printer named for this till. When a receipt printer is assigned to the till, Automatic Receipt Printing is switched on, so the receipt prints as soon as the payment is validated. Click Print Full Receipt to print it again. The cash drawer opens only if the Cashdrawer option is ticked for the till; it is a manual option.
When the receipt cannot be printed, the till names the cause and asks whether to print with the web printer instead:
Connection to IoT Box failed - the message names the box, for example The IoT box Restaurant cannot be reached to print the receipt. Check that the box is on and on the shop network.
Printing failed - the message names the printer, for example The printer Bar Printer did not print. Check its paper and cover.
Click Ok to print with the web printer, or Cancel to stop.
When the box is off, the choice to print with the web printer comes within 20 seconds of Validate. The order is recorded and the cashier keeps selling.
A receipt reaches the box within a few seconds of the payment, whether or not the Internet is reachable. The first receipt after the till page opens waits at most about 3 seconds for the fonts of the page; later receipts do not wait.
If the cash drawer does not open, a short notice says so and closes by itself: The cash drawer did not open: the IoT box Restaurant cannot be reached. Open it with its key. (the box cannot be reached), or The cash drawer did not open: the printer Bar Printer did not take the command. Open it with its key. (the printer did not take the command). The sale goes on; open the drawer with its key.
Show the order to the customer¶
When the till has a named customer screen on the box (an IoT customer screen), that screen shows this till’s order and no other. The screen shows the till page by itself: nobody has to answer a browser question on it. The till feeds the screen through the box over the shop network (the An IOT-connected screen option), so the screen keeps following the order when the Internet is down:
Before the payment the screen shows no Change row; after the payment it shows the change due as a positive amount.
Product images are not shown on the screen while the Viindoo server cannot be reached.
Open the till menu (the three-line button at the top right) and click the screen icon to show the till page on the customer screen again, for instance after the screen was switched off. A till set to Another device feeds the screen through the Viindoo server instead: it tells you whether the screen was refreshed, and the screen gets the till page back by itself when the box restarts.
A screen of the box serves one till at a time; see How do I choose the IoT box and the devices of a till? for the refusal a second till gets and the way out.
What does the till say when it cannot reach the box?¶
The box icon in the top bar of the till shows whether the till can reach its IoT box: it turns red when the box cannot be reached, and it follows the box to a new address without reloading the till. When the till loses the box it also shows, at the top right:
The devices are not connected to this screen. Call your IT.
The notice appears once while the terminal cannot reach the box and stays until the box is back. The usual causes are a box that is off or unplugged, a box that is off the shop network, or a terminal that is not set up (see How do I set up each POS terminal?). The cashier does nothing else but call IT, and keeps selling: the cashier can close the notice, and it stays closed for the rest of that outage. A second outage shows it again.
IT does the following:
Check that the box is on and on the shop network.
If it is, and the notice stays, allow local network access for the Viindoo site in the browser’s site settings of that terminal, then reload the till.
The till uses the box again within half a minute after the box answers, with no reload, and the notices leave by themselves. A till whose box cannot be reached stays usable: the browser does not freeze.
How does the till work when the Internet is down?¶
With the shop network up and the Viindoo server out of reach, the till keeps selling and the receipt prints through the box, with no browser print window. The cash drawer opens as usual. The till shows its Connection Lost dialog once: click Continue with limited functionality and keep selling. The order is kept and reaches the server with the next payment once the Internet is back.
A picture the till already holds, such as the company logo the till showed when it opened, is printed on the receipt. A picture the till never received from the server since the till page was loaded, for example a coupon barcode, is left off, and the receipt still prints.
For the people who run the shop, How to troubleshoot an IoT box says what the till does when the Internet is down and what to do.
How does the technician see which till uses a device?¶
Open IoT ‣ Devices. Devices are grouped by box, and a green Connected or a Disconnected label shows each one’s state. A device shows its Device Name when one was set, with the name the device reported below it.
Open a device and click its Point of Sale tab to see the tills that use it. The list is read-only; use it to find out where a device went when it stops answering on the till you expected. It is filled only for people who also hold a Point of Sale right, such as the store manager: with Internet of Things (IoT) / User alone the tab stays empty, so ask the store manager which till uses the device.
A box that stops reporting shows Disconnected, with its devices, about 3 to 4 minutes later:
Viindoo notices the lost connection within about a minute, waits 2 minutes and checks once a
minute. Nothing is flagged in the first two minutes after the server restarts. The wait can be
changed by the Administrator with the system parameter viin_iot.box_presence_grace_seconds (never
shorter than 90 seconds). The logs of a box can be read from Viindoo without going to the box.
Common errors¶
What you see |
What to do |
|---|---|
The devices are not connected to this screen. Call your IT. |
IT checks that the box is on and on the shop network, and that local network access is allowed for the Viindoo site in the browser of this terminal. |
The till says the barcode scanner is unreachable |
Check that the box is on and reachable. The notice goes away by itself when the scanner is back. Meanwhile, type the code in the search field. |
The till says the scanner is in use by another screen |
Touch your own till screen to take the scanner back, or close the other screen. |
The weighing window says the scale cannot be reached or did not answer |
Check the scale and the box, then weigh again once the weight is steady. |
Connection to IoT Box failed or Printing failed |
Check the box, or the printer’s paper and cover. Click Ok to use the web printer, or fix the problem and click Print Full Receipt again. |
The cash drawer did not open |
Open it with its key, then check that the box and the printer are on. |
The customer screen stays blank |
Open the till menu and click the screen icon. If the till says the box of the screen is offline, check the box. |
The customer screen shows no product images |
The Viindoo server cannot be reached. The images come back when it can. |
A device is listed as connected but does not answer |
A device unplugged while the box was off line can still show as connected until the box reports again. Reconnect it and wait for the next report. |
A barcode scanner or a customer screen cannot be picked on a till. |
Another till already uses it. Free it from that till, or from the Point of Sale tab of the device. |
A customer screen cannot be named, or a till cannot use An IOT-connected screen. |
Another till of the box already holds the screen of the box. Follow the way out in the message: set the customer display of the other till to Another device first, or remove the customer screen from this till. |
After changing the IoT box of a till, the printer, scanner, screen and scale are empty. |
That is expected: the pickers are cleared so no device of the old box stays on the till. |
The pickers of the till are empty. |
Choose the IoT box first. The pickers list only the devices of that box; if the box has none, check that it is paired and reporting. |
Good to know¶
A value travels from the box to the browser and then to the server. A person who is allowed to use the till could, with technical means, submit one invented value for one request they opened.
A till that types the box address by hand without choosing the box is not protected from driving the box’s default screen. Choose the box in the picker.
If a till screen loses its network at the very moment another screen takes the scanner and the box restarts before the first screen is told, the first scan after the restart can be acted on by both screens once.
A POS terminal must allow local network access for the Viindoo site once, as How do I set up each POS terminal? describes; until then the till cannot reach its box.
FAQ¶
Does a cashier need an IoT access right? No. The Point of Sale / User right is enough.
Can one box serve several tills? Yes. Each till has its own named scanner and customer screen; a printer and a scale can be shared.
Can the shop keep selling when the Internet is down? Yes, while the shop network is up and the till is open: printing, the cash drawer, scanning, weighing and the customer screen keep working through the box, and the orders reach the server when it is back.
Which browsers can a POS terminal use? A Chromium-based browser: Chrome, Edge, or Chrome on Android. Another browser keeps the secure (https) road to the box.
Next steps¶
How to print kitchen and bar orders through an IoT box: print kitchen and bar orders through the box.
How to troubleshoot an IoT box: when the box itself does not answer.