filename: upgrade.sh
Code: Select all
#!/bin/bash
git reset --hard
git pull --force
sudo chmod +x plugin.py
sudo chmod +x upgrade.sh
sudo /etc/init.d/domoticz.sh restart
Code: Select all
sudo ./upgrade.shModerator: leecollings
Code: Select all
#!/bin/bash
git reset --hard
git pull --force
sudo chmod +x plugin.py
sudo chmod +x upgrade.sh
sudo /etc/init.d/domoticz.sh restart
Code: Select all
sudo ./upgrade.shAWESOME! Will install and begin testing.
Thanks for the positive feedbackmanutremo wrote: Saturday 17 February 2018 8:18 Hi, just wanted to let you know that I just installed it on my Synology and it works perfect. Many thanks!
@Velly, looks like you are configuring the plugin to hit a http webserver (the Eaton intelligent power manager) rather than a NUT server... first make sure you have a NUT server up and running and adjust to the right IP/PortVelly wrote: Sunday 18 February 2018 15:05 2018-02-18 16:57:52.553 Error: (UPS EATON) Error reading UPS variables: HTTP/1.0 501 Not Implemented
Code: Select all
self.commerror = FalseCode: Select all
except Exception as errorcode:
if self.commerror == False:
Domoticz.Error("Cannot communicate with NUT Server at {}:{} due to {}".format(Parameters["Address"], Parameters["Port"], errorcode.args))
self.commerror = True
self.error = True
self.UpdateDevice("ups.status") # we flag the error to the status device
else:
if self.commerror == True:
Domoticz.Log("Communication with NUT Server resumed at {}:{}))
self.commerror = False
This is an endless debate, I can't say I disagree, neither I agree, it depens. My professional experience on this matter says that disk failures do not depend on 24/7 operation or nightly shutdown, and all NAS are powered by UPS. I'm not referrring to big farms, but small professional operations.almost by definition a UPS works 24/7