Skip to content

IO_HTTP: Support creating group data #97

Closed
@VictorioBerra

Description

@VictorioBerra

Hello,

Can we add support for this API? https://io.adafruit.com/api/docs/#create-group-data

Usage would be:

weather_payload = {
    'feeds': [ 
      { 'key': "temp-feed", 'value': 1 },
      { 'key': "humid-feed", 'value': 2 } 
    ] 
}

adafruit_io_http_client.send_data("s3-1-battery", weather_payload, is_group = True)

Right now, the samples only show using MQTT to publish to a group but they just call publish twice, the group key is not even used https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO/blob/main/examples/adafruit_io_mqtt/adafruit_io_groups.py#L108

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions