DPIclimate / DPIclimate/broker

Add a pause feature to the physical/logical mapping

Open
#51 1 comment 0 reactions 1 assignee Claimed by @kebab01 View on GitHub
enhancement
Dominant language
Python
Stars
3
Forks
3
Avg merge
3m
Merged PRs (30d)
1

Description

It would be useful to be able to pause or temporarily disable a mapping, for example when testing an existing device in the field with the expectation that junk data will be transmitted.

Add a boolean enabled column to the mapping table that defaults to true.

Change the webapp physical and logical device pages to allow this column to be changed if there is a current mapping for the device.

Change the logical mapper to respect the value of the column.

Add a new operation to the map command of the CLI to set the value of the column using either the physical or logical device id, show an error if there is no current mapping for that device.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.