Open goosst opened 2 months ago
Can't say you why, I don't remember, but the value is out of range:
value = int(buffer['mowborder']) if 0 < value <= 5: pathplannercfgapi.mowborder = value logger.info(f'Mow parameter mow border changed to: {value}') else: logger.info(f'Wrong range of mow border value')
Maybe it’s just a lack of attention on my part
I changed it in master branch. Should be ok now
Through MQTT, I try to set the properties of the mowing. The scripts I use seem to be working fine, except when setting mowborder to 0.
Setting mowborder to 2 --> 2 borderlines on the map: as expected Setting mowborder to 1 --> 1 borderline on the map: as expected Setting mowborder to 0 --> still keeps the existing amount of mowborder: as expected
Over mqtt the "mow parameters" are still reported as { "pattern": "lines", "width": 0.18, "angle": 38, "distancetoborder": 2, "mowarea": true, "mowborder": 1, "mowexclusion": false, "mowborderccw": true}
I did not run cassandra in debug mode, but it's easy to reproduce if needed.