Search found 5 matches

by majsoft
Monday 28 October 2024 11:17
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: domoticz server ubuntu - run the script before sleeping and after waking up the PC
Replies: 8
Views: 1115

Re: domoticz server ubuntu - run the script before sleeping and after waking up the PC

Hi everyone, I'm not going to turn off the domoticz service, but I wanted to test it. If anyone finds it useful for Ubuntu 24. I will then delete the sleep 60 command and the output to the file, I had time to find out if the necessary services are really turned off. so my solution was as follows ...
by majsoft
Saturday 26 October 2024 22:18
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: domoticz server ubuntu - run the script before sleeping and after waking up the PC
Replies: 8
Views: 1115

Re: domoticz server ubuntu - run the script before sleeping and after waking up the PC

Hi, I've read a lot of scripting tutorials but to no avail. for now i leave it running 24/7 thanks.
I would turn off magicmirror itself, but PM2 does not work correctly on ubuntu.
by majsoft
Tuesday 22 October 2024 23:13
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: domoticz server ubuntu - run the script before sleeping and after waking up the PC
Replies: 8
Views: 1115

Re: domoticz server ubuntu - run the script before sleeping and after waking up the PC

yes, it would be better on another server, but I don't have this option. I use temperature sensors that are connected to ESP and it wirelessly sends data to domoticz and Magic mirror reads it using MMM-Domoticz-ext I used it like this on one pc for a few years on a windows build, but I wanted to ...
by majsoft
Tuesday 22 October 2024 22:40
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: domoticz server ubuntu - run the script before sleeping and after waking up the PC
Replies: 8
Views: 1115

Re: domoticz server ubuntu - run the script before sleeping and after waking up the PC

I thought it would be ok, I found it in this script that works. I don't want to have the PC running 24/7, but only when he walks in front of the magic mirror and this script works immediately.

Image
by majsoft
Tuesday 22 October 2024 22:21
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: domoticz server ubuntu - run the script before sleeping and after waking up the PC
Replies: 8
Views: 1115

domoticz server ubuntu - run the script before sleeping and after waking up the PC

Hello everyone, can I ask for help? I'm sorry, I'm using a translator, I can't speak English. I am using the new Ubuntu, where I have Domoticz server and MagicMirror running. after 15 minutes the PC goes to sleep and then wakes up with PIR (ESP8266). After waking up, it takes a long time for the ...