Hello community,
thank you Kay & Chris for your posts and work!
I’m tryng to install a open hab 2 and I have some questions:
QUESTIONS UNSOLVED:
-
write a rule with Squeezebox on OH2
-
Getting working fibaro multisensor gen5 ZWAVE
QUESTIONS SOLVED:
- Where is documentation
http://docs.openhab.org/features/index.html
- There is an official Openhab android abb?
https://play.google.com/store/apps/details?id=org.openhab.habdroid
- How to get versions of installed software
Start with /usr/share/openahb2/start,sh and write in console:
bundle:list | grep openHAB
Where are all the folders?
service configuration: /etc/default/openhab2
site configuration: /etc/openhab2
log files: /var/log/openhab2
userdata like rrd4j databases: /var/lib/openhab2 and subdirectories
openHAB application: /usr/share/openhab2
- I installed Eclipse Home designer and I point to the folder of configuration. Folder has only README files, is this correct? How can I check that is the correct path ( i did various installation for test). I didn t see the default map.
SOLVED (THX JIM)
The default map (assuming you are talking about the default sitemap) is built in, you won't see it in the folder where designer is. You can create a new map and change the configuration to point to the new map by default if you desire, or you can specify what map to use on the URL string.
By default, OH2 has no files in the configuration folders except for services configurations and configurations of OH1 bindings you may have installed. These should show up in designer.
- I added my network items zwave, some are unknow. I tryed to add the item on Chris webpage but I can t see the button “Add” (I did the login) (https://www.zipato.com/wp-content/uploads/2015/07/wt-rfid-Zipato-Mini-Keypad-RFiD-Z-Wave-User-Manual-v1.4.pdf).
UPDATE
FOUND
go http://www.cd-jackson.com/
register online
send a mail to Chris to enable the add button on his site
How to create a separate log file for zwave
WRITE ON /usr/share/openhab2/runtime/karaf/etc/org.ops4j.pax.logging.cfg
log4j.logger.org.openhab.binding.zwave = DEBUG, zwave
log4j.appender.zwave=org.apache.log4j.RollingFileAppender
log4j.appender.zwave.layout=org.apache.log4j.PatternLayout
log4j.appender.zwave.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n
log4j.appender.zwave.file=${openhab.logdir}/zwave.log
log4j.appender.zwave.append=true
log4j.appender.zwave.maxFileSize=10MB
log4j.appender.zwave.maxBackupIndex=10
log4j.additivity.org.openhab.binding.zwave = false
- How to install HUE Bridge (easy)
UPDATE
FOUND
Install extension Hue and search for thing. Hue bridge will come.
Click the Physical button on the Hue Bridge. If you search another time for thing, you will find the lamps.
- I installed with deb package, how I can update? Simply download the new deb and do dpkg -i?
UPDATE
FOUND
echo 'deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/ /' | sudo tee /etc/apt/sources.list.d/openhab.list
apt-get update
apt-get upgrade
- How I can install a persistence?
UPDATE
FOUND
Via synology package install MariaDB and reset the password.
Via synology package install phpmyadmin and create the database OPENHAB2.
Give privilegies to access from any host to your user (!)
Install persistence MariaDB via Openhab paper UI
On the interface paper UI:Configuration/servicies/Persistence/JDBC.
url=jdbc:mariadb://192.168.192.20:3306/OPENHAB2
user=test
password=test
Restart openhab and the link to the database it work. it create a table "items".
- How I can add units to persistence on Synology?
create file jdbc.persist on \etc\openhab2\persistence
and write into the file (Why is not by default? 1/2 hour to understand...)
-----------------------------------------------------
Strategies
{
// if no strategy is specified for an item entry below, the default list will be used
default = everyChange
}
Items
{
* : strategy = everyChange, restoreOnStartup
}
------------------------------------------------------
And after restart
- Where I found the XML file of the zwave object (always offline and unknown)?
UPDATE
FOUND : find / -name "zwave" --> /var/lib/openhab2/zwave
HABmin will show the device once it's included, but the XML file is only generated once the initialisation is completed which probably doesn't happen at the moment with secure devices. (copy from a post, if you don't see your xml)
- Getting working Philio PST02A ZWAVE
Thank you Chris and Spaceman_spiff
After lot of try and with help, the problem is that some strange ZWAVE ALARM packet
are not carched. To resolve this think, you must set the parameter 7 (Customer function) to 20.
This will use other type of packets.
Motion stay always on, but door contact, temperature and illumination is working.
(to set this, I used domoticz, i tried some time with OH2 but don't working (maybe I don't have patience :) )
- How can I rename things? Is very difficult to understand which is when you have same sensors (multisensor temperature, humidity, presence …) .
UPDATE
FOUND : https://community.openhab.org/t/items-things-and-their-names/11001/18
For now, you have to remove link and recreate (Automatic link doesn't permit to rename).
- I installed my open hab package, but where i find uuid and Secret ( I have lot’s of problem to finding right place on folders ):
UPDATE
FOUND : find / -name "uuid"--> /var/lib/openhab2
After 2 hours, myopenhab went to ONLINE and now it's work
Where is log file for checking?
UPDATE
/var/log/openhab2/openhab.log
Which one is the port of Aeon lab Zwave key on Synology?
Where is log file for checking?
UPDATE
FOUND : ls /dev/ttyA* --> /dev/ttyACM1
- How to install to Synology without Synology package
UPDATE
Install chroot community and install directly on the chrooted system.
to start the service I use
START : /etc/init.d/openhab2 start
STOP : /etc/init.d/openhab2 stop
in some case start doesn't work. I use **/usr/share/openhab2/runtime/karaf/bin/start &** don't forget the &
I would like to create my sitemap to use with UI and android app
UPDATE
go in folder /etc/openhab2/sitemaps and create a file test.sitemap with this example of code:
------------------------
sitemap demo label="Casa" {
Frame label="Temperature" {
Text item=zwave_device_161955dc_node12_sensor_temperature label="Temperatura [%.1f °C]"
}
}
------------------------
The id you will find on PAPER UI then go to
http://192.168.192.20:8080/basicui/app?sitemap=test
or
http://192.168.192.20:8080/classicui/app?sitemap=test
or
access with the android APP
Where I find icons name for my UI?
http://docs.openhab.org/addons/iconsets/classic/readme.html
- How to link a device discovered by Paper UI on my files .rules?
- A zwave device was unknow (because was offline). I wake up the object (with buttons), deleted the object and re-added. Now it work.
Thank you very much to All