Skip to content

issues using client.triggerEvent() #7

@aamaliaa

Description

@aamaliaa

I'm having some real issues triggering my own events from the Arduino. When I send the sample input:

client.triggerEvent("my-event", "some data about my event");

I get "Client Error" in the debug console type column with a "Received invalid JSON" msg.

Then, when I try to pass in JSON for my data like so...

  client.triggerEvent("my-event", "{ \"result\": \"1\" }");

I get this msg: "Unsupported event received on socket: my-event".

Any idea what I might be doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions