1.1.6 • Published 4 days ago

homebridge-pichler-pkom4 v1.1.6

Weekly downloads
-
License
EUPL
Repository
github
Last release
4 days ago

Homebridge PKOM4 Plugin

verified-by-homebridge Discord

This is an Homebridge plugin to be used with Pichler PKOM4 heatpump devices.

Install Development Dependencies

Using a terminal, navigate to the project folder and run this command to install the development dependencies:

npm install

Build Plugin

TypeScript needs to be compiled into JavaScript before it can run. The following command will compile the contents of your src directory and put the resulting code into the dist folder.

npm run build

Link To Homebridge

Run this command so your global install of Homebridge can discover the plugin in your development environment:

npm link

You can now start Homebridge, use the -D flag so you can see debug log messages in your plugin:

homebridge -D

Watch For Changes and Build Automatically

If you want to have your code compile automatically as you make changes, and restart Homebridge automatically between changes you can run:

npm run watch

This will launch an instance of Homebridge in debug mode which will restart every time you make a change to the source code. It will load the config stored in the default location under ~/.homebridge. You may need to stop other running instances of Homebridge while using this command to prevent conflicts.

Setup Plugin

You can customise plugin behaviour for test or debug purpose.

  • Simulate mode - Simulate PKOM4 behaviour without any actual connected device (used for demos)
  • Read only mode - Report any data from PKOM4 but won't send any command (used for debugging)
  • Modbus logs level - Define the verbosity of modbus debug logs (None/Low/High)

Use Plugin

Use the plugin with HomeBrige on any HomeBridge-compatible asset. It has been tested with MacBook using localhost:8581 & Raspberry Zero using WiFi or Ethernet connectivity over local network homebridge.local:8581.

Once running in HomeBridge bind with your iOS device in Apple Home App. For improved user experience you can display all services as separated items.

The following services will be available depending on your PKOM version:

  • Fan (all models): view current VCM speed or adjust manually. You can turn it off (standby mode).
  • Filter Maintenance (all models): view remaining life for filters and get alert when they need to be changed.
  • Air Conditioner (all models): setup air temperatures for cooling or heating. You can turn off either heating or cooling.
  • Air Purifier (models with dioxide sensor): view air quality or force ventilation until better quality is reached. You can turn it off.
  • Deshumidifier (models with humidity sensor): view humidity level or force ventilation until deshumidified. You can turn it off.
  • Water Header (PKOM Classic): setup water temperature from 35° to 55°. You can reach 65° if you have water resistance installed.

Involved PKOM features:

  • CVM level 1 to 4 based on Fan speed (25/50/75/90%)
  • Automatic mode when air conditioner is auto
  • Winter mode when only heating is enabled
  • Summer mode when only cooling is enabled or AC is disabled
  • Hot Water mode when both fan and AC are disabled
  • Air filter alerts

Available PKOM settings:

  • Setpoint for water heating
  • Setpoint for room heating & cooling
  • Dioxide concentration threshold
  • Max humidity threshold

All other settings and features (incl. Holidays mode) need to be done with Pichler app or device console.

Simulation

If you enable Simulate mode you won't need any hardware. Interact with a simulated PKOM4 Classic with all available options (humidity & dioxide sensors, water resistance, duct battery). Dioxide regulation will trigger automatically when max level is reached. Deshumidifier will trigger automatically when max humidity is reached. In both case ventilation will run at max speed. If min humidity is reached ventilation will run at lower speed. Fan can also run at any speed level (25%, 50%, 75%, 90%) using manual setting - and will revert to default speed after 10 min. Humidity and dioxide will increase slightly every 5 min for simulation purpose.

Water Heater will automatically loose temperature every 5 min for simulation purpose and reheat automatically when min temperature is reached.

Connect to PKOM device

To connect to a PKOM device use a Raspberry Pi (model Zero is fine) and a Modbus/USB converter. You might need to adjust the name of USB driver depending on the chip used by the converter - see /var/lib/homebridge/node_modules/homebridge-pichler-pkom4/scripts/modbus.py using HomeBridge terminal. You can alternatively use a Raspberry Pi HAT with the 40-pin GPIO header.

You can customize Modbus logs level to see modbus communication status from HomeBridge logs.

1.1.6-beta.25

4 days ago

1.1.6

4 days ago

1.1.6-beta.24

4 days ago

1.1.6-beta.23

4 days ago

1.1.6-beta.22

4 days ago

1.1.6-beta.20

4 days ago

1.1.6-beta.19

4 days ago

1.1.6-beta.18

5 days ago

1.1.6-beta.17

5 days ago

1.1.6-beta.16

5 days ago

1.1.6-beta.15

5 days ago

1.1.6-beta.14

5 days ago

1.1.6-beta.13

5 days ago

1.1.6-beta.12

5 days ago

1.1.6-beta.11

5 days ago

1.1.6-beta.10

6 days ago

1.1.6-beta.9

6 days ago

1.1.6-beta.7

6 days ago

1.1.6-beta.8

6 days ago

1.1.6-beta.6

7 days ago

1.1.6-beta.1

9 days ago

1.1.6-beta.2

9 days ago

1.1.6-beta.3

9 days ago

1.1.6-beta.4

9 days ago

1.1.6-beta.5

8 days ago

1.1.6-beta.0

10 days ago

1.1.5

12 days ago

1.1.5-beta.19

12 days ago

1.1.5-beta.18

12 days ago

1.1.5-beta.3

13 days ago

1.1.5-beta.9

13 days ago

1.1.5-beta.8

13 days ago

1.1.5-beta.5

13 days ago

1.1.5-beta.4

13 days ago

1.1.5-beta.6

13 days ago

1.1.5-beta.15

13 days ago

1.1.5-beta.16

13 days ago

1.1.5-beta.17

13 days ago

1.1.5-beta.11

13 days ago

1.1.5-beta.12

13 days ago

1.1.5-beta.13

13 days ago

1.1.5-beta.14

13 days ago

1.1.5-beta.10

13 days ago

1.1.4-beta.16

15 days ago

1.1.4-beta.17

15 days ago

1.1.4-beta.18

15 days ago

1.1.4-beta.19

15 days ago

1.1.4-beta.20

15 days ago

1.1.4-beta.21

15 days ago

1.1.4-beta.22

15 days ago

1.1.4-beta.23

15 days ago

1.1.4-beta.25

15 days ago

1.1.4-beta.26

15 days ago

1.1.4-beta.27

15 days ago

1.1.4-beta.28

15 days ago

1.1.4-beta.29

15 days ago

1.1.5-beta.2

15 days ago

1.1.4-beta.30

15 days ago

1.1.4-beta.31

15 days ago

1.1.4-beta.32

15 days ago

1.1.4-beta.33

15 days ago

1.1.4-beta.34

15 days ago

1.1.4

15 days ago

1.1.4-beta.35

15 days ago

1.1.4-beta.36

15 days ago

1.1.4-beta.37

15 days ago

1.1.4-beta.38

15 days ago

1.1.4-beta.39

15 days ago

1.1.4-beta.40

15 days ago

1.1.4-beta.41

15 days ago

1.1.4-beta.43

15 days ago

1.1.4-beta.44

15 days ago

1.1.4-beta.45

15 days ago

1.1.4-beta.46

15 days ago

1.1.4-beta.47

15 days ago

1.1.4-beta.48

15 days ago

1.1.4-beta.49

15 days ago

1.1.4-beta.11

16 days ago

1.1.4-beta.15

16 days ago

1.1.4-beta.1

16 days ago

1.1.5-beta.1

16 days ago

1.1.3-beta.1

16 days ago

1.1.4-beta.2

16 days ago

1.1.3-beta.0

16 days ago

1.1.4-beta.0

16 days ago

1.1.4-beta.9

16 days ago

1.1.4-beta.7

16 days ago

1.1.3-beta.7

16 days ago

1.1.4-beta.8

16 days ago

1.1.4-beta.5

16 days ago

1.1.4-beta.6

16 days ago

1.1.3-beta.4

16 days ago

1.1.4-beta.3

16 days ago

1.1.3-beta.3

16 days ago

1.1.4-beta.4

16 days ago

1.1.3-beta.13

16 days ago

1.1.3-beta.10

16 days ago

1.1.3

16 days ago

1.1.3-beta.11

16 days ago

1.1.3-beta.12

16 days ago

1.1.1

1 year ago

1.1.2

1 year ago

1.0.38-beta.0

2 years ago

1.0.49-beta.0

2 years ago

1.0.59-beta.0

1 year ago

1.0.57-beta.0

2 years ago

1.0.51-beta.0

2 years ago

1.0.58-beta.0

2 years ago

1.0.53-beta.0

2 years ago

1.0.52-beta.0

2 years ago

1.0.56-beta.0

2 years ago

1.0.55-beta.0

2 years ago

1.0.54-beta.0

2 years ago

1.0.37-beta.0

2 years ago

1.0.36-beta.0

2 years ago

1.0.35-beta.0

2 years ago

1.0.33-beta.0

2 years ago

1.0.31-beta.0

2 years ago

1.0.32-beta.0

2 years ago

1.0.34-beta.0

2 years ago

1.0.50-beta.0

2 years ago

1.1.0

1 year ago

1.0.39-beta.0

2 years ago

1.0.60-beta.0

1 year ago

1.0.61-beta.0

1 year ago

1.0.48-beta.0

2 years ago

1.0.44-beta.0

2 years ago

1.0.47-beta.0

2 years ago

1.0.45-beta.0

2 years ago

1.0.46-beta.0

2 years ago

1.0.42-beta.0

2 years ago

1.0.41-beta.0

2 years ago

1.0.43-beta.0

2 years ago

1.0.40-beta.0

2 years ago

1.0.30-beta.0

2 years ago

1.0.29-beta.0

2 years ago

1.0.28-beta.0

2 years ago

1.0.27-beta.0

2 years ago

1.0.26-beta.0

2 years ago

1.0.25-beta.0

2 years ago

1.0.24-beta.0

2 years ago

1.0.23-beta.0

2 years ago

1.0.22-beta.0

2 years ago

1.0.21-beta.0

2 years ago

1.0.20-beta.0

2 years ago

1.0.19-beta.0

2 years ago

1.0.18-beta.0

2 years ago

1.0.17-beta.0

2 years ago

1.0.16-beta.0

2 years ago

1.0.15-beta.0

2 years ago

1.0.14-beta.0

2 years ago

1.0.13-beta.0

2 years ago

1.0.12-beta.0

2 years ago

1.0.11-beta.0

2 years ago

1.0.10-beta.0

2 years ago

1.0.9-beta.0

2 years ago

1.0.8-beta.0

2 years ago

1.0.7-beta.4.0

2 years ago

1.0.5-beta.2.0

2 years ago

1.0.4-beta.1.0

2 years ago

1.0.3-beta.0

2 years ago

1.0.2-beta.0

2 years ago

1.0.1-beta.0

2 years ago