Metadata-Version: 2.4
Name: xaal.warp10
Version: 0.2.3
Summary: xAAL logger for warp10
Author-email: Jerome Kerdreux <Jerome.Kerdreux@imt-atlantique.fr>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://recherche.imt-atlantique.fr/xaal/
Project-URL: Documentation, https://gitlab.imt-atlantique.fr/xaal/code/python/-/blob/main/devices/loggers/warp10/README.rst
Project-URL: Source, https://gitlab.imt-atlantique.fr/xaal/code/python/-/tree/main/devices/loggers/warp10
Keywords: xaal,warp10
Classifier: Programming Language :: Python
Classifier: Topic :: Home Automation
Description-Content-Type: text/x-rst
Requires-Dist: xaal.lib
Requires-Dist: urllib3

xaal.warp10
===========
This provide a warp10 (https://www.warp10.io/) logger for xAAL. It will log all xAAL messages to a warp10 instance.


Install & Run
-------------
You can install it using pip :

.. code-block:: bash

    $ pip install xaal.warp10

Then you can run it :

.. code-block:: bash

    $ python -m xaal.warp10
    # or
    $ xaal-pkgrun warp10


Config
------

.. code-block:: ini

    [config]
    url   = http://warp10:8080/api/v0/update
    topic = xaal-lab
    token = nI6H6KKxy3QSTxmfe0_lQyaBI0aV3gR4r5niVAKlaUb32cxIemlU7Vpb8AYhOkgZMz.bi...


Grafana
-------
You can use Grafana to display warp10 series, for example :

.. code-block::

    [
    'xxxxxxxx_key_xxxxx'
    '~xaal-home.thermometer.basic.temperature'
    { 'devid' '2f31c921-01b2-4097-bfae-5753dde2cd42' }
    $startISO $endISO
    ]
    FETCH
    'salon ' RENAME
    { 'devid' ''  '.app' '' } RELABEL
