Refresh the home screen (Titan skin) via JSON-RPC

Hi,

I’ve been reading the forums for a while, but this is my first post…

I’m currently working on a small DIY project with Kodi – I have a NodeJS server that’s taking care of some Amazon Alexa intents/commands, and I’m executing actions on Kodi using JSON-RPC.

What I want to do, and I can’t seem to find the answer, is trigger a refresh of the home screen (and widgets). I’m using the Titan skin, and I want to refresh the home screen widgets either on my command, or every time a video finishes, for example.

I’ve tried checking the Kodi logs to see how Titan does it, but can’t seem to get it to work.

Can anyone help or point me in the right direction?

Thanks in advance.