porech / roborock-oucher

An utility to make the Roborock / Xiaomi MI Vacuum Cleaner scream "Ouch!" (or everything else) everytime it bumps into something.
MIT License
170 stars 10 forks source link

-ash: service: not found #19

Closed BeardyBrah closed 1 year ago

BeardyBrah commented 2 years ago

G'day from Australia, Not sure if a genuine issue, or user error.

I've used WinSCP to transfer all the files across to the directories as in the readme, swapping over to PuTTY and each time I'm trying to write 'service oucher stop' or 'service oucher restart' I get the message '-ash: oucher: not found'.

same is true for another command, 'chmod +x /etc/init/S12oucher' returns 'chmod: cannot access '/etc/init/S12oucher': No such file or directory'

up to this stage I havn't been able to get oucher to work at all :( I'm pretty new to PuTTY & WinSCP so its probobly a user-error on my end, but would love any assistance!

ale-rinaldi commented 2 years ago

Hi @BeardyBrah , are you sure you copied all the files in the right place? From the errors, it seems that the oucher file is not in /usr/local/bin (or you didn't run chmod +x /usr/local/bin/oucher), and that S12oucher is not in /etc/init. Can you please double-check that the files are actually there? What robot do you have, by the way?

BeardyBrah commented 2 years ago

Thanks so much for your reply. Ok I've double checked as per your instructions.

I've got /usr/local/bin/oucher with rwxr-xr-x rights added in WinSCP. Attempted the command chmod +x /usr/local/bin/oucher in PuTTY and it seems to have taken.. strangely. no erros this time. I've did indeed have S12oucher in /etc/init (now removed) I've just sent the reboot command and will test.

The robot I'm using is the Roborock S5 (non-max version) with Valetudo 002034

edit: still no oucher after the reboot :(

BeardyBrah commented 2 years ago

Hey @ale-rinaldi, might you even be up for a chat on discord? I could repay the favour by perhaps writing up some noob-proof documentation along with providing a "GLaDOS" themed "ouch pack" that I'm planning on using :) ?

ale-rinaldi commented 2 years ago

@BeardyBrah it's a deal :) AleRinaldi#6609