Proscenic-M7-PRO icon indicating copy to clipboard operation
Proscenic-M7-PRO copied to clipboard

`getEquips` URL not working

Open jayeshgarg opened this issue 3 years ago • 16 comments

I am able to get the access token and equipment count as 1 but when I send the getEquips rest it returns empty content and hence I am unable to get the SN PLease help.

jayeshgarg avatar Feb 06 '22 21:02 jayeshgarg

Hi, same problem for me. Please help

dmartella avatar May 14 '22 21:05 dmartella

Same for me maybe it is changed the API someone can check by sniffing the packet under ufficial APP? I have Packet Capture under my mobile phone but it isn't working.

michelebossa avatar Sep 29 '22 15:09 michelebossa

Instead of GET you now have to use POST. curl -X POST "https://mobile.proscenic.com.de/user/getEquips/$LOGINUSER" -d "username=$LOGINUSER"

mohoo avatar Oct 23 '22 15:10 mohoo

i have tried again and nothing are found image

michelebossa avatar Oct 24 '22 06:10 michelebossa

Hi, same problem here both with curl GET and POST option. Any recommendation how to solve this? Thanks.

boci29 avatar Nov 11 '22 16:11 boci29

same here, any suggestion? thanks

musimarc avatar Nov 17 '22 14:11 musimarc

Use this one now. It seems to work. curl "https://mobile.proscenic.tw/user/getEquips/$LOGINUSER" -d "username=$LOGINUSER"``

JuliusBlueTek avatar Feb 01 '23 01:02 JuliusBlueTek

Use this one now. It seems to work. curl "https://mobile.proscenic.tw/user/getEquips/$LOGINUSER" -d "username=$LOGINUSER"``

no, it's still not working, with the same result as before.

boci29 avatar Mar 15 '23 23:03 boci29

Use this one now. It seems to work. curl "https://mobile.proscenic.tw/user/getEquips/$LOGINUSER" -d "username=$LOGINUSER"``

no, it's still not working, with the same result as before.

Hmm where are you in the world? There are three different endpoints when you signup for an account in the ProscenicHome app. Also are you replacing both $LOGINUSER with the email you used to sign up to proscenic with? (I'm working on making a hacks integration that will do all this automatically, but it's not quite done yet. And know why you have this issue could help!)

JuliusBlueTek avatar Mar 16 '23 00:03 JuliusBlueTek

I'm in Hungary. I've tried it with e-mail, but it's the same result.

boci29 avatar Mar 16 '23 10:03 boci29

I'm in Hungary. I've tried it with e-mail, but it's the same result.

What app do you use to control the robot? "Proscenic Home" or "Proscenic"

JuliusBlueTek avatar Mar 16 '23 19:03 JuliusBlueTek

I'm in Hungary. I've tried it with e-mail, but it's the same result.

What app do you use to control the robot? "Proscenic Home" or "Proscenic"

I'm using "Proscenic".

boci29 avatar Mar 19 '23 10:03 boci29

That makes sense then. The m7 ships with two different firmwares one that only works with ProscenicHome and one that only works with Proscenic. The two apps use completely different APIs to control the robot. I’ve tried scraping the commands from Proscenic but don’t have a robot that uses it so haven’t had a lot of luck. So these commands won’t work for you. I’ll let you know if manage to scrape the other commands.

JuliusBlueTek avatar Mar 19 '23 18:03 JuliusBlueTek

That makes sense then. The m7 ships with two different firmwares one that only works with ProscenicHome and one that only works with Proscenic. The two apps use completely different APIs to control the robot. I’ve tried scraping the commands from Proscenic but don’t have a robot that uses it so haven’t had a lot of luck. So these commands won’t work for you. I’ll let you know if manage to scrape the other commands.

Great, thank you!

boci29 avatar Mar 19 '23 22:03 boci29

@JuliusBlueTek what's the status of your hacks integration? Is it available and / or working?

LukeTowers avatar Jul 10 '23 04:07 LukeTowers

@LukeTowers

Edit: Should work with hacks if you add it as a custom repository.

I have an integration working! Though I haven't set it up the the hacks config to auto install it yet, so it's a manual install. But if you want to take a look it's here . It can hook into the lovelace-xiaomi-vacuum-map-card with some manual setup. I'll you again when it has automaic setup for xiaomi and hacks. You can add your device from procenic home though the integration page in HA with it. Also I'd recommend making a second account in the procenic home app and sharing the vacuum with that second account then log in with that second account into the integration.

JuliusBlueTek avatar Jul 29 '23 00:07 JuliusBlueTek