Home-Automation Configuration

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
SolarFlor
Posts: 261
Joined: 22 Mar 2014 15:23

Home-Automation Configuration

Post by SolarFlor »

Dear all,
I have discovered that in my config.xml I don't have the following directive:

<automation-file>automation/main.js</automation-file>

Below how it appears now

Code: Select all

<config>
    <device>/dev/ttyAMA0</device>
    <config-dir></config-dir>
    <translations-dir></translations-dir>
    <zddx-dir></zddx-dir>
    <port>8083</port>
    <http-root-dir>./htdocs</http-root-dir>
    <automation-dir>automation</automation-dir>
    <shell-script-on-save-xml>sync</shell-script-on-save-xml>
    <shell-script-on-save-http>sync</shell-script-on-save-http>
    <log-file>/var/log/z-way-server.log</log-file>
    <log-level>0</log-level>
    <http-log-file>/var/log/z-way-server.log</http-log-file>
    <http-log-level>0</http-log-level>
</config>
Should I add the above directive as well?

Also I cannot find any config.json in my raspberry.

Maybe the instructions are not update?
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Home-Automation Configuration

Post by pofs »

There's no automation-file parameter anymore, it is now replaced with automation-dir. It only existed before Home Automation UI was introduced.

config.json actually resides in automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json, and not intended for manual editing.
SolarFlor
Posts: 261
Joined: 22 Mar 2014 15:23

Re: Home-Automation Configuration

Post by SolarFlor »

Hi,
how we can personalise our Home-Automation? More specifically:
1) how we can add a photo of our rooms?
2) can we change the icons? I have tried to rename the icon in the widget but without success
Attachments
Presentazione1.jpg
Presentazione1.jpg (30.41 KiB) Viewed 5614 times
Presentazione1.jpg
Presentazione1.jpg (30.41 KiB) Viewed 5614 times
SolarFlor
Posts: 261
Joined: 22 Mar 2014 15:23

Re: Home-Automation Configuration

Post by SolarFlor »

Any help on the above questions?
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: Home-Automation Configuration

Post by PoltoS »

Icons can be changed if you use one of predefined (see here: https://github.com/Z-Wave-Me/home-autom ... Icon-types). Also you can specify an url (starting with http://).

In future we will add icons selector.

Background image is not yet changable, but will be.
Post Reply