In fact this post has nothing to do with Domoticz and at the same time it has.
There are occasions that I try to jeopardize my sytem by experimenting with Domoticz.
Sometimes the system 'hangs' and I can see the WiFi leds flicker and the green led flickering as well.
That means there is still life in the system, however I am not able to get Domoticz pages in the browser nor do I have SSH access.
Up till today I had to shut off the system by switching off power.
That does harm the linux system sometimes and can lead to a reinstall of everything in case you didn't backup.
The button procedure is described in this youtube video showing an undocumented feature of dtoverlay.
This means you don't have to write a python script to shut off the system.
The push button both closes the system and starts it up as well.
Interesting RPI pushbutton on/off switch
Moderators: leecollings, remb0
-
- Posts: 504
- Joined: Sunday 01 November 2015 22:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Twente
- Contact:
Interesting RPI pushbutton on/off switch
Bugs bug me.
-
- Posts: 300
- Joined: Thursday 01 November 2018 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.6
- Location: Portugal
- Contact:
Re: Interesting RPI pushbutton on/off switch
Have a look at "Monit" It usually will restart my system for me but I still think a manual restart button is a good idea, something on the GPIO pins should do it.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
-
- Posts: 303
- Joined: Saturday 27 February 2016 0:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: Interesting RPI pushbutton on/off switch
That's what I did on my RPi(s).
Details at http://scruss.com/blog/2017/10/21/combi ... pberry-pi/
FYI, I implemented this plus a PWM FAN control (adding a single transistor and a resistor) to manage fan speed depending on internal temperature. More details if needed.
Details at http://scruss.com/blog/2017/10/21/combi ... pberry-pi/
FYI, I implemented this plus a PWM FAN control (adding a single transistor and a resistor) to manage fan speed depending on internal temperature. More details if needed.
-
- Posts: 621
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: Interesting RPI pushbutton on/off switch
Sounds like a network issue. I had similar problems often while using an outdated ziggo router (the white one) I got it replaced and it has not reoccurred once.HvdW wrote: ↑Thursday 26 September 2024 15:17 In fact this post has nothing to do with Domoticz and at the same time it has.
There are occasions that I try to jeopardize my sytem by experimenting with Domoticz.
Sometimes the system 'hangs' and I can see the WiFi leds flicker and the green led flickering as well.
That means there is still life in the system, however I am not able to get Domoticz pages in the browser nor do I have SSH access.
Up till today I had to shut off the system by switching off power.
That does harm the linux system sometimes and can lead to a reinstall of everything in case you didn't backup.
The button procedure is described in this youtube video showing an undocumented feature of dtoverlay.
This means you don't have to write a python script to shut off the system.
The push button both closes the system and starts it up as well.
Who is online
Users browsing this forum: No registered users and 1 guest