Josh,
I use my registered email address (with SharpTools) to do all the development, and then I use a house email address for the house dashboard. This means when I am ready to roll out a dashboard, I share it with the house account. The house account receives the share notice and is required to accept the share. So far everything works fine.
When the house account accepts the share, I get an error “Error retrieving the invitation. It may have been revoked or expired.” It is neither revoked nor expired.
While being logged into SharpTools with the house account, I can see all previously shared and accepted dashboards, no problem. The new dashboard can open, but only shows one button in details, others are blank and the styles are not applied.
I tried to drop and re-share but get the same error. When I open the dashboard share on the house account, the dashboard is shown as shared to the house account. If I do the same on my “developer” account, I see the share is still pending, which would explain the partial access.
I broke something else, which may be causing this:
Before I shared the new dashboard I saw that my system was still connected to Homey, and since I am no longer using the direct link with Homey I tried to delete it. The only place I could find to delete it was in the “Locations”. Now my account shows “No locations authorised”. Could this be the problem? I also don’t know how to add a new location.
I tried to create the share again, and this time it worked. So the issue is resolved, even if I have no idea what I did wrong.
Regarding the link to Homey:
I found that linking the comms between Homey and Sharptools with http calls (webhooks) is more robust and it removes one node from our dependance on the Internet. Even though we have a fiber internet connection, it does sometimes fail or slows down dramatically for no obvious reason. Reducing our dependance on the internet seems to be the smart way to go.
Of course we still need the internet connection to operate the dashboard, but for critical systems, operating gates, key doors etc, can all be operated without an internet connection (& dashboard).