Hallo,
ich habe bisher wohl geschafft, meinen Roborock S6 mit dem Xiaomi-Modul an FHEM anzubinden, er reagiert auch grundsätzlich, aber kann ich unserem Robi auch irgendwie entlocken, welche ID (oder Bezeichnung) die mit der XIaomi-App angelegten Räume haben, um evtl. damit dann via FHEM eine Reinigung zu starten? Der Einsatz von alternativer FW (Valetudo etc) kommt ja zur Zeit noch nicht in Frage, da der Robi (zumindest derzeit noch) nicht unterstützt wird.
Mit Verbose 5 kommen auf jeden Fall sehr umfangreiche Einträge, und mit User-Readings werden auch sogar einige recht Lesbare Readings angezeigt - aber eine Raum-ID oder so konnte ich bisher nicht erkennen ...
Gruß, Christoph
Internals:
DEF 192.168.x.xx <mein Token>
FD 71
FUUID 5da357fd-f33f-378b-b448-699343a3e46afdf7
NAME Bob.Roborock
NR 1662
STATE Docked
TYPE XiaomiDevice
hardware Linux
mac xx:xx:xx:xx:xx:xx
model roborock.vacuum.s6
token <mein Token>
READINGS:
2020-06-22 10:12:49 app_bom A.03.0040
2020-06-22 10:12:49 app_language en
2020-06-22 10:12:49 app_location de
2020-06-22 10:12:49 app_logserver awsde0.fds.api.xiaomi.com
2020-06-22 10:12:49 app_name custom_A.03.0040_CE
2020-06-22 10:12:49 app_timezone Europe/Berlin
2020-06-22 10:29:37 batteryPercent 100
2020-06-22 10:29:37 batteryState ok
2020-06-22 10:12:49 carpet_high 500
2020-06-22 10:12:49 carpet_integral 450
2020-06-22 10:12:49 carpet_low 400
2020-06-22 10:12:49 carpet_mode on
2020-06-22 10:12:49 carpet_stall_time 10
2020-06-22 10:29:37 cleaning_mode max
2020-06-22 10:12:49 consumables_filter 75
2020-06-22 10:12:49 consumables_main_brush 87
2020-06-22 10:12:49 consumables_sensors 81
2020-06-22 10:12:49 consumables_side_brush 81
2020-06-21 20:11:47 device_firmware 3.5.8_1708
2020-06-22 10:12:49 device_fw_features 111,112,113,114,115,116,117,118,119,120,122,123,124,125
2020-06-21 20:11:47 device_uptime 16.65
2020-06-22 10:29:37 dnd off
2020-06-22 10:12:49 dnd_enabled on
2020-06-22 10:12:49 dnd_end 08:00
2020-06-22 10:12:49 dnd_start 22:00
2020-06-22 10:29:37 error none
2020-06-22 10:29:37 error_code None
2020-06-22 10:29:37 fan_power 104
2020-06-22 10:12:49 history_0 2020-06-22 09:54:55: 7.13m² in 0.12h, finished cleaning
2020-06-22 10:12:49 history_1 2020-06-22 07:59:25: 7.09m² in 0.11h, finished cleaning
2020-06-22 10:12:49 history_2 2020-06-21 11:41:49: 9.62m² in 0.29h, finished cleaning
2020-06-22 10:12:49 history_3 2020-06-21 11:14:26: 11.10m² in 0.28h, finished cleaning
2020-06-22 10:12:49 history_4 2020-06-14 10:54:35: 11.05m² in 0.25h, finished cleaning
2020-06-22 10:12:49 history_5 2020-06-07 10:07:50: 11.15m² in 0.20h, finished cleaning
2020-06-22 10:12:49 history_6 2020-06-06 10:55:03: 27.59m² in 0.49h, finished cleaning
2020-06-22 10:12:49 history_7 2020-06-06 10:35:43: 11.26m² in 0.27h, finished cleaning
2020-06-22 10:12:49 history_8 2020-06-05 14:06:59: 11.01m² in 0.20h, finished cleaning
2020-06-22 10:12:49 history_9 2020-06-04 08:00:12: 7.08m² in 0.10h, finished cleaning
2020-06-22 10:29:37 in_cleaning no
2020-06-22 10:29:37 in_fresh_state yes
2020-06-22 10:29:37 in_returning no
2020-06-22 10:29:37 lab_status yes
2020-06-22 10:29:37 last_clean_area 7.13
2020-06-22 10:29:37 last_clean_time 0.12
2020-06-22 10:12:49 last_timestamp 1592812495
2020-06-22 10:29:37 lock_status off
2020-06-21 20:12:03 log_upload_status 9
2020-06-22 10:29:37 map_present yes
2020-06-22 10:29:37 mop_forbidden_enable no
2020-06-21 20:11:31 serial_number 12345678901234
2020-06-22 10:29:37 state Docked
2020-06-21 20:11:31 timezone Europe/Berlin
2020-06-22 10:12:49 total_clean_area 2098.95
2020-06-22 10:12:49 total_clean_time 36.64
2020-06-22 10:12:49 total_cleans 181
2020-06-22 10:12:49 volume 100
2020-06-22 10:29:37 water_box_status no
2020-06-21 20:11:31 wifi_auth_fail_count 0
2020-06-21 20:11:31 wifi_conn_fail_count 0
2020-06-21 20:11:31 wifi_conn_success_count 1
2020-06-21 20:11:31 wifi_dhcp_fail_count 0
2020-06-21 20:11:47 wifi_rssi -40
2020-06-21 20:11:31 wifi_state online
helper:
ConnectionState connected
cleanrecord 10
crypt AES
delay 60
dev 0f8f
historydays 10
id 183a
ip 192.168.xx.xxx last_read 1592814577
packetid 519
port 54321
sequence -1
timers 0
token <mein Token>
day:
history:
packet:
516 get_status
517 get_status
518 get_status
Attributes:
alias Staubsauger-Roboter "Bob" Roborock S6
disable 0
icon vacuum_top
room Flur
subType VacuumCleaner
userReadings last_clean_time_text:last_clean_time.*\ {\ my $seconds=ReadingsNum($name,"last_clean_time",0)*60*60;\ return SecondsToTime($seconds);\ },\ total_clean_time_text:total_clean_time.*\ {\ my $seconds=ReadingsNum($name,"total_clean_time",0)*60*60;\ return SecondsToTime($seconds);\ },\ consumables_filter_h:consumables_filter.*\ {\ my $hours=round((100-ReadingsNum($name,"consumables_filter",0))/100*150,0);\ return $hours."/150h";\ },\ consumables_main_brush_h:consumables_main_brush.*\ {\ my $hours=round((100-ReadingsNum($name,"consumables_main_brush",0))/100*300,0);\ return $hours."/300h";\ },\ consumables_sensors_h:consumables_sensors.*\ {\ my $hours=round((100-ReadingsNum($name,"consumables_sensors",0))/100*30,0);\ return $hours."/30h";\ },\ consumables_side_brush_h:consumables_side_brush.*\ {\ my $hours=round((100-ReadingsNum($name,"consumables_side_brush",0))/100*200,0);\ return $hours."/200h";\ }
verbose 5