Skip to main content

Offical Smappee dev API and MQTT python wrapper

Project description

Official Smappee Python Library

Python Library for the Smappee dev API (v3) and MQTT interface. Used as a wrapper dependency in the Home Assistant integration.

Version

0.2.29

Installation

The recommended way to install is via pip

$ pip3 install pysmappee

Changelog

0.0.1

  • Initial commit

0.0.2

  • Rename smappee directory

0.0.3

  • Sync dev API

0.0.{4, 5, 6}

  • Actuator connection state
  • Platform option
  • Measurement index check
  • Location details source change

0.0.{7, 8, 9}

  • Support comfort plug state change
  • Add locations without active device
  • Disable IO modules
  • Align connection state values

0.1.{0, 1}

  • Refactor api to work with implicit account linking
  • Only keep farm variable in API class

0.1.{2, 3}

  • Only use local MQTT for 20- and 50-series
  • 11-series do have solar production

0.1.4

  • Extend service location class with voltage and reactive bools
  • Extend model mapping

0.1.5

  • Catch expired token as an HTTPError

0.2.{0, .., 9}

  • Implement standalone local API
  • Only create objects if the serialnumber is known
  • Review local API exception handling

0.2.10

  • Phase 2 Local API (support Smappee Pro/Plus)
  • Local API improvements (Switch current status, cache load)

0.2.11

  • Activate IO modules

0.2.{12, 13}

  • Move requirements to setup.py file

0.2.14

  • Exclude test package

0.2.{15, 16, 17}

  • Review consumption and production indices for solar series
  • Fix caching for local polling

0.2.{18, ..., 25}

  • Prepare local Smappee Genius support (local mqtt)
  • Remove smart device support

0.2.{26, 27}

  • Review tracking schedule

0.2.{28, 29}

  • Review MQTT connection

Support

If you find a bug, have any questions about how to use PySmappee or have suggestions for improvements then feel free to file an issue on the GitHub project page https://github.com/smappee/pysmappee.

License

(MIT 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

pysmappee-0.2.29.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

pysmappee-0.2.29-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file pysmappee-0.2.29.tar.gz.

File metadata

  • Download URL: pysmappee-0.2.29.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6

File hashes

Hashes for pysmappee-0.2.29.tar.gz
Algorithm Hash digest
SHA256 2e37b0e20c2d1be03d3c9a29b4396d92b82dcf91523d556ed2e1eb3efcd34988
MD5 97fbb954ac4aa4b988d552cbdee6c24f
BLAKE2b-256 89ea753fc91e4325eee236b213e3241adba91c14959f184372d39be1f3ee27c4

See more details on using hashes here.

File details

Details for the file pysmappee-0.2.29-py3-none-any.whl.

File metadata

  • Download URL: pysmappee-0.2.29-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6

File hashes

Hashes for pysmappee-0.2.29-py3-none-any.whl
Algorithm Hash digest
SHA256 55f4985904e6dbb9c9fa46c083d7ff1e69a5295c0b0629321ee1925a8be77f38
MD5 ecb8b40d054c51b19f9b170ee2ade54d
BLAKE2b-256 f988ed7b6191c2cc3273fddeb10eb163e3390ef15c2410b2cb4cdc37dcb60641

See more details on using hashes here.

Supported by

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