Skip to main content

A python wrapper for the Fröling-Connect API

Project description

froeling-connect

PyPI Version PyPI - Python Version Development Status: Beta Build Status License CodeFactor

An unofficial asynchronous Python library for interacting with the proprietary Fröling Connect web API.

⚠️ This library was primarily tested with the T4e Boiler. It may not work reliably with other models.

This project is not affiliated with Fröling Heizkessel- und Behälterbau Ges.m.b.H..
This library is provided "as is" and comes with no warranty. Use at your own risk. The author is not responsible for any damages, including but not limited to equipment damage, fire, water damage, or data loss, resulting from the use of this software.


Features

  • Read notifications from Fröling Connect
  • Retrieve general information about facilities and components
  • Get and set parameters for components (partial support; not all parameters tested)
  • Fully asynchronous API calls

Installation

pip install froeling-connect

Terminology

Name Description Examples
Facility A heating installation. One user can manage multiple facilities. Wood Chip Boiler T4e
Component A facility consists of multiple components. Boiler, Heating circuit
Parameter Components have multiple parameters, including measurements and settings. Boiler State, Water Temp.

Usage

Currently, there is no detailed documentation. You can see a working example here.

A tiny snippet to showcase some features:

import asyncio
from froeling import Froeling

async def main():
    async with Froeling("username", "password") as api:
        facilities = await api.get_facilities()
        for facility in facilities:
            print(facility)

asyncio.run(main())

Notes

  • The API is not public, so breaking changes on Fröling's end may occur without notice.
  • This Project is still in beta; breaking changes are to be expected, though I try to minimize them.
  • Contributions and bug reports are welcome.

Contributing

  1. Fork the repository
  2. Create a feature branch feature/[your-feature], branching off from main
  3. Submit a pull request to main with your improvements

This project uses Hatch.

hatch fmt # Run linter and format code
hatch run dev:mypy src # Run mypy type checks
hatch test # Run tests (-a for all python versions)

License

Apache License


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

froeling_connect-0.2.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

froeling_connect-0.2.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file froeling_connect-0.2.0.tar.gz.

File metadata

  • Download URL: froeling_connect-0.2.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for froeling_connect-0.2.0.tar.gz
Algorithm Hash digest
SHA256 298baf78096d2ade946e134d1c8016ded58a2e5544c6206c99b4af4c0b9ff327
MD5 8132a757bc844218655d3c87750278f3
BLAKE2b-256 9638bfef9c42f830c1463614f94720e4626cb296d9ff11574e86f3bd217ae11b

See more details on using hashes here.

File details

Details for the file froeling_connect-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for froeling_connect-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 066a316d7376801d1d5db9841440915d5cf1e1a9e93e18239c594c449d79bcb7
MD5 64e42c933023fee5a94e626a4687f38c
BLAKE2b-256 47677b849cfb271aa1b319622e3eca509f52552e7f20a61a87117bc73ae5c49d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page