Rpi2 Hassio + Rpi3 Python Scripts

I have an rpi3 using python scripts to activate a bluetooth relay board via serial commands. This is what I configured at first.

Then I learned about hassio and ha so I decided to install it on an rpi2 I have. I connected both by using mqtt signals from my hassio/ha to run the python scripts on the rpi3. So as it stands I have a few toggles that make those mqtt signals and control my relay board. But I would like to just have the rpi3 board with hassio/ha controlling everything. The thing is Im not sure about the move for 2 reasons:

  1. Not sure if I could still be able to call those python scripts to control my board via serial commands.

  2. It would make it even more worth the move if I knew I could control my Sonoff T1US3C wall switches which I thought were supposed to be controllable without tasmota flashing. Unfortunately Im getting errors for the configuration of them which I have not yet been able to figure out.

Can anyone clear up these 2 issues, is it possible?

Since you are running your python scripts already on a rpi3, just follow the guide ‘installing hassio on generic linux’, then you can continue using them.

For your sonoff, it would help if you show the log with the errors.

Ok well it was just a matter of not being aware there was a new peterbugga update which I had to copy over to my hassio. I copy/pasted the code and its all well!