Compartilhar via


myStrom (Independent Publisher)

myStrom is a Swiss company producing smart home devices. With this connector it is possible to control myStrom devices over the REST API.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Tomasz Poszytek
URL https://aka.ms/poszytek
Email tomasz@poszytek.eu
Connector Metadata
Publisher Tomasz Poszytek
Website https://mystrom.ch/
Privacy policy https://mystrom.ch/privacy-policy/
Categories Internet of Things;Lifestyle and Entertainment

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Authentication

Obtain authToken by providing your e-mail and password.

Create webhook

Create webhook

Delete webhook

Delete webhook by device ID

Execute scene

Execute scene by ID

Get device

Get device by ID

Get devices

Get list of all user's devices

Get scenes

Get list of all user's scenes

Get webhook

Get webhook by device ID

Toggle device

Device toggle request is used to change state of a device and set its parameters

Authentication

Obtain authToken by providing your e-mail and password.

Parameters

Name Key Required Type Description
E-mail
email True string

myStrom account e-mail

Password
password True password

myStrom account password

Returns

Name Path Type Description
Authentication token
authToken string

Token to be used to authenticate other requests.

Create webhook

Create webhook

Parameters

Name Key Required Type Description
Device ID
Device ID True string

Device ID

Webhook Definition
webhook True string

Webhook Definition, sample: {"url":"http://example.com","config":{"state": true,"power":true}}

Authentication Token
authToken True password

Authentication Token

Returns

Name Path Type Description
Code
code integer
Message
message string

Delete webhook

Delete webhook by device ID

Parameters

Name Key Required Type Description
Device ID
Device ID True string

Device ID

Authentication Token
authToken True password

Authentication Token

Returns

Name Path Type Description
Code
code integer
Message
message string

Execute scene

Execute scene by ID

Parameters

Name Key Required Type Description
Scene ID
Scene ID True string

Scene ID

Authentication Token
authToken True password

Authentication Token

Returns

Name Path Type Description
Code
code integer
Message
message string

Get device

Get device by ID

Parameters

Name Key Required Type Description
Device ID
Device ID True string

Device ID

Authentication Token
authToken True password

Authentication Token

Returns

Name Path Type Description
Device ID
id string
Name
name string
Power
power float

Current power consumption (W).

Type
type string

Device's type.

State
state string

ON or OFF.

Color
color string

In HSV format.

Temperature
temperature float

Current temperature (C).

Brightness
brightness integer

Get devices

Get list of all user's devices

Parameters

Name Key Required Type Description
Authentication Token
authToken True password

Authentication Token

Returns

Name Path Type Description
devices
devices array of object

devices

Device ID
devices.id string
Name
devices.name string
Power
devices.power float

Current power consumption (W).

Type
devices.type string

Device's type.

State
devices.state string

ON or OFF.

Color
devices.color string

In HSV format.

Temperature
devices.temperature float

Current temperature (C).

Brightness
devices.brightness integer

Get scenes

Get list of all user's scenes

Parameters

Name Key Required Type Description
Authentication Token
authToken True password

Authentication Token

Returns

Name Path Type Description
scenes
scenes array of object

scenes

Scene ID
scenes.id string
Name
scenes.name string

Get webhook

Get webhook by device ID

Parameters

Name Key Required Type Description
Device ID
Device ID True string

Device ID

Authentication Token
authToken True password

Authentication Token

Returns

Toggle device

Device toggle request is used to change state of a device and set its parameters

Parameters

Name Key Required Type Description
Device ID
Device ID True string

Device ID

Color
color string

The color we set the bulb to. HSV is of form <UINT 0..360>;<UINT 0..100>;<UINT 0..100>

Ramp
ramp integer

Transition time from the light's current state to the new state. [ms]

Dim Value
value integer

Dim value for devices that support dim action

Action
action True string

Switch action

Authentication Token
authToken True password

Authentication Token

Returns

Name Path Type Description
Code
code integer
Message
message string
Color
color string

Current color in HSV format.