Skip to content

Upgrading smarthomeNG.py V1.1 to V1.2

wvhn edited this page Oct 20, 2016 · 4 revisions

V1.2 comes with a new logging format based on yaml. To support this, we need to install pyyaml:

sudo pip install pyyaml

Upgrading smarthomeNG to version 1.2 is quite easy. Enter the folder /usr/smarthome and type

git pull

As long as you haven't changed any of the original files of V1.1 the upgrade will run without problems. Otherwise you need to commit your changes or revert them before upgrading.

Since the smartvisu plugins have changed in V1.2, etc/plugin.conf needs to be changed:

[visu] class_name = WebSocket class_path = plugins.visu_websocket # ip='0.0.0.0' # port=2424 # tls = no wsproto = 3 # acl = ro

Restart smarthome with

sudo service smarthome restart