After long delay (sorry), I am please to provide you Release Candidate APKG for Domoticz 2020.2 (and update)
==== ATTENTION TOTALLY NEW ARCHITECTURE
==== ==== based now on Ubuntu L.T.S. 20.04 ==== AT THIS TIME for x86_64 and Arm64 models ... but Armhf and i386 (32 bits) are on under construction.
==== ==== include support for Domoticz update / Domoticz managed as a service
==== ==== ALL secure libraries + Python (dev include) + C (dev include)
==== ==== NO OVERHEAD ... NO DOCKER / App-Image / etc. so without, also, for you an unclear level of security inside hidden docker / App-image ...
==== ==== FOR UPDATE purpose ... run as root (as before) BUT can be easily installed on a specific (to Ubuntu not to A.D.M.) user (I will write a specific post later)
==== ==== PLEASE, in case of update (from before 2020.2 version), do to a safe place a backup of your settings & plugins ... like this
Code: Select all
mkdir /share/Public/my_domo_save
cp -pP /usr/local/AppCentral/domoticz/domoticz.db* /share/Public/my_domo_save/
cp -pPR /usr/local/AppCentral/domoticz/plugins /usr/local/AppCentral/domoticz/
Domoticz
[Version]
2020.2.1
======= SPECIFIC RECOMMENDATION to UPDATE FROM 2020.2.0 : viewtopic.php?f=166&t=11143
Ubuntu : new user don't have to install time zone software (it is now included)
APKG :
... solve bugs due to A.D.M. (Asustor) delivery using NON GNU tools (I don't see it before, because I add tools using Entware ... and forgot to verify)
... new set of command line interface
... ... MOST VALUED : status / ubuntu_set_time_zone / ubuntu_package_install (to add require package for some plugins) / update_ubuntu (to keep Ubuntu 20.04 L.T.S. updated and secure)
2020.2.0
APKG based on Ubuntu 20.04 L.T.S (chroot mount only)
... Domoticz in Ubuntu (/usr/local/AppCentral/domoticz/focal_{ARCH}/opt/domoticz ... ARCH= result of "uname -m" command (x86_64 / aarch64 / i386 / armv7l)
... start_up procedure :
... ... mount internal chroot require env.
... ... launch a tty survey to set correct access rigth to ttyUSB & ttyACM device when connected (udev is not correctly installed and access right are not correctly set in A.D.M. (delay max = 30 seconds and ONE command used ... so no load)
... ... launch domoticz in Ubuntu as a service (case using root or user after a small change)
... ... domoticz support update (release and beta) and restarting itself (upgrade compare to before)as a standard Ubuntu service.
... ... UPDATE from previous domoticz version is normally supported (I hope)
[Asustor models]
Intel x86_64 (tested on AS5002T)
Arm64 / aarch64 (tested on AS4002T)
arm 32bits / armv7l (tested on AS1002T)
[Port use for Web interface and technical stuff]
9980 (so do http://ip_or_name_of__nas:9980/ )
NO SSL (but you can add it)
loglevel 1 (in APKG folder) is error + info. ) ... in case of problem supply this file first
[Modify domoticz start options] ... ex. add SSL
In /usr/local/AppCentral/domoticz
ALL Ubuntu script (take care it's NOT A.D.M.) are in a folder name mybin (ex. for ex. domoticz.sh start / stop / restart scripts)
1) copy the shell you want to change to yourbin folder DON'T CHANGE SCRIPT NAME
2) do the modification
AT APKG start ... mybin is copied in Ubuntu ... yourbin in copied UNDER mybin in Ubuntu ... so your script overwrite my own script ... then start is really done
[Command line tools]
Code: Select all
domoticz_mngt
Usage: /usr/local/bin/domoticz_mngt {start|stop|restart|status} for THE APKG ... (ubuntu + tty_survey + domoticz)
Usage: /usr/local/bin/domoticz_mngt {apkg_enable|apkg_disable} ... do same as AppCentral admin WebUI for managing APKG (include Web icon management
...... /usr/local/bin/domoticz_mngt {start_domoticz|stop_domoticz|restart_domoticz|reload_domoticz} Manage only domoticz IN Ubuntu 20.04 L.T.S already started by APKG
...... /usr/local/bin/domoticz_mngt {ubuntu_set_time_zone} ... set your OWN TIME ZONE ... if error (tzdata not installed ... use ubuntu_package_install)
...... /usr/local/bin/domoticz_mngt {update_ubuntu} ... update Ubuntu 20.02 libraries (security)
...... /usr/local/bin/domoticz_mngt {ubuntu_package_install} [Package_name] ... install a pakacge in Ubuntu (ex. tzdata) ... good to use update_ubuntu before to avoid version problems
...... /usr/local/bin/domoticz_mngt {enter_in_ubuntu} enter in chroot as root for maintenace purpose
...... /usr/local/bin/domoticz_mngt {save_domoticz_data} save domoticz.db* and plugins in /share/Public (dated folder created)
Models x86_64 : https://father-mande.ovh/A/apkg/domotic ... x86-64.apk
Models aarch64 / arm64 : https://father-mande.ovh/A/apkg/domotic ... _arm64.apk
Models armv7l / arm : https://father-mande.ovh/A/apkg/domotic ... .1_arm.apk
Philippe.
NB open NEW post for problems ...