sh00t2kill / petoneer_custom_component

A custom Home Assistant Component for WiFI enabled pet water fountains by petoneer
2 stars 0 forks source link

Is there any manual for setting up this addon? #15

Closed romanad closed 1 year ago

romanad commented 1 year ago

Hi! The readme is empty and there's no explanation about configuration. Petoneer has different accounts for several phone apps that support this fountain, no info what account to use. What type of serial should use and where to find it and how to configure the addon. Thanx in advance.

sh00t2kill commented 1 year ago

The app I use for my fountain is called Freso Pro. It uses a revogi back end. Any app called Petoneer is Tuya based, and there has been some success getting those working with localtuya.

The serial can be found in the app -- under Settings -> About.

I have wanted to remove that requirement for a little while and automatically grab devices, but havent got around to it

ond000 commented 1 year ago

And which number is serial number? we have DevId, PID and UUID? I have error on setup:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/revogi/init.py", line 43, in async_setup_entry await pet.auth(username, password) File "/config/custom_components/revogi/petoneer.py", line 82, in auth if (json_resp['data']['accessToken']): KeyError: 'accessToken'

I'm not sure what this error means...

Thanks for help.

sh00t2kill commented 1 year ago

I don't have any of those values on the about page. Maybe you are using a different app?

I see S/N , SAK, mac and ip address.

The error means unable to login

romanad commented 1 year ago

I have Petoneer Fresco Mini Pro, maybe this addon doesn't support that specific model

sh00t2kill commented 1 year ago

Are you using the Fresco Pro app, or one of the flavours of petoneer apps?

romanad commented 1 year ago

Are you using the Fresco Pro app, or one of the flavours of petoneer apps?

App name is "Petoneer"

sh00t2kill commented 1 year ago

Unfortunately that's the tuya based one.

romanad commented 1 year ago

For some reason I wasn't able to connect device to that app. Looks like this app for regular Fresco Pro - not mini variant.

sh00t2kill commented 1 year ago

It looks that way yeah. There are 3-4 different Petoneer a pps. When i first got my fountain it took me a while to find the right one!

It seems all other apps are tuya based. There is a thread on the HA community forum where people have had some luck getting it paired using the smart life app, and using localtuya.

Sorry this didnt work for you.