Raspberry PI via router to control WiFi switch

Hi I’m new to home automation. Now doing a computing project with home automation. I have a Raspberry PI, a router and a WiFi strip of switches.

Can I use Home Assistant and with a program to integrate the Switch to Home Assistant so that home assistant can control it?

Also, the strip of switches I don’t know the configurations. Is there a way to detect them and incorporate into the code for integration?

If you show us the brand/manufacturer of your ‘WIFI strip of switches’, we can try to help. We don’t have a glass ball to guess what to use.

It doesn’t have any brand. I’m now at my work place. Now is 1.33pm Singapore time. Will screenshot it to let you guys see. All I know is its running on 802.11x protocol and can be detected by Alexa, Google Assistant. Can’t recall but I think is some software from Philips can detect it and set IP for it

What app does it use. If we know what app it uses then we can probably help.

If it’s Philips then it sounds more like it’s zigbee. As far as I know, Philips does not do wifi appliances

Here is the screenshot of the menu


Hopefully it helps!

Here is the screenshot of the box

2 options to control the device from HA
1/ You can use the tuya integration
2/ You can use tuya-convert to flash tasmota on it

I can’t go the first way as I need to have a program to integrate to HA. So for the second one it’s Alien language to me. Please explain what it means and also any guide for me to do it.

On the first picture, I do read clearly : Works with Smart life App. So what extra program do you need ?

in configuration.yaml :

tuya:
# the email you used for the smartlife app
  username: [email protected]
# password you used for the smartlife app
  password: xxx
# country code you used for the smartlife app
  country_code: 32
  platform: smart_life
  

Thats all.

I know I can use Smart Life App. The problem is I’m doing a computing project. I can’t just use the app detect the strip of WiFi switches. Then let it control the switches. That’s not computing project, right? I have to create a program to integrate to the strip of switches to the HA app.

So I have to use tuya-convert to flash tasmota on it. Get all the parameters out to write the program to integrate to HA to control the switches.

francsip Frances, do you know of any guide for tuya-convert to flash tasmota?

What a disappointment! Nobody replied me!

It takes 1 minute to find it using google :

Your question was not “how can I get this to work”.
It was “how can I get this to work, but you have to answer me in this way because I’m trying to be different and don’t care to tell you why in my first post”.

Go ahead and be disappointed. Nobody here is paid to answer you.
If you want people to answer you be precise, be ready for follow up questions (don’t say I can’t answer that now).
Be sure to include why you can’t use the “traditional” way.
All these things make people think it’s a rabbit hole.

There is no fun in digging down and finding out it keeps going sideways, then digging some more and it again goes in another direction.