Skip to main content

Site Navigation

Your Account

Choose Language

How to change rotation speed?

Hi,

I have my bartendro assembled and it works fine. I would however like to slow down the rotation speed of the dispensers, and I have read that this is possible. I assume they are programmed to rotate at full speed (255) when they are shipped. Now the liquid is "jumping out of the glas" and spilling on the counter of my home bar.

I'm not good at programming, so I need simple instructions on how to do this.

Thanks in advance!

/Bjorn

Answered! View the answer I have this problem too

Is this a good question?

Score 0
Add a comment

1 Answer

Chosen Solution

Hi Bjorn,

You'll need to SSH into your bot.

Then navigate to the right directory by typing the following:

  • cd bartendro/ui/bartendro
  • vi mixer.py

and change the value on line 27 from 255 to 166 or some other number.

You can see the file in question here.

Was this answer helpful?

Score 0

Comments:

Hi,

Thank you for the quick reply. I will try this out and get back to you.

/Bjorn

by

I managed to find out the IP address and to SSH into the RPI. I followed the instructions and found the command line I like to change. My problem is that there is no reaction to my keyboard!?! When i managed to get the marker to the right spot I couldn't change 255 to 166...

Yes I'm new to all this so it is ok to laugh at me ;)

Any pointers?

/Bjorn

by

Great job getting that far! And welcome to the wonder world (or not so wonderful world) of Vi! :)

Check out a cheat sheet like this.

Or watch a YouTube video like this this. Also, you might need to restart for the change to take effect, but maybe not.

by

Thanks for the link to the video. I got it fixed and after reboot the dispensers ran at half speed.

/Bjorn

by

Add a comment

Add your answer

Bjorn will be eternally grateful.
View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 7

All Time: 200