Jump to content

Meteobridge Install and Startup problem


Recommended Posts

@glarsen I'm moving from PG2 to PG3 on my Polisy and I have been unable to get the meteobridge server to run, and would appreciate any help. Pretty sure I have it set up the same way as the V2 version. Below are from my error log.

Thanks,
Mark

2024-01-15 18:06:26,894 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2024-01-15 18:06:26,901 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2024-01-15 18:06:26,902 MainThread udi_interface      INFO     __init__:<module>: User=polyglot
2024-01-15 18:06:26,903 MainThread udi_interface      INFO     __init__:<module>: Home=/var/polyglot
2024-01-15 18:06:26,904 MainThread udi_interface      INFO     __init__:<module>: Node Server Path=/var/polyglot/pg3/ns/000db953c538_20
2024-01-15 18:06:26,905 MainThread udi_interface      INFO     __init__:<module>: PG3INIT=eyJ1dWlkIjoiMDA6MGQ6Yjk6NTM6YzU6MzgiLCJwcm9maWxlTnVtIjoyMCwibG9nTGV2ZWwiOiJERUJVRyIsInRva2VuIjoiMDM5biV6dUYrVGc4OURYOCIsIm1xdHRIb3N0IjoibG9jYWxob3N0IiwibXF0dFBvcnQiOjE4ODgsInNlY3VyZSI6MSwiaXNQRzN4IjpmYWxzZSwicGczVmVyc2lvbiI6IjMuMS4yMyIsImlzeVZlcnNpb24iOiI1LjguMCIsImVkaXRpb24iOiJGcmVlIn0=
2024-01-15 18:06:26,905 MainThread udi_interface      INFO     __init__:<module>: Loading interface module
2024-01-15 18:06:27,750 MainThread udi_interface      INFO     interface:<module>: Loading MQTT module
2024-01-15 18:06:27,968 MainThread udi_interface      INFO     interface:<module>: MQTT module loaded
2024-01-15 18:06:29,733 MainThread udi_interface      INFO     __init__:<module>: Loading udi_interface module
2024-01-15 18:06:29,736 MainThread udi_interface      INFO     __init__:<module>: Loading node module
2024-01-15 18:06:29,737 MainThread udi_interface      INFO     __init__:<module>: Loading custom module
2024-01-15 18:06:29,737 MainThread udi_interface      INFO     __init__:<module>: Loading isy module
2024-01-15 18:06:29,738 MainThread udi_interface      INFO     __init__:<module>: UDI interface initialized
2024-01-15 18:06:29,738 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.6 Starting...
2024-01-15 18:06:29,749 MainThread udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2024-01-15 18:06:29,750 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db953c538_20/./mb-poly.py", line 4, in <module>
2024-01-15 18:06:29,751 MainThread udi_interface      ERROR    udi_interface:write: from nodes import Controller
2024-01-15 18:06:29,751 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db953c538_20/nodes/__init__.py", line 5, in <module>
2024-01-15 18:06:29,752 MainThread udi_interface      ERROR    udi_interface:write: from .PrecipNode import PrecipNode
2024-01-15 18:06:29,753 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db953c538_20/nodes/PrecipNode.py", line 1, in <module>
2024-01-15 18:06:29,754 MainThread udi_interface      ERROR    udi_interface:write: ode
2024-01-15 18:06:29,754 MainThread udi_interface      ERROR    udi_interface:write: NameError
2024-01-15 18:06:29,755 MainThread udi_interface      ERROR    udi_interface:write: :
2024-01-15 18:06:29,755 MainThread udi_interface      ERROR    udi_interface:write: name 'ode' is not defined

 

Link to comment

I'll have a look as soon as I can.  We're just finishing up moving and setting up my development platform should be done by the weekend.  What type of weather hardware are you using?

 

Also, please set the logging to debug and restart the plugin. Then download the lig package and PM it to me.

 

Edited by glarsen
Link to comment
  • 3 weeks later...

Hello,

I had some distractions, but started looking into this again today. It appears that the PrecipNode.py that is loaded for Polisy is malformed. Part of the header is at the end of the file. Not sure if there are any other problems with it. I'd appreciate it if you could take a look. 

Thanks,

Mark

PrecipNode.py

Edited by MTB
corrected spelling error
Link to comment

There's a new version of Meteobridge that I just uploaded incorporating some changes requested by another user.  The file for both Polisy and eisy is identical and runs fine on both of my Polisy and eisy, so I'm not sure why you're seeing that.  In any case, try 3.2.0 and see if it works.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...