Because Universal Robots do not (currently) support NTP or any other time-sync system despite being based on Debian, this project exists.
All it does is ssh into the robot and set the time based on the host PC, and adds a corresponding note of the action to the UR message log.
A PC that is synced to a timeserver (or not, I guess? You do you) and has network access to one or more Universal Robots.
- Run
pyurtimehack.py
- Follow the prompts to add one or more robots to the config file
- Set up a scheduled task on the host to run the script on a regular basis
- Done!
- Create a config file by hand in your local app config directory (
AppData
on Windows, probably.config
on Linux):
[DEFAULT]
user = root
password = easybot
dashboard_port = 29999
ssh_port = 22
urtz = Europe/Copenhagen
localtz = <YOUR LOCAL IANA TIMEZONE>
[<A ROBOT ENTRY>]
address = <ROBOT IP ADDRESS>
- Follow (#the-easy-way)