|
Post by Powderjockey on Aug 22, 2022 14:48:52 GMT -8
The unit I have is the SkyWeather One, only add-on is the temperature fan. It is being operated by an RPi 4B 4 GB RAM. It is currently being powered by the SolarM2 via USB cable. The wifi signal is probably close to what is being shown below on the TelusF5E6 SSID.  The SolarMax is producing these results:   So the question I have, which one of of these requirements is causing my system not work? I just can seem to keep the unit up and running. I posted this problem before, but I was running power from the exterior power plug with a 20' power cord. Any suggestions? Thanks Scott
|
|
|
Post by SDL on Aug 27, 2022 8:50:39 GMT -8
First of all, nice app. What is that?
Your power system looks fine. Running very well.
What do you mean "the system stops running"? The Pi reboots? It shuts down?
"I posted this problem before, but I was running power from the exterior power plug with a 20' power cord."
Tell me about the way the system behaved under the above conditions.
BP
|
|
|
Post by Powderjockey on Aug 29, 2022 13:08:09 GMT -8
The app is Wifi Analyzer (Android).
The unit just will not stay connected to the WiFi, is my belief. I was researching plants and WiFi signals and this may be my problem. My wife has numerous thriving plants in front of the weather box and one just happens to be a cucumber plant that is twisting around the railing next to the weather box. Of course the unit is headless and I try to interact with it using SSH/VNC, but when it does not consistently show up on the LANScan, I can't really tell if it running or not. No information is moving back and forth so I think it has to be the WiFi. I have a booster 12' away and as you can see by the app screen share, there is ample amount of signal.
I think the SolarMax2 is providing the power to the system, but I still get the "Low Power" warning in the upper right hand side of the screen.
|
|
|
Post by SDL on Aug 30, 2022 15:09:14 GMT -8
Low power means nothing on the screen. It is not a very accurate reading of near anything that I can tell. Except for causing customer angst! Try using a "ping" to the system to figure out how often it is connected or disconnected. Something like these: www.comparitech.com/net-admin/best-ping-monitoring-tools/When it does come back on line, has it rebooted? Are there gaps in the data? BP
|
|
|
Post by Powderjockey on Sept 18, 2022 17:00:53 GMT -8
Well today I started to get down to the bottom of this problem I have. When I connect the SkyWeather to the SolarMax2, all of the lights on the RPi and the Grove board and the weather board as well. The green light on the Pi flickers as expected, but when I try to access via VNC, there is no connecting. LanScan (MacOS) does not find the Pi either. The small 5" HDMI display that is attached to the PI also does not show a thing. I bring the unit inside with the monitor and plug it into a wall outlet and everything seems to work great. So, I brought the USB cable from the SolarMax2 inside and use a USB power adapter to connect the unit to power and again, not a thing shows up on the monitor. LanScan does not find the Pi and VNC can not connect.   So, my question is, is the board not getting enough power thru the set up using the above imaged parts with a USB male to USB male cable between the bottom of the box and the SolarMax2? Have there been any problems with the female to female connector in the above image?
|
|
|
Post by SDL on Sept 26, 2022 15:20:48 GMT -8
Hmm. It looks like ou have a very long USB Type A to USB Type C cable. Make that a lot shorter. There may too much drop through the cable. You can measure the 5V pin on the Pi 40 GPIO line to check to see if you aren't getting enough voltage.
BP
|
|
smurphy
Full Member
 
Posts: 169
Raspberry Pi: Yes
Other Device: many ...
|
Post by smurphy on Sept 27, 2022 1:22:36 GMT -8
The only way I could get stable 5V power to my weather station was to actually send 12V in (20m cable), and have a 12V->5V DC/DC unit inside the weather station.
|
|
|
Post by Powderjockey on Sept 29, 2022 12:03:31 GMT -8
|
|
|
Post by Powderjockey on Sept 29, 2022 15:25:15 GMT -8
OK, after I uploaded those pictures of the set up, I started the system thru terminal/ssh and it ran for a bit and then spat out the following: *************************** taking SkyPicture sending SkyCamera Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1260, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1306, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1255, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1069, in _send_output self.send(chunk) File "/usr/lib/python3.7/http/client.py", line 991, in send self.sock.sendall(data) File "/usr/lib/python3.7/ssl.py", line 1015, in sendall v = self.send(byte_view[count:]) File "/usr/lib/python3.7/ssl.py", line 984, in send return self._sslobj.write(data) TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 499, in send timeout=timeout, File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 367, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3/dist-packages/six.py", line 692, in reraise raise value.with_traceback(tb) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1260, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1306, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1255, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1069, in _send_output self.send(chunk) File "/usr/lib/python3.7/http/client.py", line 991, in send self.sock.sendall(data) File "/usr/lib/python3.7/ssl.py", line 1015, in sendall v = self.send(byte_view[count:]) File "/usr/lib/python3.7/ssl.py", line 984, in send return self._sslobj.write(data) urllib3.exceptions.ProtocolError: ('Connection aborted.', TimeoutError(110, 'Connection timed out'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "SkyWeather.py", line 1734, in <module> SkyCamera.sendSkyWeather() File "/home/pi/SDL_Pi_SkyWeather/SkyCamera.py", line 401, in sendSkyWeather r = requests.post(url = API_ENDPOINT, json = data) File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 115, in post return request("post", url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 547, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', TimeoutError(110, 'Connection timed out')) pi@SkyWeather:~/SDL_Pi_SkyWeather $ Perhaps it can't connect to my network?   Do these look like something has happened recently?
|
|
|
Post by Jason on Oct 1, 2022 4:11:06 GMT -8
The SolarMAX2 images closely resemble how mine look when the SDR is not receiving messages from the SolarMAX2 system.
Thanks,
Jason
|
|
|
Post by Powderjockey on Oct 1, 2022 8:09:33 GMT -8
Hmm. It looks like ou have a very long USB Type A to USB Type C cable. Make that a lot shorter. There may too much drop through the cable. You can measure the 5V pin on the Pi 40 GPIO line to check to see if you aren't getting enough voltage. BP pi@SkyWeather:~ $ vcgencmd measure_volts core volt=0.8700V pi@SkyWeather:~ $ pigs r 35 1 pi@SkyWeather:~ $
|
|
|
Post by Powderjockey on Oct 1, 2022 8:16:00 GMT -8
The SolarMAX2 images closely resemble how mine look when the SDR is not receiving messages from the SolarMAX2 system. Thanks, Jason   These are the two process running collecting the SolarMax2 info.
|
|
|
Post by Jason on Oct 3, 2022 4:46:57 GMT -8
Is the "Connected with result code 5" coming from your MQTT connection trying to connect to a Moquitto MQTT broker? If so, that result code = Unauthorized.
Thanks,
Jason
|
|
|
Post by Powderjockey on Oct 3, 2022 14:32:33 GMT -8
Is the "Connected with result code 5" coming from your MQTT connection trying to connect to a Moquitto MQTT broker? If so, that result code = Unauthorized. Thanks, Jason From searching around, I believe it does have something to do with the MQTT. The userid and passwords are correct. Perhaps the server had gone to sleep. Seems functioning now.
|
|
kiwx
Junior Member

Posts: 65
|
Post by kiwx on Mar 16, 2023 4:55:57 GMT -8
I had similar issues at first with my weather setup. Power was difficult to get to that distance and it was on the fringe of my wifi connection so things were just off. To solve my issues, I ran a CAT5 cable the distance and use PoE and wired Ethernet along with a wifi extender (which has an Ethernet port). This solved all my issues. I have been running rock solid for years.
Wifi -> Wi-Fi extender -> PoE switch -> RPi PoE adapter -> RPi.
|
|