Maybe a very stupod question but I couldn’t find an answer on the forum…
How can you shutdown the raspberry pi that is running openhabian?
If if ssh into the pi and execute sudo shutdown -h now
or poweroff
Then the pi starts to shutdown, but after the shutdown it immediately start bootin back up!
Why is this happening???
I can’t find a shutdown option in the Paper UI, or am I missing it?
Wow!
A Matrix Creator was on the pi.
I have never used it but now that I took it off, the pi doesn’t reboot automatically! GREAT!
Thanks!
Does this mean that the matrix board connected the GPIO3 to the GND?
(if this happens the pi will wake up right?)
The Matrix creator was put on for the support of z-wave.
Seriously what is the recomended approatch too do this i have looked myself but there are many solutions i have decided with stopping the openhab services and then power down but what is recommended ?
I have said a before i would love to help people around here, i just don’t know as much as some of the main members who i rely on myself tbh
but that’s how this community should be and already is, its one of the reasons i love Openhab its got a great community unlike alot of other open source softwares
but i’m learning and do offer help on the more simple stuff
@vzorglub
could the original poster have a setting too auto power back on?
as you know i don’t know much about linux yet but windows does have these sort of features so maby the same thing
[EDIT]
I missed the post where it got solved and the windows stuff i was thinking of was restore after power loss and its not lost power just reboot so prob not DM
I always feel honoured if someone links to a tutorial of mine
Anyway, maybe if @Sharpy is also interested in the actual core temp of the raspi processor itself, that is also easy to get in Python like this
cfile='/sys/class/thermal/thermal_zone0/temp'
def read_ctemp_raw():
c=open(cfile,'r')
lines=float(c.read())/1000.0
c.close()
return lines
While True:
C =str(read_ctemp_raw())