Skip to content

Commit f87c8f2

Browse files
committed
Merge pull request #7 from domoticz/master
merge
2 parents b5828fa + bf78253 commit f87c8f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1310
-690
lines changed

.travis.yml

Lines changed: 79 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -4,62 +4,95 @@ branches:
44

55
language: cpp
66

7-
compiler:
8-
- gcc
9-
10-
os:
11-
- linux
12-
- osx
13-
147
cache:
158
- apt
169

17-
addons:
18-
apt:
19-
sources:
20-
- ubuntu-toolchain-r-test
21-
- boost-latest
22-
packages:
23-
- gcc-4.9
24-
- g++-4.9
25-
- libboost1.55-all-dev
26-
- cmake
27-
- libsqlite3-dev
28-
- curl
29-
- libcurl4-openssl-dev
30-
- libusb-dev
31-
- zlib1g-dev
32-
- libssl-dev
33-
- libudev-dev
34-
- git
35-
on:
36-
os: linux
37-
3810
update-alternatives:
3911
- install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
4012
- install /usr/bin/g++ g++ /usr/bin/g++-4.9 50
4113

4214
sources:
4315
- trusty
4416

17+
18+
# Domoticz ftp server account & encrypted password
19+
env:
20+
global:
21+
- "FTP_HOST=62.84.241.110"
22+
- "FTP_USER=uploads@domoticz.com"
23+
24+
# What to install before the build
4525
before_install:
46-
- if [ ${TRAVIS_OS_NAME} == "linux" ]; then git clone https://github.com/OpenZWave/open-zwave.git; fi
47-
- if [ ${TRAVIS_OS_NAME} == "linux" ]; then ln -s open-zwave open-zwave-read-only; fi
48-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then brew install cmake; fi
49-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then brew install boost || true; fi
50-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then brew install libusb; fi
51-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then brew install libusb-compat; fi
52-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then brew install zlib || true; fi
53-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then brew install openssl; fi
54-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then brew link openssl --force; fi
55-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then export LDFLAGS=-L/usr/local/opt/openssl/lib; fi
56-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then export CPPFLAGS=-I/usr/local/opt/openssl/include; fi
26+
# Domoticz needs the full history to be able to calculate the version string
5727
- git fetch --unshallow
28+
# OpenZWave
29+
- git clone https://github.com/OpenZWave/open-zwave.git
30+
- ln -s open-zwave open-zwave-read-only
31+
32+
33+
# Build matrix definition
34+
# * Two builds
35+
# 1. Linux amd64
36+
# 2. Apple OSX
37+
matrix:
38+
include:
39+
# Linux amd64
40+
- os: linux
41+
compiler:
42+
- gcc
43+
env: TARGET_ARCHITECTURE=amd64
44+
addons:
45+
apt:
46+
sources:
47+
- ubuntu-toolchain-r-test
48+
- boost-latest
49+
packages:
50+
- gcc-4.9
51+
- g++-4.9
52+
- libboost1.55-all-dev
53+
- cmake
54+
- libsqlite3-dev
55+
- curl
56+
- libcurl4-openssl-dev
57+
- libusb-dev
58+
- zlib1g-dev
59+
- libssl-dev
60+
- libudev-dev
61+
- git
62+
script:
63+
- (cd open-zwave-read-only; make)
64+
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_PATH=open-zwave-read-only
65+
- make
66+
before_deploy:
67+
- tar czf domoticz_${TRAVIS_OS_NAME}_x86_64_latest.tgz domoticz History.txt License.txt domoticz.sh server_cert.pem updatebeta updaterelease --exclude .svn www/ scripts/ Config/
68+
# Apple OSX
69+
- os: osx
70+
compiler:
71+
- gcc
72+
env: TARGET_ARCHITECTURE=amd64
73+
install:
74+
- brew install cmake
75+
- brew install boost|| true
76+
- brew install libusb
77+
- brew install libusb-compat
78+
- brew install zlib || true
79+
- brew install openssl
80+
- brew link openssl --force
81+
- export LDFLAGS=-L/usr/local/opt/openssl/lib
82+
- export CPPFLAGS=-I/usr/local/opt/openssl/include
83+
script:
84+
- cmake -DCMAKE_BUILD_TYPE=Release
85+
- make
86+
before_deploy:
87+
- tar czf domoticz_${TRAVIS_OS_NAME}_x86_64_latest.tgz domoticz History.txt License.txt domoticz.sh server_cert.pem updatebeta updaterelease
88+
5889

59-
script:
60-
- if [ ${TRAVIS_OS_NAME} == "linux" ]; then (cd open-zwave-read-only; make); fi
61-
- if [ ${TRAVIS_OS_NAME} == "linux" ]; then cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_PATH=open-zwave-read-only; fi
62-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then cmake -DCMAKE_BUILD_TYPE=Release; fi
63-
- make
64-
- if [ ${TRAVIS_OS_NAME} == "linux" ]; then tar czf domoticz_${TRAVIS_OS_NAME}_x86_64.tgz domoticz History.txt License.txt domoticz.sh server_cert.pem updatebeta updaterelease --exclude .svn www/ scripts/ Config/; fi
65-
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then tar czf domoticz_${TRAVIS_OS_NAME}_x86_64.tgz domoticz History.txt License.txt domoticz.sh server_cert.pem updatebeta updaterelease; fi
90+
# What to do with the build artifacts
91+
# - Upload to the Domoticz file server
92+
deploy:
93+
skip_cleanup: true
94+
provider: script
95+
script: echo curl --ftp-ssl -T domoticz_${TRAVIS_OS_NAME}_x86_64_latest.tgz -k -u "$FTP_USER:$FTP_PASSWORD" "ftp://$FTP_HOST"
96+
on:
97+
branch: master
98+
repo: domoticz/domoticz

History.txt

Lines changed: 103 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,127 @@
11
Version 2.xxx (xxxx 2015)
2-
- Implemented: Notifications, new option "Ignore Interval"
3-
- Improved: Notifications
4-
- Implemented: MySensors added support for S_SMOKE/S_DIMMER
5-
- Fixed: Tooltip bug for the Dusk sensor in the Lights tab
2+
- Implemented "Stop" state in blockly in switch states
3+
- Implemented: Ability to parse data coming from an HTTP POST data with a lua script (seb)
4+
- Implemented: Added Logitech Media Server support (thanks to EddyK69!!)
5+
- Implemented: Added pushbullet notifications (thanks to tofra!!)
6+
- Implemented: Arabic translation (big thanks to Mo7sen!!)
7+
- Implemented: Blockly, Option to compare sensor value against another sensor value
8+
- Implemented: Blockly, Split Utility Sensors into multiple groups
69
- Implemented: Blockly/Lua SendSMS
7-
- Fixed: Battery low (typo) notification
8-
- Changed: EventSystem, not adding sensors from disable hardware
10+
- Implemented: Catch SIGHUP signal for log rotation (LarsForum)
11+
- Implemented: Danish translation (big thanks to jokkemokke!!)
12+
- Implemented: Devices Tab, now displaying scenes/groups
13+
- Implemented: Dummy Hardware, Ampere Single (single ampere value, other ampere sensor expects 3 values)
14+
- Implemented: Hebrew translation (big thanks to mickeyv!!)
915
- Implemented: HTTP Data push, new types for Type/SubType/Hostname/Device Name
1016
- Implemented: HTTPS support for On/Off actions
17+
- Implemented: Icon Uploader, now possible to edit name and description
18+
- Implemented: Icon Uploader, now possible to upload zip files with multiple folders
19+
- Implemented: Icons for RFXMeter Gas/Water
20+
- Implemented: Kodi Hardware device (Big thanks to dnpwwo!)
21+
- Implemented: Logwindow, Added option to filter text
22+
- Implemented: Mochad secure support (thanks to Simon)
23+
- Implemented: MySensors added support for S_SCENE_CONTROLLER, V_SCENE_ON, V_SCENE_OFF
24+
- Implemented: MySensors added support for S_SMOKE/S_DIMMER
25+
- Implemented: MySensors added support for V_IMPEDANCE
26+
- Implemented: MySensors, now using ACK for node commands (and fails if no ACK is received)
27+
- Implemented: MySensors, renamed V_LIGHT to V_STATUS and V_DIMMER to V_PERCENTAGE to be compliant to the 1.5 API
28+
- Implemented: MySensors, some more default naming of sensors if they where presented with a name
29+
- Implemented: MySensors, V_IR_RECEIVE and V_IR_SEND
30+
- Implemented: MySensors, V_TEXT, V_HVAC_SETPOINT_COOL and V_HVAC_SETPOINT_HEAT
31+
- Implemented: Netatmo Weather Station (Big thanks to Sebastien!)
32+
- Implemented: Notifications, new option "Ignore Interval"
33+
- Implemented: OpenZWave, added Ultraviolet sensor type support
34+
- Implemented: OpenZWave, Include/Exclude progress dialog-
35+
- Implemented: OpenZWave, multi instance association support (thanks to xs4!!!)
36+
- Implemented: Option for Dummy device to create Soil Moisture,Leaf Wetness, RGB Switch
37+
- Implemented: Option how to display the kWh day graph (Power or (k)W/h)
38+
- Implemented: Option to add a log message via the json api (see wiki)
39+
- Implemented: Option to enter a description for each sensor/switch/scene
40+
- Implemented: Option to flash sensors when an update is received (enable in the settings page)
41+
- Implemented: Option to hide scenes/groups (placing a $ in front of the name)
42+
- Implemented: Option to rename unused devices
43+
- Implemented: Option to replace an Energy device
1144
- Implemented: Rain Report
45+
- Implemented: Revolt, added support for Voltage/PowerFactor/Frequency
46+
- Implemented: RFLink SmokeDetector support
47+
- Implemented: RFLink: Added various sensors/devices (stuntteam)
48+
- Implemented: RFXCom (Serial) option to update the firmware via the web interface
49+
- Implemented: RFXtrx ASA protocol implemented
50+
- Implemented: RGB Popup to select color/on/off
51+
- Implemented: Satel Integra hardware support (big thanks to Fantom)
52+
- Implemented: Scene codes now handles again seperate status (on/off)
53+
- Implemented: Scene, option for 'stop'
54+
- Implemented: Serbian language support, big thanks to siklosi!!
55+
- Implemented: Settings/Backup/Restore, when performing a database backup/restore the database is cleaned
56+
- Implemented: Settings/Log, option to clear all short-log data
57+
- Implemented: Slovenian language support, big thanks to eden86!!
58+
- Implemented: smartwares thermostat, Logging of Day/Night switch
59+
- Implemented: smartwares thermostat, Logging of setpoint value
60+
- Implemented: smartwares thermostat, Setpoint popup
61+
- Implemented: smartwares thermostat, Setpoint, now always logged
62+
- Implemented: Support for browsers that do not support gzip compression (thanks to ash77)
63+
- Implemented: Support for multiple scene/group codes
64+
- Implemented: Support for the Plugwise Anna Thermostat (NEM)
1265
- Implemented: Temperature Report
13-
- Fixed: 1-Wire negative values
14-
- Implemented: Netatmo Weather Station (Big thanks to Sebastien!)
15-
- Changed: json "udevice" Perecentage sensor, you might get new ID's, now also creates an event for blockly/lua
1666
- Implemented: Text/Alert Sensor logging (when called from json api)
17-
- Implemented: Support for browsers that do not support gzip compression (thanks to ash77)
67+
- Implemented: Thermosmart Thermostat
68+
- Implemented: Web Server can now be bind to specific address (-wwwbind) (seb)
1869
- Implemented: When clicking on the log button, browser page now always go to the top
19-
- Implemented "Stop" state in blockly in switch states
20-
- Implemented: Kodi Hardware device (Big thanks to dnpwwo!)
21-
- Fixed: Devices Tab, set device to unused
2270
- Changed: Air Quality chart will now not begin at 0
23-
- Implemented: Mochad secure support (thanks to Simon)
24-
- Fixed: HTTP Push table localization (thanks to cgaudry)
25-
- Changed: OpenZWave, when receiving a timeout notification, do not flag node as 'dead', only log the message
26-
- Fixed: Davis Logger
27-
- Changed: Short Log cleanup method
28-
- Implemented: Option to flash sensors when an update is received (enable in the settings page)
29-
- Changed: Lowered HTTP connection timeout to 10 seconds
30-
- Fixed: Post command handling
71+
- Changed: All Energy sensors have been transfered to General kWh sensors (more accurate)
3172
- Changed: BMP085, when forecast is unknown, its calculated directly based on the pressure
32-
- Implemented: Option to rename unused devices
33-
- Implemented: RFXCom (Serial) option to update the firmware via the web interface
34-
- Implemented: OpenZWave, multi instance association support (thanks to xs4!!!)
35-
- Fixed: OpenZWave with large homeid values
36-
- Fixed: pushover sound notification (thanks to Eduard)
37-
- Implemented: Danish translation (big thanks to jokkemokke!!)
38-
- Add Kodi media command interface to web server
39-
- Implemented: RFLink SmokeDetector support
73+
- Changed: disabled timeout for smartwares thermostat (no incomming data from device)
74+
- Changed: EnOcean rocker inclusion (thanks to zorgluf!)
75+
- Changed: EventSystem, not adding sensors from disable hardware
76+
- Changed: forced fixed icon sizes on some locations (in case of to big user defined icons)
77+
- Changed: Internal HTML/JS changes to support all types of characters in the sensors name
78+
- Changed: json "udevice" Perecentage sensor, you might get new ID's, now also creates an event for blockly/lua
4079
- Changed: KMTronic LAN, now using actual On/Off commands instead of 'Toggle'
41-
- Implemented: OpenZWave, added Ultraviolet sensor type support
42-
- Implemented: Revolt, added support for Voltage/PowerFactor/Frequency
43-
- Fixed: Revolt, Enery Graph
44-
- Fixed: EventSystem, SIGSEGV (cgaudry)
45-
- Fixed: EventSystem, splitresults has missing values because m_devicestates is modified while using an iterator on the map (cgaudry)
46-
- Fixed: EventSystem, _tEventItem.Conditions should not be modified while reading m_events (cgaudry)
47-
- Fixed: EventSystem, asctime is not thread-safe (replaced with strftime) (cgaudry)
80+
- Changed: Lowered HTTP connection timeout to 10 seconds
81+
- Changed: Main, all fatal signals where not handled (e.g. SIGILL, SIGABRT,SIGFPE) (cgaudry)
82+
- Changed: Main, application should be stopped after fatal signal receiving (cgaudry)
4883
- Changed: Main, dumptrace is not logged because the stderr handle is closed on startup (cgaudry)
4984
- Changed: Main, signal code received is not logged (cgaudry)
50-
- Changed: Main, application should be stopped after fatal signal receiving (cgaudry)
51-
- Changed: Main, all fatal signals where not handled (e.g. SIGILL, SIGABRT,SIGFPE) (cgaudry)
52-
- Changed: SQLHelper, spelling mistake (cgaudry)
85+
- Changed: migrated to github
86+
- Changed: MySensors, rebuild
87+
- Changed: non-windows systems, scripts can now use a relative patch to the scripts folder if script does not start with a '/'
88+
- Changed: OpenZWave, Alarm/Notification mappings update (xs4)
89+
- Changed: OpenZWave, Fibaro Wall Plug, now using multisensor for power reading
90+
- Changed: OpenZWave, when receiving a timeout notification, do not flag node as 'dead', only log the message
5391
- Changed: RFXCom, fixed confusing logs (cgaudry)
54-
- Fixed: Security Panel delay, now again possible to set delay to 0 (directly)
55-
- Implemented: Support for the Plugwise Anna Thermostat (NEM)
56-
- Fixed: Temperatures not updated on UI without refreshing browser or changing tabs
57-
- Fixed: Email Notifications where always enabled after restart
92+
- Changed: Short Log cleanup method
5893
- Changed: SQL Queries, now using safe_query to escape all strings (big thanks to Thibaut!)
59-
- Changed: Internal HTML/JS changes to support all types of characters in the sensors name
60-
- Changed: disabled timeout for smartwares thermostat (no incomming data from device)
61-
- Implemented: smartwares thermostat, Setpoint popup
62-
- Implemented: smartwares thermostat, Setpoint, now always logged
63-
- Fixed: MySensors, switch names where always set to default name (was caused by safe_query changes)
64-
- Implemented: RGB Popup to select color/on/off
65-
- Implemented: RFLink: Added various sensors/devices (stuntteam)
66-
- Implemented: smartwares thermostat, Logging of setpoint value
67-
- Implemented: smartwares thermostat, Logging of Day/Night switch
68-
- Implemented: Web Server can now be bind to specific address (-wwwbind) (seb)
69-
- Implemented: Ability to parse data coming from an HTTP POST data with a lua script (seb)
70-
- Implemented: Option to enter a description for each sensor/switch/scene
71-
- Changed: OpenZWave, Alarm/Notification mappings update (xs4)
94+
- Changed: SQLHelper, spelling mistake (cgaudry)
95+
- Changed: Switch icon picker now has a fixed height
7296
- Changed: Windows serial port Enumeration (now also supports windows 10)
73-
- Implemented: Thermosmart Thermostat
74-
- Implemented: Option for Dummy device to create Soil Moisture,Leaf Wetness, RGB Switch
75-
- Implemented: Catch SIGHUP signal for log rotation (LarsForum)
76-
- Implemented: MySensors added support for S_SCENE_CONTROLLER, V_SCENE_ON, V_SCENE_OFF
77-
- Implemented: MySensors, renamed V_LIGHT to V_STATUS and V_DIMMER to V_PERCENTAGE to be compliant to the 1.5 API
78-
- Fixed: Scenes RFY switch command now correctly handled
97+
- Fixed: 1-Wire negative values
98+
- Fixed: Battery low (typo) notification
99+
- Fixed: Counter Incremental small icon display on devices tab
100+
- Fixed: Davis Logger
101+
- Fixed: Devices Tab, set device to unused
102+
- Fixed: Display correct energy graph in devices view (spline instead of bars for short log)
103+
- Fixed: Email Notifications where always enabled after restart
104+
- Fixed: EventSystem, _tEventItem.Conditions should not be modified while reading m_events (cgaudry)
105+
- Fixed: EventSystem, asctime is not thread-safe (replaced with strftime) (cgaudry)
106+
- Fixed: EventSystem, SIGSEGV (cgaudry)
107+
- Fixed: EventSystem, splitresults has missing values because m_devicestates is modified while using an iterator on the map (cgaudry)
108+
- Fixed: HTTP Push table localization (thanks to cgaudry)
109+
- Fixed: Icon Uploader, uploading went wrong with large files
110+
- Fixed: MySensors, corrected sending localtime
79111
- Fixed: MySensors, Negative temperature sensor
80-
- Implemented: MySensors added support for V_IMPEDANCE
81-
- Changed: MySensors, rebuild
82-
- Changed: migrated to github
83-
- Implemented: Option to add a log message via the json api (see wiki)
84112
- Fixed: MySensors, S_LIGHT now creates an initial switch again
113+
- Fixed: MySensors, switch names where always set to default name (was caused by safe_query changes)
85114
- Fixed: Netatmo, Rain Sensor
115+
- Fixed: OpenZWave with large homeid values
116+
- Fixed: Post command handling
117+
- Fixed: pushover sound notification (thanks to Eduard)
118+
- Fixed: Revolt, Enery Graph
119+
- Fixed: Scenes RFY switch command now correctly handled
120+
- Fixed: Security Panel delay, now again possible to set delay to 0 (directly)
121+
- Fixed: Temperatures not updated on UI without refreshing browser or changing tabs
122+
- Fixed: Tooltip bug for the Dusk sensor in the Lights tab
86123
- Fixed: upgrading via the web interface (some users had experienced a problem)
87-
- Implemented: Satel Integra hardware support (big thanks to Fantom)
88-
- Fixed: Icon Uploader, uploading went wrong with large files
89-
- Implemented: Icon Uploader, now possible to upload zip files with multiple folders
90-
- Implemented: Icon Uploader, now possible to edit name and description
91-
- Changed: Switch icon picker now has a fixed height
92-
- Fixed: Counter Incremental small icon display on devices tab
93-
- Changed: forced fixed icon sizes on some locations (in case of to big user defined icons)
94124
- Fixed: Weather tab, nofications
95-
- Changed: EnOcean rocker inclusion (thanks to zorgluf!)
96-
- Implemented: Icons for RFXMeter Gas/Water
97-
- Fixed: MySensors, corrected sending localtime
98-
- Implemented: OpenZWave, Include/Exclude progress dialog-
99-
- Changed: non-windows systems, scripts can now use a relative patch to the scripts folder if script does not start with a '/'
100-
- Implemented: Support for multiple scene/group codes
101-
- Implemented: Devices Tab, now displaying scenes/groups
102-
- Implemented: Option to hide scenes/groups (placing a $ in front of the name)
103-
- Implemented: Scene codes now handles again seperate status (on/off)
104-
- Implemented: RFXtrx ASA protocol implemented
105-
- Implemented: Scene, option for 'stop'
106-
- Implemented: MySensors, V_TEXT, V_HVAC_SETPOINT_COOL and V_HVAC_SETPOINT_HEAT
107-
- Implemented: MySensors, V_IR_RECEIVE and V_IR_SEND
108-
- Implemented: Serbian language support, big thanks to siklosi!!
109-
- Implemented: Slovenian language support, big thanks to eden86!!
110-
- Implemented: Option to replace an Energy device
111-
- Changed: OpenZWave, Fibaro Wall Plug, now using multisensor for power reading
112-
- Fixed: Display correct energy graph in devices view (spline instead of bars for short log)
113-
- Implemented: MySensors, some more default naming of sensors if they where presented with a name
114-
- Changed: All Energy sensors have been transfered to General kWh sensors (more accurate)
115-
- Implemented: Added pushbullet notifications (thanks to tofra!!)
116-
- Implemented: Added Logitech Media Server support (thanks to EddyK69!!)
117-
- Implemented: Option how to display the kWh day graph (Power or (k)W/h)
118-
- Implemented: Dummy Hardware, Ampere Single (single ampere value, other ampere sensor expects 3 values)
119-
- Implemented: Settings/Log, option to clear all short-log data
120-
- Implemented: Settings/Backup/Restore, when performing a database backup/restore the database is cleaned
121125

122126
Version 2.2563 (June 14th 2015)
123127
- Implemented: WebServer, native SSL and keep-alive, big thanks to chimit!!!!

0 commit comments

Comments
 (0)