IoT Device Capability Parser
Project description
Palazzetti SDK - Asset Parser
Library to detect capabilities of Palazzetti's product based on static and dynamic data
Requires Python 3.6 and uses semver.
import palazzetti_sdk_asset_parser as psap
def main():
asset_parser = psap.AssetParser(get_alls={"STATUS":0}, get_stdt={"FAN2TYPE":3})
asset_capabilities = asset_parser.parsed_data
if (asset_capabilities.flag_has_fan): print("Product has main fan")
if (asset_capabilities.value_product_is_on): print("Product is ON!")
else: print("Product is OFF!")
main()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for palazzetti_sdk_asset_parser-1.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2446da7c5aa6c24cce1d196856cf803bfa4507b63559beeeb3b4aaee1765ce61 |
|
MD5 | 36d19c4345e4f0ae31ed8d38b5f48a4c |
|
BLAKE2b-256 | d19c1c8a8c715c4a8a78d7161cbd391f661466a6a94ab0e56017b9a1179e1230 |