Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Turn siren on / off #59

Open
Open
@lundpetersen

Description

@lundpetersen

Hi @broox,

I figured out what commands to issue to turn the siren on the basestation on / off.
Any chance you could add this to your code?

This is an example of the message send when turning the siren on:
{"from":"VHFP9-161-14197254_web","to":"4RD17570A1DC3","action":"set","resource":"siren","transId":"web!b93a567.a795f!1508699879247","publishResponse":true,"properties":{"sirenState":"on","duration":300,"volume":8,"pattern":"alarm"}}

The resource is "siren", and the properties are:
properties":{"sirenState":"on","duration":300,"volume":8,"pattern":"alarm"}

For switching the siren off, the propterties looks like this:
properties":{"sirenState":"off","duration":300,"volume":8,"pattern":"alarm"}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions