Open Benoit54 opened 7 years ago
I added the BCM2835 to the init.py but i still can not get the room temp to show up.
I been seeing a few issues with the BCM2835 PI3 lately i had the same problem with a different plug in. thanks Mike
Where is the "init.py" file??
I did exactly what Benoit54 did by adding the BCM2835 , removed the old room temp plugin, loaded the new one from local directory (must be a zipped up file of the directory cloned from here), restarted Octopi and room temp is now displayed. If its not working for you you must have a dead or incorrectly wired DS18B20 sensor. Here is version of the plugin which should be the same as the OP's OctoPrint-roomTemp-master.zip Phil
Thanks, ran into the same issue as OP, says I'm not running on a Raspberry PI 3, but I am. Loading the modified zip worked. This is fixed in the outstanding pull request #9. If the author would merge that change, the plug-in would work with the raspberry pi 3 without anybody modifying anything. I decided to fork this project and fix the hardware detection and add F/C option under settings. You can upload/install from the plugin manager by grabbing the zip from here: https://github.com/jaycollett/OctoPrint-roomTemp/
Dear all, my apologies to be very very late with this answer. I'm not using Octopi since a while.
sudo modprobe w1-gpio && sudo modprobe w1_therm
and then reboot again:
sudo reboot
Hope it will be helpful for you!
I just installed the plugin and no temperature is shown on the navbar.
My config :
I don't know why, but a
cat /proc/cpuinfo
return "Hardware : BCM2835" and not "BCM2709".So I modified the line 35 in "init.py" :
Before :
if match.group(1) == 'BCM2708' or match.group(1) == 'BCM2709':
After :
if match.group(1) == 'BCM2708' or match.group(1) == 'BCM2709' or match.group(1) == 'BCM2835':
It's now working flawlessly on my Pi.
Maybe others have the same issue ?
Last but not least : thanks for your work !
Edit : I just see, after adding this issue, that someone else did the same thing in issue #6 https://github.com/l00ma/OctoPrint-roomTemp/issues/6