Skip to content

MoritzBuetzer/swisscom_smart_switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Swisscom Smart Switch

To use the Swisscom Smart Switch without the Home App follow these steps.

Installation

  • Plugin Switch and connect to the generic Wifi "Switch-XXXXXX" (last 6 digits from the MAC-Address)

connect

  • Check connection and open 192.168.254.1 in your Browser, you should see the status Page.

browser

  • Open your Terminal and POST the request with your credentials:
curl --location --request POST '192.168.254.1/api/v1/connect' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-raw '{
    "ssid": "<YOUR-WIFI-SSID>",
    "passwd": "<YOUR-WIFI-PASSWORD>"
}'
  • After a few second your Smart Switch is available in your Network.
  • If you set the params ip,dns,gw and mask you can also define a fixed ip

You can test the connection with a simple status request:

curl --location --request GET '<SMART-SWITCH-IP>/api/v1/info'

status

API

The MyStrom API should mostly be available for the Smart Switch (except the sensor and power meter).

https://api.mystrom.ch/#

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published