Skip to content

kalliope_version

Check if a new version of Kalliope is available.

Input parameters

None

Returned values

Name Description Type sample
current_version The current version of Kalliope you are using string 0.5.1
last_master_version The last available version number string 0.5.3
new_version_available True if a new version is available (current_version < last_master_version) boolean True

Synapses example

Check if a new version of Kalliope is available

- name: "new-version"
  signals:
    - order: "is a new version available"
  neurons:
    - kalliope_version:
        say_template: "{% if new_version_available %} yes {% else %} no {% endif %}"

Give the current version number and the last available version number

- name: "version"
  signals:
    - order: "give me my kalliope version"
  neurons:
    - kalliope_version:
        say_template: "You are using version {{ current_version }}. The last available version is {{ last_master_version }}"