FileMaker IoT Notifications with Thor’s Hammer

We’ve recently been adding lots of notifications to our customer’s calendars: sending emails and SMS alerts when milestones are approaching or when team members are assigned new projects. But notifications tend to get lost on your phone, so we decided it was time to level up our notification game with some FileMaker IoT.

FileMaker IOT device featuring Mjolnir

“You can’t automate everything,” a customer recently remarked. We’d been replacing their whiteboards with a to-do list based on DayBack Calendar, and some folks worried aloud that the software couldn’t account for some of the by-hand practices that had evolved around the whiteboard. We learned that one of those practices was to ring a gong every time a new construction permit was issued. We decided to automate that as well

We’d build a gong-ringer that received commands from FileMaker. And when users marked a permit as issued, FileMaker would ring the gong for them. The plan was to deliver it without anyone knowing, so that first new permit would be a big surprise.

And we’d ring the gong with Mjølnir, Thor’s hammer: just because.

3D Printing Mjølnir

In addition to designing the circuitry and motor for the device, Tanner Ellen also printed the hammer, motor housing, and hold downs shown in the photos below.

FileMaker and IOT Devices: Thor's Hammer

FileMaker Internet of Things Thor's Hammer

Tanner’s 3D printing obsession has gotten recursive: he’s printed new parts for his 3D printer so that he can make more accurate prints. And once the prints get more precise, he makes even better versions of the newly printed parts in a virtuous cycle. The video below shows his work on the hammer: everything green on the machine was printed soon after he got it: more rigid versions of the parts it shipped with. The two round black things on the print head were also printed early on; they’re fan shrouds holding CPU fans that cool the printed material before it has a chance to wobble or sag.

Sending Notifications with FileMaker IoT

The hammer is really a small web server running on our customer’s local WIFI network. The main board is an ESP32 (shown at the left below) on to which Tanner flashed the web server code with two routes. One returns the status of the hammer so that we can test that it’s up and running without ringing it. The second route, /ring, will swing the hammer and ring the gong. The notifications themselves are sent from FileMaker using an Insert from URL script step.

FileMakerInset From URL and IOT

The smaller board at the right is the stepper motor driver (A4988) which actually swings the hammer.

FileMaker IOT Breadboard

Tanner added a limit switch to the base of the arm so the program could reliably reposition the hammer if people had been playing with it in between rings. And the stepper motor lets him hit the gong and recoil instead of leaving the hammer resting against the gong. Here’s the hammer in action:

I wish the hammer’s first ring could have been a total surprise, but it’s got some flashing lights and kind of stands out in their office. So there was a lot of talk about it, and a small crowd gathered around it when it rang the first time.

The Business Case for IoT Notifications

While we built the hammer as a fun side-project for our customer, it’s turned out to have more impact than we thought. The original gong was installed years ago when Blueprint started growing and filing permits on behalf of their builders. That services business exploded to the point where walls of their architects’ offices were covered with whiteboards tracking permit status.

Replacing whiteboards with FileMaker IOT

While the whiteboards embodied a lot of social practice in the office, they had some real drawbacks. They went out of date frequently and could only be consulted when you were standing in front of them.

Dan Wheelon has since created some calendar based to-do lists that replace the whiteboards while keeping the visual shorthand employed on these boards so folks can understand their work at a glance. But the physical cadence of editing the whiteboards was hard to replace: users were accustomed to seeing someone get up a few times a day, walk over to the whiteboard, make some edits and ring the gong on their way back. The hammer adds this shared social experience back into their work, and it’s led to faster adoption of the new FileMaker to-do lists.

Overheard: “That thing is legendary… how do I make it ring?” “Dude, just update the permits on your to-do list.”

The hammer has also become an API explainer: as more and more of our customer’s work interacts with APIs, we’ve been using the hammer to explain how APIs work. It’s a nice reminder that APIs don’t have to be hosted on your FileMaker Server; some are hosted at Zeit, some are hosted on a block of wood in the architects’ office. And the service that listens for API requests (points to the  ESP32) may not be the service that actually performs the requested action (points to the A4988 board beside it).

More FileMaker IoT

For more on this topic, Lui de la Parra will be presenting FileMaker of Things: APIs and IoT Using Node-RED at FileMaker DevCon in August. Node-RED is a programming tool that lets you wire up software and hardware into integrated flows: for more complex FileMaker IoT workflows than just “/ring.” Lui wrote the FileMaker connector for Node-RED so that flows can talk to FileMaker Server.

Node-RED library FileMaker

The flows Lui will be showing at DevCon are truly slick; don’t miss his session.

Featured Posts

Follow Along

Stay up to date with the latest news & examples from SeedCode

7 Comments

  • Great post! Thank you! Love the summary… It’s a nice reminder that APIs don’t have to be hosted on your FileMaker Server; some are hosted at Zeit, some are hosted on a block of wood in the architects’ office.

  • You do stuff for love and “over the top” of requirements!? That is truly inspiring!

  • Dana Welts

    So Cool- thanks for sharing

  • Allen Imbarrato

    Very inspiring work!!

  • john renfrew

    OK… you evil geniuses.
    Can you turn on my kettle every time my typing rate falls below a certain level, during predefined hours????

  • steve_ssh

    this is really wonderful and inspiring stuff!

  • This is super cool! Every bit of it. 🙂 Thanks for sharing.

Leave a Reply

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

Check out some of our other posts ...

New Week Views in DayBack for FileMaker

You can now expand DayBack’s week views to show two or three weeks at a time. We’ve been using this internally in beta mode for a few weeks, and it’s very helpful to see what’s coming up next week while navigating this week’s work. Find tips on how to work with these new views on the DayBack blog.

To-Do Lists in FileMaker – New in DayBack Calendar

Now create and manage FileMaker to-do lists directly from the Unscheduled Items sidebar in DayBack Calendar. Our latest extension brings to-do behavior to any FileMaker table. Like unscheduled items, this behavior is based on a new checkbox field in your table, so some or all of your records in the table can be treated as to-dos. Mark your to-do’s done as you complete them, or drag them into the calendar to schedule time to work on them. See it in action here: Customize Your To-Do Lists This extension was designed to be pretty a scaffold onto which you could build your own, more specific to-do behaviors by customizing the action itself or the FileMaker scripts tha manipulate events. Here are some ideas to get you started. Add To-Do Lists to Your FileMaker Calendar If you haven’t already enabled the unscheduled sidebar along DayBack’s right edge, you can learn how to turn that on here: unscheduled items in DayBack. Then, download the custom action and learn how to configure it here: To-Do Lists in DayBack Calendar.

Improved Resource Selection

We’ve made some big changes to how you filter and assign resources when editing events in DayBack. These changes will make it much easier to work with large numbers of resources, especially for folks assigning multiple resources to the same event. Watch a video of the new behaviors and learn more here: Adding Multiple Resources to an Item. If you haven’t looked at your resource field mapping in a while, here is how you set that up: Mapping the Resource Field in FileMaker. Please get in touch if you have any questions about this; we’re here to help.

Suggesting Appointment Slots

Show Available Slots that Match Multiple Criteria Schedulers often look for gaps in their schedules to find the open resources for each opportunity. But sometimes, gaps don’t tell the whole story. You may have invisible criteria like skill-matching, cleaning requirements, or multiple resources to schedule at once. Or you may be on the phone with an opportunity and must suggest available times as quickly as possible. In these cases, DayBack can suggest the best slots that match all of your requirements. Scheduling Criteria Are Often Invisible In the movie above, schedulers can see openings for the two technicians, but they can’t easily see if the required rooms and equipment are free at the same time. While DayBack can show different types of resources simultaneously, as the number of criteria increases, it can be hard for schedulers to see everything at once and still make good decisions. Our customers often have rules that constrain when an otherwise open slot can be scheduled. Here are some of the invisible criteria we’ve built out for customers: Because DayBack is highly scriptable, it can scrub open slots against a variety of criteria to render just the slots that fit all your requirements. When multiple slots match, DayBack can even rank them so you can present the most ideal slots to your clients first. You Have to *See* Slots in Context to Make the Best Decisions Many scheduling apps present possible appointments as a list of dates and times. Without showing more information about each slot, schedulers can book days too tightly, always suggest the same providers first, or create huge gaps in some provider’s schedules. Ranking slots can help, but we’ve found that highlighting ideal slots alongside existing appointments gives schedulers the information they need to make the best decisions. We’ve seen schedulers quickly offer to split appointments or to slightly change services when they see available slots in the context of other appointments, trainings, vacations, and breaks. Getting Started We customize the recommendation of slots for each deployment as part of DayBack’s implementation packages. Please get in touch if you think DayBack could make a big impact on your team.

COMPANY

FOLLOW ALONG

Stay up to date with the latest news & examples from SeedCode

© 2024 SeedCode, Inc.