MortenVinding / Robomow-ESP32

ESP32 based bluetooth Robomow controller
9 stars 5 forks source link

Homeassistant configuration /homeassistant/customize.yaml #3

Open JohnnyPicnic opened 6 months ago

JohnnyPicnic commented 6 months ago

Hello, thanks for posting this. I have it running but I'm a little confused on setting it up with Home Assistant. I already have a customize.yaml can I add the contents of your robomow.yaml to my file? Do I edit all the urls with my ip and credentials? url: "http://username>:<password>@<IP/setcmds?250=0"

MortenVinding commented 6 months ago

Hello, thanks for posting this. I have it running but I'm a little confused on setting it up with Home Assistant. I already have a customize.yaml can I add the contents of your robomow.yaml to my file?

Yes I believe you can also add it to customize.yaml I just prefer to have it in a separate file.

Do I edit all the urls with my ip and credentials? url: "http://:@/setcmds?250=0"

Yes. I guess you could put it all in a variable, but I haven’t yet tried it. Was mostly focused on getting it published so it was ready for the season, and we could start collaborating on it 😊

MortenVinding commented 5 months ago

Sorry just realised I made a mistake. It should have been:

=========================================
Copy robomow.yaml to config/packages/robomow.yaml make dir config/packages if non existent

Add this to config/configuration.yaml

homeassistant:  
  packages: !include_dir_named packages

=========================================

I have updated the README now

pergolafabio commented 4 months ago

i see in the packages file, you still use scripts for ble on/off ... bot there are no scripts , i you created rest commands for it? i think those template switches needs to be changed?

pergolafabio commented 4 months ago

nevermind, those scripts are indeed needed, the weekprog on/off for example do more then just the rest commands, they check first if BLE is on/off and stuff like that, i think you forgot to copy/paste them in your package file

i added them now manually

PA28T commented 3 weeks ago

For integration in Home Assistant do you need to install ESPhome first in the ESP32 before uploading the ino/bin file ? Installing overwrites these. Is there a preferred procedure?