So a little more progress, only not using this flow
I wanted to make sure that there wasn't something missing with the rig so using rigctld I can set a session up on the RPi and can connect to it using a TCP node and can get the data I'm after from the rig. Perhaps this is the right way to go (Hamlib rather than direct connection). Not managed to find the time to 'set' the rig to do something using a button on the dashboard. I'll have to figure that out as I'll want several settings to be changed with one button. A bit like a macro I suppose.
As a none programmer I'm getting the hang of this, although some of the html / css & javascript is a bit tough going for now. Hopefully I'll get there, mainly doing it by trial and error and by hacking around with other people's flows