do you need to run raspberry pi with this.
No Pi needed. You can continue to use a Pi/HG or you can eliminate it and do your scheduling with the P2's Automation Rules.
I do not use a Pi/HG but do have a Stargate controller that's 20+ years old. Rather than recreate schedules I use the P2 to send an X10 code with triggers the Stargate to execute commands. For example, I tell Alexa that "It's dark in here," and Alexa tells the P2 to sent N2-On which the Stargate sees and executes 5 commands to turn on various lights. If I wanted to I could have set up the same commands in the P2 but I took the easy route.