Closed wangine closed 8 years ago
I wonder what differs between the install procedures.
Can you confirm the SHT sensor now works?
wait , it still update ,
yes ,sensor work , I write now a new fresh full jessie on other SD card . I have keep my instruction to install Mycodo on Full Jessie . Tomorow i will made some test , Now realy i need to sleep , after 4h i go to work . Good night and thanks for the great job.
G`night
Hello kizniche , first of all you do a great work . I worked so many years under Michochip family and was everything fine , now i found "in mistake " your project and i by some days ago a Raspberry pi 3 board for that . My primary sensors are SHT75 &SHT25 , very acurrate used for my tobaco fermenting chamber where 2% of RH change radicaly the result , so . After days trying to understand linux and servers i finaly install your project , but for some reasons SHT sersors cant be assigned. All sensors work on any GPIO pin , tested under terminal trouth "sht" driver // as root command pi@raspberrypi:~ $ sudo sht -t -r -d 19 26 25.63 55.824185 16.147750813 If i try to add SHT sensor in Mycodo server i get the return "Could not activate Sensor controller with ID r4H1K6Y0: SHT is not a valid device type." ,, so i try many ways to assign the PIN trouth sensor ,with GPIO.24 or 24 or BCM name pin 19 , and on Clock pin also . I try to look in /var/www/mycodo/mycodo on controller_sensor.py and i see your note about SHT sersors, "line 31" and begin with line "168-192" i didn't find a sht device .I try to add "elif self.device_type == 'SHT': self.measure_sensor = SHT(self.location)" But i receive some result . I understand C code , i write many drivers over the time but in python is hard . For same sensor i write a driver for PIC device https://www.ccsinfo.com/forum/viewtopic.php?t=54354 Aso to be able to install Mycode today i was forced to comment the #MCP342x in requirements.txt file , otherwise i get the same error on python 2.7 module . Two days ago the git page was with other explication , i install without any error but today i change the SD card and instructions for install was different , i assume you update the git page yesterday. Thank you