myStrom WiFi switch

myStrom WiFi switch


Question about myStrom WiFi switch

avatar
YourMama.java

7 years ago

Can I also measure the power consumption without a cloud account? It bothers me that the thing is supposed to communicate constantly via the internet!

Avatar
avatar
ThomasGilg

7 years ago

I've tested it now, nothing works with the app without the internet, you can't even start it, even if there are myStrom switches in the local WLAN.

But as already mentioned, you can access it directly via API. (just enter it in the browser to test it)

The current consumption is also returned with /report:

{
"power": 1463.432861,
"relay": true
}

Where power contains the current consumption, relay whether the switch is ON or OFF.

avatar
eventlighting

7 years ago

Yes, it works if you request it via the API interface.

avatar
ThomasGilg

7 years ago

I assume that measurements are also taken without an internet connection. However, in order to display the power consumption, the switch as well as the smartphone will need a connection to the cloud.

According to my tests, the app does not even start in a WLAN without a switch and without internet (an "internet connection required" screen appears). I therefore strongly suspect that nothing works in a WLAN with a switch but without internet => but to be on the safe side, test it at home this evening.

However, you can also switch without internet and without APP directly via the API (via WLAN, but without internet connection).
See also this link:
https://www.digitec.ch/de...

I use this to switch on my oven timer-controlled via the iOS Workflow APP: (is a scripting/automation app for iOS)
https://workflow.is/workflows...

Roughly speaking, after the timer time, the script simply calls a URL with local IP to communicate with the switch directly and turn it on directly:
http://[IP]/relay?state=1

the official API can be found here:
https://mystrom.ch/wp-content...

avatar
Anonymous

7 years ago

It doesn't work without a MyStrom account and WiFi.