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())
What I wanted too do was add an external temp sensor too my rpi running OH as im new too all of the sensor Linux rpi stuff I wasent sure if you can add sensors too the system running OH
I don’t want too buy an rpi just for a temp reading
but if I did have a seperate board what is the limit on the amount of temp sensors you could add
I could add my nas, server, the room internal and external temp readings would be nice could also add some more for hdds ect
I was thinking device like rpi with alot of temp sensors attached with quite long wires so they could be placed around the equipment
I’m still not ready for this yet but Im adding it too my list of things too learn as I’m extremely interested I’m following your advice and trying to not bite off more than I can chew
I’m going too read up more on adding a single temp sensor too my rpi for a general room reading and go from there
my fault, somehow I presumed it was a remote RPi.probably coz I had just been working on one
I think Vincent already answered your other question, albeit that e.g. the popular DS18B20 doesn’t need the I2C bus, but just one pin. Many DS18B20’s (10+) can be attached to that one specific pin, using the OneWire protocol.
that works on ESP8266, Arduino and Raspi
I have used both DS18B20 and AM2302 on my pi, that is also running my openhab. I’ve since moved the sensors to other devices but I think I still have a copy of my set up if you’re interested.