Manly addressed to gizmocuz:
I just wanted to follow up on this because things have improved greatly and i am thankful for your help/hints.
I think the main reason my (newer) domoticz versions, may that be the new stable or last beta, ran sluggish on the pi is maybe down to how much devices and scripts are configured. Maybe it had become a little too much for the pi.
Anyway i moved to my Debian/Jessie machine which has plenty of processing power and is connected to a UPS, so the pi had become a little redundant anyway. I have been running the beta since and i have not once found domoticz had crashed

Also responses are great, however the webpage issue seems to persist, maybe i did find some kind of caching issue

Domoticz is running under different credentials (hail the -pidfile parameter), seperate data dir and all looks great. See here for more detail:
viewtopic.php?f=4&t=8851&p=62068#p62068
And maybe usefull to everybody: i found domoticz needs a "unit" file together with the domoticz.sh init file to comply with LSB. The main issue without the unit file is that "service domoticz status" returns a 0 even after domoticz died. I found an attribute "RemainAfterExit" should be set to "no". I took the systemd-sysv-generated unit file and changed the attribute.
The following should saved as /etc/systemd/system/domoticz.service:
Code: Select all
[Unit]
SourcePath=/etc/init.d/domoticz
Description=LSB: Domoticz Home Automation Daemon
Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target
After=remote-fs.target systemd-journald-dev-log.socket network-online.target
Wants=network-online.target
Conflicts=shutdown.target
[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=no
SysVStartPriority=3
ExecStart=/etc/init.d/domoticz start
ExecStop=/etc/init.d/domoticz stop
[Install]
WantedBy=multi-user.target
systemctl enable domoticz
Note i renamed /etc/init.d/domoticz.sh to domoticz (no extention) seemed more appropriate. To completely comply with LSB more changes are needed: force-reload is missing for instance and i believe some exit codes are missing/wrong.
I think systemd could also replace the need to use monit. I have written a different init script that also allows to run under different credentials and allows multiple instances.
Once i found out how github works i could try to contribute if you'd like that.