custom componenta home assistant
 
 
Go to file
schizza fb9830cc1e Chill index fix
Fix chill index formula as suggested by @facko79.
Chill index is computed only for temperatures  less then 10°C (50°F). Otherwise real temperature is returned.
2024-06-17 14:37:50 +02:00
.github/workflows Update validate.yml 2024-04-19 13:29:08 +02:00
README Firmware bug README 2024-05-01 11:37:09 +00:00
custom_components/sws12500 Chill index fix 2024-06-17 14:37:50 +02:00
.gitignore SSH, yaml config, scripts gen. 2024-04-30 17:06:08 +02:00
LICENSE Create LICENSE 2024-03-08 20:01:36 +01:00
README.md Firmware bug README 2024-05-01 11:37:09 +00:00
firmware_bug.md Update firmware_bug.md 2024-05-03 21:18:53 +02:00
hacs.json Manifest update. 2024-03-09 18:11:25 +01:00
install_iptables.sh Moved automation to automations.yaml 2024-05-03 10:51:40 +02:00
iptables_redirect.sh Fix permissions in iptables script. 2024-05-03 18:19:21 +02:00

README.md

Integrates your SWS 12500 weather station seamlessly into Home Assistant

This integration will listen for data from your station and passes them to respective sensors. It also provides the ability to push data to Windy API.

This custom component replaces old integration via Node-RED and proxy server.

Requirements

Installation

If your station's firmware is 1.0 or your station is configured as described in this README and you still can not see any data incoming to Home Assistant please read here and here

HACS installation

For installation with HACS, you have to first add a custom repository. You will need to enter the URL of this repository when prompted: https://github.com/schizza/SWS-12500-custom-component.

After adding this repository to HACS:

  • Go to HACS -> Integrations
  • Search for the integration Sencor SWS 12500 Weather station and download the integration.
  • Restart Home Assistant
  • Now go to Integrations and add new integration. Search for Sencor SWS 12500 Weather station and select it.

Manual installation

For manual installation you must have an access to your Home Assistant's /config folder.

  • Clone this repository or download latest release here.

  • Copy the custom_components/sws12500-custom-component folder to your config/custom_components folder in Home Assistant.

  • Restart Home Assistant.

  • Now go to Integrations and add new integration Sencor SWS 12500 Weather station

Configure your station in AP mode

  1. Hold the Wi-Fi button on the back of the station for 6 seconds until the AP will flash on the display.
  2. Select your station from available APs on your computer.
  3. Connect to the station's setup page: http://192.168.1.1 from your browser.
  4. In the third URL section fill in the address to your local Home Assistant installation.
  5. Create new ID and KEY. You can use online tool to generate random keys. (you will need them to configure integation to Home Assistatnt)
  6. Save your configuration. station_setup

Once integration is added to Home Assistant, configuration dialog will ask you for API_ID and API_KEY as you set them in your station:

API_ID: ID in station's config
API_KEY: PASSWORD in station's config

config dialog

If you chanage API ID or API KEY in the station, you have to reconfigure integration to accept data from your station.

  • In Settings -> Devices & services find SWS12500 and click Configure.
  • In dialog box choose Basic - Configure credentials

reconfigure dialog

As soon as the integration is added into Home Assistant it will listen for incoming data from the station and starts to fill sensors as soon as data will first arrive.

Resending data to Windy API

  • First of all you need to create account at Windy stations.

  • Once you have an account created, copy your Windy API Key. windy api key

  • In Settings -> Devices & services find SWS12500 and click Configure.

  • In dialog box choose Windy configuration. config dialog

  • Fill in Key you were provided at Windy stations.

  • Tick Enable checkbox. enable windy

  • You are done.