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

MQTT error #778

Open
gaslan1976 opened this issue Mar 8, 2025 · 1 comment
Open

MQTT error #778

gaslan1976 opened this issue Mar 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@gaslan1976
Copy link

gaslan1976 commented Mar 8, 2025

Describe the issue

Hi,

The integration fails to setup with an error "Failed to set up: Check logs". I have tried removing, deleting custom directory, reinstall, unpair mower, re-pair but nothing seems to work. It appears to be a MQTT error but no further information is provided. The mqtt intergration is working ok.

Is there anything else that I can try ?

Thank you!!
George

What version of Home Assistant Core has the issue?

core-2025.3.1

What was the last working version of Home Assistant Core?

No response

What version of the Landroid Cloud integration do you have installed

5.1.2

What type of installation are you running?

Home Assistant OS

Which make and model is the mower used for this integration?

Landroid WR105SI

Diagnostics information (NOT log entries!)

device working

Relevant log entries

-------------------------------------------------------------------
Landroid Cloud integration

Version: 5.1.2
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/mtrab/landroid_cloud/issues
-------------------------------------------------------------------

2025-03-08 16:49:59.499 DEBUG (MainThread) [custom_components.landroid_cloud] (Setup) Opening connection to Worx account for [email protected]
2025-03-08 16:49:59.500 DEBUG (MainThread) [pyworxcloud] Initializing connector...
2025-03-08 16:49:59.500 DEBUG (MainThread) [pyworxcloud] Try getting correct CloudType from WORX
2025-03-08 16:49:59.500 DEBUG (MainThread) [pyworxcloud] Found cloud type <class 'pyworxcloud.clouds.CloudType.WORX'>
2025-03-08 16:49:59.500 DEBUG (MainThread) [pyworxcloud] Initializing the API connector ...
2025-03-08 16:49:59.500 DEBUG (MainThread) [pyworxcloud] Getting logger ...
2025-03-08 16:49:59.501 DEBUG (MainThread) [pyworxcloud] Initializing EventHandler ...
2025-03-08 16:49:59.513 DEBUG (SyncWorker_10) [pyworxcloud] Authenticating [email protected]
2025-03-08 16:50:00.306 DEBUG (SyncWorker_10) [pyworxcloud] Authentication for [email protected] successful
2025-03-08 16:50:00.309 DEBUG (SyncWorker_4) [pyworxcloud] Fetching basic API data
2025-03-08 16:50:00.567 DEBUG (SyncWorker_4) [pyworxcloud.api] Matching models for mower 'Cuttie'
2025-03-08 16:50:00.850 DEBUG (SyncWorker_4) [pyworxcloud.utils.capability] Capability data: {'id': 37959, 'uuid': '96c52f09-15a1-4002-8be6-82348c7c7e5e', 'product_id': 24, 'user_id': 17706, 'serial_number': '30173702170315010047', 'mac_address': 'xxxxxx', 'locked': False, 'firmware_version': '3.52.0+1', 'firmware_auto_upgrade': True, 'sim': None, 'test': False, 'iot_registered': True, 'mqtt_registered': True, 'registered_at': '2017-06-19 00:00:00', 'online': True, 'protocol': 0, 'pending_radio_link_validation': None, 'capabilities': ['follow_border', 'lock', 'mqtt', 'multi_zone', 'multi_zone_percentage', 'ota_upgrade', 'pairing_smartlink', 'rain_delay', 'unrestricted_mowing_time'], 'capabilities_available': [], 'mqtt_endpoint': 'iot.eu-west-1.worxlandroid.com', 'mqtt_topics': {'command_in': 'DB510/F0FE6B414048/commandIn', 'command_out': 'DB510/F0FE6B414048/commandOut'}, 'name': 'Cuttie', 'blade_height_shift': 0, 'push_notifications': True, 'push_notifications_level': 'warning', 'pin_code': None, 'app_settings': None, 'warranty_registered': True, 'purchased_at': '2016-06-05 00:00:00', 'warranty_expires_at': '2018-06-05 00:00:00', 'setup_location': {'latitude': xxxxx, 'longitude': xxxx}, 'city': {'id': 8201845, 'country_id': 300, 'name': 'Gerakas', 'latitude': xxx, 'longitude': xxx, 'created_at': '2018-02-15 22:48:11', 'updated_at': '2018-02-15 22:48:11'}, 'time_zone': 'Europe/Athens', 'lawn_size': None, 'lawn_perimeter': None, 'auto_schedule_settings': None, 'auto_schedule': False, 'improvement': True, 'diagnostic': True, 'distance_covered': 805466, 'mower_work_time': 54743, 'blade_work_time': 50556, 'blade_work_time_reset': 23853, 'blade_work_time_reset_at': '2021-03-27 19:45:25', 'battery_charge_cycles': 46064, 'battery_charge_cycles_reset': 35392, 'battery_charge_cycles_reset_at': '2022-06-02 17:18:20', 'created_at': '2017-04-19 15:05:51', 'updated_at': '2025-03-08 13:51:09', 'last_status': {'timestamp': '2025-03-08 14:40:52', 'payload': {'cfg': {'id': 0, 'sn': '30173702170315010047', 'dt': '08/03/2025', 'tm': '16:40:52', 'lg': 'it', 'cmd': 0, 'sc': {'m': 1, 'd': [['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0]], 'p': 0}, 'mz': [0, 0, 0, 0], 'mzv': [0, 0, 0, 0, 1, 1, 1, 1, 0, 1], 'rd': 0}, 'dat': {'mac': 'xx', 'fw': 3.52, 'ls': 1, 'le': 0, 'bt': {'t': 22.9, 'v': 19.72, 'p': 100, 'nr': 46075, 'c': 0, 'm': 0}, 'dmp': [0.2, 2.5, 352.3], 'st': {'b': 50556, 'd': 805466, 'wt': 54743}, 'rsi': -55, 'lk': 0, 'lz': 5}}}, 'model': {'code': 'WR105SI', 'friendly_name': 'Landroid S500', 'model_year': 2017, 'cutting_width': 180}}
2025-03-08 16:50:00.851 DEBUG (SyncWorker_4) [pyworxcloud.utils.devices] During mapping online: True
2025-03-08 16:50:00.851 DEBUG (SyncWorker_4) [pyworxcloud.utils.devices] After mapping online: True
2025-03-08 16:50:00.852 DEBUG (SyncWorker_4) [pyworxcloud] Mower 'Cuttie' online  update: 'True'
2025-03-08 16:50:00.852 DEBUG (SyncWorker_4) [pyworxcloud] Mower 'Cuttie' data: {'id': 37959, 'uuid': '96c52f09-15a1-4002-8be6-82348c7c7e5e', 'product_id': 24, 'user_id': 17706, 'serial_number': '30173702170315010047', 'mac_address': 'xxxx', 'locked': False, 'firmware_version': '3.52.0+1', 'firmware_auto_upgrade': True, 'sim': None, 'test': False, 'iot_registered': True, 'mqtt_registered': True, 'registered_at': '2017-06-19 00:00:00', 'online': True, 'protocol': 0, 'pending_radio_link_validation': None, 'capabilities': ['follow_border', 'lock', 'mqtt', 'multi_zone', 'multi_zone_percentage', 'ota_upgrade', 'pairing_smartlink', 'rain_delay', 'unrestricted_mowing_time'], 'capabilities_available': [], 'mqtt_endpoint': 'iot.eu-west-1.worxlandroid.com', 'mqtt_topics': {'command_in': 'DB510/F0FE6B414048/commandIn', 'command_out': 'DB510/F0FE6B414048/commandOut'}, 'name': 'Cuttie', 'blade_height_shift': 0, 'push_notifications': True, 'push_notifications_level': 'warning', 'pin_code': None, 'app_settings': None, 'warranty_registered': True, 'purchased_at': '2016-06-05 00:00:00', 'warranty_expires_at': '2018-06-05 00:00:00', 'setup_location': {'latitude': xxx, 'longitude': xxx}, 'city': {'id': 8201845, 'country_id': 300, 'name': 'Gerakas', 'latitude': xxx, 'longitude': xxx, 'created_at': '2018-02-15 22:48:11', 'updated_at': '2018-02-15 22:48:11'}, 'time_zone': 'Europe/Athens', 'lawn_size': None, 'lawn_perimeter': None, 'auto_schedule_settings': None, 'auto_schedule': False, 'improvement': True, 'diagnostic': True, 'distance_covered': 805466, 'mower_work_time': 54743, 'blade_work_time': 50556, 'blade_work_time_reset': 23853, 'blade_work_time_reset_at': '2021-03-27 19:45:25', 'battery_charge_cycles': 46064, 'battery_charge_cycles_reset': 35392, 'battery_charge_cycles_reset_at': '2022-06-02 17:18:20', 'created_at': '2017-04-19 15:05:51', 'updated_at': '2025-03-08 13:51:09', 'last_status': {'timestamp': '2025-03-08 14:40:52', 'payload': {'cfg': {'id': 0, 'sn': '30173702170315010047', 'dt': '08/03/2025', 'tm': '16:40:52', 'lg': 'it', 'cmd': 0, 'sc': {'m': 1, 'd': [['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0]], 'p': 0}, 'mz': [0, 0, 0, 0], 'mzv': [0, 0, 0, 0, 1, 1, 1, 1, 0, 1], 'rd': 0}, 'dat': {'mac': 'xxx', 'fw': 3.52, 'ls': 1, 'le': 0, 'bt': {'t': 22.9, 'v': 19.72, 'p': 100, 'nr': 46075, 'c': 0, 'm': 0}, 'dmp': [0.2, 2.5, 352.3], 'st': {'b': 50556, 'd': 805466, 'wt': 54743}, 'rsi': -55, 'lk': 0, 'lz': 5}}}, 'model': {'code': 'WR105SI', 'friendly_name': 'Landroid S500', 'model_year': 2017, 'cutting_width': 180}}
2025-03-08 16:50:00.852 DEBUG (SyncWorker_4) [pyworxcloud.decode_data] Data decoding for Cuttie started
2025-03-08 16:50:00.852 DEBUG (SyncWorker_4) [pyworxcloud.decode_data] Found raw data: {'cfg': {'id': 0, 'sn': '30173702170315010047', 'dt': '08/03/2025', 'tm': '16:40:52', 'lg': 'it', 'cmd': 0, 'sc': {'m': 1, 'd': [['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0]], 'p': 0}, 'mz': [0, 0, 0, 0], 'mzv': [0, 0, 0, 0, 1, 1, 1, 1, 0, 1], 'rd': 0}, 'dat': {'mac': 'xxxx', 'fw': 3.52, 'ls': 1, 'le': 0, 'bt': {'t': 22.9, 'v': 19.72, 'p': 100, 'nr': 46075, 'c': 0, 'm': 0}, 'dmp': [0.2, 2.5, 352.3], 'st': {'b': 50556, 'd': 805466, 'wt': 54743}, 'rsi': -55, 'lk': 0, 'lz': 5}}
2025-03-08 16:50:00.859 DEBUG (SyncWorker_4) [pyworxcloud.decode_data] Data for Cuttie was decoded
2025-03-08 16:50:00.859 DEBUG (SyncWorker_4) [pyworxcloud.decode_data] Device object:
{'_api': <pyworxcloud.api.LandroidCloudAPI object at 0x7f41509e50>, 'mower': {'id': 37959, 'uuid': '96c52f09-15a1-4002-8be6-82348c7c7e5e', 'product_id': 24, 'user_id': 17706, 'serial_number': '30173702170315010047', 'mac_address': 'xxxx', 'locked': False, 'firmware_version': '3.52.0+1', 'firmware_auto_upgrade': True, 'sim': None, 'test': False, 'iot_registered': True, 'mqtt_registered': True, 'registered_at': datetime.datetime(2017, 6, 19, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'online': True, 'protocol': 0, 'pending_radio_link_validation': None, 'capabilities': ['follow_border', 'lock', 'mqtt', 'multi_zone', 'multi_zone_percentage', 'ota_upgrade', 'pairing_smartlink', 'rain_delay', 'unrestricted_mowing_time'], 'capabilities_available': [], 'mqtt_endpoint': 'iot.eu-west-1.worxlandroid.com', 'mqtt_topics': {'command_in': 'DB510/F0FE6B414048/commandIn', 'command_out': 'DB510/F0FE6B414048/commandOut'}, 'name': 'Cuttie', 'blade_height_shift': 0, 'push_notifications': True, 'push_notifications_level': 'warning', 'pin_code': None, 'app_settings': None, 'warranty_registered': True, 'purchased_at': datetime.datetime(2016, 6, 5, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'warranty_expires_at': datetime.datetime(2018, 6, 5, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'setup_location': {'latitude': xxx, 'longitude': xxxx}, 'city': {'id': 8201845, 'country_id': 300, 'name': 'Gerakas', 'latitude': xxx, 'longitude': xx, 'created_at': datetime.datetime(2018, 2, 15, 22, 48, 11, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'updated_at': datetime.datetime(2018, 2, 15, 22, 48, 11, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens'))}, 'time_zone': 'Europe/Athens', 'lawn_size': None, 'lawn_perimeter': None, 'auto_schedule_settings': None, 'auto_schedule': False, 'improvement': True, 'diagnostic': True, 'distance_covered': 805466, 'mower_work_time': 54743, 'blade_work_time': 50556, 'blade_work_time_reset': 23853, 'blade_work_time_reset_at': datetime.datetime(2021, 3, 27, 19, 45, 25, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'battery_charge_cycles': 46064, 'battery_charge_cycles_reset': 35392, 'battery_charge_cycles_reset_at': datetime.datetime(2022, 6, 2, 17, 18, 20, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'created_at': datetime.datetime(2017, 4, 19, 15, 5, 51, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'updated_at': datetime.datetime(2025, 3, 8, 13, 51, 9, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'last_status': {'timestamp': datetime.datetime(2025, 3, 8, 16, 40, 52, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'payload': {'cfg': {'id': 0, 'sn': '30173702170315010047', 'dt': '08/03/2025', 'tm': '16:40:52', 'lg': 'it', 'cmd': 0, 'sc': {'m': 1, 'd': [['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0]], 'p': 0}, 'mz': [0, 0, 0, 0], 'mzv': [0, 0, 0, 0, 1, 1, 1, 1, 0, 1], 'rd': 0}, 'dat': {'mac': 'xxx', 'fw': 3.52, 'ls': 1, 'le': 0, 'bt': {'t': 22.9, 'v': 19.72, 'p': 100, 'nr': 46075, 'c': 0, 'm': 0}, 'dmp': [0.2, 2.5, 352.3], 'st': {'b': 50556, 'd': 805466, 'wt': 54743}, 'rsi': -55, 'lk': 0, 'lz': 5}}}, 'model': {'code': 'WR105SI', 'friendly_name': 'Landroid S500', 'model_year': 2017, 'cutting_width': 180}}, '_tz': None, 'id': 37959, 'uuid': '96c52f09-15a1-4002-8be6-82348c7c7e5e', 'product_id': 24, 'serial_number': '30173702170315010047', 'mac_address': 'xxx', 'locked': False, 'sim': None, 'mqtt_registered': True, 'registered_at': datetime.datetime(2017, 6, 19, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'online': True, 'protocol': 0, 'capabilities': <pyworxcloud.utils.capability.Capability object at 0x7f427482d0>, 'capabilities_available': [], 'name': 'Cuttie', 'blade_height_shift': 0, 'pin_code': None, 'setup_location': {'latitude': xxx, 'longitude': xx}, 'city': {'id': 8201845, 'country_id': 300, 'name': 'Gerakas', 'latitude': xx, 'longitude': xx, 'created_at': datetime.datetime(2018, 2, 15, 22, 48, 11, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'updated_at': datetime.datetime(2018, 2, 15, 22, 48, 11, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens'))}, 'time_zone': 'Europe/Athens', 'improvement': True, 'diagnostic': True, 'mower_work_time': 54743, 'last_status': {'timestamp': datetime.datetime(2025, 3, 8, 16, 40, 52, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'payload': {'cfg': {'id': 0, 'sn': '30173702170315010047', 'dt': '08/03/2025', 'tm': '16:40:52', 'lg': 'it', 'cmd': 0, 'sc': {'m': 1, 'd': [['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0]], 'p': 0}, 'mz': [0, 0, 0, 0], 'mzv': [0, 0, 0, 0, 1, 1, 1, 1, 0, 1], 'rd': 0}, 'dat': {'mac': 'xx', 'fw': 3.52, 'ls': 1, 'le': 0, 'bt': {'t': 22.9, 'v': 19.72, 'p': 100, 'nr': 46075, 'c': 0, 'm': 0}, 'dmp': [0.2, 2.5, 352.3], 'st': {'b': 50556, 'd': 805466, 'wt': 54743}, 'rsi': -55, 'lk': 0, 'lz': 5}}}, 'model': 'Landroid S500 (WR105SI)', 'battery': {'cycles': {'total': 46075, 'current': 0, 'reset_at': None, 'reset_time': None}, 'temperature': 22.9, 'voltage': 19.72, 'percent': 100, 'charging': False}, 'blades': {'total_on': 50556, 'reset_at': 23853, 'reset_time': datetime.datetime(2021, 3, 27, 19, 45, 25, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'current_on': 26703}, 'error': {'id': 0, 'description': 'no error'}, 'orientation': {'pitch': 0.2, 'roll': 2.5, 'yaw': 352.3}, 'rainsensor': {'delay': 0}, 'status': {'id': 1, 'description': 'home'}, 'zone': {'current': 1, 'index': 5, 'indicies': [0, 0, 0, 0, 1, 1, 1, 1, 0, 1], 'starting_point': [0, 0, 0, 0]}, 'warranty': {'expires_at': datetime.datetime(2018, 6, 5, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'registered': True, 'expired': True}, 'firmware': {'auto_upgrade': True, 'version': '3.52.0+1'}, 'schedules': {'daily_progress': 100, 'next_schedule_start': None, 'time_extension': 0, 'active': True, 'auto_schedule': {'settings': None, 'enabled': False}, 'primary': {'monday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'tuesday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'wednesday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'thursday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'friday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'saturday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'sunday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}}}, 'in_topic': 'DB510/F0FE6B414048/commandIn', 'out_topic': 'DB510/F0FE6B414048/commandOut', '_DeviceHandler__is_decoded': True, '_DeviceHandler__raw_data': {'cfg': {'id': 0, 'sn': '30173702170315010047', 'dt': '08/03/2025', 'tm': '16:40:52', 'lg': 'it', 'cmd': 0, 'sc': {'m': 1, 'd': [['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0], ['00:00', 0, 0]], 'p': 0}, 'mz': [0, 0, 0, 0], 'mzv': [0, 0, 0, 0, 1, 1, 1, 1, 0, 1], 'rd': 0}, 'dat': {'mac': 'xxx', 'fw': 3.52, 'ls': 1, 'le': 0, 'bt': {'t': 22.9, 'v': 19.72, 'p': 100, 'nr': 46075, 'c': 0, 'm': 0}, 'dmp': [0.2, 2.5, 352.3], 'st': {'b': 50556, 'd': 805466, 'wt': 54743}, 'rsi': -55, 'lk': 0, 'lz': 5}}, 'rssi': -55, 'statistics': {'worktime_blades_on': 50556, 'distance': 805466, 'worktime_total': 54743}, 'updated': datetime.datetime(2025, 3, 8, 16, 40, 52, tzinfo=zoneinfo.ZoneInfo(key='Europe/Athens')), 'partymode_enabled': False}
2025-03-08 16:50:00.860 DEBUG (SyncWorker_4) [pyworxcloud.API_Refresh_Scheduler] Scheduling an API refresh at 2025-03-08 16:55:00.860539
2025-03-08 16:50:00.866 DEBUG (SyncWorker_4) [pyworxcloud] Done fetching basic API data
2025-03-08 16:50:00.866 DEBUG (SyncWorker_4) [pyworxcloud] Setting up MQTT handler

Additional information

No response

@gaslan1976 gaslan1976 added the bug Something isn't working label Mar 8, 2025
@MTrab
Copy link
Owner

MTrab commented Mar 9, 2025

Unfortunately I have no clue as to why it stops there.
Best advice is to reboot your Home Assistant hardware and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants