Homey app to connect plugwise circles via Plugwise-2-py. This tool, developed by Seven Watt, can be used as an alternative for Plugwise Source. It runs on all devices that support python, such as your NAS or a raspberry pi.
Homey functionality
Device Card in browser and on mobile app:
Switch on or off
See real-time power usage (Watts, 8 seconds average)
See total power meter of circle (kWh)
Insights:
Switched on or off
Power usage (W, production is negative Watts)
Power meter (kWh)
Trigger Flow Cards:
Switched on or off
Power usage change
Power meter change
Condition Flow Cards:
Switched on or off
Action Flow Cards:
Switch on or off
Toggle on or off
Setting up the PW2PY server
A manual for setting it up on a rpi is provided on Plugwise-2-py.
NEW: A much easier way of installing it on a rpi is by using Docker. See instructions here: Docker Hub
To make it work properly with Homey you must do some base settings within PW2PY:
Enable 10-seconds monitoring: this should be enabled
Enable logging form Circle internal metering buffers: this should be enabled
Log interval: I advise to set this to 60 minutes
Schedules: can be used to switch a circle to powersaving mode automatically
Always on: enable this for circles that must not be switchable from Homey
Production: enable this for circles that measure production (e.g. solar panel)
Setting up Homey
After setting up PW2PY you can configure Homey to connect to it. Go to the app settings screen and enter the IP address of the PW2PY-MQTT server that you are using. Circles can then be added through the Devices tab of Homey. After pairing a circle you can set the polling interval per circle in the device settings (minimum 10 seconds).
Donate:
If you like the app you can show your appreciation by posting it in the forum. If you really like it you can buy me a beer, or coffee, or whatever you like
Possibly. It does support Python and has a USB port according to google. So it should be possible. I can not give you any support on how to install or configure it though. If you are up for a challenge, try it and let us know
Great news for all people that have found that installing Plugwise-2-py is too difficult. I have created a docker image that significantly reduces the time and complexity.
If you know how to start-up a raspberry pi and know how to copy-paste some commands you can probably make it work within 15-30 minutes. If you already know docker, you can make it work in a few minutes.
Additionally to the docker image, I have now also created a full image that can be used to create a SD card for a raspberry pi.
Plugwise has stopped supporting the old circles and the stretch hub. Throwing everything away is not needed. You can give your circles a second life and keep using them with Homey.
If you own (lots of) circles with a Plugwise USB stick, or a stretch (which has the USB stick inside), just follow the instructions of option A or B:
A) Docker image (32bit ARMV7): Docker Hub
B) Raspberry Pi 4 SD card image: rpi4img
Using the PI4 image. I have the circles working and can connect to Homey. Old data was downloaded from the Circles, as shown from the tail/log option. But I don’t seem to find the logs for the data.
Any clue as to look where?