Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Philips Avent Baby Monitor uses Tuya #628

Open
thekoma opened this issue May 9, 2023 Discussed in #627 · 3 comments
Open

Philips Avent Baby Monitor uses Tuya #628

thekoma opened this issue May 9, 2023 Discussed in #627 · 3 comments

Comments

@thekoma
Copy link

thekoma commented May 9, 2023

Discussed in #627

Originally posted by thekoma May 8, 2023
Hi! I'm Triyng to get a baby monitor work on local network or at least try to integrate it with the home domotics.

The Camera uses a custom App .
After a little of nmap:

❯ nmap 192.168.x.y
Starting Nmap 7.91 ( https://nmap.org ) at 2023-05-08 22:02 CEST
Nmap scan report for 192.168.x.y
Host is up (0.0098s latency).
Not shown: 997 closed ports
PORT     STATE SERVICE
554/tcp  open  rtsp
6000/tcp open  X11
6668/tcp open  irc

And a little of Frida some mitm proxy and a lot of insults (I had to use an old android phone because the APK is arm64 only and no emulation works).

I've discovered that this damn thing uses Tuya API endpoint.

POST https://a1.tuyaeu.com/api.json HTTP/2.0
user-agent: TY-UA=APP/Android/1.0.5/SDK/3.34.5
content-type: application/x-www-form-urlencoded
content-length: 718
accept-encoding: gzip
appVersion:        1.0.5
appRnVersion:      5.52
sign:              <HIDDEN>
channel:           oem
deviceId:          <HIDDEN>
platform:          ONEPLUS A6003
sid:               <HIDDEN>
requestId:         <HIDDEN>
lang:              it_IT
a:                 tuya.m.app.version.upgrade
clientId:          <HIDDEN>
osSystem:          13
os:                Android
timeZoneId:        Europe/Rome
ttid:              sdk_tuya_international@<HIDDEN>
et:                3
v:                 3.0
deviceCoreVersion: 3.34.5
sdkVersion:        3.34.5
time:              1683573576
postData:          <HIDDEN>

Is there any way to use the tuyapi (or any client or existing component of this ecosystem) to control this device?

Thank you
Koma

@msillano
Copy link

The problem is general: some manufacturers prefer to use their own apps instead of smartLife.
But in doing so the user loses the ability to integrate with other devices.

Is there a general solution/workaround to use these devices with tuyAPI?
Best regards.
m.s.

@t3hk0d3
Copy link

t3hk0d3 commented Nov 15, 2023

+1

I've spent some time trying to debug this device too, mostly thru reverse-engineering Android app. Got surprised that Phillips is actually using Tuya IoT cloud for baby stuff.

@msillano
Copy link

I consider this positive. It shows the diffusion of Tuya solutions, their reliability, and the validity of investing in this ecosystem.
My goal (with TuyaDAEMON) is to maximize interoperability and user freedom. This is why I am interested in strategies to use tuyAPI in cases like this, with custom versions of the Tuya cloud (unfortunately with decidedly poorer performance). Another example is my air conditioner.
It's a shame that these manufacturers don't realize the potential (including trading) that Tuya integration offers to their products.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants