Homewizard
The home-wizard URLs:
Note that the password is sent plain-text in the url. Base of url is: http://<ip-homewizard>/<wachtwoord>
Contents
Switches and dimmers
Read switchnumbers:
- /swlist
Read sensor status:
- /get-sensors
Switch (e.g. lamp) on or off:
- /sw/<switch-number>/<on|off>
Operate dimmer:
- /sw/dim/<dimmer-number>/<value 0 ... 255>
Scenes
Get list of scenes:
- /gplist
Switch scenes:
- /gp/<scene-number>/<on|off>
Energy monitoring
- /enlist
Energy Link
Graph voor EnergyLink
- http://<homewizard-ip>/<password>/el/graph/<sensor>/<[day/week/month/year]>
Collect buttons for Scene and their status:
- http://<homewizard-ip>/<password>/gp/get/<scene id>
N.B. The HomeWizard iPhone-app includes "/switches", which might be a filter of some kind on the sensors within a scene.
[source]
Other commands
- /get-status : state of all sensors
- /get-sensors : all devices and sensors
- /notifications: all your notifications
- /nf-receivers: notification receivers
- /timers: overview of timers
- /suntimes/today: sunrise & sunset of today
- /wea/get: your location according to HomeWizard
Awareness
Detection-sensors will be registered with an ID starting at 0 and a log will be created. This log will contain a timestamp for each event.
A doorbell will only have "yes" events and magnetic door-sensors or daylight-detectors will have a "yes" and "no" event (e.g. door opened, door closed). Both will be logged, including the event-type.
The logs can be retrieved using:
- /kks/get/<id>/log
Smoke-detectors
To trigger the alarm of the smoke detectors, use:
With id the ID of the smoke-detector.
Temperature sensors
New temperature sensors will be assigned an ID starting at 0. The temperature and humidity will be logged with a timestamp.
Get a list of temperature-sensors:
- /telist
To get the log:
- /te/graph/<id>/day-week-month-year
Resolution
Day For the current day, the resolution is one sample per 15 minutes.
Week 20% of the data will be kept by removing 4 entries out of 5.
Month For each day, the minimum and maximum value will be stored.
Year Minimum and maximum of each month will be stored.
Temperature data
- te - temperature
- hu - humidity
- te+ - maximum temperature
- te+t - timestamp maximum temperature
- te- - minimum temperature
- te-t - timestamp minimum temperature
- hu+ - maximum humidity
- hu+t - timestamp maximum humidity
- hu- - minimum humidity
- hu-t - timestamp minimum humidity
- outside - (new in 2.56 firmware, either yes or no)
Weather sensors
- /wilist wind-data
- /ralist Data from the rain sensor.
Wind data
- ws - Windspeed
- dir - wind direction (name) and degrees
- gu - windgust speed
- wc - wind temperature
- ws+ - maximum windspeed
- ws+t - timestamp of maximum windspeed
- ws- - minimum windspeed
- ws-t - timestamp of minumum windspeed
Units can be selected in the homewizard app. (Edit sensor)
- km/h
- m/s
- Bft
- Kts
Precipitation data
- mm - precipitation in mm (of today?)
- 3h - precipitation in mm of the last 3 hours
Heatlink
The heatlink can be controlled with:
- http://ip/<password>/hl/0/settarget/<temperature>/<minutes>
<minutes> is optional, and indicates the duration of the "setpoint override".
The '0' is the numeric ID of the heatlink. Apparently more than one heatlink is supported.
Used sources
- https://github.com/manuelvanrijn/homewizard-api/blob/master/homewizard-api.rb
- [Homewizards.nl - Data uitlezen]
- The information about the Heatlink is found by Alex Bik, by analyzing TCP-dumps.
- Weather-sensor information was emailed to me by [Michel Jongepier]