mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 13:26:17 +04:00
Version 2025.2 (October 13th 2025) - Implemented: EnergyDashboard, add option for (Outside) Temperature Sensor - Implemented: Enever, Added Pure Energy, removed obsolete providers - Implemented: Enphase, display a error is a IQ inverter has not been received for more then a day - Implemented: Kodi, support for 'tvshow' type - Implemented: MQTT-AD, added support for Climate action_template/state - Implemented: MQTT-AD, added support for IR Blaster (Tuya iH-F8260) - Implemented: MQTT-AD, handling battery low boolean sensors - Implemented: MQTT-AD, allow publishing messages - Implemented: P1 Chart, Report: Added Total Column (Usage-Return) - Implemented: Rain Rate notification - Implemented: Support for Humidity only graph - Fixed: MQTT-AD, fix issue where brightness and RGB command topic are different - Fixed: MQTT-AD, preserve select options when updating a device - Fixed: Replace device now also copies 'Options' field - Changed: Enphase query Token method - Changed: mDNS, hostname now lowercase - Changed: MQTT-AD, added support for color_temp_command_template - Changed: TADO, Added fixed API endpoint - Changed: TADO, Add poll interval option - Changed: MQTT, not publishing devices that are not used - Changed: Philips Hue now uses HTTPS to be compliant with new Hue Bridge - Fixed: mDNS, possible crash when web server (non) SSL was disabled, or a invalid port was specified - Fixed: Charts, after deleting a datapoint, the browser was not correctly refreshed - Updated: Windows libraries Version 2025.1 (May 5th 2025) - Implemented: Battery level for Setpoint sensors - Implemented: Charts, zoom option for 'Day' view - Implemented: Data Pushers, added P1 actual value - Implemented: EnOcean, now able to choose an optional base_id as sender_id instead of the chip_id (#6213) - Implemented: Floorplan, Add support for stop button (Ventation blinds) - Implemented: RFXCom, Updated SDK - Implemented: Support for Honeywell Series 5/PIR - Implemented: Text sensor, now posible to edit direct from the GUI - Implemented: YouLess, added Water meter - Implemented: More default icons - Implemented: MQTT-AD, added support for Gas device class - Implemented: MQTT-AD, added support for Text device class - Implemented: MQTT-AD, better precision for kWh sensors - Implemented: MQTT-AD, enabled 'device_automation' component to be compatible with upcoming (2025) Zigbee2MQTT version - Implemented: MQTT-AD, handling single onoff color mode as a normal light/switch - Implemented: MQTT-AD, power sensors for the Tuya SPM02 - Implemented: MQTT-AD, support sensors that report humidity but sends 'null' values - Implemented: MQTT-AD, support for string field state objects - Implemented: MQTT Push 'Retained' mode option - Implemented: Rain devices can now be replacement with different types of rain devices - Implemented: RFXCom, Falmec Support - Implemented: RTL433, Support Generic Switch (Door) sensor - Implemented: Tado, oauth2 support - Changed: dzVents, possible to pass a Domoticz device ID in notify() through the extra parameter - Changed: Energy Dashboard now also available for non-admin users - Changed: Energy Dashboard, Text object clipping rectangle - Changed: Google Firebase Cloud Messaging (FCM) alternative way to pass a Domoticz device ID through the extra field ('|Device=<devidx>') - Changed: Internal webserver refactoring - Changed: Netatmo Improved and automated login process for devices (to obtain client ID and Password with user selectable scopes) - Changed: Removed Highcharts 'Download PNG/JPG/SVG' buttons until export server is fixed - Changed: Using OpenStreetMap for Latitude/Longitude query in settings - Changed: Hardware/User/Application/Variables setup page (update/delete/add buttons) - Changed: Smoke Detectors are now able (internally) to use keep-alive timestamps - Fixed: Application shutdown, solved possible crash (#6310) - Fixed: AtagOne, fixed getting device_id and better debuginfo - Fixed: Charts, dynamic title based on selected range - Fixed: Computed Meter summation - Fixed: Custom Icons, making sure they are valid and loaded OK - Fixed: Floorplan, corrected open/close icon behaviour - Fixed: Floorplan, now handles protected selectors - Fixed: MQTT Push, making sure direct push is working - Fixed: Possible mutex lock issue when logging - Fixed: Pushers, corrected Gas value rounding - Fixed: Python framework, invalid sValue when creating a General/kWh sensor - Fixed: RFXCom 868 MHz Weather device - Fixed: RFXCom, WS90 Weather device - Removed: Thermosmart thermostat (Product no longer supported/available by the manufacturer) - Removed: API: Old RType calls have been replaced - Updated: HighCharts - Updated: Self Signed Certificate (Valid till 2035) - Updated: Translations Version 2024.7 (July 13th 2024) - Implemented: P1 Meter, Report, Header now also supports simple mode (No T1/T2/R1/R2 but just total) - Fixed: Google Cloud Messaging (GCM/FCM) possible crash when notification needed to be send Version 2024.6 (July 8th 2024) - Fixed: EventSystem, LOG_FORCE now always logged - Changed: Google Cloud Messaging (GCM) now uses the new v1 API of Google's Firebase Cloud Messaging (FCM) Version 2024.5 (July 7th 2024) - Implemented: Currency Symbol in Location Settings - Implemented: dzVents, Added historical data helper 'med' to calculate the median value - Implemented: dzVents, Improved logging - Implemented: Energy Dashboard - Implemented: Enever, Added Budget Energy and Eneco - Implemented: Enphase, Live storage data - Implemented: Enphase, Option for more Inverter details (ac/dc voltage, temperature, lastupdate) - Implemented: Event Editor, Close/Close All menu dropdown - Implemented: Event Editor, Storing/Loading opened events - Implemented: Hour chart for P1 log - Implemented: MQTT-AD Climate Fan Mode - Implemented: MQTT-AD Climate Swing Mode - Implemented: OpenWeatherMap, API 3.0 support - Implemented: P1 Meter, option to specify view (low/high tariff or simple (dynamic contract)) - Implemented: Possible to query a range of device states via JSON - Implemented: SolarEdge, polling Storage devices - Fixed: Data Pushers, Forecast for Weather Station subtypes - Fixed: Floorplan, better detection of switches - Fixed: Hardware Setup, hiding extra parameters when selecting a python plugin - Fixed: PythonEx framework, two notifications where send for switch type devices - Fixed: Python framework, custom image loading - Removed: Cereal Proxy (not used anymore) - Changed: EvoHome, now making use of general logging system - Changed: MQTT-AD, now also handles brightness scale number values as string - Changed: SBFSpot, disabled error 28 error - Changed: Selector switch now displays correct state in Data field (and devices overview) Version 2024.4 (January 30th 2024) - Fixed: cWebm, fixing high CPU load caused by time jumps - Fixed: Memory leak in master/client setup - Fixed: Python, device creation with options was not working correctly - Fixed: Room Selection, switching to default room did not always work - Fixed: Temperature compare chart for Fahrenheit Version 2024.3 (January 24th 2024) - Implemented: Domoticz Remote Server, added better error message if remote Domoticz device could not be created because accepting new devices is disabled under settings - Implemented: InfluxDB Data push, add error message when return status code is forbidden - Fixed: Alert sensor notification - Fixed: Scripts/Lua/Blockly, setting a setPoint Version 2024.2 (January 15th 2024) - Implemented: Compare chart for most sensor types - Implemented: Email, Splitting mime attachments over multiple lines - Implemented: Notifications, Option to enable/disable - Implemented: OpenZwave is back.... (No Support) - Updated: Translations - Changed: Comparing charts now uses correct Y-Axis label - Changed: Internal, Last received is now handled differently, should solve possible hardware timeout issues - Changed: MQTT, QoS is now set to 1 for all messages - Fixed: MQTT-AD: Fan creation - Fixed: Timer Plans, now also duplicates scenes Version 2024.1 (January 1th 2024) - Implemented: AlfenEve, added charging indication switch - Implemented: AlfenEve, added option to specify charge current (or disable this) - Implemented: AlfenEve, added Solar charging mode and settings - Implemented: Counter report, now possible to remove data point (via shift click) from month chart - Implemented: Devices overview, Setpoint log button - Implemented: Enever, added support for providers Atoom Alliantie, Energie van Ons, Vandebron, Wout Energie - Implemented: Enever, option to specify different providers for Gas/Electricity - Implemented: Enever: added two user variables for average gas/electricity price - Implemented: Enphase, counter helper to prevent turnover caused by powerloss, reboot or other envoy issues - Implemented: Enphase, Initial support for Encharge battery status (needs more work) - Implemented: Livesearch, included hardware name and optimized search algorithm to search all entered strings - Implemented: Managed Counters, now possible to use negative values - Implemented: Mitsubishi WF RAC Airconditioning - Implemented: MQTT-AD, added support for climate min_temp/max_temp and temp_step - Implemented: MQTT-AD, added support for number voc type - Implemented: MQTT-AD, added support for Wh and Wm sensors - Implemented: MQTT-AD, don't add new devices when this is disabled in the system - Implemented: MQTT-AD: Fan percentage_command_template merged with preset_modes - Implemented: MQTT, added option to specify devices to be published to MQTT - Implemented: P1 Meter report, now possible to remove data point (via shift click) from month chart - Implemented: Persistent Timers (will work in all timer plans) - Implemented: SetPoint devices can now be configured with a custom unit, min/max and step size and have a custom icon - Implemented: Support for Python 3.12 - Implemented: TeleInfo, added Tempo field - Implemented: Temp/Hum/Baro or combination can be replaced by any other Temp/Hum/Baro or combination - Implemented: Temperature report, now possible to remove data point (via shift click) from variation chart - Changed: Floorplan, better display of current state for counter devices - Changed: Floorplan, Sound Icon state (0 dB = Off else On) - Changed: MQTT-AD: better device name generation - Changed: Netatmo login, now using the API Token - Fixed: EventSystem, corrected event of RGB/W/WW devices - Fixed: Export to csv from Charts - Fixed: MQTT-AD, RGB dimmers did not work correctly in scenes/timers - Fixed: MQTT-AD: better handling of Push-On/Push-Off devices - Fixed: MQTT-AD: better handling of Switch commands that needs a 'state' object - Fixed: MQTT-AD: fixed brightness for HS lights - Fixed: MQTT-AD: prevent blind from updating on non-numeric state changes - Fixed: P1 Meter, buffer size increased because of large datagrams on some meters - Fixed: Python memory leak - Fixed: Sunset/rise timers now correctly set the time for next day - Fixed: Switches defined with "Off Delay" are not set to "Off" at startup - Removed: OpenZWave (Move to ZWaveJS-UI in combination with MQTT Auto Discovery) - Removed: RFXCom, firmware update via web interface (use RFXFlash instead) Signed-off-by: David Woodhouse <dwmw2@infradead.org>
129 lines
3.9 KiB
Makefile
129 lines
3.9 KiB
Makefile
#
|
|
# Copyright (C) 2016 - 2020 Stijn Tintel <stijn@linux-ipv6.be>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=domoticz
|
|
PKG_VERSION:=2025.2
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/domoticz/domoticz/tar.gz/$(PKG_VERSION)?
|
|
PKG_HASH:=fd016f4ffe419e8d559bc0a7f9de5ec4fcaf485fc9d1464c8e8221102b13f589
|
|
|
|
PKG_MAINTAINER:=David Woodhouse <dwmw2@infradead.org>
|
|
PKG_LICENSE:=GPL-3.0
|
|
PKG_LICENSE_FILES:=License.txt
|
|
PKG_CPE_ID:=cpe:/a:domoticz:domoticz
|
|
|
|
PKG_BUILD_DEPENDS:=python3 minizip cereal boost jwt-cpp
|
|
PKG_BUILD_FLAGS:=no-mips16 lto
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/domoticz
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=Open Source Home Automation System
|
|
URL:=http://domoticz.com/
|
|
USERID:=domoticz=6144:domoticz=6144
|
|
DEPENDS:= \
|
|
+boost \
|
|
+boost-date_time \
|
|
+boost-thread \
|
|
+jsoncpp \
|
|
+libcurl \
|
|
+python3 \
|
|
+minizip \
|
|
+lua5.3 \
|
|
+libfmt \
|
|
+libmosquitto \
|
|
+libopenssl \
|
|
+libopenzwave \
|
|
+libsqlite3 \
|
|
+libstdcpp \
|
|
+telldus-core \
|
|
+zlib
|
|
endef
|
|
|
|
define Package/domoticz/description
|
|
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.
|
|
endef
|
|
|
|
CMAKE_OPTIONS += \
|
|
-DBUILD_SHARED_LIBS=yes \
|
|
-DBoost_NO_BOOST_CMAKE=yes \
|
|
-DGIT_SUBMODULE=no \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DUSE_BUILTIN_MQTT=no \
|
|
-DUSE_BUILTIN_SQLITE=no \
|
|
-DUSE_BUILTIN_JSONCPP=no \
|
|
-DUSE_BUILTIN_MINIZIP=no \
|
|
-DUSE_BUILTIN_LIBFMT=no \
|
|
-DUSE_BUILTIN_JWTCPP=no \
|
|
-DUSE_LUA_STATIC=no \
|
|
-DUSE_STATIC_BOOST=no \
|
|
-DUSE_STATIC_LIBSTDCXX=no \
|
|
-DUSE_STATIC_OPENZWAVE=no \
|
|
-DUSE_OPENSSL_STATIC=no \
|
|
-DUSE_PYTHON=yes \
|
|
-DWITH_LIBUSB=no
|
|
|
|
TARGET_CXXFLAGS += -DWITH_GPIO
|
|
|
|
define Build/Prepare
|
|
$(call Build/Prepare/Default)
|
|
# Remove unwanted scripts
|
|
cd $(PKG_BUILD_DIR)/scripts && rm -rf \
|
|
buienradar_rain_example.pl \
|
|
_domoticz_main* \
|
|
download_update.sh \
|
|
dzVents/{.gitignore,documentation,examples,generated_scripts,data} \
|
|
dzVents/runtime/{integration-tests,misc/smoothing.xlsx,tests} \
|
|
logrotate/ \
|
|
lua_parsers/example* \
|
|
lua/*demo.lua \
|
|
python/ \
|
|
readme.txt \
|
|
restart_domoticz \
|
|
templates/All.Python \
|
|
update_domoticz \
|
|
domoticz.conf
|
|
# Remove *.md
|
|
cd $(PKG_BUILD_DIR) && $(FIND) -name '*.md' -delete
|
|
endef
|
|
|
|
define Package/domoticz/install
|
|
$(INSTALL_DIR) $(1)/etc/config $(1)/etc/hotplug.d/tty $(1)/etc/init.d $(1)/etc/domoticz/plugins
|
|
$(INSTALL_BIN) ./files/domoticz.hotplug $(1)/etc/hotplug.d/tty/domoticz
|
|
$(INSTALL_BIN) ./files/domoticz.init $(1)/etc/init.d/domoticz
|
|
$(INSTALL_CONF) ./files/domoticz.config $(1)/etc/config/domoticz
|
|
$(INSTALL_DIR) $(1)/usr/share/domoticz $(1)/usr/bin
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/dzVents $(1)/usr/share/domoticz/dzVents
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/Config $(1)/usr/share/domoticz/Config
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/scripts $(1)/etc/domoticz/scripts
|
|
ln -sf /var/lib/domoticz/dzVents/generated_scripts $(1)/etc/domoticz/scripts/dzVents
|
|
ln -sf /var/lib/domoticz/dzVents/data $(1)/etc/domoticz/scripts/dzVents
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/www $(1)/usr/share/domoticz/
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/domoticz $(1)/usr/bin/domoticz
|
|
# compress static web content
|
|
find $(1)/usr/share/domoticz/www -name "*.css" -exec gzip -9 {} \;
|
|
find $(1)/usr/share/domoticz/www -name "*.js" -exec gzip -9 {} \;
|
|
gzip -9 $(1)/usr/share/domoticz/www/*.html
|
|
gzip -9 $(1)/usr/share/domoticz/www/secpanel/*.html
|
|
find $(1)/usr/share/domoticz/www/views -name "*.html" -exec sh -c 'grep -q "<\!--#embed" {} || gzip -9 {}' \;
|
|
endef
|
|
|
|
define Package/domoticz/conffiles
|
|
/etc/config/domoticz
|
|
/var/lib/domoticz/
|
|
/etc/domoticz/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,domoticz))
|