Python Plugin: homematicIP Pluggable Switch and Meter

Python and python framework

Moderator: leecollings

Post Reply
rwblinn
Posts: 76
Joined: Wednesday 10 June 2015 21:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 4
Location: Hamburg (Germany)/Middelburg (NL)
Contact:

Python Plugin: homematicIP Pluggable Switch and Meter

Post by rwblinn »

This Domoticz plugin connects to a homematicIP Pluggable Switch and Meter (HMIP-PSM) to
  • switch the device on and off.
  • measure, in regular intervals, the power (W), energy (Wh), voltage (V), current (mA).
Notes
  • The homematic IP system used is a RaspberryMatic operating system running the HomeMatic Central-Control-Unit (CCU).
  • The CCU has the additional software XML-API CCU Addon installed.
  • Communication between Domoticz and the CCU is via HTTP XML-API requests with HTTP XML response.
  • Read or download here.
Learnings
This is my first attempt (learning) to create a Domoticz plugin for a HomeMatic device connected to a CCU (RaspberryMatic) - not easy must say.
There might be better ways, but so far this solution is working ok ... and will be refined whilst working on next devices (i.e. HMIP-eTRV-2 ...).
Any hints appreciated.

In progress
To add as a function in my Domoticz Home Automation Workbook.
Post Reply