Proscenic 790T Integration

I’ll try to find some time to try to make it work. I’m just not sure if the new vacuum firmware still support direct commands. :slight_smile:

I’d be happy just to monitor it. Is there any way to display the mapping that the app has? Just a thought…

@Engineer Nope! They don’t provide a pic with the map. They provide a “map of dots” to represent the map. I don’t have such time to investigate how to recreate this map from dots. :slight_smile: Maybe if someone wants to contribute, we can achieve it, but for now - impossible. :slight_smile:

Just wondered:)

Hi, @gh0s7 I’m try to connect hass with my Proscenic 790T, but It’s not work.
I have try to only use your code, the domoticz plugin code, and this code https://github.com/markomannux/pyproscenic/blob/cb1033938118801197e376f38dcc849452808c2d/proscenic/proscenic.py (which is very similar to your code), nothing work.
I have see that the port use is 10684, but running I have see that the only opened port on my vacuum is 8888. Is that same for you?
If I can connect python script with my vacuum, I can help you to finish your integration.

I have try to decompile the Proscenic robotic app, but i think that the app is wrote in C, so i can’t read the code. Do you have another APP?

I have wrote a first version of an intergration for 790T vacuum cleaner.
You can find this here https://github.com/deblockt/hass-proscenic-790T-vacuum

it support stop/start/return_home and see battery level.

1 Like

@deblockt good job ! But I have LDS D550.
I grabbed an information from IOS app ProscenicHome. Can’t run Proscenic app. Only Proscenic Home.
The information from Wireshark is (I have X’ed personal info):
@@,À¨ë/þµïÅDêʧ<b¾
;$}ØÿØ{“data”:{“token”:“pXXXXXXXXXXXXXsn”,“sn”:“RXD550XXX000XXXX”},“infoType”:70003}# #

It seems D550 uses token only and sn. Doesn’t use deviceId and userId. Have checked ALL THE LOGS, I am 1000% sure there was no userId and deviceId.
Is that possible to adapt your script for D550 in my case?

BTW: Proscenic D550 looks almost same as Roborock S50… only D550 is square. The water tank and vacuum tank look same. Also same as Roborock, D550 gives only token in the app’s log. I tried xiaomi_miio platform, but… token is too short.
Please help if You can.

Thanks

1 Like

Same at home with M7 Pro vacuum cleaner.

Xiaomi needs 32 token length. When I sum D550 token + serial I have 32 digits. Will try
pXXXXXXXXXXXXXsn+RXD550XXX000XXXX == 32

Hi, @stefanscy I’m sorry but this integration is only test with the proscenic 790T. I doesn’t have other vacuum cleaner.
I have see that proscenic have two apps (Proscenic Robotic and Proscenic Home), I think that procotols are not same and maybe not compatible.
I understand that new proscenic vacuum use tuya protocol, but it seem that there are no tuya vacuum integration on home assistant.

Hi, does your custom component work for the Proscenic M7 PRO?
with your component can you tell the robot which area to clean? I would like to buy it but for me it is essential to be able to indicate which areas (among those defined in the app) to clean.

Nope my component only work for 790T. and 790T can’t clean a zone :s

@deblockt Specials thanks to you i am looking more 1 year long for a working integration for this model. Thank you so much.

By me the start stop get home actions are not working but i get only the informations. How can i solve that?

I have Proscenic 790T

Any suggestion about that? Thank you.

Hum To get information the integration doesn’t connect to the vacuum cleaner but it connect to a proscenic server, so you can get vacuum cleaner information without contact your vacuum.
Do you have some proscenic integration logs ? This can help to debug.
You can set the log level to debug using that:

logger:
  logs:
    custom_components.proscenic: debug

Are you sure the IP of the vacuum cleaner is correct? And connected on the same network as your home assistant server?

Just you mean with this integration when you give a command it send the command over internet via the integration to the Proscenic Server? Just if it so than i can maybe check the firewall
that not blocks the communication right?

Vacuum en hass are on the same network.

I have enabled Logs. Can you please look at that if this is enough for you to solve the problem?

2020-06-01 11:45:25 DEBUG (MainThread) [custom_components.proscenic.vacuum_proscenic] send command b’{“cmd”:0,“control”:{“authCode”:“2xxxxxx”,”deviceIp”:“192.xxxx.xxx.xxx”,”devicePort”:“8888”,“targetId”:“78fxxxxxxxxx”,”targetType”:“3”},“seq”:0,“value”:{{“transitCmd”:“100”}},“version”:“1.5.11”}’

2020-06-01 11:45:18 DEBUG (MainThread) [custom_components.proscenic.vacuum_proscenic] b’\x19\x01\x00\x00\xfb\x00\xc8\x00\x01\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00{“control”:{“authCode”:“2xxxxx”,”broadcast”:“0”,“targetId”:“86xxxxxxxx”,”targetType”:“1”},“value”:{“clearArea”:“0”,“clearId”:“1591004xxxxxxxxx”,”clearModule”:“6”,“clearSign”:“2020-06-01-17-38-17-1”,“clearTime”:“10”,“noteCmd”:“101”},“version”:“1.0”}\n’

2020-06-01 11:45:18 DEBUG (MainThread) [custom_components.proscenic.vacuum_proscenic] b’\x19\x01\x00\x00\xfb\x00\xc8\x00\x01\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x00{“control”:{“authCode”:“2xxxx”,”broadcast”:“0”,“targetId”:“86xxxxxxxx”,”targetType”:“1”},“value”:{“clearArea”:“0”,“clearId”:“15910xxxxxxxxx”,”clearModule”:“6”,“clearSign”:“2020-06-01-17-38-17-1”,“clearTime”:“20”,“noteCmd”:“101”},“version”:“1.0”}\n’

2020-06-01 11:45:23 DEBUG (MainThread) [custom_components.proscenic.vacuum_proscenic] b’\x03\x02\x00\x00\xfb\x00\xc8\x00\x01\x00\x00\x00\x17\x00\x00\x00\x00\x00\x00\x00{“control”:{“authCode”:“2xxxxx”,”broadcast”:“0”,“targetId”:“86xxxxxxx”,”targetType”:“1”},“value”:{“attract”:“0”,“battery”:“96”,“brush”:“1”,“carpetColor”:“”,“clearComponent”:“0”,“deviceIp”:“192.xxx.xxx.xxx”,”devicePort”:“8888”,“direction”:“0”,“error”:“0”,“extParam”:“”,“fan”:“1”,“firmwareVer”:“”,“noteCmd”:“102”,“result”:“”,“updateMode”:“”,“updateModule”:“”,“updatePro”:“”,“version1”:“1.8.2614(828)”,“voice”:“2”,“waterMark”:“0”,“waterTank”:“0”,“workMode”:“0”,“workState”:“2”},“version”:“1.0”}\n’

2020-06-01 11:45:23 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=vacuum.vacuum_cleaner, old_state=<state vacuum.vacuum_cleaner=cleaning; status=cleaning, battery_level=96, battery_icon=mdi:battery, fan_speed=2, friendly_name=Vacuum Cleaner, supported_features=219 @ 2020-06-01T11:45:01.778259+02:00>, new_state=<state vacuum.vacuum_cleaner=idle; status=idle, battery_level=96, battery_icon=mdi:battery, fan_speed=1, friendly_name=Vacuum Cleaner, supported_features=219 @ 2020-06-01T11:45:23.521306+02:00>>

Hum, there a nothing bad on your logs.
Commands are send to the vacuum over LAN. Maybe there are an authentication issue (I have only try with my vacuum).
Can you capture a trace using https://play.google.com/store/apps/details?id=app.greyshirts.sslcapture&hl=fr save (pcap save) the trace name <your_vacuum_ip>:8888 and send the trace on a private message. I will analyse the issue.

You can follow you issue resolution here: https://github.com/deblockt/hass-proscenic-790T-vacuum/issues/1

@deblockt With that new release it is now working very fine. Thank you so much.

Also created a picture for my lovelace.
afbeelding

  • Is there a possibility to have to see Maps on Lovelace?
  • Is it possible to get some trigger or status of to change the filters etc…
  • Are there coming Hacs support, because i get now on my logs everytime that this integration not is fully supported.

Another question not related with this integration but for this type of robotic, did you have also success to upgrade the robotic, the upgrade app from the playstore/appstore is not working. Which version is the latest firmware of the Robotic?

When i go via de app to system upgrade i see;
wifi: Current version1.0.41
mcu: Current version1.8.2614(828)

Hi, glad it worked

Is there a possibility to have to see Maps on Lovelace?

Hi, I will working on the map later, I have found another project who can display the map (but not on homas assistant)

Is it possible to get some trigger or status of to change the filters etc…

Sorry, but i don’t understand the question.

Are there coming Hacs support, because i get now on my logs everytime that this integration not is fully supported.

Yes, I should do a PR on hacs project to include my intergation, all is ready :slight_smile:

How did you get your card with a picture on it on lovelace?