Post by enekuda on Nov 20, 2019 20:15:56 GMT -8
to preface, SkyWeather was working totally fine, the temp/humidity sensor started to fritz out, replaced with the SHT30 through the trade in program.
Im going to try and detail the steps ive taken so far........
After i unplugged the old sensor to ship it off, and while it was in shipping the Skyweather worked fine.
When the new one came in i plugged it in and now nothing seems to work. At first i thought it was working and just still reading 32/0% like it was before (i was looking at the website, not paying attention to the update ticker ticking up and up and up) but now checking back into it finally i realized it just wasn't working at all.
I made sure to power down and unplug while swapping everything during the swap over, and the only thing i unplugged was the sensor itself, nothing else. so theoretically everything should be exactly the same as before just a new sensor.
Per recommendation on the SHT30 thread I tried to git-pull the update and it updated successfully, but only after switching to the SDL_Pi_SkyWeather directory which i dont think was needed before?? at least its been a bit and i dont remember having to change into the SDL_Pi_SkyWeather directory to run the program last time i messed with it....
I used to be able to run
sudo pigpiod
sudo python SkyWeather.py
and get it to start. doing that now results in this:
sudo python SkyWeather.py
python: can't open file 'SkyWeather.py': [Errno 2] No such file or directory
so i switch directories to the SDL_Pi_SkyWeather folder and run it there and it at least starts but hangs after SHT30, when i CTRL-C it gives this:
cd SDL_Pi_SkyWeather
~/SDL_Pi_SkyWeather $ sudo python SkyWeather.py
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
TCA9545 I2C Mux Not Present
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
('Pi Camera Revision', u'ov5647')
Error accessing 0x48: Check your I2C address
Error accessing 0x48: Check your I2C address
Type Error
('after bme680', True)
as3935 start
I/O error(121): Remote I/O error
I/O error(121): Remote I/O error
after SHT30
^C
SkyWeather Weather Station Version 052 - SwitchDoc Labs
Program Started at:2019-11-20 21:26:07
----------------------
I2C Mux - TCA9545: Not Present
BME680: Present
BMP280: Not Present
SkyCam: Present
DS3231: Not Present
HDC1080: Not Present
SHT30: Not Present
AM2315: Not Present
ADS1015: Not Present
ADS1115: Not Present
AS3935: Not Present
OLED: Not Present
SunAirPlus/SunControl: Not Present
Traceback (most recent call last):
File "SkyWeather.py", line 1708, in <module>
print returnStatusLine("SolarMAX",config.SolarMAX_Present)
AttributeError: 'module' object has no attribute 'SolarMAX_Present'
If i try it again it gives me this:
~/SDL_Pi_SkyWeather $ sudo python SkyWeather.py
(0.0, 0, 0)
()
('Pi Camera Revision', u'ov5647')
Traceback (most recent call last):
File "SkyWeather.py", line 417, in <module>
tca9545.write_control_register(TCA9545_CONFIG_BUS0)
File "./SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 74, in write_control_register
self._write(TCA9545_REG_CONFIG, config)
File "./SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 52, in _write
self._bus.write_byte_data(self._addr, register, data)
IOError: [Errno 121] Remote I/O error
I tried to run the test file in the manual and it spits out this:
~/SDL_Pi_SkyWeather $ sudo python testSDL_Pi_TCA9545.py
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73
Program Started at:2019-11-20 21:35:46
Traceback (most recent call last):
File "testSDL_Pi_TCA9545.py", line 51, in <module>
tca9545 = SDL_Pi_TCA9545.SDL_Pi_TCA9545(addr=TCA9545_ADDRESS, bus_enable = TCA9545_CONFIG_BUS0)
File "./SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 47, in __init__
self._write(TCA9545_REG_CONFIG, config)
File "./SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 52, in _write
self._bus.write_byte_data(self._addr, register, data)
IOError: [Errno 121] Remote I/O error
idk what is happening but everything is plugged in properly and into the correct plug via the wiring diagram. it worked before and i triple checked it vs. the manual just now, its also on my roof which i only have aces to so its not like its tampered with.
I read another post about checking the nohup.out file from someone else who had a hang after SHT30, and my original one is like 128MB and wont even open. literally freezes the app it launches in, i can get it to load in command line
SO I tried making a backup, and re-downloading the SDL_Pi_SkyWeather file (git clone, then copied conflocal over) and same exact thing as above happens, to the letter.... the new nohup.out file has nothing in it is the only difference.
Im at a loss and i tried searching for stuff all over the forum here and nothing really gets close from what i have seen so far. Hopefully someone can help! lol
Im at a loss and i tried searching for stuff all over the forum here and nothing really gets close from what i have seen so far. Hopefully someone can help! lol