Skip to content

Problem running command with second button #118

Description

@willcurtis

Hi Guys,

I have added a second button to an already working config file, the 2 buttons perform exactly the same function currently but the second button does not action the command. The logs below show the first button (Blink) working correctly but the second button (Doorbell) displays a message stating "There was an error:"

[2018-07-19T10:37:22.873Z] Blink pressed. Count: 2
[2018-07-19T10:39:48.473Z] Blink pressed. Count: 3
[2018-07-19T10:40:10.313Z] Blink pressed. Count: 4
[2018-07-19T10:40:33.353Z] Doorbell pressed. Count: 5
[2018-07-19T10:40:33.369Z] There was an error:
[2018-07-19T10:40:58.313Z] Doorbell pressed. Count: 6
[2018-07-19T10:40:58.327Z] There was an error:
[2018-07-19T10:41:27.433Z] Doorbell pressed. Count: 7
[2018-07-19T10:41:27.446Z] There was an error:

The config is identical for each button bar the MAC address and very simple.

{"buttons":[
{
"name": "Blink",
"address": "78:E1:03:69:C9:19",
"interface": "eth0",
"timeout": "10000",
"protocol": "udp",
"url": "http://<ip_address>:8934/blink1/pattern/play?pname=RGB"
},
{
"name": "Doorbell",
"address": "6C:56:97:68:24:21",
"interface": "eth0",
"timeout": "10000",
"protocol": "udp",
"url": "http://<ip_address>:8934/blink1/pattern/play?pname=RGB"
}
]}

Any ideas? Is there anywhere to get a more detailed error message than just "There was an error:"

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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