Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acquire bulk readings in compact JSON format #41

Open
wants to merge 2 commits into
base: bulk-measurements
Choose a base branch
from

Conversation

amotl
Copy link
Member

@amotl amotl commented Jan 21, 2021

Coming from #39 and building upon #40, this implements the acquisition of bulk readings in compact JSON format as needed by @valentinbarral. The "compact JSON" format is currently defined with timestamps as keys.

An example payload is:

{
  "1611082554": {
    "temperature": 21.42,
    "humidity": 41.55
  },
  "1611082568": {
    "temperature": 42.84,
    "humidity": 83.1
  }
}

Instead of submitting data to the /data.json MQTT topic suffix, this "compact JSON" format is decoded on the /tc.json MQTT topic suffix. "tc.json" in this context means "timestamped compact json".

@amotl amotl changed the base branch from master to bulk-measurements January 21, 2021 02:33
@amotl amotl force-pushed the bulk-measurements branch from 9f1eb9c to 8fe3ae2 Compare July 27, 2021 23:13
@amotl amotl force-pushed the bulk-json-compact branch from d9f19b2 to 327b8cb Compare July 27, 2021 23:14
@amotl amotl force-pushed the bulk-measurements branch from 8fe3ae2 to aa2f7cf Compare July 27, 2021 23:25
@amotl amotl force-pushed the bulk-json-compact branch from 327b8cb to 7da44c4 Compare July 28, 2021 18:38
@amotl amotl force-pushed the bulk-measurements branch from aa2f7cf to 794b714 Compare July 28, 2021 18:40
@amotl amotl force-pushed the bulk-json-compact branch from 7da44c4 to cffbb8a Compare July 28, 2021 18:44
@amotl amotl force-pushed the bulk-measurements branch from 794b714 to a6b252b Compare July 28, 2021 20:01
@amotl amotl force-pushed the bulk-json-compact branch 2 times, most recently from b69e9b6 to a7bf9be Compare July 28, 2021 20:04
@amotl amotl force-pushed the bulk-measurements branch from a6b252b to 16556ff Compare November 28, 2021 02:02
@amotl amotl force-pushed the bulk-json-compact branch 2 times, most recently from 7e9ba03 to 9187d3a Compare November 28, 2021 02:08
@amotl amotl changed the title Add possibility to acquire bulk readings in compact JSON format Acquire bulk readings in compact JSON format Jul 11, 2022
@amotl amotl force-pushed the bulk-measurements branch from 16556ff to 5954952 Compare November 26, 2022 13:14
@amotl amotl force-pushed the bulk-json-compact branch from 9187d3a to 7085ddb Compare November 26, 2022 13:14
@amotl amotl force-pushed the bulk-measurements branch from 5954952 to 510d24c Compare March 4, 2023 11:22
amotl added 2 commits March 4, 2023 12:23
The "compact JSON" format is currently defined with timestamps as keys.

Example:
{
  "1611082554": {
    "temperature": 21.42,
    "humidity": 41.55
  },
  "1611082568": {
    "temperature": 42.84,
    "humidity": 83.1
  }
}
@amotl amotl force-pushed the bulk-json-compact branch from 7085ddb to 386cfad Compare March 4, 2023 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant