How to Integrate Smiirl Counter with Hubhus

Modified on Fri, 8 May at 1:53 PM

How to integrate Smiirl counter with Hubhus

Connect a Smiirl physical counter to Hubhus and display real-time sales numbers, lead counts, or bookings on a mechanical display that updates automatically.

TL;DR

Get Counter ID + Token from Smiirl (Settings → PUSH NUMBER). Build counter logic in Hubhus as an HTML component. Create HTTP webhook: GET http://api.smiirl.com/{ID}/{ACTION}/{TOKEN}/{COMPONENT_SLUG}. Trigger via action listener (event-based) or automation (scheduled). Use set for totals, increment for individual events.

Get started in 4 steps

1

Get Smiirl credentials

Log in at my.smiirl.com → Settings → Options → PUSH NUMBER. Note your Counter ID and Token — needed for the webhook URL.

2

Build counter logic as HTML component

In Hubhus: Settings → HTML Components → New. Name it descriptively (e.g. "Smiirl — Sales this month"). The component should output a single number (count campaigns by status, sum a field, count bookings, etc.). Save and note the slug.

3

Create HTTP webhook

Settings → HTTP & Webhooks → New. Method: GET. URL pattern:

http://api.smiirl.com/{COUNTER_ID}/{ACTION}/{TOKEN}/{COMPONENT_SLUG}

Replace with your Counter ID, action (set/increment/decrement), Token, and HTML component slug. Example: http://api.smiirl.com/12345/set/abc123xyz/sales-counter

4

Trigger the webhook

For totals (set): Use a scheduled automation (e.g. hourly). For individual events (increment): Use an action listener on "booking confirmed" or "status changed". If using increment, remember to reset the Smiirl counter manually at period start via the Smiirl dashboard.

Read more

Smiirl API actions

Action Description Best use
set Sets the counter to an absolute number Totals updated on schedule (e.g. hourly)
increment Adds the value to the current count Individual events (new booking, new lead)
decrement Subtracts the value from the current count Cancellations or reversals

If using increment, remember to reset the Smiirl counter manually at the start of each period (day/week/month) via the Smiirl dashboard — Hubhus cannot reset it automatically.

Common use cases

Display total sales this month: Create an HTML component that counts campaigns with status "Won" created this month. Use set action triggered by a scheduled automation running every hour.

Count new leads today: HTML component counts campaigns created today. Use set action triggered every 30 minutes by automation.

Increment on every new booking: HTML component outputs 1. Use increment action triggered by an action listener on "Booking confirmed" event.

Troubleshooting

Counter not updating: Test the webhook URL directly in a browser (GET request). Verify the Counter ID and Token are correct. Check that the HTML component slug is correct and that the component outputs only a plain number (no HTML wrapper or extra text).

Counter shows wrong number: If using increment and the count is too high, the counter was never reset. Use set instead to push the correct absolute value, or reset via the Smiirl dashboard.

Webhook fires but Smiirl shows nothing: The Smiirl counter must be online and connected to Wi-Fi. Verify in your Smiirl dashboard that the counter is active. Also check that your Hubhus account's outbound HTTP requests are not blocked (Settings → HTTP & Webhooks → test manually).

Common searches

smiirl setup • real-time counter • physical counter integration • webhook setup • display sales numbers

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article