Hi,

I run the latest weewx Version on a raspberry 3B+.
Everything is fine and working.
https://www.wetter-muehlviertel.at/messwerte/

Today i put the alarm.py in der Weewx User Directory und start tests.

When i try a test like this:
PYTHONPATH=/usr/share/weewx python alarm.py /etc/weewx/weewx.conf

This is the result:

*************************
pi@raspberrypi:/home/weewx/bin/user $ PYTHONPATH=/usr/share/weewx python 
alarm.py /home/weewx/weewx.conf
Traceback (most recent call last):
  File "alarm.py", line 213, in <module>
    alarm = MyAlarm(engine, config_dict)
  File "alarm.py", line 97, in __init__
    self.bind(weewx.NEW_ARCHIVE_RECORD, self.newArchiveRecord)    # NOTE 1
  File "/usr/share/weewx/weewx/engine.py", line 281, in bind
    self.engine.bind(event_type, callback)
AttributeError: 'NoneType' object has no attribute 'bind'

*************************

I have everything add, according to instructions, in the Weewx - config 
file.
But I do not get an email.
What is wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to