rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.82k stars 543 forks source link

Trying to set up Gosund P1 #1240

Open spitfire opened 1 year ago

spitfire commented 1 year ago

I'm trying to set up Gosund P1 with localtuya. It is a smart power strip with 3 Sockets and a set of USB sockets. They can be controlled via Smart Life app individually and report back ele, power voltage and total ele: image image

It works properly with the standard Tuya HA integration exposing control over the sockets individually, but no data about power consumption/voltage/etc.

In Localtuya all I can get is the "master" switch (turning all of the sockets on or off) and voltage. Any way to make the rest work? Where do I start?

Environment

Steps to reproduce

1.

DP dump

Provide Home Assistant traceback/logs

put your log output between these markers

Additional information

posreg commented 1 year ago

did you ever figured this out ?

spitfire commented 1 year ago

did you ever figured this out ?

Nope, moved on to https://github.com/make-all/tuya-local

posreg commented 1 year ago

did you ever figured this out ?

Nope, moved on to https://github.com/make-all/tuya-local

I managed this, for one device you just needs to keep adding the switches

image

spitfire commented 1 year ago

A the time I did not have enough knowledge to do this. With guidance from maintainer (who was very responsive) of tuya-local I was able to provide data sufficient to add few tuya devices to that project, from which many people.can benefit without having to configure stuff manually.