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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50622e87c9d0d67f0282e3f0d85a6d7220c4c7bb0a831b2db436ab45aae4aa92 |
|
MD5 | 9576760fc4f87e573071e97a20af1519 |
|
BLAKE2b-256 | c379c474f3651ac1967e52b9b3350393ba592963143505ac0e5fd51ca53466a9 |