[APP][Pro] App Insights for Developers - Monitor your Homey apps

Hi everyone!

I’ve just published a new Homey Pro app for Homey app developers: App Insights for Developers.

This app turns your published Homey apps into virtual devices, so you can monitor app statistics directly from Homey and use them in flows.

What does it do?

After connecting the app to your Homey developer account, each of your published Homey apps can be added as a device.

The device exposes useful app information such as:

  • total installs

  • cloud and local installs

  • app rating

  • live and test version numbers

  • live and test build state

  • build installs and crashes

  • build age

These values are available as device capabilities and flow tokens, so you can keep an eye on your apps from inside Homey.

The app also includes flow triggers for changes that may be useful to developers, such as a new live version, a new test version, changed install counts or failed reviews.

Getting started

  1. Install the app on Homey.

  2. Create or copy your Homey developer token.

  3. Open the app settings and enter the token.

  4. Add your Homey apps as devices.

The documentation explains the token setup and pairing process:

https://homey-developer-tools.gitbook.io/docs-en

Notes

This is an independent community app and is not affiliated with Athom.

Any questions, issues or feature requests are welcome in this topic.

It works great, thanks!

Fixed issue regarding flow trigger.

Could not trigger Flow card with id "test_version_changed": Invalid value for token version.

:rocket: Update 1.4.0 - deeper insights into your apps

Available on test: App Insights for Developers | Homey

This release pulls more data out of the Homey developer API and turns it into capabilities and Flow cards.

New capabilities

  • Open suggestions - how many user suggestions are waiting for you
  • Paired devices - the actual number of devices paired across your app’s drivers (not the same as installs!)
  • Total crashes (all builds) - sums crashes across every build, so crashes on superseded builds no longer go unnoticed
  • Submitted builds - total number of builds you’ve uploaded
  • Install trend (7 days) - week-over-week change in installs, so you can spot growth and decline

New Flow triggers

  • A new suggestion was received (per app + global) - comes with the suggestion text as a token
  • A new crash report was received (per app + global) - includes the error message, Homey version and app version
  • A new build was created
  • The number of paired devices changed
  • The total crashes count changed
  • An app started losing installs (per app + global)
  • The live version changed trigger now also gives you the changelog as a token

New conditions

  • App has open suggestions
  • App has more than X paired devices
  • App has more than X crashes across all builds

Cleanup

  • Removed the redundant “live build state” capability and trigger. A live build is always just “live”, so app_live_version_changed already covers everything useful. Flows that relied on the old trigger should switch to that one.

Feedback and ideas are welcome :folded_hands:

:rocket: Update 1.5.0 - multiple account support

Available on test: https://homey.app/a/codes.lucasvdh.developer-tools/test/

You can now configure multiple Personal Access Tokens in the app settings. This was a request, useful if you maintain apps under more than one Athom account.

What’s new

  • Multiple Personal Access Tokens, add as many as you like
  • Each token is shown as a card with the Athom account’s name, email and avatar, so you can tell them apart at a glance
  • A working / not working / not tested status badge on every token, with a one-click Test button
  • Add and Remove tokens straight from the settings page
  • New “Owner” capability on each app device, so you can see which account an app belongs to, handy when devices from multiple accounts live side by side on your Homey

Existing setups should upgrade automatically. Your current Personal Access Token is moved into the new list and your paired devices keep polling without any action on your side. Account info is filled in on the next app start, so the Owner capability gets populated for you.

Thanks to @LRvdLinden for suggested this.

Thanks for the quick release!

v1.5.0 is now live