Je suis d’accord avec ton analyse :
FH ce doit être le Off limit en lui même donc digital fence ca interdit de passer une barrière magnétique
et SH ce doit être shorcut c’est une installation qui permet a la tondeuse de raccourcir son trajet lors des retours a la abse , c’est très pratique : Off Limits ShortCut
Il n’y a que ca sur le module Off limit , perso ca m’a servi a bien delimiter les zones pour qu’elle ne passe pas d’une zone a l’autre toute seule, lorsqu’elle cherche les zones ou retourne a la base le OFF Limit se desactive et elle passe les barrières magnétiques ( qui n’est rien d’autre qu’un bout de plastique aimanté en bande a couper) par contre si elle trouve deux bouts de bandes espacés de 30 Cm sur son fil périphérique elle tourne a 90 ° sur le second et si on l’a bien mis ca lui raccourci le trajet retour
Voici le log avec le Shorcut desactivé :
[2023-07-10 12:39:42][DEBUG] : Received MQTT message:{"cfg":{"id":0,"lg":"en","tm":"12:39:42","dt":"10/07/2023","sc":{"m":1,"distm":0,"ots":{"bc":0,"wtm":0},"p":0,"d":[["12:30",90,1],["12:30",90,0],["12:30",90,0],["12:30",90,1],["00:00",0,0],["12:30",90,0],["12:30",75,0]],"dd":[["18:00",90,0],["18:00",90,0],["18:00",90,0],["18:00",90,0],["00:00",0,0],["18:00",90,0],["18:00",75,0]]},"cmd":0,"mz":[1,71,167,214],"mzv":[0,1,2,0,0,0,0,0,0,0],"mzk":0,"rd":150,"sn":"20213019861000130203","al":{"lvl":0,"t":60},"tq":0,"modules":{"US":{"enabled":1},"DF":{"cut":1,"fh":0}}},"dat":{"mac":"A4E57CEC9ACC","fw":3.30,"fwb":1,"bt":{"t":26.4,"v":19.71,"p":100,"nr":347,"c":0,"m":1},"dmp":[2.8,0.6,99.4],"st":{"b":49190,"d":951640,"wt":52786,"bl":262},"ls":7,"le":0,"lz":7,"rsi":-88,"lk":0,"act":1,"tr":0,"conn":"wifi","rain":{"s":0,"cnt":0},"time":{"r":133,"l":133},"modules":{"US":{"stat":"ok"},"DF":{"stat":"ok"}}}}
[2023-07-10 12:39:42][DEBUG] : MQTT data received '{"cfg":{"id":0,"lg":"en","tm":"12:39:42","dt":"10/07/2023","sc":{"m":1,"distm":0,"ots":{"bc":0,"wtm":0},"p":0,"d":[["12:30",90,1],["12:30",90,0],["12:30",90,0],["12:30",90,1],["00:00",0,0],["12:30",90,0],["12:30",75,0]],"dd":[["18:00",90,0],["18:00",90,0],["18:00",90,0],["18:00",90,0],["00:00",0,0],["18:00",90,0],["18:00",75,0]]},"cmd":0,"mz":[1,71,167,214],"mzv":[0,1,2,0,0,0,0,0,0,0],"mzk":0,"rd":150,"sn":"20213019861000130203","al":{"lvl":0,"t":60},"tq":0,"modules":{"US":{"enabled":1},"DF":{"cut":1,"fh":0}}},"dat":{"mac":"A4E57CEC9ACC","fw":3.30,"fwb":1,"bt":{"t":26.4,"v":19.71,"p":100,"nr":347,"c":0,"m":1},"dmp":[2.8,0.6,99.4],"st":{"b":49190,"d":951640,"wt":52786,"bl":262},"ls":7,"le":0,"lz":7,"rsi":-88,"lk":0,"act":1,"tr":0,"conn":"wifi","rain":{"s":0,"cnt":0},"time":{"r":133,"l":133},"modules":{"US":{"stat":"ok"},"DF":{"stat":"ok"}}}}'
[2023-07-10 12:39:42][DEBUG] : Data decoding for Mouton started
[2023-07-10 12:39:42][DEBUG] : Found JSON decoded data: {'cfg': {'id': 0, 'lg': 'en', 'tm': '12:39:42', 'dt': '10/07/2023', 'sc': {'m': 1, 'distm': 0, 'ots': {'bc': 0, 'wtm': 0}, 'p': 0, 'd': [['12:30', 90, 1], ['12:30', 90, 0], ['12:30', 90, 0], ['12:30', 90, 1], ['00:00', 0, 0], ['12:30', 90, 0], ['12:30', 75, 0]], 'dd': [['18:00', 90, 0], ['18:00', 90, 0], ['18:00', 90, 0], ['18:00', 90, 0], ['00:00', 0, 0], ['18:00', 90, 0], ['18:00', 75, 0]]}, 'cmd': 0, 'mz': [1, 71, 167, 214], 'mzv': [0, 1, 2, 0, 0, 0, 0, 0, 0, 0], 'mzk': 0, 'rd': 150, 'sn': '20213019861000130203', 'al': {'lvl': 0, 't': 60}, 'tq': 0, 'modules': {'US': {'enabled': 1}, 'DF': {'cut': 1, 'fh': 0}}}, 'dat': {'mac': 'A4E57CEC9ACC', 'fw': 3.3, 'fwb': 1, 'bt': {'t': 26.4, 'v': 19.71, 'p': 100, 'nr': 347, 'c': 0, 'm': 1}, 'dmp': [2.8, 0.6, 99.4], 'st': {'b': 49190, 'd': 951640, 'wt': 52786, 'bl': 262}, 'ls': 7, 'le': 0, 'lz': 7, 'rsi': -88, 'lk': 0, 'act': 1, 'tr': 0, 'conn': 'wifi', 'rain': {'s': 0, 'cnt': 0}, 'time': {'r': 133, 'l': 133}, 'modules': {'US': {'stat': 'ok'}, 'DF': {'stat': 'ok'}}}}
[2023-07-10 12:39:42][DEBUG] : Data for Mouton has been decoded
[2023-07-10 12:39:42][DEBUG] : Checking ['name'] against {'name': 'Mouton', 'device': {}}
[2023-07-10 12:39:42][DEBUG] : Checking ['device'] against {'name': 'Mouton', 'device': {}}
[2023-07-10 12:39:42][DEBUG] : on message Mouton, {'id': 641331, 'uuid': '96c5311a-6b1d-4002-b140-4e81a8d47795', 'product_id': 53, 'serial_number': '20213019861000130203', 'mac_address': 'A4E57CEC9ACC', 'name': 'Mouton', 'locked': False, 'sim': None, 'mqtt_registered': True, 'pin_code': None, 'registered_at': '2022-03-10 00:00:00', 'online': True, 'protocol': 0, 'capabilities': <pyworxcloud.utils.capability.Capability object at 0x7f01d32b22b0>, 'capabilities_available': [], 'accessories': {'digital_fence': True, 'ultrasonic': True}, 'purchased_at': '2022-03-10 00:00:00', 'setup_location': {'latitude': 49.19653552588932, 'longitude': 2.026133146138886}, 'city': {'id': 2968534, 'country_id': 250, 'name': 'Villeneuve-les-Sablons', 'latitude': 49.23753, 'longitude': 2.07782, 'created_at': '2018-02-15 22:44:32', 'updated_at': '2018-02-15 22:44:32'}, 'time_zone': 'Europe/Paris', 'improvement': True, 'diagnostic': True, 'mower_work_time': 52759, 'last_status': {'timestamp': '2023-07-10 10:22:45', 'payload': {'cfg': {'id': 49916, 'sn': '20213019861000130203', 'dt': '10/07/2023', 'tm': '12:22:45', 'lg': 'en', 'cmd': 0, 'sc': {'m': 1, 'd': [['12:30', 90, 1], ['12:30', 90, 0], ['12:30', 90, 0], ['12:30', 90, 1], ['00:00', 0, 0], ['12:30', 90, 0], ['12:30', 75, 0]], 'dd': [['18:00', 90, 0], ['18:00', 90, 0], ['18:00', 90, 0], ['18:00', 90, 0], ['00:00', 0, 0], ['18:00', 90, 0], ['18:00', 75, 0]], 'distm': 0, 'p': 0, 'ots': {'wtm': 0, 'bc': 0}}, 'mz': [1, 71, 167, 214], 'mzv': [0, 1, 2, 0, 0, 0, 0, 0, 0, 0], 'mzk': 0, 'rd': 150, 'al': {'lvl': 0, 't': 60}, 'tq': 0, 'modules': {'DF': {'fh': 1, 'cut': 1}, 'US': {'enabled': 1}}}, 'dat': {'mac': 'A4E57CEC9ACC', 'fw': 3.3, 'fwb': 1, 'ls': 1, 'le': 0, 'conn': 'wifi', 'bt': {'t': 26.1, 'v': 20, 'p': 100, 'nr': 347, 'c': 0, 'm': 1}, 'dmp': [4.1, 3.5, 42.9], 'st': {'b': 49183, 'd': 951479, 'wt': 52779, 'bl': 262}, 'act': 1, 'rsi': -78, 'lk': 0, 'tr': 0, 'lz': 7, 'rain': {'s': 0, 'cnt': 0}, 'modules': {'DF': {'stat': 'ok'}, 'US': {'stat': 'ok'}}}}}, 'product': {'code': 'WR155E', 'description': 'Landroid L1500', 'year': 2019, 'cutting_width': 220}, 'battery': {'cycles': {'total': 347, 'current': 0, 'reset_at': None, 'reset_time': None}, 'temperature': 26.4, 'voltage': 19.71, 'percent': 100, 'charging': False}, 'blades': {'total_on': 49190, 'reset_at': 35847, 'reset_time': datetime.datetime(2023, 4, 24, 16, 58, 15, tzinfo=backports.zoneinfo.ZoneInfo(key='Europe/Paris')), 'current_on': 13343}, 'chassis': {}, 'error': {'id': 0, 'description': 'no error'}, 'orientation': {'pitch': 2.8, 'roll': 0.6, 'yaw': 99.4}, 'rainsensor': {'delay': 150, 'triggered': False, 'remaining': 0}, 'status': {'id': 7, 'description': 'mowing'}, 'zone': {'index': 7, 'indicies': [0, 1, 2, 0, 0, 0, 0, 0, 0, 0], 'starting_point': [1, 71, 167, 214], 'current': 0}, 'warranty': {'expires_at': datetime.datetime(2025, 3, 10, 0, 0, tzinfo=backports.zoneinfo.ZoneInfo(key='Europe/Paris')), 'registered': True, 'expired': False}, 'firmware': {'auto_upgrade': True, 'version': '3.30'}, 'schedules': {'daily_progress': 5, 'next_schedule_start': '2023-07-10 18:00:00', 'time_extension': 0, 'active': True, 'auto_schedule': {'settings': {'boost': 0, 'grass_type': 'mixed_species', 'irrigation': False, 'nutrition': None, 'soil_type': 'silt', 'exclusion_scheduler': {'days': [{'slots': [{'reason': 'generic', 'duration': 540, 'start_time': '03:30', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 180, 'start_time': '20:00', 'end_time': '23:00'}], 'exclude_day': False}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}, {'slots': [], 'exclude_day': True}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}], 'exclude_nights': True}}, 'enabled': True}, 'primary': {'monday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': False}, 'tuesday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': False}, 'wednesday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': True}, 'thursday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'friday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': False}, 'saturday': {'start': '12:30', 'end': '13:45', 'duration': 75, 'boundary': False}, 'sunday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': True}}, 'secondary': {'monday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}, 'tuesday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}, 'wednesday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}, 'thursday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'friday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}, 'saturday': {'start': '18:00', 'end': '19:15', 'duration': 75, 'boundary': False}, 'sunday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}}}, 'lawn': {'perimeter': 262, 'size': 673.97198486328}, 'active_modules': {'ultrasonic': True, 'digital_fence': False}, 'in_topic': 'PRM100/A4E57CEC9ACC/commandIn', 'out_topic': 'PRM100/A4E57CEC9ACC/commandOut', 'rssi': -88, 'statistics': {'worktime_blades_on': 49190, 'distance': 951640, 'worktime_total': 52786}, 'updated': '10/07/2023 12:39:42', 'torque': 0, 'partymode_enabled': False}
[2023-07-10 12:39:42][DEBUG] : Send to jeedom : {'uuid': '96c5311a-6b1d-4002-b140-4e81a8d47795', 'data': {'id': 641331, 'uuid': '96c5311a-6b1d-4002-b140-4e81a8d47795', 'product_id': 53, 'serial_number': '20213019861000130203', 'mac_address': 'A4E57CEC9ACC', 'name': 'Mouton', 'locked': False, 'sim': None, 'mqtt_registered': True, 'pin_code': None, 'registered_at': '2022-03-10 00:00:00', 'online': True, 'protocol': 0, 'capabilities': <pyworxcloud.utils.capability.Capability object at 0x7f01d32b22b0>, 'capabilities_available': [], 'accessories': {'digital_fence': True, 'ultrasonic': True}, 'purchased_at': '2022-03-10 00:00:00', 'setup_location': {'latitude': 49.19653552588932, 'longitude': 2.026133146138886}, 'city': {'id': 2968534, 'country_id': 250, 'name': 'Villeneuve-les-Sablons', 'latitude': 49.23753, 'longitude': 2.07782, 'created_at': '2018-02-15 22:44:32', 'updated_at': '2018-02-15 22:44:32'}, 'time_zone': 'Europe/Paris', 'improvement': True, 'diagnostic': True, 'mower_work_time': 52759, 'last_status': {'timestamp': '2023-07-10 10:22:45', 'payload': {'cfg': {'id': 49916, 'sn': '20213019861000130203', 'dt': '10/07/2023', 'tm': '12:22:45', 'lg': 'en', 'cmd': 0, 'sc': {'m': 1, 'd': [['12:30', 90, 1], ['12:30', 90, 0], ['12:30', 90, 0], ['12:30', 90, 1], ['00:00', 0, 0], ['12:30', 90, 0], ['12:30', 75, 0]], 'dd': [['18:00', 90, 0], ['18:00', 90, 0], ['18:00', 90, 0], ['18:00', 90, 0], ['00:00', 0, 0], ['18:00', 90, 0], ['18:00', 75, 0]], 'distm': 0, 'p': 0, 'ots': {'wtm': 0, 'bc': 0}}, 'mz': [1, 71, 167, 214], 'mzv': [0, 1, 2, 0, 0, 0, 0, 0, 0, 0], 'mzk': 0, 'rd': 150, 'al': {'lvl': 0, 't': 60}, 'tq': 0, 'modules': {'DF': {'fh': 1, 'cut': 1}, 'US': {'enabled': 1}}}, 'dat': {'mac': 'A4E57CEC9ACC', 'fw': 3.3, 'fwb': 1, 'ls': 1, 'le': 0, 'conn': 'wifi', 'bt': {'t': 26.1, 'v': 20, 'p': 100, 'nr': 347, 'c': 0, 'm': 1}, 'dmp': [4.1, 3.5, 42.9], 'st': {'b': 49183, 'd': 951479, 'wt': 52779, 'bl': 262}, 'act': 1, 'rsi': -78, 'lk': 0, 'tr': 0, 'lz': 7, 'rain': {'s': 0, 'cnt': 0}, 'modules': {'DF': {'stat': 'ok'}, 'US': {'stat': 'ok'}}}}}, 'product': {'code': 'WR155E', 'description': 'Landroid L1500', 'year': 2019, 'cutting_width': 220}, 'battery': {'cycles': {'total': 347, 'current': 0, 'reset_at': None, 'reset_time': None}, 'temperature': 26.4, 'voltage': 19.71, 'percent': 100, 'charging': False}, 'blades': {'total_on': 49190, 'reset_at': 35847, 'reset_time': datetime.datetime(2023, 4, 24, 16, 58, 15, tzinfo=backports.zoneinfo.ZoneInfo(key='Europe/Paris')), 'current_on': 13343}, 'chassis': {}, 'error': {'id': 0, 'description': 'no error'}, 'orientation': {'pitch': 2.8, 'roll': 0.6, 'yaw': 99.4}, 'rainsensor': {'delay': 150, 'triggered': False, 'remaining': 0}, 'status': {'id': 7, 'description': 'mowing'}, 'zone': {'index': 7, 'indicies': [0, 1, 2, 0, 0, 0, 0, 0, 0, 0], 'starting_point': [1, 71, 167, 214], 'current': 0}, 'warranty': {'expires_at': datetime.datetime(2025, 3, 10, 0, 0, tzinfo=backports.zoneinfo.ZoneInfo(key='Europe/Paris')), 'registered': True, 'expired': False}, 'firmware': {'auto_upgrade': True, 'version': '3.30'}, 'schedules': {'daily_progress': 5, 'next_schedule_start': '2023-07-10 18:00:00', 'time_extension': 0, 'active': True, 'auto_schedule': {'settings': {'boost': 0, 'grass_type': 'mixed_species', 'irrigation': False, 'nutrition': None, 'soil_type': 'silt', 'exclusion_scheduler': {'days': [{'slots': [{'reason': 'generic', 'duration': 540, 'start_time': '03:30', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 180, 'start_time': '20:00', 'end_time': '23:00'}], 'exclude_day': False}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}, {'slots': [], 'exclude_day': True}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}, {'slots': [{'reason': 'generic', 'duration': 750, 'start_time': '00:00', 'end_time': '12:30'}, {'reason': 'generic', 'duration': 195, 'start_time': '20:30', 'end_time': '23:45'}], 'exclude_day': False}], 'exclude_nights': True}}, 'enabled': True}, 'primary': {'monday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': False}, 'tuesday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': False}, 'wednesday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': True}, 'thursday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'friday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': False}, 'saturday': {'start': '12:30', 'end': '13:45', 'duration': 75, 'boundary': False}, 'sunday': {'start': '12:30', 'end': '14:00', 'duration': 90, 'boundary': True}}, 'secondary': {'monday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}, 'tuesday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}, 'wednesday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}, 'thursday': {'start': '00:00', 'end': '00:00', 'duration': 0, 'boundary': False}, 'friday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}, 'saturday': {'start': '18:00', 'end': '19:15', 'duration': 75, 'boundary': False}, 'sunday': {'start': '18:00', 'end': '19:30', 'duration': 90, 'boundary': False}}}, 'lawn': {'perimeter': 262, 'size': 673.97198486328}, 'active_modules': {'ultrasonic': True, 'digital_fence': False}, 'in_topic': 'PRM100/A4E57CEC9ACC/commandIn', 'out_topic': 'PRM100/A4E57CEC9ACC/commandOut', 'rssi': -88, 'statistics': {'worktime_blades_on': 49190, 'distance': 951640, 'worktime_total': 52786}, 'updated': '10/07/2023 12:39:42', 'torque': 0, 'partymode_enabled': False}}