Got a problem:
I stopped the console and deleted the wfconsole.ini then restarted -
BUT
I cannot get past the TEMPEST device ID step:
Station and device IDs
---------------------------------
Please enter your Station ID*: 147356
Do you own a TEMPEST?* [y/n] y
Please enter your TEMPEST device ID*: 2207
TEMPEST not found. Please re-enter your TEMPEST device ID*: ST-00152207
TEMPEST device ID not valid. Please re-enter your TEMPEST device ID*: 2207
TEMPEST not found. Please re-enter your TEMPEST device ID*: 2207
TEMPEST not found. Please re-enter your TEMPEST device ID*:
Best guess is ‘maybe’ your TempestID is incorrect. The ID of 2207 is a very low number and I don’t recall the ID matching up with the last few digits of the SN but it’s been a long time since I had a Tempest so I don’t recall exactly. I’d check those first.
Your later post a few minutes ago also says your ID of 2207 is incorrect.
At least we are getting somewhere! I was never able to recreate this, so I think we need to examine exactly what data your console is receiving.
Are you happy editing Python code? If so, open ~/wfpiconsole/lib/observation_parser.py and on line 420 add: print(message) (make sure the indentation matches the preceding and following lines).
When you next receive a lightning strike, look on the terminal (make sure you start the console manually from the terminal - don’t rely on the autostart functionality) and you’ll see the lightning strike JSON packet printed to the screen. Share that with me and I can try and see if I understand what is going on
Yes, that’s the right line but you need to use spaces to get the correct indentation rather than tabs. Python is very picky….
I made a mistake in my previous post. At the moment the print statement is 4 spaces over-indented. It needs to be on the same indentation level as the if-else statements (4 spaces to the left).
Here is everything again.
I disabled autostart.
I rebooted.
Using VNC I remoted in.
I started wfpiconsole.
The strike count is incrementing on it - but nothing is being printed in the console…
OK, it is very strange that the lightning strike count is increasing, but no lightning strike events are appearing on the console.
Between lines 144 and 145 of ~/wfpiconsole/service/udp.py please can you add the following line:
print(self.message)
Make sure the indentation matches line 145. This will print all UDP messages received by the console. Do you see any messages with type = evt_strike while the lightning strike is increasing?
If it helps, this is what I am seeing on the UDP Debug of the Weather Display PC Application: “strike_last_epoch”:1725496830,"
It will be storming by 2pm today, so I should be able to do the udp.py trace that Peter requested above, then.
That sounds good. It’ll be really useful to see what is being ingested by the console.
Just to check - are you sure that the time on your Raspberry Pi is correct? If the time is wrong, it will affect the calculation of the time since the last strike