ansible/roles/services/templates/mastodon-spacestate-config.py

18 lines
522 B
Python

mqtt_server = 'mqtt.bitlair.nl'
mqtt_port = 1883
spacestate_topic = 'bitlair/state'
open_string = 'open'
closed_string = 'closed'
spacestate_profile_key = 'Spacestate'
open_profile_field = 'Open! @ {}'
closed_profile_field = 'Closed @ {}'
profile_fields = [('Website', 'https://bitlair.nl/')]
access_token = '{{ mastodon_spacestate_access_token }}'
homeserver = 'https://hsnl.social'
update_profilepic_on_spacestate_change = True
spacestate_open_profilepic = './open.png'
spacestate_closed_profilepic = './closed.png'