Python Plugin: MeteoAlarmEU Topic is solved

Python and python framework

Moderator: leecollings

User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by EdwinK »

I don't see any error messages anymore, so I guess it's gone now.

Btw. I thought I had the right RSS feed.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by ycahome »

EdwinK wrote: Friday 04 January 2019 11:00 I don't see any error messages anymore, so I guess it's gone now.

Btw. I thought I had the right RSS feed.
You can't get meteo alarms for a country because climate can differ from region to region. So, its mandatory to use region's RSS feed.

Glad it is working for you now.
User avatar
dyter
Posts: 42
Joined: Thursday 08 February 2018 15:48
Target OS: NAS (Synology & others)
Domoticz version: 8841
Location: Lyon
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by dyter »

I have a log error with http://www.meteoalarm.eu/documents/rss/fr/FR038.rss :

2019-01-04 13:09:40.273 Error: (MeteoAlarmEU) failed to load 'plugin.py', Python Path used was '/src/domoticz/plugins/MeteoAlarmEU/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-x86_64-linux-gnu:/usr/lib/python3.5/lib-dynload'.
2019-01-04 13:09:40.274 Error: (MeteoAlarm) Module Import failed, exception: 'ImportError'
2019-01-04 13:09:40.274 Error: (MeteoAlarm) Module Import failed: ' Name: feedparser'
2019-01-04 13:09:40.274 Error: (MeteoAlarm) Error Line details not available.
2019-01-04 13:10:44.049 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:10:58.084 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:11:12.137 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:11:26.168 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:11:40.199 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:11:54.228 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:12:08.258 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:12:22.290 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly

I use gataway/domoticz on docker X86
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
manutremo
Posts: 69
Joined: Saturday 19 November 2016 17:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by manutremo »

I'm using a regional feed and getting an error in line 189, and the device shows no data. The web site is showing an alert right now. The feed is:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://meteoalarm.eu/documents/rss/es/ES820.rss" rel="self" type="application/rss+xml"/>
		<title>Meteoalarm Spain, Costa Girona</title>
		<link>https://www.meteoalarm.eu/es_ES/0/0/ES820.html</link>
		<description>Metoalarm actual warnings from Spain, Costa Girona</description>
		<ttl>10</ttl>
		<language>eng</language>
		<item>
			<title>Costa Girona</title>
			<link>https://www.meteoalarm.eu/es_ES/0/0/ES820.html</link>
			<description><![CDATA[<table border="0" cellspacing="0" cellpadding="3"><tr><th colspan="3" align="left">Today</th></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l2-t7.jpg" alt="awt:7 level:2"></td><td><b>From: </b><i>04.01.2019 11:00 CET</i><b> Until: </b><i>04.01.2019 11:59 CET</i></td></tr><tr><td width="28"></td><td></td></tr><tr><th colspan="3" align="left"><br />Tomorrow</th></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l3-t7.jpg" alt="awt:7 level:3"></td><td><b>From: </b><i>05.01.2019 20:00 CET</i><b> Until: </b><i>06.01.2019 23:59 CET</i></td></tr><tr><td width="28"></td><td></td></tr></table>]]></description>
			<pubDate>Fri, 04 Jan 2019 11:32:08 +0100</pubDate>
			<guid isPermaLink="false">b3e83bb1145c6663e657f12033293323</guid>
		</item>
	</channel>
</rss>
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by ycahome »

dyter wrote: Friday 04 January 2019 13:17 I have a log error with http://www.meteoalarm.eu/documents/rss/fr/FR038.rss :

2019-01-04 13:09:40.273 Error: (MeteoAlarmEU) failed to load 'plugin.py', Python Path used was '/src/domoticz/plugins/MeteoAlarmEU/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-x86_64-linux-gnu:/usr/lib/python3.5/lib-dynload'.
2019-01-04 13:09:40.274 Error: (MeteoAlarm) Module Import failed, exception: 'ImportError'
2019-01-04 13:09:40.274 Error: (MeteoAlarm) Module Import failed: ' Name: feedparser'
2019-01-04 13:09:40.274 Error: (MeteoAlarm) Error Line details not available.
2019-01-04 13:10:44.049 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:10:58.084 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:11:12.137 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:11:26.168 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:11:40.199 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:11:54.228 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:12:08.258 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly
2019-01-04 13:12:22.290 Error: MeteoAlarm hardware (13) thread seems to have ended unexpectedly

I use gataway/domoticz on docker X86
Seems like you don't have "feedparser"
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by ycahome »

manutremo wrote: Friday 04 January 2019 13:31 I'm using a regional feed and getting an error in line 189, and the device shows no data. The web site is showing an alert right now. The feed is:

Can we have the error? Just tested your feed and am getting correct results!!
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by EdwinK »

Getting this error now for a while:
2019-02-08 19:03:31.968 Error: (MeteoAlarm) ----> Line 280 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
2019-02-08 19:03:31.968 Error: (MeteoAlarm) ----> Line 240 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
2019-02-08 20:03:41.543 Error: (MeteoAlarm) 'onHeartbeat' failed 'ValueError':'invalid literal for int() with base 10: '2>-/td>-td>-b>From: -/b>-i>09.02.2019 09:00 CET-/i>-b> Until: -/b>-i>09.02.2019 16:00 CET-/i>-/td>-/tr>-tr>-td width=28>-/td>-td>nederlands: Kans op zware windstoten tot 80 km/uur.\nKans op windstot'.
2019-02-08 20:03:41.543 Error: (MeteoAlarm) ----> Line 280 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
2019-02-08 20:03:41.543 Error: (MeteoAlarm) ----> Line 240 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by ycahome »

EdwinK wrote: Friday 08 February 2019 20:06 Getting this error now for a while:
2019-02-08 19:03:31.968 Error: (MeteoAlarm) ----> Line 280 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
2019-02-08 19:03:31.968 Error: (MeteoAlarm) ----> Line 240 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
2019-02-08 20:03:41.543 Error: (MeteoAlarm) 'onHeartbeat' failed 'ValueError':'invalid literal for int() with base 10: '2>-/td>-td>-b>From: -/b>-i>09.02.2019 09:00 CET-/i>-b> Until: -/b>-i>09.02.2019 16:00 CET-/i>-/td>-/tr>-tr>-td width=28>-/td>-td>nederlands: Kans op zware windstoten tot 80 km/uur.\nKans op windstot'.
2019-02-08 20:03:41.543 Error: (MeteoAlarm) ----> Line 280 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
2019-02-08 20:03:41.543 Error: (MeteoAlarm) ----> Line 240 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
if was previously working, something may changed in the feed.
Also, check if everything looks ok in your settings.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by EdwinK »

Besides this, everything looks fine. So I guess there is somethign with the feed.

Code: Select all

2019-02-09 17:04:51.140 Error: (MeteoAlarm) 'onHeartbeat' failed 'ValueError':'invalid literal for int() with base 10: '2>-/td>-td>-b>From: -/b>-i>09.02.2019 13:00 CET-/i>-b> Until: -/b>-i>09.02.2019 17:00 CET-/i>-/td>-/tr>-tr>-td width=28>-/td>-td>nederlands: Kans op zware windstoten tot 80 km/uur, aan zee tot ca. 9'.
2019-02-09 17:04:51.140 Error: (MeteoAlarm) ----> Line 280 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
2019-02-09 17:04:51.140 Error: (MeteoAlarm) ----> Line 189 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
This is from the feed:
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http://meteoalarm.eu/documents/rss/nl/NL009.rss" rel="self" type="application/rss+xml"/>
<title>Meteoalarm Netherlands, Zuid-Holland</title>
<link>https://www.meteoalarm.eu/ne_NL/0/0/NL009.html</link>
<description>Metoalarm actual warnings from Netherlands, Zuid-Holland</description>
<ttl>10</ttl>
<language>eng</language>
<item>
<title>Zuid-Holland</title>
<link>https://www.meteoalarm.eu/ne_NL/0/0/NL009.html</link>
<description><![CDATA[<table border="0" cellspacing="0" cellpadding="3"><tr><th colspan="3" align="left">Today</th></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l1-t4.jpg" alt="awt:4 level:1"></td></tr><tr><td width="28"></td><td>No special awareness required</td></tr><tr><th colspan="3" align="left"><br />Tomorrow</th></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l1-t3.jpg" alt="awt:3 level:1"></td></tr><tr><td width="28"></td><td>No special awareness required</td></tr></table>]]></description>
<pubDate>Sun, 10 Feb 2019 01:00:00 +0100</pubDate>
<guid isPermaLink="false">970cbc39647ee97a70d142b1e92e8c19</guid>
</item>
</channel>
</rss>
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
manutremo
Posts: 69
Joined: Saturday 19 November 2016 17:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by manutremo »

I reported the same issue back in November. Apparently the plug-in uses certain assumptions on the format of the rss responses to extract the information. In certain circumstances, the rss feed seems to use a slightly different format which causes the plug-in to fail. After some time the feed users the first format again and the plug-in works.
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by ycahome »

manutremo wrote: Monday 11 February 2019 22:09 I reported the same issue back in November. Apparently the plug-in uses certain assumptions on the format of the rss responses to extract the information. In certain circumstances, the rss feed seems to use a slightly different format which causes the plug-in to fail. After some time the feed users the first format again and the plug-in works.
unfortunately this is indeed a fact.
This RSS feed does not present information one-by-one in different RSS keywords but inside "description" instead.

What I do is search and split this keyword's contents. If there is another idea will be more than welcome.
tonbor
Posts: 153
Joined: Monday 17 February 2014 9:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by tonbor »

Well starting up the plugin is working. No update only error.....
2019-08-07 16:29:39.751 Error: Utrecht hardware (45) thread seems to have ended unexpectedly

2019-08-07 16:29:53.756 Error: Utrecht hardware (45) thread seems to have ended unexpectedly

2019-08-07 16:30:08.276 Error: Utrecht hardware (45) thread seems to have ended unexpectedly

2019-08-07 16:30:22.280 Error: Utrecht hardware (45) thread seems to have ended unexpectedly

2019-08-07 16:30:36.288 Error: Utrecht hardware (45) thread seems to have ended unexpectedly

Version: 4.10997
Build Hash: 75c9a7aa6
Compile Date: 2019-07-13 07:53:10
dzVents Version: 2.4.26
Python Version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]
Screenshot_20190807-190314_Chrome.jpg
Screenshot_20190807-190314_Chrome.jpg (168.41 KiB) Viewed 5628 times
Screenshot_20190807-190235_Chrome.jpg
Screenshot_20190807-190235_Chrome.jpg (256.26 KiB) Viewed 5628 times
Only refresh with timeout :oops:
User avatar
phoenixblue
Posts: 76
Joined: Friday 25 November 2016 11:20
Target OS: Windows
Domoticz version:
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by phoenixblue »

EdwinK wrote:Besides this, everything looks fine. So I guess there is somethign with the feed.

Code: Select all

2019-02-09 17:04:51.140 Error: (MeteoAlarm) 'onHeartbeat' failed 'ValueError':'invalid literal for int() with base 10: '2>-/td>-td>-b>From: -/b>-i>09.02.2019 13:00 CET-/i>-b> Until: -/b>-i>09.02.2019 17:00 CET-/i>-/td>-/tr>-tr>-td width=28>-/td>-td>nederlands: Kans op zware windstoten tot 80 km/uur, aan zee tot ca. 9'.
2019-02-09 17:04:51.140 Error: (MeteoAlarm) ----> Line 280 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
2019-02-09 17:04:51.140 Error: (MeteoAlarm) ----> Line 189 in '/home/pi/domoticz/plugins/MeteoAlarmEU/plugin.py', function onHeartbeat
This is from the feed:
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http://meteoalarm.eu/documents/rss/nl/NL009.rss" rel="self" type="application/rss+xml"/>
<title>Meteoalarm Netherlands, Zuid-Holland</title>
<link>https://www.meteoalarm.eu/ne_NL/0/0/NL009.html</link>
<description>Metoalarm actual warnings from Netherlands, Zuid-Holland</description>
<ttl>10</ttl>
<language>eng</language>
<item>
<title>Zuid-Holland</title>
<link>https://www.meteoalarm.eu/ne_NL/0/0/NL009.html</link>
<description><![CDATA[<table border="0" cellspacing="0" cellpadding="3"><tr><th colspan="3" align="left">Today</th></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l1-t4.jpg" alt="awt:4 level:1"></td></tr><tr><td width="28"></td><td>No special awareness required</td></tr><tr><th colspan="3" align="left"><br />Tomorrow</th></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l1-t3.jpg" alt="awt:3 level:1"></td></tr><tr><td width="28"></td><td>No special awareness required</td></tr></table>]]></description>
<pubDate>Sun, 10 Feb 2019 01:00:00 +0100</pubDate>
<guid isPermaLink="false">970cbc39647ee97a70d142b1e92e8c19</guid>
</item>
</channel>
</rss>
Do you have at this moment the same error like this?

Code: Select all


2019-08-09 19:55:37.953 Error: (Meteo Alarm) 'onHeartbeat' failed 'ValueError':'invalid literal for int() with base 10: '2>-/td>-td>-b>From: -/b>-i>10.08.2019 05:00 CET-/i>-b> Until: -/b>-i>10.08.2019 20:00 CET-/i>-/td>-/tr>-tr>-td width=28>-/td>-td>nederlands: Zware windstoten van 75-90 km/uur.\nKans op windstoten.\n'.

2019-08-09 19:55:37.953 Error: (Meteo Alarm) ----> Line 280 in 'C:\Program Files (x86)\Domoticz\plugins\MeteoAlarmEU\plugin.py'

2019-08-09 19:55:37.953 Error: (Meteo Alarm) ----> Line 240 in 'C:\Program Files (x86)\Domoticz\plugins\MeteoAlarmEU\plugin.py



User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by ycahome »

on my Domoticz your area works fine. Check Debug log!!

Code: Select all

 2019-08-10 11:09:49.432 (MeteoAlarmEU) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzHash':'bc239243'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Key':'MeteoAlarmEU'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode3':'60'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzBuildTime':'2018-05-16 09:28:53'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode1':'http://meteoalarm.eu/documents/rss/nl/NL009.rss'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode4':'Debug'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzVersion':'3.9443'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'HardwareID':'16'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Name':'MeteoAlarmEU'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Port':'0'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Author':'ycahome'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Version':'1.0.2'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'HomeFolder':'/home/yiannis/domoticz/plugins/MeteoAlarmEU/'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device count: 2
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device: 1 - ID: 64, Name: 'MeteoAlarmEU - Today', nValue: 2, sValue: 'Wind(2)'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device ID: '64'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device Name: 'MeteoAlarmEU - Today'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device nValue: 2
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device sValue: 'Wind(2)'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device LastLevel: 0
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device: 2 - ID: 65, Name: 'MeteoAlarmEU - Tomorrow', nValue: 1, sValue: 'No special awareness required'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device ID: '65'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device Name: 'MeteoAlarmEU - Tomorrow'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device nValue: 1
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device sValue: 'No special awareness required'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device LastLevel: 0
2019-08-10 11:09:49.432 (MeteoAlarmEU) onStart called
2019-08-10 11:09:49.432 (MeteoAlarmEU) Using polling interval of 3600 seconds
2019-08-10 11:09:49.432 (MeteoAlarmEU) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzHash':'bc239243'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Key':'MeteoAlarmEU'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode3':'60'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzBuildTime':'2018-05-16 09:28:53'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode1':'http://meteoalarm.eu/documents/rss/nl/NL009.rss'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode4':'Debug'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzVersion':'3.9443'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'HardwareID':'16'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Name':'MeteoAlarmEU'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Port':'0'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Author':'ycahome'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Version':'1.0.2'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'HomeFolder':'/home/yiannis/domoticz/plugins/MeteoAlarmEU/'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device count: 2
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device: 1 - ID: 64, Name: 'MeteoAlarmEU - Today', nValue: 2, sValue: 'Wind(2)'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device ID: '64'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device Name: 'MeteoAlarmEU - Today'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device nValue: 2
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device sValue: 'Wind(2)'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device LastLevel: 0
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device: 2 - ID: 65, Name: 'MeteoAlarmEU - Tomorrow', nValue: 1, sValue: 'No special awareness required'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device ID: '65'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device Name: 'MeteoAlarmEU - Tomorrow'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device nValue: 1
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device sValue: 'No special awareness required'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device LastLevel: 0
2019-08-10 11:09:49.432 (MeteoAlarmEU - Today) Updating device from 2:'Wind(2)' to have values 0:'No Data'.
2019-08-10 11:09:49.433 (MeteoAlarmEU - Tomorrow) Updating device from 1:'No special awareness required' to have values 0:'No Data'.
2019-08-10 11:09:58.933 (MeteoAlarmEU) Pushing 'onHeartbeatCallback' on to queue
2019-08-10 11:09:58.944 (MeteoAlarmEU) Processing 'onHeartbeatCallback' message
2019-08-10 11:09:58.944 (MeteoAlarmEU) Calling message handler 'onHeartbeat'.
2019-08-10 11:09:59.354 (MeteoAlarmEU) Gathering Data for:Zuid-Holland
2019-08-10 11:09:59.354 (MeteoAlarmEU) ------FEEDPARSER OUTPUT for TODAY:------------------
2019-08-10 11:09:59.354 (MeteoAlarmEU) Icon:-tr>TODAY -/th>-/tr>-tr>-td width="28">-img alt="awt:1 level:2" border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l2-t1.jpg" />-/td>
2019-08-10 11:09:59.354 (MeteoAlarmEU) AWT Possitions Value 1:1
2019-08-10 11:09:59.354 (MeteoAlarmEU) Level Possitions Value 1:2
2019-08-10 11:09:59.354 (MeteoAlarmEU) Alarm(s) for today:Wind(2)
2019-08-10 11:09:59.354 (MeteoAlarmEU) AWT:1
2019-08-10 11:09:59.354 (MeteoAlarmEU) Level:2
2019-08-10 11:09:59.354 (MeteoAlarmEU) Period:-b>From: -/b>-i>10.08.2019 07:00 CET-/i>-b> Until: -/b>-i>10.08.2019 21:00 CET-/i>-/tr>-tr>-td width="28">
2019-08-10 11:09:59.354 (MeteoAlarmEU) Current Awareness Status:No Data with Level 0
2019-08-10 11:09:59.354 (MeteoAlarmEU) Awareness for Today Updated to:Wind(2)
2019-08-10 11:09:59.354 (MeteoAlarmEU - Today) Updating device from 0:'No Data' to have values 2:'Wind(2)'.
2019-08-10 11:09:59.355 (MeteoAlarmEU) Alarm(s) for Tomorrow: No special awareness required
2019-08-10 11:09:59.355 (MeteoAlarmEU) Type Of Warning:-1
2019-08-10 11:09:59.355 (MeteoAlarmEU) Current Awareness Status:No Data with Level 0
2019-08-10 11:09:59.355 (MeteoAlarmEU) Awareness for Tomorrow Updated to:No special awareness required
2019-08-10 11:09:59.355 (MeteoAlarmEU - Tomorrow) Updating device from 0:'No Data' to have values 1:'No special awareness required'. 


User avatar
phoenixblue
Posts: 76
Joined: Friday 25 November 2016 11:20
Target OS: Windows
Domoticz version:
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by phoenixblue »

ycahome wrote:on my Domoticz your area works fine. Check Debug log!!

Code: Select all

 2019-08-10 11:09:49.432 (MeteoAlarmEU) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzHash':'bc239243'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Key':'MeteoAlarmEU'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode3':'60'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzBuildTime':'2018-05-16 09:28:53'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode1':'http://meteoalarm.eu/documents/rss/nl/NL009.rss'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode4':'Debug'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzVersion':'3.9443'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'HardwareID':'16'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Name':'MeteoAlarmEU'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Port':'0'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Author':'ycahome'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Version':'1.0.2'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'HomeFolder':'/home/yiannis/domoticz/plugins/MeteoAlarmEU/'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device count: 2
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device: 1 - ID: 64, Name: 'MeteoAlarmEU - Today', nValue: 2, sValue: 'Wind(2)'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device ID: '64'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device Name: 'MeteoAlarmEU - Today'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device nValue: 2
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device sValue: 'Wind(2)'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device LastLevel: 0
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device: 2 - ID: 65, Name: 'MeteoAlarmEU - Tomorrow', nValue: 1, sValue: 'No special awareness required'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device ID: '65'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device Name: 'MeteoAlarmEU - Tomorrow'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device nValue: 1
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device sValue: 'No special awareness required'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device LastLevel: 0
2019-08-10 11:09:49.432 (MeteoAlarmEU) onStart called
2019-08-10 11:09:49.432 (MeteoAlarmEU) Using polling interval of 3600 seconds
2019-08-10 11:09:49.432 (MeteoAlarmEU) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzHash':'bc239243'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Key':'MeteoAlarmEU'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode3':'60'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzBuildTime':'2018-05-16 09:28:53'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode1':'http://meteoalarm.eu/documents/rss/nl/NL009.rss'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Mode4':'Debug'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'DomoticzVersion':'3.9443'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'HardwareID':'16'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Name':'MeteoAlarmEU'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Port':'0'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Author':'ycahome'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'Version':'1.0.2'
2019-08-10 11:09:49.432 (MeteoAlarmEU) 'HomeFolder':'/home/yiannis/domoticz/plugins/MeteoAlarmEU/'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device count: 2
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device: 1 - ID: 64, Name: 'MeteoAlarmEU - Today', nValue: 2, sValue: 'Wind(2)'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device ID: '64'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device Name: 'MeteoAlarmEU - Today'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device nValue: 2
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device sValue: 'Wind(2)'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device LastLevel: 0
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device: 2 - ID: 65, Name: 'MeteoAlarmEU - Tomorrow', nValue: 1, sValue: 'No special awareness required'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device ID: '65'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device Name: 'MeteoAlarmEU - Tomorrow'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device nValue: 1
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device sValue: 'No special awareness required'
2019-08-10 11:09:49.432 (MeteoAlarmEU) Device LastLevel: 0
2019-08-10 11:09:49.432 (MeteoAlarmEU - Today) Updating device from 2:'Wind(2)' to have values 0:'No Data'.
2019-08-10 11:09:49.433 (MeteoAlarmEU - Tomorrow) Updating device from 1:'No special awareness required' to have values 0:'No Data'.
2019-08-10 11:09:58.933 (MeteoAlarmEU) Pushing 'onHeartbeatCallback' on to queue
2019-08-10 11:09:58.944 (MeteoAlarmEU) Processing 'onHeartbeatCallback' message
2019-08-10 11:09:58.944 (MeteoAlarmEU) Calling message handler 'onHeartbeat'.
2019-08-10 11:09:59.354 (MeteoAlarmEU) Gathering Data for:Zuid-Holland
2019-08-10 11:09:59.354 (MeteoAlarmEU) ------FEEDPARSER OUTPUT for TODAY:------------------
2019-08-10 11:09:59.354 (MeteoAlarmEU) Icon:-tr>TODAY -/th>-/tr>-tr>-td width="28">-img alt="awt:1 level:2" border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l2-t1.jpg" />-/td>
2019-08-10 11:09:59.354 (MeteoAlarmEU) AWT Possitions Value 1:1
2019-08-10 11:09:59.354 (MeteoAlarmEU) Level Possitions Value 1:2
2019-08-10 11:09:59.354 (MeteoAlarmEU) Alarm(s) for today:Wind(2)
2019-08-10 11:09:59.354 (MeteoAlarmEU) AWT:1
2019-08-10 11:09:59.354 (MeteoAlarmEU) Level:2
2019-08-10 11:09:59.354 (MeteoAlarmEU) Period:-b>From: -/b>-i>10.08.2019 07:00 CET-/i>-b> Until: -/b>-i>10.08.2019 21:00 CET-/i>-/tr>-tr>-td width="28">
2019-08-10 11:09:59.354 (MeteoAlarmEU) Current Awareness Status:No Data with Level 0
2019-08-10 11:09:59.354 (MeteoAlarmEU) Awareness for Today Updated to:Wind(2)
2019-08-10 11:09:59.354 (MeteoAlarmEU - Today) Updating device from 0:'No Data' to have values 2:'Wind(2)'.
2019-08-10 11:09:59.355 (MeteoAlarmEU) Alarm(s) for Tomorrow: No special awareness required
2019-08-10 11:09:59.355 (MeteoAlarmEU) Type Of Warning:-1
2019-08-10 11:09:59.355 (MeteoAlarmEU) Current Awareness Status:No Data with Level 0
2019-08-10 11:09:59.355 (MeteoAlarmEU) Awareness for Tomorrow Updated to:No special awareness required
2019-08-10 11:09:59.355 (MeteoAlarmEU - Tomorrow) Updating device from 0:'No Data' to have values 1:'No special awareness required'. 


Strange, is it possible that the problem is comming from an python version?

Stil getting an error

Code: Select all

2019-08-10 10:41:46.391 Error: (Meteo Alarm) ----> Line 280 in 'C:\Program Files (x86)\Domoticz\plugins\MeteoAlarmEU\plugin.py'

2019-08-10 10:41:46.391 Error: (Meteo Alarm) ----> Line 189 in 'C:\Program Files (x86)\Domoticz\plugins\MeteoAlarmEU\plugin.py'


And when I check the 2 devices I see for today no warning, but in the site I must have 1 with heavy wind.
And tomorrow is not filled.
tonbor
Posts: 153
Joined: Monday 17 February 2014 9:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by tonbor »

2019-08-10 12:30:45.240 (Utrecht) Gathering Data for:Utrecht
2019-08-10 12:30:45.240 (Utrecht) Alarm(s) for Today: No special awareness required.
2019-08-10 12:30:45.240 (Utrecht) Type Of Warning:-1
2019-08-10 12:30:45.240 (Utrecht) Data:-tr>TODAY -/th>-/tr>-tr>-td width="28">-img alt="awt:4 level:1" border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l1-t4.jpg" />-/td>-/tr>-tr>-td width="28">-/td>-td>No special awareness required-/td>-/tr>-tr>-th align="left" colspan="3">-br />
2019-08-10 12:30:45.240 (Utrecht) Current Awareness Status:No special awareness required with Level 1
2019-08-10 12:30:45.240 (Utrecht) Awareness Remains Unchanged for Today.
2019-08-10 12:30:45.241 (Utrecht) Alarm(s) for Tomorrow: No special awareness required
2019-08-10 12:30:45.241 (Utrecht) Type Of Warning:-1
2019-08-10 12:30:45.241 (Utrecht) Current Awareness Status:No special awareness required with Level 1
2019-08-10 12:30:45.241 (Utrecht) Awareness Remains Unchanged for Tomorrow.
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by ycahome »

phoenixblue wrote: Saturday 10 August 2019 10:45
ycahome wrote:on my Domoticz your area works fine. Check Debug log!!

Strange, is it possible that the problem is comming from an python version?

Stil getting an error

Code: Select all

2019-08-10 10:41:46.391 Error: (Meteo Alarm) ----> Line 280 in 'C:\Program Files (x86)\Domoticz\plugins\MeteoAlarmEU\plugin.py'

2019-08-10 10:41:46.391 Error: (Meteo Alarm) ----> Line 189 in 'C:\Program Files (x86)\Domoticz\plugins\MeteoAlarmEU\plugin.py'


And when I check the 2 devices I see for today no warning, but in the site I must have 1 with heavy wind.
And tomorrow is not filled.


Post me your settings and plugin version, otherwise cannot help you!!
User avatar
phoenixblue
Posts: 76
Joined: Friday 25 November 2016 11:20
Target OS: Windows
Domoticz version:
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by phoenixblue »

ycahome wrote:
phoenixblue wrote: Saturday 10 August 2019 10:45
ycahome wrote:on my Domoticz your area works fine. Check Debug log!!

Strange, is it possible that the problem is comming from an python version?

Stil getting an error

Code: Select all

2019-08-10 10:41:46.391 Error: (Meteo Alarm) ----> Line 280 in 'C:\Program Files (x86)\Domoticz\plugins\MeteoAlarmEU\plugin.py'

2019-08-10 10:41:46.391 Error: (Meteo Alarm) ----> Line 189 in 'C:\Program Files (x86)\Domoticz\plugins\MeteoAlarmEU\plugin.py'


And when I check the 2 devices I see for today no warning, but in the site I must have 1 with heavy wind.
And tomorrow is not filled.


Post me your settings and plugin version, otherwise cannot help you!!
Hi,

I use at this moment version 1.0.2.
With net next settings:


And with the next Domoticz version:

Version: 4.10717
Build Hash: b38b49e5
Compile Date: 2019-05-09 13:04:08
dzVents Version: 2.4.19
Python Version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)
Image
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by ycahome »

upgraded my test server to the latest Domoticz and plugin works fine but with python 3.5.2.
Sorry not tested on 3.7.3.

Maybe someone with that version can help us??????????
tonbor
Posts: 153
Joined: Monday 17 February 2014 9:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: MeteoAlarmEU

Post by tonbor »

Only updates with a change, without a change the update date stays the same. No problem, solved. :mrgreen:
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest