Foreca Weather Plugin
-
- Foreca
- peter.721970
- Thread is marked as Resolved.
-
-
many skins do not have titel2
if you check the plugin source you will see that in its skin it is inserted (it was not even added there)
for spinnerit depends on the speed of the processor, of the box, on dreambox I see it, on box with atv or pli I don't see it.. but it's there..
-
but... you tried ui.py attached in last my reply
linuxsat-support.com/thread/?postID=843691#post843691
i fixed this error utf-8 boomCode18:44:14 day link: https://www.foreca.ba/%EF%BB%BFRussia/Moskva?lang=en&details=20250106&units=metrickmh&tf=24h 18:44:14 MainList show... 18:44:14 getPage... 18:44:14 page link: https://www.foreca.ba/%EF%BB%BFRussia/Moskva?lang=en&details=20250106&units=metrickmh&tf=24hi don't have error :(
please no change server/language use default.try and report
-
I'll explain what I came up with..
since the url for data recovery was always changing, I put the urls I found in the configuration, be careful it has nothing to do with the plugin language.. that's the local .pot
But we can't try until they change.
We have an alternative, if you leave it as default, the url is taken from a .txt file that is on my git, simple, it changes in 2 seconds.
I noticed that the main url of the site is always .com and then comes the language, the state, the region of belonging..
eg: www. foreca . com / el
I don't know if this system will work.
So don't touch it for now.
Code
Display Morelanguages = [ ("no", "NO (Default)"), ("com", "English"), ("ba", "Bosnia ed Erzegovina"), ("bg", "българск"), ("cs", "Čeština"), ("da", "Dansk"), ("de", "Deutsch"), ("com/el", "ελληνικά"), ("es", "Español"), ("et", "Eesti"), ("https://www.farsiweather.com/", "زبان فارسی"), ("fr", "Français"), ("hr", "Hrvatski"), ("in", "तब"), ("it", "Italiano"), ("lv", "Latviešu"), ("hu", "Magyar"), ("nl", "Nederlands"), ("nz", "New Zealand"), ("pl", "Polski"), ("pt", "Português"), ("ro", "Româneşte"), ("ru", "Русский"), ("sk", "Slovenčina"), ("fi", "Suomi"), ("sv", "Svenska"), ("tr", "Türkçe"), ] selected_language = config.plugins.foreca.languages.value if not selected_language == 'no': if selected_language == "https://www.farsiweather.com/": BASEURL = selected_language # URL specifico per il Farsi else: BASEURL = 'https://www.foreca.' + selected_language else: BASEURL = get_base_url_from_txt(file_url) -
Hello,
I have my own version 4.0.0 which is a combination of Lululla's 3.3.6 and old official 3.3.3 version.
Translate the new texts of Foreca.pot to your own language and put translated Foreca.po /locale/'country' ('country' is for example: de, fi, it etc)
If someone is interested of trying it.
P.S. Tested on OpenViX, OpenBh and OpenATV with Vu+ Ultimo4K and Vu+ Uno4KSE
-
-
The version you attached (Foreca_panda555-2.zip) is version 3.3.4 and it works the same as version 3.3.5. There is still a problem with the latest version. There is some reason why the same error occurs. The difference in the latest version is that a language selection has been added that cannot be opened in the browser (foreca.ba, nz ...) so it will not work in the plugin. That is why you wrote that everything should remain as default.
-
Button Blu - init
restart boxAlready done, but...nothing
-
Image
Box
Skin used
Debug.
-
The version you attached (Foreca_panda555-2.zip) is version 3.3.4 and it works the same as version 3.3.5. There is still a problem with the latest version. There is some reason why the same error occurs. The difference in the latest version is that a language selection has been added that cannot be opened in the browser (foreca.ba, nz ...) so it will not work in the plugin. That is why you wrote that everything should remain as default.
this version are same of version on my box and work on pli 9
This version is not the same as others.
Leave the numbers alone, those are just numbers my friend.
Let's debug from telnet.
Let's flash the image and see the libraries if you have everything.
I tried with other boxes from friends on the forum and it works. I'm trying to understand why it doesn't work for you and it surely depends on the image/box you have.

-
-
this is my foreca with video
https://mega.nz/file/a1IQlRhA#ui1wD0aHCdfHkAGqMSfevw_-ql3_fxIoqsXG8AxIFv8
uclan 4k - openpli (make image from me) -
Let's hope for a further fix. the weekly forecasts (red button) do not work. I use the 336 version with openatv 751 and octagon sf 8008 decoder
-
you said it 3 times.
You think I didn't read?

-
If you change baseurl from foreca.ba to to foreca.nz and everything is working again.
-
-
Let's hope for a further fix. the weekly forecasts (red button) do not work. I use the 336 version with openatv 751 and octagon sf 8008 decoder
please give me this file
/usr/share/enigma2/keymap.xml
Box used and image -
downloding just 12min ago from your git.
Just faund plugin connected to Italy instead NZ see log:
could you advise, please
thank you for help
Vu zero4k - ATV 7.4
-
you haeve reade in this reply??
RE: Foreca Weather Plugin
put file attached.. in folder pluginYou always do the opposite of what I say
-
put file attached.. in folder plugin
file replaced, still do not see temperature
video is ok
see log
Code
Display More11:35:17.4816 [eRCDeviceInputDev] 1 160 1 11:35:17.4820 [InfoBarGenerics] Key 'KEY_OK' (352) Make. 11:35:17.4823 [ActionMap] Map screen 'N/A' context 'HelpActions' -> Unknown action 'select'! (Typo in map?) 11:35:17.4824 [ActionMap] Map screen 'PluginBrowser' context 'OkCancelActions' -> Action 'ok'. 11:35:18.7421 New URL base found and working: https://www.foreca.nz/ 11:35:18.7568 BASEURL in uso: https://www.foreca.nz/ 11:35:18.7676 [Foreca Ver. 3.3.6] fav1 location: London 11:35:18.7687 [Foreca Ver. 3.3.6] fav2 location: Moskva 11:35:18.7698 [Foreca Ver. 3.3.6] home location: China/Hangzhou 11:35:18.7856 [Skin] Processing screen 'ForecaPreviewCache' position=(1455,368), size=(72,72) for module 'ForecaPreviewCache'. 11:35:18.7879 [Skin] Processing screen 'ForecaPreview' position=(0,0), size=(1920,1080) for module 'ForecaPreview'. 11:35:19.4325 [Foreca Ver. 3.3.6] fulltext= re.compile("id: '(.*?)'", re.DOTALL) id= ['101808926'] 11:35:19.4327 [Foreca Ver. 3.3.6] Start:65324 11:35:19.4346 [Foreca Ver. 3.3.6] fulltext= re.compile('<!-- START -->.+?<h6><span>(.+?)</h6>', re.DOTALL) titel= ['Sunday</span> January 12'] 11:35:19.4687 [Foreca Ver. 3.3.6] titel[0]= Sunday January 12 11:35:19.4704 Link= ['\r\n <div class="table t_half">\r\n \t<h2>Detailed forecast</h2>\r\n\r\n <div class="widein">\r\n <div class="to-left" style="width: 30%;">\r\n '] 11:35:19.5349 dict_file= /usr/lib/enigma2/python/Plugins/Extensions/Foreca/dict/endict.txt 11:35:19.5370 [Skin] Parsing embedded skin '<embedded-in-ScreenSummary>'. 11:35:19.5378 [Skin] Processing screen '<embedded-in-ScreenSummary>', from list 'ForecaPreviewSummary, ForecaPreview_summary, ScreenSummary', position=(0,0), size=(132,64) for module 'ScreenSummary'. 11:35:19.5494 [eRCDeviceInputDev] 0 160 1 11:35:19.5497 [InfoBarGenerics] Key 'KEY_OK' (352) Break. -
-
