### About

Home Automation using Domoticz.
Homepage: http://www.domoticz.com
About
Information taken from the Domoticz readme dated 2015-06-09
Domoticz is a Home Automation System that lets you monitor and configure various devices like:
Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more.
Notifications/Alerts can be sent to any mobile device
Multi platform: Linux/Windows/Embedded Devices
This system is designed to operate in various operating systems.
The user-interface is a scalable HTML5 web frontend, and is automatically adapted for Desktop and Mobile Devices.
Compatible with all recent browsers
Some Information
• Hardware: RFXCOM Transciever, Z-Wave, P1 Smart Meter, YouLess Meter, Pulse Counters, 1-Wire, Philips Hue and a lot more....
• Extended logging
• iPhone / Android push notifications
• Auto Learning sensors/switches
• Manual creation of switch codes
• Share / Use external devices
• Designed for simplicity
More information
Website: http://www.domoticz.com
Forum http://www.domoticz.com/forum
Wiki http://www.domoticz.com/wiki
FAQ: http://www.domoticz.com/wiki/FAQ
Domoticz Release History: https://github.com/domoticz/domoticz/blob/master/History.txt
Supported Devices: http://sourceforge.net/p/domoticz/wiki/Supported%20Devices/
Monitoring Domoticz: http://www.domoticz.com/wiki/Monitoring_domoticz
Domoticz Status, Start and Stop
sudo service domoticz.sh status
sudo service domoticz.sh restart
sudo service domoticz.sh start
sudo service domoticz.sh stop
Note
If changes made to the Domoticz script, then the daemon needs to be reloaded.
Change Domoticz Script:
sudo nano /etc/init.d/domoticz.sh
Reload Daemon:
sudo systemctl daemon-reload
Example Domoticz Start Log
2017-08-09 14:40:40.959 Domoticz V3.8263 (c)2012-2017 GizMoCuz
2017-08-09 14:40:40.960 Build Hash: f0b5f29, Date: 2017-08-09 09:14:05
2017-08-09 14:40:40.960 Startup Path: /home/pi/domoticz/
2017-08-09 14:40:41.313 Sunrise: 05:51:00 SunSet:21:01:00
2017-08-09 14:40:41.313 EventSystem: reset all events...
2017-08-09 14:40:41.944 PluginSystem: Started, Python version '3.4.2'.
2017-08-09 14:40:41.979 Active notification Subsystems: (0/12)
2017-08-09 14:40:42.019 WebServer(HTTP) started on address: :: with port 8080
2017-08-09 14:40:42.031 Proxymanager started.
2017-08-09 14:40:42.033 Starting shared server on: :::6144
2017-08-09 14:40:42.034 TCPServer: shared server started...
2017-08-09 14:40:42.034 RxQueue: queue worker started...
2017-08-09 14:40:44.036 (Homepage Counter) Started.
2017-08-09 14:40:44.040 I2C_BMP085/180: Worker started...
2017-08-09 14:40:44.048 Sysfs GPIO: Startup - polling:no interrupts:no debounce:50msec inputs:0 outputs:1
2017-08-09 14:40:44.049 EventSystem: reset all events...
2017-08-09 14:40:44.049 EventSystem: reset all device statuses...
2017-08-09 14:40:44.161 Python EventSystem: Module not found - Trying to initialize.
2017-08-09 14:40:44.163 Python EventSystem: Initalizing event module.
2017-08-09 14:40:44.163 EventSystem: Started
2017-08-09 14:40:44.163 EventSystem: Queue thread started...
2017-08-09 14:40:44.382 PluginSystem: Entering work loop.
2017-08-09 14:40:45.037 MQTT: Connecting to localhost:1883
API's
Domoticz offers a JSON API to call commands.
A great feature. This can be used by B4X. See B4J Example.
http://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s
Blocky Scripts
http://www.domoticz.com/forum/viewtopic.php?f=4&t=31
Examples: http://www.domoticz.com/forum/viewtopic.php?f=15&t=31&start=160&hilit=blocky+examples#
Events
http://www.domoticz.com/wiki/Events
Lua Scripting
http://www.lua.org
Testing Online
http://www.tutorialspoint.com/execute_lua_online.php
Lua Binaries
http://luabinaries.sourceforge.net/download.html
Examples (some are using older versions of Domoticz - more to find in the Domoticz Forum)
http://www.domoticz.com/wiki/LUA_commands
http://www.domoticz.com/wiki/Lua_-_Powermonitor_with_Ping_Using_Telegram
http://www.domoticz.com/wiki/Lua_-_TI_SensorTag
Perl Scripting
http://www.domoticz.com/wiki/Perl_for_Domoticz
Examples: http://www.domoticz.com/wiki/Event_script_examples
XMPP
http://www.domoticz.com/wiki/Installing_XMPP_Notification_System
Developing a Hardware Plugin
http://www.domoticz.com/wiki/Developing_a_hardware_plugin
Domoticz Various Solutions
http://domoticz.com/wiki/Get_Weather_Prediction
http://domoticz.com/wiki/Google_voice
http://domoticz.com/wiki/Google_voice
TV
http://domoticz.com/wiki/Philips_tv
http://domoticz.com/wiki/LG_2012_smart_tv
http://domoticz.com/wiki/Harmony_Hub
MySensors
Create your own low cost wireless sensors- Recommendable Website in terms of build up.
http://www.mysensors.org
Various Projects
Raspberry Pi GPIO 433MHz Remote Sockets:
http://www.domoticz.com/forum/viewtopic.php?f=4&t=7156
More Examples based on Domoticz API Commands
Go here for the B4X Online Parser generating B4X Code
http://www.b4x.com:51042/json/index.html
B4J Examples
See B4J Domoticz Home Automation > B4J Example
See //Information > Various Project Examples Nr 80

Changed: 2018-04-26 17:04, Category: Domoticz Home Automation, File: T6C186M1340.htm, ID: 1340