sh00t2kill / dolphin-robot

A custom Home Assistant Component for WiFI enabled Maytronics Dolphin pool cleaner robots
43 stars 9 forks source link

Temperature sensor #110

Closed rjcds closed 5 months ago

rjcds commented 1 year ago

Hi

I have an M700 which measures temperature while running

Any chance this could be a HA sensor ?

Thanks for a great component !

elad-bar commented 1 year ago

Hi,

Sure, if you are on v0.3.4, please provide the diagnostic file so i'll know how to extract it.

Thanks

rjcds commented 1 year ago

Thanks; here is the debug log (robot currently off as it's night time); the MyDolphin app shows the temp and the last time it was recorded...

2023-05-27 18:42:07.281 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration mydolphin_plus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-05-27 18:42:30.543 DEBUG (MainThread) [custom_components.mydolphin_plus] Starting async_setup_entry of mydolphin_plus
2023-05-27 18:42:30.968 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] Starting async_setup_entry binary_sensor
2023-05-27 18:42:30.968 INFO (MainThread) [custom_components.mydolphin_plus.core.models.domain_data] Creating domain data for binary_sensor
2023-05-27 18:42:30.968 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] binary_sensor domain data: {'name': 'binary_sensor'}
2023-05-27 18:42:31.021 DEBUG (MainThread) [custom_components.mydolphin_plus.core.managers.home_assistant] Skip loading camera
2023-05-27 18:42:31.181 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] Starting async_setup_entry select
2023-05-27 18:42:31.181 INFO (MainThread) [custom_components.mydolphin_plus.core.models.domain_data] Creating domain data for select
2023-05-27 18:42:31.182 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] select domain data: {'name': 'select'}
2023-05-27 18:42:31.188 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] Starting async_setup_entry switch
2023-05-27 18:42:31.188 INFO (MainThread) [custom_components.mydolphin_plus.core.models.domain_data] Creating domain data for switch
2023-05-27 18:42:31.188 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] switch domain data: {'name': 'switch'}
2023-05-27 18:42:31.283 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] Starting async_setup_entry vacuum
2023-05-27 18:42:31.283 INFO (MainThread) [custom_components.mydolphin_plus.core.models.domain_data] Creating domain data for vacuum
2023-05-27 18:42:31.283 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] vacuum domain data: {'name': 'vacuum'}
2023-05-27 18:42:31.287 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] Starting async_setup_entry sensor
2023-05-27 18:42:31.287 INFO (MainThread) [custom_components.mydolphin_plus.core.models.domain_data] Creating domain data for sensor
2023-05-27 18:42:31.287 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] sensor domain data: {'name': 'sensor'}
2023-05-27 18:42:31.453 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] Starting async_setup_entry light
2023-05-27 18:42:31.453 INFO (MainThread) [custom_components.mydolphin_plus.core.models.domain_data] Creating domain data for light
2023-05-27 18:42:31.453 DEBUG (MainThread) [custom_components.mydolphin_plus.core.helpers.setup_base_entry] light domain data: {'name': 'light'}
2023-05-27 18:42:31.456 DEBUG (MainThread) [custom_components.mydolphin_plus.core.managers.home_assistant] Skip loading device_tracker
2023-05-27 18:42:31.457 INFO (MainThread) [custom_components.mydolphin_plus.core.managers.home_assistant] Handling ConfigEntry change: {'entry_id': 'XXX', 'version': 1, 'domain': 'mydolphin_plus', 'title': 'MyDolphin Plus', 'data': {'username': 'XXX', 'password': 'XXX'}, 'options': {}, 'pref_disable_new_entities': False, 'pref_disable_polling': False, 'source': 'user', 'unique_id': None, 'disabled_by': None}
2023-05-27 18:42:31.466 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.storage_api] Loaded configuration data: {'locating': False, 'aws-token-encrypted-key': 'XXX'}
2023-05-27 18:42:31.466 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Initializing MyDolphin API
2023-05-27 18:42:31.467 INFO (MainThread) [custom_components.mydolphin_plus.core.api.base_api] Performing login
2023-05-27 18:42:31.467 INFO (MainThread) [custom_components.mydolphin_plus.component.managers.home_assistant] API Status changed to Connecting, WS Status: NotConnected
2023-05-27 18:42:32.652 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Status of https://mbapp18.maytronics.com/api/users/Login/: 200
2023-05-27 18:42:32.652 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] POST request [https://mbapp18.maytronics.com/api/users/Login/] completed successfully, Result: {'Status': '1', 'Data': {'Email': 'XXX', 'UserID': XXX, 'AppKey': 'XXX', 'FirstName': 'XXX', 'LastName': 'XXX', 'password': None, 'Newsletter': False, 'Sernum': 'XXX', 'MyRobotName': 'Dolphin', 'Language': 'English', 'phone': '', 'terms': True, 'token': 'XXX', 'refresh_token': 'XXX', 'DeviceID': None, 'IP': None, 'GeoLocation': '', 'mob_token': None, 'lat': None, 'lon': None, 'connectedToApp': True, 'SF_AccountID': 'XXX', 'SF_ContactId': 'XXX', 'accessKey': 'XXX', 'isCurrLowerThenX': False, 'isReg': False, 'RobotName': None, 'ffiLINK': 'https://dolphinapp994953564.wpcomstaging.com/my-dolphins-filter-is-full-how-do-i-clean-it/?type=m600', 'siriLink': '', 'eparam': None, 'PINCode': None, 'Id': None, 'connectVia': '', 'poolType': None, 'poolShape': None, 'poolSurface': None, 'length': None, 'width': None, 'unit': None, 'platform': 'iOS', 'isBLE': False, 'tech': False, 'fsm': '', 'fmu': '', 'Country': None, 'State': None, 'access_token': None, 'OTP': None}, 'Alert': 'Succeed'}
2023-05-27 18:42:32.653 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Logged in to user XXX
2023-05-27 18:42:32.861 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Status of https://mbapp18.maytronics.com/api/serialnumbers/getrobotdetailsbyrobotsn/: 200
2023-05-27 18:42:32.861 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] POST request [https://mbapp18.maytronics.com/api/serialnumbers/getrobotdetailsbyrobotsn/] completed successfully, Result: {'Status': '1', 'Data': {'SERN': XXX, 'SERNUM': 'XXX', 'eSERNUM': 'XXX', 'PARTNAME': '99996710-AU', 'PARTDES': 'DOLPHIN M700 AU', 'AppName': 'myDolphin Plus', 'googlePlay': 'https://play.google.com/store/apps/details?id=com.maytronics.app', 'AppStore': 'https://itunes.apple.com/app/id1372538627', 'RegDate': None, 'Originalmg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/productsOrigs/2849.png', 'MediumImg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/products/2849.png', 'SmallImg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/productsThumbs/2849.png', 'AppKey': 'XXX', 'MyRobotName': 'Dolphin', 'isReg': 'N', 'wr_RemindMeLater': 'Y', 'DestributorSERNUM': '', 'ffiLINK': 'https://dolphinapp994953564.wpcomstaging.com/my-dolphins-filter-is-full-how-do-i-clean-it/?type=m600', 'siriLink': '', 'RobotFamily': 'M700', 'wr_ShowRemindMeToast': True, 'fsm': None, 'fmu': None}, 'Alert': 'succeed'}
2023-05-27 18:42:32.861 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Successfully retrieved details for device XXX
2023-05-27 18:42:32.862 INFO (MainThread) [custom_components.mydolphin_plus.component.managers.home_assistant] API Status changed to TemporaryConnected, WS Status: NotConnected
2023-05-27 18:42:33.149 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Status of https://mbapp18.maytronics.com/api/IOT/getToken_DecryptSN/: 200
2023-05-27 18:42:33.150 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] POST request [https://mbapp18.maytronics.com/api/IOT/getToken_DecryptSN/] completed successfully, Result: {'Status': '1', 'Data': {'Token': 'XXX', 'TokenExpiration': '2023-05-27T09:42:33+00:00', 'AccessKeyId': 'XXX', 'SecretAccessKey': 'XXX'}, 'Alert': 'Good'}
2023-05-27 18:42:33.150 INFO (MainThread) [custom_components.mydolphin_plus.component.managers.home_assistant] API Status changed to Connected, WS Status: NotConnected
2023-05-27 18:42:33.150 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Connected. Refresh details
2023-05-27 18:42:33.350 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Status of https://mbapp18.maytronics.com/api/serialnumbers/getrobotdetailsbymusn/: 200
2023-05-27 18:42:33.351 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] POST request [https://mbapp18.maytronics.com/api/serialnumbers/getrobotdetailsbymusn/] completed successfully, Result: {'Status': '1', 'Data': {'SERN': XXX, 'SERNUM': 'XXX', 'eSERNUM': 'XXX', 'PARTNAME': '99996710-AU', 'PARTDES': 'DOLPHIN M700 AU', 'AppName': 'myDolphin Plus', 'googlePlay': 'https://play.google.com/store/apps/details?id=com.maytronics.app', 'AppStore': 'https://itunes.apple.com/app/id1372538627', 'RegDate': None, 'Originalmg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/productsOrigs/2849.png', 'MediumImg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/products/2849.png', 'SmallImg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/productsThumbs/2849.png', 'AppKey': 'XXX', 'MyRobotName': 'Dolphin', 'isFree': 'N', 'isReg': 'N', 'wr_RemindMeLater': 'N', 'DestributorSERNUM': '', 'RobotFamily': 'M700', 'fsm': 'SM**1', 'fmu': 'MU*Q*1'}, 'Alert': 'succeed'}
2023-05-27 18:42:33.351 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] aws-token-encrypted-key: XXX
2023-05-27 18:42:33.351 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] serial_number: XXX
2023-05-27 18:42:33.351 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] login_token: XXX
2023-05-27 18:42:33.351 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] motor_unit_serial: XXX
2023-05-27 18:42:33.351 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Token: XXX
2023-05-27 18:42:33.351 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] AccessKeyId: XXX
2023-05-27 18:42:33.351 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] SecretAccessKey: XXX
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Motor Unit Serial: XXX
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Product Name: 99996710-AU
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Product Description: DOLPHIN M700 AU
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Application Name: myDolphin Plus
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Registration Date: None
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Robot Name: Dolphin
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Is Registered: N
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Product Family: M700
2023-05-27 18:42:33.352 INFO (MainThread) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Initializing MyDolphin AWS IOT WS
2023-05-27 18:42:33.353 INFO (MainThread) [custom_components.mydolphin_plus.component.managers.home_assistant] WS Status changed to Connecting, API Status: Connected
2023-05-27 18:42:33.362 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] AWS IAM Credentials XXX
2023-05-27 18:42:33.362 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Loading CA file from /config/custom_components/mydolphin_plus/component/api/AmazonRootCA.pem
2023-05-27 18:42:34.488 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Connected to a12rqfdx55bdbv-ats.iot.eu-west-1.amazonaws.com
2023-05-27 18:42:34.488 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Retrieved AWS token after 0 attempts
2023-05-27 18:42:34.781 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] AWS IOT Client is Online
2023-05-27 18:42:34.781 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] ACK packet ID: CONNECTED, QoS: 0
2023-05-27 18:42:35.075 INFO (MainThread) [custom_components.mydolphin_plus.component.managers.home_assistant] WS Status changed to Connected, API Status: Connected
2023-05-27 18:42:35.075 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Connected. Refresh details
2023-05-27 18:42:35.091 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] ACK packet ID: 1, QoS: (0,)
2023-05-27 18:42:35.278 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Status of https://mbapp18.maytronics.com/api/serialnumbers/getrobotdetailsbymusn/: 200
2023-05-27 18:42:35.278 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] POST request [https://mbapp18.maytronics.com/api/serialnumbers/getrobotdetailsbymusn/] completed successfully, Result: {'Status': '1', 'Data': {'SERN': XXX, 'SERNUM': 'XXX', 'eSERNUM': 'D2485PQM', 'PARTNAME': '99996710-AU', 'PARTDES': 'DOLPHIN M700 AU', 'AppName': 'myDolphin Plus', 'googlePlay': 'https://play.google.com/store/apps/details?id=com.maytronics.app', 'AppStore': 'https://itunes.apple.com/app/id1372538627', 'RegDate': None, 'Originalmg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/productsOrigs/2849.png', 'MediumImg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/products/2849.png', 'SmallImg': 'https://mpp-images.s3.eu-central-1.amazonaws.com/productsThumbs/2849.png', 'AppKey': 'XXX', 'MyRobotName': 'Dolphin', 'isFree': 'N', 'isReg': 'N', 'wr_RemindMeLater': 'N', 'DestributorSERNUM': '', 'RobotFamily': 'M700', 'fsm': 'SM**1', 'fmu': 'MU*Q*1'}, 'Alert': 'succeed'}
2023-05-27 18:42:35.278 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] aws-token-encrypted-key: XXX
2023-05-27 18:42:35.278 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] serial_number: XXX
2023-05-27 18:42:35.278 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] login_token: XXX
2023-05-27 18:42:35.278 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] motor_unit_serial: XXX
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Token: XXX
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] AccessKeyId: XXX
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] SecretAccessKey: XXX
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Motor Unit Serial: XXX
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Product Name: 99996710-AU
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Product Description: DOLPHIN M700 AU
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Application Name: myDolphin Plus
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Registration Date: None
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Robot Name: Dolphin
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Is Registered: N
2023-05-27 18:42:35.279 INFO (MainThread) [custom_components.mydolphin_plus.component.api.mydolphin_plus_api] Product Family: M700
2023-05-27 18:42:35.279 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Connected. Refresh details
2023-05-27 18:42:35.279 DEBUG (MainThread) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Published message: None to $aws/things/XXX/shadow/get
2023-05-27 18:42:35.585 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] ACK packet ID: 2, QoS: (0,)
2023-05-27 18:42:36.058 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: $aws/things/XXX/shadow/get
2023-05-27 18:42:36.064 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: $aws/things/XXX/shadow/get/accepted
2023-05-27 18:42:36.064 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Payload: {"state":{"reported":{"LastReceiveData":{"dynamicTopics":["Maytronics/XXX/main"],"robotSerial":"XXX","timestamp":1685162651},"isConnected":{"connected":false},"systemState":{"pwsState":"off","robotState":"notConnected","robotType":"Q7","isBusy":false,"rTurnOnCount":4,"timeZone":600,"timeZoneName":"Australia/Sydney"},"debug":{"systemTime":1685202688,"dynamicFlg":2,"weeklyNextOp":0,"automationMode":0,"WIFI_RSSI":-45,"dataUploadNumber":0,"updateTime":{"hour":2,"min":0},"resetSource":132,"bleMacAddress":"00:00:00:00:00:00","wifiMacAddress":"00:00:00:00:00:00","rtcFlag":true,"disconnectionTrigger":{"code":12,"timeStamp":1685202560}},"filterBagIndication":{"state":0,"resetFBI":false},"cycleInfo":{"cleaningMode":{"mode":"all","cycleTime":120},"cycleStartTime":1,"cycleStartTimeUTC":4.2949312E9},"dynamicTopics":[""],"robotSerial":"","nextCycleInfo":{"cleaningMode":{"mode":"all"},"nextCycleDuration":120},"robotError":{"errorCode":255,"pcbHours":65535,"pcbMin":255,"turnOnCount":65535,"faultValue1":65535,"faultValue2":65535,"faultValue3":65535},"pwsError":{"errorCode":255,"pcbHours":65535,"pcbMin":255,"turnOnCount":65535,"holdCount":0,"faultValue1":65535,"faultValue2":65535},"navMode":{"isSmart":false},"cleaningModes":{"all":120,"short":60,"cove":120,"floor":120,"water":120,"ultra":120,"spot":120,"wall":120,"ticTac":600,"custom":120,"pickup":5},"led":{"ledEnable":true,"ledIntensity":80,"ledMode":1},"weeklySettings":{"isInRepeatMode":false,"triggeredBy":0,"sunday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"monday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"tuesday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"wednesday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"thursday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"friday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"saturday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}}},"delay":{"isEnabled":false,"triggeredBy":255,"startTime":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"versions":{"sysVersion":1,"pwsVersion":{"pwsHwVersion":"00","pwsSwVersion":"06.1020","pwsBootloaderVersion":"3.30"},"robotVersion":{"muHwVersion":"09","muSwVersion":"6.01","muBootloaderVersion":"6.02","ledHwVersion":"00","ledSwVersion":"1.22"}},"featureEn":{"delay":"disable","floor":"disable","weeklyTimer":{"status":"enable","frequency":2},"short":"disable","pickup":"disable","fbiLED":"enable"},"wifi":{"netName":"XXX"},"inwat":{"preHoldTime":60,"periodicInterval":20}}},"metadata":{"reported":{"LastReceiveData":{"dynamicTopics":[{"timestamp":1685162652}],"robotSerial":{"timestamp":1685162652},"timestamp":{"timestamp":1685162652}},"isConnected":{"connected":{"timestamp":1685166990}},"systemState":{"pwsState":{"timestamp":1685166638},"robotState":{"timestamp":1685166638},"robotType":{"timestamp":1685166638},"isBusy":{"timestamp":1685166638},"rTurnOnCount":{"timestamp":1685166638},"timeZone":{"timestamp":1685166638},"timeZoneName":{"timestamp":1685151894}},"debug":{"systemTime":{"timestamp":1685166638},"dynamicFlg":{"timestamp":1685166638},"weeklyNextOp":{"timestamp":1685166638},"automationMode":{"timestamp":1685166638},"WIFI_RSSI":{"timestamp":1685166638},"dataUploadNumber":{"timestamp":1685166638},"updateTime":{"hour":{"timestamp":1685166638},"min":{"timestamp":1685166638}},"resetSource":{"timestamp":1685166638},"bleMacAddress":{"timestamp":1685166638},"wifiMacAddress":{"timestamp":1685166638},"rtcFlag":{"timestamp":1685166638},"disconnectionTrigger":{"code":{"timestamp":1685166621},"timeStamp":{"timestamp":1685166621}}},"filterBagIndication":{"state":{"timestamp":1685166638},"resetFBI":{"timestamp":1685166638}},"cycleInfo":{"cleaningMode":{"mode":{"timestamp":1685166638},"cycleTime":{"timestamp":1685166638}},"cycleStartTime":{"timestamp":1685166638},"cycleStartTimeUTC":{"timestamp":1685166638}},"dynamicTopics":[{"timestamp":1685166990}],"robotSerial":{"timestamp":1685166990},"nextCycleInfo":{"cleaningMode":{"mode":{"timestamp":1685166622}},"nextCycleDuration":{"timestamp":1685166622}},"robotError":{"errorCode":{"timestamp":1685166623},"pcbHours":{"timestamp":1685166623},"pcbMin":{"timestamp":1685166623},"turnOnCount":{"timestamp":1685166623},"faultValue1":{"timestamp":1685166623},"faultValue2":{"timestamp":1685166623},"faultValue3":{"timestamp":1685166623}},"pwsError":{"errorCode":{"timestamp":1685166623},"pcbHours":{"timestamp":1685166623},"pcbMin":{"timestamp":1685166623},"turnOnCount":{"timestamp":1685166623},"holdCount":{"timestamp":1685166623},"faultValue1":{"timestamp":1685166623},"faultValue2":{"timestamp":1685166623}},"navMode":{"isSmart":{"timestamp":1685166624}},"cleaningModes":{"all":{"timestamp":1685166624},"short":{"timestamp":1685166624},"cove":{"timestamp":1685166624},"floor":{"timestamp":1685166624},"water":{"timestamp":1685166624},"ultra":{"timestamp":1685166624},"spot":{"timestamp":1685166624},"wall":{"timestamp":1685166624},"ticTac":{"timestamp":1685166624},"custom":{"timestamp":1685166624},"pickup":{"timestamp":1685166624}},"led":{"ledEnable":{"timestamp":1685166625},"ledIntensity":{"timestamp":1685166625},"ledMode":{"timestamp":1685166625}},"weeklySettings":{"isInRepeatMode":{"timestamp":1685166641},"triggeredBy":{"timestamp":1685166641},"sunday":{"isEnabled":{"timestamp":1685166641},"time":{"hours":{"timestamp":1685166641},"minutes":{"timestamp":1685166641}},"cleaningMode":{"mode":{"timestamp":1685166641}}},"monday":{"isEnabled":{"timestamp":1685166641},"time":{"hours":{"timestamp":1685166641},"minutes":{"timestamp":1685166641}},"cleaningMode":{"mode":{"timestamp":1685166641}}},"tuesday":{"isEnabled":{"timestamp":1685166641},"time":{"hours":{"timestamp":1685166641},"minutes":{"timestamp":1685166641}},"cleaningMode":{"mode":{"timestamp":1685166641}}},"wednesday":{"isEnabled":{"timestamp":1685166641},"time":{"hours":{"timestamp":1685166641},"minutes":{"timestamp":1685166641}},"cleaningMode":{"mode":{"timestamp":1685166641}}},"thursday":{"isEnabled":{"timestamp":1685166641},"time":{"hours":{"timestamp":1685166641},"minutes":{"timestamp":1685166641}},"cleaningMode":{"mode":{"timestamp":1685166641}}},"friday":{"isEnabled":{"timestamp":1685166641},"time":{"hours":{"timestamp":1685166641},"minutes":{"timestamp":1685166641}},"cleaningMode":{"mode":{"timestamp":1685166641}}},"saturday":{"isEnabled":{"timestamp":1685166641},"time":{"hours":{"timestamp":1685166641},"minutes":{"timestamp":1685166641}},"cleaningMode":{"mode":{"timestamp":1685166641}}}},"delay":{"isEnabled":{"timestamp":1685166640},"triggeredBy":{"timestamp":1685166640},"startTime":{"hours":{"timestamp":1685166640},"minutes":{"timestamp":1685166640}},"cleaningMode":{"mode":{"timestamp":1685166640}}},"versions":{"sysVersion":{"timestamp":1685166630},"pwsVersion":{"pwsHwVersion":{"timestamp":1685166630},"pwsSwVersion":{"timestamp":1685166630},"pwsBootloaderVersion":{"timestamp":1685166630}},"robotVersion":{"muHwVersion":{"timestamp":1685166630},"muSwVersion":{"timestamp":1685166630},"muBootloaderVersion":{"timestamp":1685166630},"ledHwVersion":{"timestamp":1685166630},"ledSwVersion":{"timestamp":1685166630}}},"featureEn":{"delay":{"timestamp":1685166631},"floor":{"timestamp":1685166631},"weeklyTimer":{"status":{"timestamp":1685166631},"frequency":{"timestamp":1685166631}},"short":{"timestamp":1685166631},"pickup":{"timestamp":1685166631},"fbiLED":{"timestamp":1685166631}},"wifi":{"netName":{"timestamp":1685166632}},"inwat":{"preHoldTime":{"timestamp":1685166634},"periodicInterval":{"timestamp":1685166634}}}},"version":413,"timestamp":1685176955}
2023-05-27 18:42:36.064 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Published message: {'robotSerial': None, 'msmu': None, 'type': 'pwsRequest', 'description': 'temperature'} to Maytronics/XXX/main
2023-05-27 18:42:36.319 DEBUG (MainThread) [custom_components.mydolphin_plus.component.managers.home_assistant] System status recalculated, State: off, Parameters: pwsState: off | robotState: notConnected
2023-05-27 18:42:36.493 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin | vacuum | State None -> off | Attributes {} -> {"friendly_name": "Dolphin", "RSSI": "-45", "network_name": "XXX", "battery_level": "NA", "mode": "Regular", "calculated_status": "off", "pws_status": "off", "robot_status": "notConnected", "robot_type": "Q7", "busy": "False", "turn_on_count": "4", "time_zone": "Australia/Sydney (600)"} | Device name None -> Dolphin
2023-05-27 18:42:36.494 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin (vacuum) None -> created, state: off
2023-05-27 18:42:36.494 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Led Mode | select | State None -> 1 | Attributes {} -> {"friendly_name": "Dolphin Led Mode", "enabled": "True", "intensity": "80"} | Device name None -> Dolphin
2023-05-27 18:42:36.494 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Led Mode (select) None -> created, state: 1
2023-05-27 18:42:36.495 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin | light | State None -> True | Attributes {} -> {"friendly_name": "Dolphin", "mode": "1", "intensity": "80"} | Device name None -> Dolphin
2023-05-27 18:42:36.495 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin (light) None -> created, state: True
2023-05-27 18:42:36.495 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Filter | sensor | State None -> Empty | Attributes {} -> {"friendly_name": "Dolphin Filter", "reset_fbi": "False", "status": "0"} | Device name None -> Dolphin
2023-05-27 18:42:36.495 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Filter (sensor) None -> created, state: Empty
2023-05-27 18:42:36.496 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Cycle Time | sensor | State None -> 2:00:00 | Attributes {} -> {"friendly_name": "Dolphin Cycle Time", "mode": "Regular", "start_time": "2106-02-07 07:26:40"} | Device name None -> Dolphin
2023-05-27 18:42:36.496 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Cycle Time (sensor) None -> created, state: 2:00:00
2023-05-27 18:42:36.497 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Cycle Time Left | sensor | State None -> 0:00:00 | Attributes {} -> {"friendly_name": "Dolphin Cycle Time Left", "mode": "Regular", "start_time": "2106-02-07 07:26:40", "expected_end_time": "2106-02-07 09:26:40"} | Device name None -> Dolphin
2023-05-27 18:42:36.497 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Cycle Time Left (sensor) None -> created, state: 0:00:00
2023-05-27 18:42:36.497 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin AWS Broker | binary_sensor | State None -> on | Attributes {} -> {"friendly_name": "Dolphin AWS Broker", "status": "Connected to the API"} | Device name None -> Dolphin
2023-05-27 18:42:36.497 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin AWS Broker (binary_sensor) None -> created, state: on
2023-05-27 18:42:36.497 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Weekly Schedule | binary_sensor | State None -> on | Attributes {} -> {"friendly_name": "Dolphin Weekly Schedule", "status": "enable"} | Device name None -> Dolphin
2023-05-27 18:42:36.497 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Weekly Schedule (binary_sensor) None -> created, state: on
2023-05-27 18:42:36.498 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Delay | binary_sensor | State None -> off | Attributes {} -> {"friendly_name": "Dolphin Schedule Delay", "mode": "Regular", "start_time": "None"} | Device name None -> Dolphin
2023-05-27 18:42:36.498 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Delay (binary_sensor) None -> created, state: off
2023-05-27 18:42:36.500 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Monday | binary_sensor | State None -> off | Attributes {} -> {"friendly_name": "Dolphin Schedule Monday", "mode": "Regular", "start_time": "None"} | Device name None -> Dolphin
2023-05-27 18:42:36.500 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Monday (binary_sensor) None -> created, state: off
2023-05-27 18:42:36.500 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Tuesday | binary_sensor | State None -> off | Attributes {} -> {"friendly_name": "Dolphin Schedule Tuesday", "mode": "Regular", "start_time": "None"} | Device name None -> Dolphin
2023-05-27 18:42:36.500 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Tuesday (binary_sensor) None -> created, state: off
2023-05-27 18:42:36.500 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Wednesday | binary_sensor | State None -> off | Attributes {} -> {"friendly_name": "Dolphin Schedule Wednesday", "mode": "Regular", "start_time": "None"} | Device name None -> Dolphin
2023-05-27 18:42:36.500 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Wednesday (binary_sensor) None -> created, state: off
2023-05-27 18:42:36.501 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Thursday | binary_sensor | State None -> off | Attributes {} -> {"friendly_name": "Dolphin Schedule Thursday", "mode": "Regular", "start_time": "None"} | Device name None -> Dolphin
2023-05-27 18:42:36.518 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Thursday (binary_sensor) None -> created, state: off
2023-05-27 18:42:36.518 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Friday | binary_sensor | State None -> off | Attributes {} -> {"friendly_name": "Dolphin Schedule Friday", "mode": "Regular", "start_time": "None"} | Device name None -> Dolphin
2023-05-27 18:42:36.518 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Friday (binary_sensor) None -> created, state: off
2023-05-27 18:42:36.518 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Saturday | binary_sensor | State None -> off | Attributes {} -> {"friendly_name": "Dolphin Schedule Saturday", "mode": "Regular", "start_time": "None"} | Device name None -> Dolphin
2023-05-27 18:42:36.518 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Saturday (binary_sensor) None -> created, state: off
2023-05-27 18:42:36.519 DEBUG (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Sunday | binary_sensor | State None -> off | Attributes {} -> {"friendly_name": "Dolphin Schedule Sunday", "mode": "Regular", "start_time": "None"} | Device name None -> Dolphin
2023-05-27 18:42:36.519 INFO (SyncWorker_2) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Schedule Sunday (binary_sensor) None -> created, state: off
2023-05-27 18:42:36.521 INFO (MainThread) [custom_components.mydolphin_plus.core.managers.entity_manager] 10 binary_sensor components created
2023-05-27 18:42:36.522 INFO (MainThread) [custom_components.mydolphin_plus.core.managers.entity_manager] 1 select components created
2023-05-27 18:42:36.522 INFO (MainThread) [custom_components.mydolphin_plus.core.managers.entity_manager] 1 vacuum components created
2023-05-27 18:42:36.522 INFO (MainThread) [custom_components.mydolphin_plus.core.managers.entity_manager] 3 sensor components created
2023-05-27 18:42:36.522 INFO (MainThread) [custom_components.mydolphin_plus.core.managers.entity_manager] 1 light components created
rjcds commented 1 year ago

Ok with the robot powered on, these appear to be the relevant lines:

2023-05-28 10:48:18.483 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-28 10:48:18.483 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type":"pwsResponse","description":"temperature","musn":"XXX","robotSerial":"XXX","rTurnOnCount":4,"content":{"timeStamp":1685270912,"temperature":106,"inWaterStatus":4,"cycle":"off"},"saveData":false}
2023-05-28 10:48:18.880 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-28 10:48:18.880 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type": "iotResponse", "description": "temperature", "musn": "XXX", "robotSerial": "XXX", "rTurnOnCount": 4, "saveData": false, "content": {"timeStamp": 1685198464, "temperature": 151, "inWaterStatus": "noPBaro", "measuring": false}}
2023-05-28 10:48:33.547 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Published message: {'robotSerial': None, 'msmu': None, 'type': 'pwsRequest', 'description': 'temperature'} to Maytronics/XXX/main
2023-05-28 10:48:33.829 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-28 10:48:33.829 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"robotSerial": null, "msmu": null, "type": "pwsRequest", "description": "temperature"}
2023-05-28 10:48:43.446 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-28 10:48:43.446 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type":"pwsResponse","description":"temperature","musn":"XXX","robotSerial":"XXX","rTurnOnCount":4,"content":{"timeStamp":1685270912,"temperature":107,"inWaterStatus":4,"cycle":"off"},"saveData":false}
2023-05-28 10:48:43.801 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-28 10:48:43.801 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type": "iotResponse", "description": "temperature", "musn": "XXX", "robotSerial": "XXX", "rTurnOnCount": 4, "saveData": false, "content": {"timeStamp": 1685198464, "temperature": 151, "inWaterStatus": "noPBaro", "measuring": false}}
2023-05-28 10:49:34.636 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: $aws/things/XXX/shadow/get
2023-05-28 10:49:34.643 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: $aws/things/XXX/shadow/get/accepted
2023-05-28 10:49:34.643 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Payload: {"state":{"reported":{"LastReceiveData":{"dynamicTopics":["Maytronics/XXX/main"],"robotSerial":"XXX","timestamp":1685234753},"isConnected":{"connected":true},"systemState":{"pwsState":"off","robotState":"notConnected","robotType":"Q7","isBusy":false,"rTurnOnCount":4,"timeZone":600,"timeZoneName":"Australia/Sydney"},"debug":{"systemTime":1685270784,"dynamicFlg":2,"weeklyNextOp":0,"automationMode":0,"WIFI_RSSI":0,"dataUploadNumber":0,"updateTime":{"hour":2,"min":0},"resetSource":96,"bleMacAddress":"00:00:00:00:00:00","wifiMacAddress":"00:00:00:00:00:00","rtcFlag":true,"disconnectionTrigger":{"code":0,"timeStamp":0}},"filterBagIndication":{"state":0,"resetFBI":false},"cycleInfo":{"cleaningMode":{"mode":"all","cycleTime":120},"cycleStartTime":1,"cycleStartTimeUTC":4.2949312E9},"dynamicTopics":["Maytronics/XXX/main"],"robotSerial":"XXX","nextCycleInfo":{"cleaningMode":{"mode":"all"},"nextCycleDuration":120},"robotError":{"errorCode":255,"pcbHours":65535,"pcbMin":255,"turnOnCount":65535,"faultValue1":65535,"faultValue2":65535,"faultValue3":65535},"pwsError":{"errorCode":255,"pcbHours":65535,"pcbMin":255,"turnOnCount":65535,"holdCount":0,"faultValue1":65535,"faultValue2":65535},"navMode":{"isSmart":false},"cleaningModes":{"all":120,"short":60,"cove":120,"floor":120,"water":120,"ultra":120,"spot":120,"wall":120,"ticTac":600,"custom":120,"pickup":5},"led":{"ledEnable":true,"ledIntensity":80,"ledMode":1},"weeklySettings":{"isInRepeatMode":false,"triggeredBy":0,"sunday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"monday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"tuesday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"wednesday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"thursday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"friday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"saturday":{"isEnabled":false,"time":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}}},"delay":{"isEnabled":false,"triggeredBy":255,"startTime":{"hours":255,"minutes":255},"cleaningMode":{"mode":"all"}},"versions":{"sysVersion":1,"pwsVersion":{"pwsHwVersion":"00","pwsSwVersion":"06.1020","pwsBootloaderVersion":"3.30"},"robotVersion":{"muHwVersion":"09","muSwVersion":"6.01","muBootloaderVersion":"6.02","ledHwVersion":"00","ledSwVersion":"1.22"}},"featureEn":{"delay":"disable","floor":"disable","weeklyTimer":{"status":"enable","frequency":2},"short":"disable","pickup":"disable","fbiLED":"enable"},"wifi":{"netName":"troutergard"},"inwat":{"preHoldTime":60,"periodicInterval":20}}},"metadata":{"reported":{"LastReceiveData":{"dynamicTopics":[{"timestamp":1685234754}],"robotSerial":{"timestamp":1685234754},"timestamp":{"timestamp":1685234754}},"isConnected":{"connected":{"timestamp":1685234777}},"systemState":{"pwsState":{"timestamp":1685234774},"robotState":{"timestamp":1685234774},"robotType":{"timestamp":1685234774},"isBusy":{"timestamp":1685234774},"rTurnOnCount":{"timestamp":1685234774},"timeZone":{"timestamp":1685234774},"timeZoneName":{"timestamp":1685151894}},"debug":{"systemTime":{"timestamp":1685234774},"dynamicFlg":{"timestamp":1685234774},"weeklyNextOp":{"timestamp":1685234774},"automationMode":{"timestamp":1685234774},"WIFI_RSSI":{"timestamp":1685234774},"dataUploadNumber":{"timestamp":1685234774},"updateTime":{"hour":{"timestamp":1685234774},"min":{"timestamp":1685234774}},"resetSource":{"timestamp":1685234774},"bleMacAddress":{"timestamp":1685234774},"wifiMacAddress":{"timestamp":1685234774},"rtcFlag":{"timestamp":1685234774},"disconnectionTrigger":{"code":{"timestamp":1685234756},"timeStamp":{"timestamp":1685234756}}},"filterBagIndication":{"state":{"timestamp":1685234774},"resetFBI":{"timestamp":1685234774}},"cycleInfo":{"cleaningMode":{"mode":{"timestamp":1685234774},"cycleTime":{"timestamp":1685234774}},"cycleStartTime":{"timestamp":1685166638},"cycleStartTimeUTC":{"timestamp":1685166638}},"dynamicTopics":[{"timestamp":1685234768}],"robotSerial":{"timestamp":1685234768},"nextCycleInfo":{"cleaningMode":{"mode":{"timestamp":1685234758}},"nextCycleDuration":{"timestamp":1685234758}},"robotError":{"errorCode":{"timestamp":1685234759},"pcbHours":{"timestamp":1685234759},"pcbMin":{"timestamp":1685234759},"turnOnCount":{"timestamp":1685234759},"faultValue1":{"timestamp":1685234759},"faultValue2":{"timestamp":1685234759},"faultValue3":{"timestamp":1685234759}},"pwsError":{"errorCode":{"timestamp":1685234759},"pcbHours":{"timestamp":1685234759},"pcbMin":{"timestamp":1685234759},"turnOnCount":{"timestamp":1685234759},"holdCount":{"timestamp":1685234759},"faultValue1":{"timestamp":1685234759},"faultValue2":{"timestamp":1685234759}},"navMode":{"isSmart":{"timestamp":1685234760}},"cleaningModes":{"all":{"timestamp":1685234760},"short":{"timestamp":1685234760},"cove":{"timestamp":1685234760},"floor":{"timestamp":1685234760},"water":{"timestamp":1685234760},"ultra":{"timestamp":1685234760},"spot":{"timestamp":1685234760},"wall":{"timestamp":1685234760},"ticTac":{"timestamp":1685234760},"custom":{"timestamp":1685234760},"pickup":{"timestamp":1685234760}},"led":{"ledEnable":{"timestamp":1685234761},"ledIntensity":{"timestamp":1685234761},"ledMode":{"timestamp":1685234761}},"weeklySettings":{"isInRepeatMode":{"timestamp":1685234777},"triggeredBy":{"timestamp":1685234777},"sunday":{"isEnabled":{"timestamp":1685234777},"time":{"hours":{"timestamp":1685234777},"minutes":{"timestamp":1685234777}},"cleaningMode":{"mode":{"timestamp":1685234777}}},"monday":{"isEnabled":{"timestamp":1685234777},"time":{"hours":{"timestamp":1685234777},"minutes":{"timestamp":1685234777}},"cleaningMode":{"mode":{"timestamp":1685234777}}},"tuesday":{"isEnabled":{"timestamp":1685234777},"time":{"hours":{"timestamp":1685234777},"minutes":{"timestamp":1685234777}},"cleaningMode":{"mode":{"timestamp":1685234777}}},"wednesday":{"isEnabled":{"timestamp":1685234777},"time":{"hours":{"timestamp":1685234777},"minutes":{"timestamp":1685234777}},"cleaningMode":{"mode":{"timestamp":1685234777}}},"thursday":{"isEnabled":{"timestamp":1685234777},"time":{"hours":{"timestamp":1685234777},"minutes":{"timestamp":1685234777}},"cleaningMode":{"mode":{"timestamp":1685234777}}},"friday":{"isEnabled":{"timestamp":1685234777},"time":{"hours":{"timestamp":1685234777},"minutes":{"timestamp":1685234777}},"cleaningMode":{"mode":{"timestamp":1685234777}}},"saturday":{"isEnabled":{"timestamp":1685234777},"time":{"hours":{"timestamp":1685234777},"minutes":{"timestamp":1685234777}},"cleaningMode":{"mode":{"timestamp":1685234777}}}},"delay":{"isEnabled":{"timestamp":1685234776},"triggeredBy":{"timestamp":1685234776},"startTime":{"hours":{"timestamp":1685234776},"minutes":{"timestamp":1685234776}},"cleaningMode":{"mode":{"timestamp":1685234776}}},"versions":{"sysVersion":{"timestamp":1685234766},"pwsVersion":{"pwsHwVersion":{"timestamp":1685234766},"pwsSwVersion":{"timestamp":1685234766},"pwsBootloaderVersion":{"timestamp":1685234766}},"robotVersion":{"muHwVersion":{"timestamp":1685234766},"muSwVersion":{"timestamp":1685234766},"muBootloaderVersion":{"timestamp":1685234766},"ledHwVersion":{"timestamp":1685234766},"ledSwVersion":{"timestamp":1685234766}}},"featureEn":{"delay":{"timestamp":1685234767},"floor":{"timestamp":1685234767},"weeklyTimer":{"status":{"timestamp":1685234767},"frequency":{"timestamp":1685234767}},"short":{"timestamp":1685234767},"pickup":{"timestamp":1685234767},"fbiLED":{"timestamp":1685234767}},"wifi":{"netName":{"timestamp":1685234768}},"inwat":{"preHoldTime":{"timestamp":1685234770},"periodicInterval":{"timestamp":1685234770}}}},"version":456,"timestamp":1685234974}
2023-05-28 10:49:34.644 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Published message: {'robotSerial': None, 'msmu': None, 'type': 'pwsRequest', 'description': 'temperature'} to Maytronics/XXX/main
2023-05-28 10:49:34.927 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-28 10:49:34.927 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"robotSerial": null, "msmu": null, "type": "pwsRequest", "description": "temperature"}
2023-05-28 10:49:44.755 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-28 10:49:44.755 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type":"pwsResponse","description":"temperature","musn":"XXX","robotSerial":"XXX","rTurnOnCount":4,"content":{"timeStamp":1685271040,"temperature":109,"inWaterStatus":4,"cycle":"off"},"saveData":false}
2023-05-28 10:49:45.118 INFO (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-28 10:49:45.118 DEBUG (Thread-2 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type": "iotResponse", "description": "temperature", "musn": "XXX", "robotSerial": "XXX", "rTurnOnCount": 4, "saveData": false, "content": {"timeStamp": 1685198464, "temperature": 151, "inWaterStatus": "noPBaro", "measuring": false}}
elad-bar commented 1 year ago

What is the temperature unit according to the mobile app? I see here 106 and 151

rjcds commented 1 year ago

Last temp in the app was 15.1 deg Celsius

On Sun, 28 May 2023 at 18:29, Elad Bar @.***> wrote:

What is the temperature unit according to the mobile app? I see here 106 and 151

— Reply to this email directly, view it on GitHub https://github.com/sh00t2kill/dolphin-robot/issues/110#issuecomment-1565995149, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYR42ZLAQN7B6IUCD4XYWTXIMEG5ANCNFSM6AAAAAAYQ6SDBE . You are receiving this because you authored the thread.Message ID: @.***>

elad-bar commented 1 year ago

Can you extract logs when temp is different, maybe we need to divide the number by 10, so just to be sure

Thanks

rjcds commented 1 year ago

Ok here it is when running today, after calculating for a bit, the app shows temp as 12.5 degrees Celsius (15.1 was from the last run)

2023-05-29 12:13:23.890 INFO (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-29 12:13:23.890 DEBUG (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type":"pwsResponse","description":"temperature","musn":"XXX","robotSerial":"XXX","rTurnOnCount":7,"content":{"timeStamp":1685362432,"temperature":1001,"inWaterStatus":1,"cycle":"on"},"saveData":false}
2023-05-29 12:13:24.272 INFO (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-29 12:13:24.272 DEBUG (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type": "iotResponse", "description": "temperature", "musn": "XXX", "robotSerial": "XXX", "rTurnOnCount": 7, "saveData": false, "content": {"timeStamp": 1685198464, "temperature": 151, "inWaterStatus": "true", "measuring": true}}
2023-05-29 12:14:19.114 INFO (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-29 12:14:19.114 DEBUG (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type":"pwsResponse","description":"temperature","musn":"XXX","robotSerial":"XXX","rTurnOnCount":7,"content":{"timeStamp":1685362432,"temperature":125,"inWaterStatus":1,"cycle":"on"},"saveData":false}
2023-05-29 12:14:19.470 INFO (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-29 12:14:19.471 DEBUG (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type": "iotResponse", "description": "temperature", "musn": "XXX", "robotSerial": "XXX", "rTurnOnCount": 7, "saveData": false, "content": {"timeStamp": 1685362432, "temperature": 125, "inWaterStatus": "true", "measuring": false}}
2023-05-29 12:21:30.889 INFO (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-29 12:21:30.889 DEBUG (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type":"pwsResponse","description":"temperature","musn":"XXX","robotSerial":"XXX","rTurnOnCount":7,"content":{"timeStamp":1685362944,"temperature":125,"inWaterStatus":1,"cycle":"on"},"saveData":false}
2023-05-29 12:21:31.023 DEBUG (SyncWorker_4) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Cycle Time Left | sensor | State 0:46:29 -> 0:46:28
2023-05-29 12:21:31.023 INFO (SyncWorker_4) [custom_components.mydolphin_plus.core.managers.entity_manager] Dolphin Cycle Time Left (sensor) ready -> updated, state: 0:46:28
2023-05-29 12:21:31.303 INFO (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Message received for device XXX, Topic: Maytronics/XXX/main
2023-05-29 12:21:31.303 DEBUG (Thread-3 (_dispatch)) [custom_components.mydolphin_plus.component.api.aws_iot_websocket] Dynamic payload: {"type": "iotResponse", "description": "temperature", "musn": "XXX", "robotSerial": "XXX", "rTurnOnCount": 7, "saveData": false, "content": {"timeStamp": 1685362944, "temperature": 125, "inWaterStatus": "true", "measuring": false}}

I think when it says "measuring": true, that corresponds to the app saying "Calculating..." for the temp. Not sure how often it samples, but I suspect "measuring": false corresponds to a static reading on the app (usually with a '1M ago' etc)

sh00t2kill commented 1 year ago

So in the app, temp went from 15.1 to 12.5 ?

@elad-bar looks like we just divide the value by 10 to get celsius .. seems a weird way to do it!

@rjcds what did you see in the app when temperature was reported as 1001 -- ie 100.1 deg C ?

rjcds commented 1 year ago

Yes that's right re 15.1 to 12.5

Not sure what the 1001 is all about - it never displayed a number like that

elad-bar commented 1 year ago

Will not be surprised if 1001 means 10.01, will check it later from the app code

elad-bar commented 1 year ago

I also notice that pwsResponse inWaterStatus values are 0/1 while iotResponse values are "true"/"false"

elad-bar commented 11 months ago

@rjcds released the version with the temperature sensor, since I have M600 I couldn't test it, but it is based on the logs you have shared, Can you pls update to v1.0.2 and update if it works for you?

Thanks

rjcds commented 11 months ago

Thanks @elad-bar !

I updated to v1.0.2 (from 0.3.3), and it won't load... does it need the robot to be online the first time it loads ?

Error log:

Logger: homeassistant.loader
Source: custom_components/mydolphin_plus/common/entity_descriptions.py:106 
Integration: MyDolphin Plus ([documentation](https://github.com/sh00t2kill/dolphin-robot), [issues](https://github.com/sh00t2kill/dolphin-robot/issues)) 
First occurred: 3:59:31 PM (1 occurrences) 
Last logged: 3:59:31 PM

Unexpected exception importing component custom_components.mydolphin_plus
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/mydolphin_plus/__init__.py", line 14, in <module>
    from .managers.config_manager import ConfigManager
  File "/config/custom_components/mydolphin_plus/managers/config_manager.py", line 31, in <module>
    from ..common.entity_descriptions import MyDolphinPlusEntityDescription
  File "/config/custom_components/mydolphin_plus/common/entity_descriptions.py", line 106, in <module>
    class MyDolphinPlusLightEntityDescription(
TypeError: multiple bases have instance lay-out conflict
elad-bar commented 11 months ago

Can you pls uninstall the integration and re-install it (restart HA afterwards)? Seems like files are partially loaded (or could it be you didn't restart after update?)

If still not working, pls share debug level log so I'll be able to understand what led for that exception

Thanks

rjcds commented 11 months ago

I've uninstalled (required actually deleting the folder in custom_components before the UI would allow me to uninstall), copied v1.0.2 back into custom_components, and now it won't let me install at all (restarting after each step)

Debug error log:

2023-07-23 19:40:21.140 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.mydolphin_plus.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/mydolphin_plus/__init__.py", line 14, in <module>
from .managers.config_manager import ConfigManager
File "/config/custom_components/mydolphin_plus/managers/config_manager.py", line 31, in <module>
from ..common.entity_descriptions import MyDolphinPlusEntityDescription
File "/config/custom_components/mydolphin_plus/common/entity_descriptions.py", line 106, in <module>
class MyDolphinPlusLightEntityDescription(
TypeError: multiple bases have instance lay-out conflict
2023-07-23 19:40:21.144 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration mydolphin_plus: Exception importing custom_components.mydolphin_plus.config_flow
elad-bar commented 11 months ago

I need debug level log, this is just error level, pls follow instructions in readme.

Thanks

elad-bar commented 11 months ago

any updates?

thanks

rjcds commented 11 months ago

Sorry @elad-bar got it to install after updating HA a few versions; not sure what the issue was.

Haven't had a chance to put the robot in the pool - will try this weekend and let you know

Thanks again - appreciate the hard work !

elad-bar commented 11 months ago

According to the logs it was file that were cached, waiting for update

rjcds commented 11 months ago

Hi @elad-bar , unfortunately the temp is showing as 0.0 (actual temp showing the app is currently ~14 deg C)

untitled text 75.log

elad-bar commented 11 months ago

Can you pls post the diagnostic file?thanks

rjcds commented 11 months ago

Here it is; thanks config_entry-mydolphin_plus-a0637f27d2a2e11530a67542f671da5c.json.txt

DrewXT commented 11 months ago

I'm running the current version of the Integration, and seeing the same as @rjcds - 0 in the water, when the app says about 13 (we're further South in Melbourne, so it's colder) :)

elad-bar commented 11 months ago

Not sure why, but i didn't find the iotResponse section which can indicate an issue, will check it over the weekend

elad-bar commented 10 months ago

@rjcds @DrewXT can you pls check with v1.0.4?

thanks

elad-bar commented 10 months ago

removed v1.0.4 due to a bug, will release v1.0.5 with a fix as soon as it will be reviewed

elad-bar commented 10 months ago

release v1.0.5 with a fix, can you pls check and update? if still not working, please share diagnostic file.

thanks

rjcds commented 10 months ago

Thanks @elad-bar Temperature now working !

elad-bar commented 10 months ago

Great! Thanks for the update, will add to readme for next release

DrewXT commented 10 months ago

Temperature is working beautifully on 1.0.5 - means I can now tell my kids they can't go in because the water is too cold, AND prove it to them !