Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

WeeWx extra data plugin
#11

Glad it was you left it off and not me doing a "boy look" as my partner would say  Big Grin

I think I may have found the first hurdle for me now that I read this again more carefully. Do I understand that this will only work with the Pro2 Plus RX - not the Compact Rx - due to the logger output requirements?

Thanks
Colin

41south.net.nz powered by WeatherDuino and Weewx
Reply
#12

(14-01-2019, 21:07)41south Wrote:  Glad it was you left it off and not me doing a "boy look" as my partner would say  Big Grin

I think I may have found the first hurdle for me now that I read this again more carefully. Do I understand that this will only work with the Pro2 Plus RX - not the Compact Rx - due to the logger output requirements?

Thanks
Colin

Hello Colin,

the Pro2Plus RX has some additional UART interfaces where the data of the addon is transmitted. Since I do not own a compact receiver I do not know if there are unused UART interfaces.
Maybe Werk can tell us more.
If this is the case, the modification of the add on software should be possible to work with the compact receiver.

regards,
engolling
Reply
#13

There isn't any free UART on the Compact

Reply
#14

Changed the attachment in the first post.

Changelog:
Installation manual added.
Reply
#15

i try this but some errors appear:

Code:
wee_database weewx.conf --reconfigureUsing configuration file weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_sqlite'
Traceback (most recent call last):
  File "/usr/bin/wee_database", line 793, in <module>
    main()
  File "/usr/bin/wee_database", line 156, in main
    reconfigMainDatabase(config_dict, db_binding)
  File "/usr/bin/wee_database", line 280, in reconfigMainDatabase
    db_binding)
  File "/usr/share/weewx/weewx/manager.py", line 987, in get_manager_dict_from_config
    manager_dict['schema'] = weeutil.weeutil._get_object(schema_name)
  File "/usr/share/weewx/weeutil/weeutil.py", line 1132, in _get_object
    mod = __import__(module)
ImportError: No module named WeeWx_WeatherDuino_Logger_plugin_04

with command: tail -f /var/log/syslog:

Code:
Jan 19 05:57:48 raspberrypi systemd[1]: Stopping LSB: weewx weather system...
Jan 19 05:57:48 raspberrypi weewx[18465]: Stopping weewx weather system: weewx not running....
Jan 19 05:57:48 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Jan 19 05:57:48 raspberrypi weewx[18489]: engine: Initializing weewx version 3.8.2
Jan 19 05:57:48 raspberrypi weewx[18489]: engine: Using Python 2.7.9 (default, Sep 26 2018, 05:58:52) #012[GCC 4.9.2]
Jan 19 05:57:49 raspberrypi weewx[18489]: engine: Platform Linux-4.4.34-v7+-armv7l-with-debian-8.0
Jan 19 05:57:49 raspberrypi weewx[18489]: engine: Locale is 'fr_BE.UTF-8'
Jan 19 05:57:49 raspberrypi weewx[18489]: engine: pid file is /var/run/weewx.pid
Jan 19 05:57:49 raspberrypi weewx[18493]: engine: Using configuration file /etc/weewx/weewx.conf
Jan 19 05:57:49 raspberrypi weewx[18493]: engine: Loading station type Vantage (weewx.drivers.vantage)
Jan 19 05:57:49 raspberrypi weewx[18476]: Starting weewx weather system: weewx.
Jan 19 05:57:49 raspberrypi systemd[1]: Started LSB: weewx weather system.
Jan 19 05:57:49 raspberrypi weewx[18493]: vantage: No <ACK> received from console
Jan 19 05:57:49 raspberrypi weewx[18493]: vantage: No <ACK> received from console
Jan 19 05:57:49 raspberrypi weewx[18493]: vantage: Unable to pass CRC16 check while getting data
Jan 19 05:57:53 raspberrypi weewx[18493]: engine: Caught unrecoverable exception in engine:
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****  No module named WeeWx_WeatherDuino_Logger_plugin_04
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****  Traceback (most recent call last):
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****    File "/usr/share/weewx/weewx/engine.py", line 871, in main
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****      engine = engine_class(config_dict)
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****    File "/usr/share/weewx/weewx/engine.py", line 78, in __init__
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****      self.loadServices(config_dict)
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****    File "/usr/share/weewx/weewx/engine.py", line 142, in loadServices
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****      self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****    File "/usr/share/weewx/weeutil/weeutil.py", line 1132, in _get_object
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****      mod = __import__(module)
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****  ImportError: No module named WeeWx_WeatherDuino_Logger_plugin_04
Jan 19 05:57:53 raspberrypi weewx[18493]:     ****  Exiting.
Reply
#16

Hello f4aii,
it seems that the python module can not be found.
ImportError: No module named WeeWx_WeatherDuino_Logger_plugin_04

[Image: y4mzFt_GZB6dX9bjsVEv_bHIf06Gi42rthiGrzMO...pmode=none]
Can you check, that the python module is in the right directory. In my Raspbian installation it is like above.

engolling
Reply
#17

Quote:wee_database weewx.conf --reconfigure
Traceback (most recent call last):
File "/usr/bin/wee_database", line 793, in <module>
main()
File "/usr/bin/wee_database", line 133, in main
config_path, config_dict = weecfg.read_config(options.config_path, args)
File "/usr/share/weewx/weecfg/__init__.py", line 221, in read_config
locations=locations, file_name=file_name)
File "/usr/share/weewx/weecfg/__init__.py", line 196, in find_file
raise IOError("%s is not a file" % file_path)
IOError: weewx.conf is not a file

I did not put in the right directory, sorry ...
Now, I have this error.
Reply
#18

According to the error message WeeWx seems to habe problems reading the .conf file.
The file should be in the following directory:
[Image: y4mU8YxioVlzkJ85uq97exz6y-CW4Hx-splj2HA6...pmode=none]



If it is there, can you provide me your weewx.conf file - please be careful to delete personal data first, in case you have something written in it.
Then I can check if there is a wrong syntax or anything like that.

engolling
Reply
#19

Changed the attachment in the first post.

Changelog:
Installation manual updated.
Reply
#20

It looks like I may have to take a slightly different tack on this as I'm only using the compact RX. My thought is to sniff the data using perhaps the Weewx-sdr driver or build something similar of my own. I also have some solar charging data that I'd like to capture, so again I am thinking I can get the data capture Arduino to send that out and capture it into Weewx.

I'll keep you posted Smile

41south.net.nz powered by WeatherDuino and Weewx
Reply




Users browsing this thread: 1 Guest(s)