~valhalla/andawardaz

collect data and send it on mqtt
c92cf274 — Elena ``of Valhalla'' Grandi 11 months ago
Mention stage of development in the README
b14b9b98 — Elena ``of Valhalla'' Grandi 11 months ago
Run tests and update readme on the CI
2fa7281e — Elena ``of Valhalla'' Grandi 11 months ago
The readme is in reST

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~valhalla/andawardaz
read/write
git@git.sr.ht:~valhalla/andawardaz

You can also use your local clone with git send-email.

andawardaz - collect data and send it on mqtt

andawardaz collects data from a system such as battery levels or geolocation and sends it to an mqtt server. It is designed to be run from a systemd unit (or other equivalent method) either periodicaly or triggered by events such as a connection to some wifi network.

It was inspired by PresencePublisher for Android, but designed for ease of use on Linux Mobile.

This is still at a very early stage of development, and things may (and will!) break unexpectedly!

Tests

To run the full test suite, add a file called mqtt_config.yaml to the project root with the following contents:

mqtt:
  server: <a working mqtt server>
  topic: <a topic of your choice>

If this file is not found all tests that require an mqtt server will be skipped.

License

Copyright (C) 2024 Elena Grandi

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.