Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

kayjei/adax_wifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This integration does not use your account credentials. To be able to use it, the following paramters need to be extracted from the API calls. The integration has been tested with 1 home and 1 zone only. To use multiple zones, use my dev-branch.

Guide:

  1. Configure an SSL-proxy. In this example mitmproxy has been used in a docker container, but other installation may work as well. Mitmproxy listen on port 8080 for traffic and port 8081 for web-gui. https://medium.com/testvagrant/intercept-ios-android-network-calls-using-mitmproxy-4d3c94831f62
  2. Configure your phone to use the proxy (covered in the same guide)
  3. On your phone, open your Adax wifi app. Make sure you can see traffic in the mitmproxy gui
  4. To be able to use the integration, you must extract from the API calls:
  1. Update the parameter section in the files
  • parameters.py
    • account_id
    • appVersion
    • device
    • os
    • timeOffset
    • timeZone
    • zone_signature (signature from zone URL)
    • heat_signature (signature from heat URL)
    • signature for every temperature between MIN_TEMP and MAX_TEMP and 0 (0 is used for turning heaters off)
  • climate.py (optional)
    • DEFAULT_TEMP (temperature to use when turning heaters on)
  1. Put the folder adax_wifi/ in $CONFIG/custom_components/
  2. Add parameters in your configuration.yaml
 sensor:
   - platform: adax_wifi
 climate:
   - platform: adax_wifi
  1. Add debug logging
 logger:
   logs:
     custom_components.adax_wifi: debug
  1. Restart Home Assistant

About

Home assistant integration for Adax Wifi heaters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages