Whytey / moebot-hass-integration

A HomeAssistant integration for MoeBot (and compatible) TUYA mowers.
8 stars 0 forks source link

Update Zone Mowing settings #16

Open Blindfury116 opened 7 months ago

Blindfury116 commented 7 months ago

Would there be a way to send Zone settings through a script, similar to how you can update zone settings through the SmartLife app?

My lawn is broken in to 3 segments and I like to focus mowing on each segment on specific days. So currently I go in to the smartlife app and set that specific zone to 100% manually. If there was a way to replicate that via a script, I could automate it in HA and it would be a game changer.

Sadly, whilst I was able to follow the instructions to install your integration in HA, messing with scripts is beyond my capability...

Whytey commented 7 months ago

Yes, it is possible but I have yet to decode how to specify the zones. I haven't had much time to play with this lately but hopefully I can take a look over the Christmas period - if you could hold on until then :)

On Thu, Nov 30, 2023 at 8:00 AM Blindfury116 @.***> wrote:

Would there be a way to send Zone settings through a script, similar to how you can update zone settings through the SmartLife app?

My lawn is broken in to 3 segments and I like to focus mowing on each segment on specific days. So currently I go in to the smartlife app and set that specific zone to 100% manually. If there was a way to replicate that via a script, I could automate it in HA and it would be a game changer.

Sadly, whilst I was able to follow the instructions to install your integration in HA, messing with scripts is beyond my capability...

— Reply to this email directly, view it on GitHub https://github.com/Whytey/moebot-hass-integration/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGWATAHDOWYMCUYVN236C3YG6WAHAVCNFSM6AAAAABAAFV5PGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTONBZGU3TSMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Blindfury116 commented 7 months ago

Oh amazing. Yeah I've searched far and wide and cant find anyone else playing with this... I wish there was someone out there tinkering with the firmware on these mowers, they could be improved so much...

PeteRepeat77 commented 6 months ago

As per our chat on reddit, I'm also interested in being able to target zones (or adjust the percentage, as that does similar thing) if or when you find the time. For me it's more about I can target the very front of my lawn (where it can get stolen) at dark hours of our morning but the rest in daylight.

PeteRepeat77 commented 4 months ago

I'm assuming development of zone mowing isn't a focus for now, and development of this integration has taken a back seat in life for a bit?

Whytey commented 4 months ago

Hi @PeteRepeat77, it unfortunately has taken a back seat. I haven't abandoned the project though - I will get back to it soon. My MoeBot is still working for me, so I have an interest in continuing to work on the integration.

Whytey commented 3 months ago

I have been trying to decode the byte string that specifies the zone setting. I have come up blank! I put the call out to other decoders on Reddit, in case you're a budding decoder...

https://www.reddit.com/r/Decoders/comments/1bc1a8c/decoding_a_byte_string/

PeteRepeat77 commented 3 months ago

Not likely to help, but how do you have values of all the percentages added together not equal 100 when all zones are summed, other than the last one?

Whytey commented 3 months ago

I now have proof of concept code to set and get zones, thanks to help from the linked reddit post. I will try and roll this in to the integration in the very near future.

PeteRepeat77 commented 3 months ago

sounds good. I was tracking that reddit post and saw the good breakthrough

Blindfury116 commented 3 months ago

Oh awesome! Yeah that was me on Reddit, helping with chatgpt.