Author Topic: Developing a Weather Plugin, videos  (Read 11337 times)

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3183
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Developing a Weather Plugin, videos
« Reply #135 on: June 28, 2015, 04:35:15 pm »
Make a diff and attach it to a ticket.

cfernandes

  • Guru
  • ****
  • Posts: 332
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #136 on: July 06, 2015, 12:30:50 pm »
Hi Posde ,

i need user to create  a ticket

i have two corections one  is to correct a cpu usage
and other is to add some  missing icons on Word Wether Online 

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3183
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Developing a Weather Plugin, videos
« Reply #137 on: July 06, 2015, 03:27:59 pm »
I've applied your diffs. Please send me the output of htpasswd -mn cfernandes so I can set you up with an account in trac.

When doing diff's, please make sure to make svn diffs. Those are easier to apply, as they already contain the file names.

cfernandes

  • Guru
  • ****
  • Posts: 332
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #138 on: July 06, 2015, 04:20:25 pm »
ok   i will  make  svn diffs


cfernandes:$apr1$GzCyqH7T$x9Hwwuj8bHLAnStYSbMVO/

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3183
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Developing a Weather Plugin, videos
« Reply #139 on: July 06, 2015, 06:18:02 pm »
cfernandes,

thanks for the info. Your trac login has been created. And just to clarify: The above diff has been committed already. svn diff would be nice for the future.

Thanks for all your help!

RayBe

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #140 on: July 20, 2015, 09:47:20 pm »
hi cfernandes,

I just updated and upgraded to the latest and greatest.
I deleted and reinstalled the weather devices in my tree.
I am using:
Code: [Select]
API:WWO:nl:<myapicode>:C:maastricht

and my log shows:
Code: [Select]
== ATTEMPT FRESH START ==
1 07/20/15 20:38:17 /usr/pluto/bin/Spawn_Device.sh 416 (spawning-device) 15696 Dev: 416; Already Running list: 15,18,30,51,55,16,19,57,148,232,53,29,394,219,
== FRESH START ==
1 07/20/15 20:38:17 /usr/pluto/bin/Spawn_Device.sh 416 (spawning-device) device: 416 ip: localhost cmd_line: Weather
0 07/20/15 20:38:17 416 (spawning-device) Entering 416
========== NEW LOG SECTION ==========
1 07/20/15 20:38:17 416 (spawning-device) Starting... 1
1 07/20/15 20:38:17 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 20:38:17.072 Connection for client socket reported NEED RELOAD IP=::ffff:127.0.0.1, device 416 last error 2 <0xb6670700>
05 07/20/15 20:38:17.072 The router must be reloaded before this device is fully functional <0xb6670700>
05 07/20/15 20:38:17.074 void ClientSocket::Disconnect() on this socket: 0x913ba98 (m_Socket: 5) <0xb6670700>
05 07/20/15 20:38:17.083 Connection for client socket reported NEED RELOAD IP=::ffff:127.0.0.1, device 416 last error 2 <0xb6670700>
05 07/20/15 20:38:17.124 Weather: Timer is set to: 15.000000 minutes <0xb666eb40>
05 07/20/15 20:38:17.125 Weather: Getting Weather Data using: ?? <0xb52ffb40>
05 07/20/15 20:53:17.125 Weather: Getting Weather Data using: ?? <0xb42fdb40>
05 07/20/15 21:08:17.125 Weather: Getting Weather Data using: ?? <0xb3afcb40>
05 07/20/15 21:13:31.475 Got a reload command from 0  <0xb4afeb40>
05 07/20/15 21:13:31.733 void ClientSocket::Disconnect() on this socket: 0x913c7b8 (m_Socket: 6) <0xb6670700>
Return code: 2
2 07/20/15 21:13:31 416 (spawning-device) Device requests restart... count=1/50 dev=416
Mon Jul 20 21:13:31 CEST 2015 Restart
========== NEW LOG SECTION ==========
1 07/20/15 21:13:39 416 (spawning-device) Starting... 1
1 07/20/15 21:13:39 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:13:40.858 Connect() failed, Error Code 111 (Connection refused)) <0xb66bc700>
05 07/20/15 21:13:48.882 Weather: Timer is set to: 15.000000 minutes <0xb66bab40>
05 07/20/15 21:13:48.882 Weather: Getting Weather Data using: ?? <0xb52ffb40>
05 07/20/15 21:20:23.507 Got a reload command from 0  <0xb4afeb40>
05 07/20/15 21:20:23.766 void ClientSocket::Disconnect() on this socket: 0xa0267b8 (m_Socket: 6) <0xb66bc700>
Return code: 2
2 07/20/15 21:20:23 416 (spawning-device) Device requests restart... count=1/50 dev=416
Mon Jul 20 21:20:23 CEST 2015 Restart
========== NEW LOG SECTION ==========
1 07/20/15 21:20:31 416 (spawning-device) Starting... 1
1 07/20/15 21:20:31 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:20:32.888 Connect() failed, Error Code 111 (Connection refused)) <0xb6601700>
05 07/20/15 21:20:33.889 Connect() failed, Error Code 111 (Connection refused)) <0xb6601700>
05 07/20/15 21:20:40.912 Weather: Config: WWO <0xb6601700>
05 07/20/15 21:20:40.912 Weather: Use World Weather Online <0xb6601700>
Return code: 139
3 07/20/15 21:20:40 416 (spawning-device) Device died... count=1/50 dev=416
Mon Jul 20 21:20:40 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:20:50 416 (spawning-device) Starting... 2
1 07/20/15 21:20:50 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:20:51.082 Weather: Config: WWO <0xb663d700>
05 07/20/15 21:20:51.082 Weather: Use World Weather Online <0xb663d700>
Return code: 139
3 07/20/15 21:20:51 416 (spawning-device) Device died... count=2/50 dev=416
Mon Jul 20 21:20:51 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:21:01 416 (spawning-device) Starting... 3
1 07/20/15 21:21:01 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:21:01.231 Weather: Config: WWO <0xb6684700>
05 07/20/15 21:21:01.231 Weather: Use World Weather Online <0xb6684700>
Return code: 139
3 07/20/15 21:21:01 416 (spawning-device) Device died... count=3/50 dev=416
Mon Jul 20 21:21:01 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:21:11 416 (spawning-device) Starting... 4
1 07/20/15 21:21:11 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:21:11.395 Weather: Config: WWO <0xb65ed700>
05 07/20/15 21:21:11.395 Weather: Use World Weather Online <0xb65ed700>
Return code: 139
3 07/20/15 21:21:11 416 (spawning-device) Device died... count=4/50 dev=416
Mon Jul 20 21:21:11 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:21:21 416 (spawning-device) Starting... 5
1 07/20/15 21:21:21 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:21:21.567 Weather: Config: WWO <0xb65eb700>
05 07/20/15 21:21:21.567 Weather: Use World Weather Online <0xb65eb700>
Return code: 139
3 07/20/15 21:21:21 416 (spawning-device) Device died... count=5/50 dev=416
Mon Jul 20 21:21:21 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:21:31 416 (spawning-device) Starting... 6
1 07/20/15 21:21:31 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:21:31.770 Weather: Config: WWO <0xb6668700>
05 07/20/15 21:21:31.771 Weather: Use World Weather Online <0xb6668700>
Return code: 139
3 07/20/15 21:21:31 416 (spawning-device) Device died... count=6/50 dev=416
Mon Jul 20 21:21:31 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:21:41 416 (spawning-device) Starting... 7
1 07/20/15 21:21:41 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:21:41.963 Weather: Config: WWO <0xb6604700>
05 07/20/15 21:21:41.963 Weather: Use World Weather Online <0xb6604700>
Return code: 139
3 07/20/15 21:21:41 416 (spawning-device) Device died... count=7/50 dev=416
Mon Jul 20 21:21:41 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:21:52 416 (spawning-device) Starting... 8
1 07/20/15 21:21:52 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:21:52.095 Weather: Config: WWO <0xb6621700>
05 07/20/15 21:21:52.096 Weather: Use World Weather Online <0xb6621700>
Return code: 139
3 07/20/15 21:21:52 416 (spawning-device) Device died... count=8/50 dev=416
Mon Jul 20 21:21:52 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:22:02 416 (spawning-device) Starting... 9
1 07/20/15 21:22:02 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:22:02.290 Weather: Config: WWO <0xb6650700>
05 07/20/15 21:22:02.290 Weather: Use World Weather Online <0xb6650700>
Return code: 139
3 07/20/15 21:22:02 416 (spawning-device) Device died... count=9/50 dev=416
Mon Jul 20 21:22:02 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:22:12 416 (spawning-device) Starting... 10
1 07/20/15 21:22:12 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:22:12.454 Weather: Config: WWO <0xb6613700>
05 07/20/15 21:22:12.454 Weather: Use World Weather Online <0xb6613700>
Return code: 139
3 07/20/15 21:22:12 416 (spawning-device) Device died... count=10/50 dev=416
Mon Jul 20 21:22:12 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:22:22 416 (spawning-device) Starting... 11
1 07/20/15 21:22:22 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:22:22.629 Weather: Config: WWO <0xb66a7700>
05 07/20/15 21:22:22.630 Weather: Use World Weather Online <0xb66a7700>
Return code: 139
3 07/20/15 21:22:22 416 (spawning-device) Device died... count=11/50 dev=416
Mon Jul 20 21:22:22 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:22:32 416 (spawning-device) Starting... 12
1 07/20/15 21:22:32 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:22:32.804 Weather: Config: WWO <0xb66af700>
05 07/20/15 21:22:32.805 Weather: Use World Weather Online <0xb66af700>
Return code: 139
3 07/20/15 21:22:32 416 (spawning-device) Device died... count=12/50 dev=416
Mon Jul 20 21:22:32 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:22:42 416 (spawning-device) Starting... 13
1 07/20/15 21:22:42 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:22:42.992 Weather: Config: WWO <0xb6615700>
05 07/20/15 21:22:42.993 Weather: Use World Weather Online <0xb6615700>
Return code: 139
3 07/20/15 21:22:43 416 (spawning-device) Device died... count=13/50 dev=416
Mon Jul 20 21:22:43 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:22:53 416 (spawning-device) Starting... 14
1 07/20/15 21:22:53 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:22:53.123 Weather: Config: WWO <0xb668c700>
05 07/20/15 21:22:53.123 Weather: Use World Weather Online <0xb668c700>
Return code: 139
3 07/20/15 21:22:53 416 (spawning-device) Device died... count=14/50 dev=416
Mon Jul 20 21:22:53 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:23:03 416 (spawning-device) Starting... 15
1 07/20/15 21:23:03 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:23:03.260 Weather: Config: WWO <0xb65dc700>
05 07/20/15 21:23:03.260 Weather: Use World Weather Online <0xb65dc700>
Return code: 139
3 07/20/15 21:23:03 416 (spawning-device) Device died... count=15/50 dev=416
Mon Jul 20 21:23:03 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:23:13 416 (spawning-device) Starting... 16
1 07/20/15 21:23:13 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:23:13.448 Weather: Config: WWO <0xb669e700>
05 07/20/15 21:23:13.448 Weather: Use World Weather Online <0xb669e700>
Return code: 139
3 07/20/15 21:23:13 416 (spawning-device) Device died... count=16/50 dev=416
Mon Jul 20 21:23:13 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:23:23 416 (spawning-device) Starting... 17
1 07/20/15 21:23:23 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:23:23.624 Weather: Config: WWO <0xb66b7700>
05 07/20/15 21:23:23.624 Weather: Use World Weather Online <0xb66b7700>
Return code: 139
3 07/20/15 21:23:23 416 (spawning-device) Device died... count=17/50 dev=416
Mon Jul 20 21:23:23 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:23:33 416 (spawning-device) Starting... 18
1 07/20/15 21:23:33 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:23:33.804 Weather: Config: WWO <0xb66be700>
05 07/20/15 21:23:33.804 Weather: Use World Weather Online <0xb66be700>
Return code: 139
3 07/20/15 21:23:33 416 (spawning-device) Device died... count=18/50 dev=416
Mon Jul 20 21:23:33 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:23:43 416 (spawning-device) Starting... 19
1 07/20/15 21:23:43 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:23:43.987 Weather: Config: WWO <0xb6689700>
05 07/20/15 21:23:43.988 Weather: Use World Weather Online <0xb6689700>
Return code: 139
3 07/20/15 21:23:44 416 (spawning-device) Device died... count=19/50 dev=416
Mon Jul 20 21:23:44 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:23:54 416 (spawning-device) Starting... 20
1 07/20/15 21:23:54 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:23:54.103 Weather: Config: WWO <0xb66a2700>
05 07/20/15 21:23:54.103 Weather: Use World Weather Online <0xb66a2700>
Return code: 139
3 07/20/15 21:23:54 416 (spawning-device) Device died... count=20/50 dev=416
Mon Jul 20 21:23:54 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:24:04 416 (spawning-device) Starting... 21
1 07/20/15 21:24:04 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:24:04.270 Weather: Config: WWO <0xb6674700>
05 07/20/15 21:24:04.270 Weather: Use World Weather Online <0xb6674700>
Return code: 139
3 07/20/15 21:24:04 416 (spawning-device) Device died... count=21/50 dev=416
Mon Jul 20 21:24:04 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:24:14 416 (spawning-device) Starting... 22
1 07/20/15 21:24:14 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:24:14.454 Weather: Config: WWO <0xb65d8700>
05 07/20/15 21:24:14.455 Weather: Use World Weather Online <0xb65d8700>
Return code: 139
3 07/20/15 21:24:14 416 (spawning-device) Device died... count=22/50 dev=416
Mon Jul 20 21:24:14 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:24:24 416 (spawning-device) Starting... 23
1 07/20/15 21:24:24 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:24:24.645 Weather: Config: WWO <0xb65d4700>
05 07/20/15 21:24:24.645 Weather: Use World Weather Online <0xb65d4700>
Return code: 139
3 07/20/15 21:24:24 416 (spawning-device) Device died... count=23/50 dev=416
Mon Jul 20 21:24:24 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:24:34 416 (spawning-device) Starting... 24
1 07/20/15 21:24:34 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:24:34.821 Weather: Config: WWO <0xb6650700>
05 07/20/15 21:24:34.822 Weather: Use World Weather Online <0xb6650700>
Return code: 139
3 07/20/15 21:24:34 416 (spawning-device) Device died... count=24/50 dev=416
Mon Jul 20 21:24:34 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:24:44 416 (spawning-device) Starting... 25
1 07/20/15 21:24:44 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:24:44.998 Weather: Config: WWO <0xb6649700>
05 07/20/15 21:24:44.998 Weather: Use World Weather Online <0xb6649700>
Return code: 139
3 07/20/15 21:24:45 416 (spawning-device) Device died... count=25/50 dev=416
Mon Jul 20 21:24:45 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:24:55 416 (spawning-device) Starting... 26
1 07/20/15 21:24:55 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:24:55.172 Weather: Config: WWO <0xb65f2700>
05 07/20/15 21:24:55.172 Weather: Use World Weather Online <0xb65f2700>
Return code: 139
3 07/20/15 21:24:55 416 (spawning-device) Device died... count=26/50 dev=416
Mon Jul 20 21:24:55 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:25:05 416 (spawning-device) Starting... 27
1 07/20/15 21:25:05 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:25:05.348 Weather: Config: WWO <0xb65d9700>
05 07/20/15 21:25:05.348 Weather: Use World Weather Online <0xb65d9700>
Return code: 139
3 07/20/15 21:25:05 416 (spawning-device) Device died... count=27/50 dev=416
Mon Jul 20 21:25:05 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:25:15 416 (spawning-device) Starting... 28
1 07/20/15 21:25:15 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:25:15.524 Weather: Config: WWO <0xb6657700>
05 07/20/15 21:25:15.525 Weather: Use World Weather Online <0xb6657700>
Return code: 139
3 07/20/15 21:25:15 416 (spawning-device) Device died... count=28/50 dev=416
Mon Jul 20 21:25:15 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:25:25 416 (spawning-device) Starting... 29
1 07/20/15 21:25:25 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:25:25.715 Weather: Config: WWO <0xb65f0700>
05 07/20/15 21:25:25.715 Weather: Use World Weather Online <0xb65f0700>
Return code: 139
3 07/20/15 21:25:25 416 (spawning-device) Device died... count=29/50 dev=416
Mon Jul 20 21:25:25 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:25:35 416 (spawning-device) Starting... 30
1 07/20/15 21:25:35 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:25:35.899 Weather: Config: WWO <0xb6693700>
05 07/20/15 21:25:35.899 Weather: Use World Weather Online <0xb6693700>
Return code: 139
3 07/20/15 21:25:35 416 (spawning-device) Device died... count=30/50 dev=416
Mon Jul 20 21:25:35 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:25:45 416 (spawning-device) Starting... 31
1 07/20/15 21:25:46 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:25:46.086 Weather: Config: WWO <0xb6648700>
05 07/20/15 21:25:46.087 Weather: Use World Weather Online <0xb6648700>
Return code: 139
3 07/20/15 21:25:46 416 (spawning-device) Device died... count=31/50 dev=416
Mon Jul 20 21:25:46 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:25:56 416 (spawning-device) Starting... 32
1 07/20/15 21:25:56 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:25:56.290 Weather: Config: WWO <0xb65e2700>
05 07/20/15 21:25:56.290 Weather: Use World Weather Online <0xb65e2700>
Return code: 139
3 07/20/15 21:25:56 416 (spawning-device) Device died... count=32/50 dev=416
Mon Jul 20 21:25:56 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:26:06 416 (spawning-device) Starting... 33
1 07/20/15 21:26:06 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:26:06.464 Weather: Config: WWO <0xb66a2700>
05 07/20/15 21:26:06.464 Weather: Use World Weather Online <0xb66a2700>
Return code: 139
3 07/20/15 21:26:06 416 (spawning-device) Device died... count=33/50 dev=416
Mon Jul 20 21:26:06 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:26:16 416 (spawning-device) Starting... 34
1 07/20/15 21:26:16 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:26:16.642 Weather: Config: WWO <0xb6635700>
05 07/20/15 21:26:16.642 Weather: Use World Weather Online <0xb6635700>
Return code: 139
3 07/20/15 21:26:16 416 (spawning-device) Device died... count=34/50 dev=416
Mon Jul 20 21:26:16 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:26:26 416 (spawning-device) Starting... 35
1 07/20/15 21:26:26 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:26:26.817 Weather: Config: WWO <0xb6628700>
05 07/20/15 21:26:26.818 Weather: Use World Weather Online <0xb6628700>
Return code: 139
3 07/20/15 21:26:26 416 (spawning-device) Device died... count=35/50 dev=416
Mon Jul 20 21:26:26 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:26:36 416 (spawning-device) Starting... 36
1 07/20/15 21:26:36 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:26:36.992 Weather: Config: WWO <0xb667f700>
05 07/20/15 21:26:36.992 Weather: Use World Weather Online <0xb667f700>
Return code: 139
3 07/20/15 21:26:37 416 (spawning-device) Device died... count=36/50 dev=416
Mon Jul 20 21:26:37 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:26:47 416 (spawning-device) Starting... 37
1 07/20/15 21:26:47 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:26:47.112 Weather: Config: WWO <0xb665b700>
05 07/20/15 21:26:47.112 Weather: Use World Weather Online <0xb665b700>
Return code: 139
3 07/20/15 21:26:47 416 (spawning-device) Device died... count=37/50 dev=416
Mon Jul 20 21:26:47 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:26:57 416 (spawning-device) Starting... 38
1 07/20/15 21:26:57 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:26:57.272 Weather: Config: WWO <0xb65cb700>
05 07/20/15 21:26:57.272 Weather: Use World Weather Online <0xb65cb700>
Return code: 139
3 07/20/15 21:26:57 416 (spawning-device) Device died... count=38/50 dev=416
Mon Jul 20 21:26:57 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:27:07 416 (spawning-device) Starting... 39
1 07/20/15 21:27:07 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:27:07.448 Weather: Config: WWO <0xb667e700>
05 07/20/15 21:27:07.448 Weather: Use World Weather Online <0xb667e700>
Return code: 139
3 07/20/15 21:27:07 416 (spawning-device) Device died... count=39/50 dev=416
Mon Jul 20 21:27:07 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:27:17 416 (spawning-device) Starting... 40
1 07/20/15 21:27:17 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:27:17.622 Weather: Config: WWO <0xb66af700>
05 07/20/15 21:27:17.623 Weather: Use World Weather Online <0xb66af700>
Return code: 139
3 07/20/15 21:27:17 416 (spawning-device) Device died... count=40/50 dev=416
Mon Jul 20 21:27:17 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:27:27 416 (spawning-device) Starting... 41
1 07/20/15 21:27:27 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:27:27.826 Weather: Config: WWO <0xb6661700>
05 07/20/15 21:27:27.826 Weather: Use World Weather Online <0xb6661700>
Return code: 139
3 07/20/15 21:27:27 416 (spawning-device) Device died... count=41/50 dev=416
Mon Jul 20 21:27:27 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:27:37 416 (spawning-device) Starting... 42
1 07/20/15 21:27:37 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:27:37.999 Weather: Config: WWO <0xb6681700>
05 07/20/15 21:27:37.999 Weather: Use World Weather Online <0xb6681700>
Return code: 139
3 07/20/15 21:27:38 416 (spawning-device) Device died... count=42/50 dev=416
Mon Jul 20 21:27:38 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:27:48 416 (spawning-device) Starting... 43
1 07/20/15 21:27:48 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:27:48.190 Weather: Config: WWO <0xb6691700>
05 07/20/15 21:27:48.190 Weather: Use World Weather Online <0xb6691700>
Return code: 139
3 07/20/15 21:27:48 416 (spawning-device) Device died... count=43/50 dev=416
Mon Jul 20 21:27:48 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:27:58 416 (spawning-device) Starting... 44
1 07/20/15 21:27:58 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:27:58.365 Weather: Config: WWO <0xb667f700>
05 07/20/15 21:27:58.366 Weather: Use World Weather Online <0xb667f700>
Return code: 139
3 07/20/15 21:27:58 416 (spawning-device) Device died... count=44/50 dev=416
Mon Jul 20 21:27:58 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:28:08 416 (spawning-device) Starting... 45
1 07/20/15 21:28:08 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:28:08.539 Weather: Config: WWO <0xb6608700>
05 07/20/15 21:28:08.539 Weather: Use World Weather Online <0xb6608700>
Return code: 139
3 07/20/15 21:28:08 416 (spawning-device) Device died... count=45/50 dev=416
Mon Jul 20 21:28:08 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:28:18 416 (spawning-device) Starting... 46
1 07/20/15 21:28:18 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:28:18.690 Weather: Config: WWO <0xb6656700>
05 07/20/15 21:28:18.690 Weather: Use World Weather Online <0xb6656700>
Return code: 139
3 07/20/15 21:28:18 416 (spawning-device) Device died... count=46/50 dev=416
Mon Jul 20 21:28:18 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:28:28 416 (spawning-device) Starting... 47
1 07/20/15 21:28:28 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:28:28.806 Weather: Config: WWO <0xb6624700>
05 07/20/15 21:28:28.806 Weather: Use World Weather Online <0xb6624700>
Return code: 139
3 07/20/15 21:28:28 416 (spawning-device) Device died... count=47/50 dev=416
Mon Jul 20 21:28:28 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:28:38 416 (spawning-device) Starting... 48
1 07/20/15 21:28:38 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:28:38.926 Weather: Config: WWO <0xb6677700>
05 07/20/15 21:28:38.926 Weather: Use World Weather Online <0xb6677700>
Return code: 139
3 07/20/15 21:28:38 416 (spawning-device) Device died... count=48/50 dev=416
Mon Jul 20 21:28:38 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:28:48 416 (spawning-device) Starting... 49
1 07/20/15 21:28:48 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:28:49.040 Weather: Config: WWO <0xb6646700>
05 07/20/15 21:28:49.040 Weather: Use World Weather Online <0xb6646700>
Return code: 139
3 07/20/15 21:28:49 416 (spawning-device) Device died... count=49/50 dev=416
Mon Jul 20 21:28:49 CEST 2015 died
========== NEW LOG SECTION ==========
1 07/20/15 21:28:59 416 (spawning-device) Starting... 50
1 07/20/15 21:28:59 416 (spawning-device) Found /usr/pluto/bin/Weather
05 07/20/15 21:28:59.158 Weather: Config: WWO <0xb65fb700>
05 07/20/15 21:28:59.158 Weather: Use World Weather Online <0xb65fb700>
Return code: 139
3 07/20/15 21:28:59 416 (spawning-device) Device died... count=50/50 dev=416
Mon Jul 20 21:28:59 CEST 2015 died
3 07/20/15 21:29:09 416 (spawning-device) Aborting restart of device 416...

any thoughts on how to get it going,
thanks in advance,

br,
Raymond
When you were born, you were crying and everybody else was laughing.
Live your life so when you die, you are laughing and everybody else is crying.

cfernandes

  • Guru
  • ****
  • Posts: 332
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #141 on: July 21, 2015, 12:28:50 pm »
use this configuration

API:WWO:nl:<myapicode>:C:maastricht:18,timer:25
                !           !           !     !             !    !--timer parameter = 25 minutes
                !           !           !     !             !------Map code (get from http://www.worldweatheronline.com/weather-map)
                !           !           !     !------------------City Name
                !           !           !----------------------- C  for Celsius  F for  fahrenheit
                !           !----------------------------------Api code
                !-------------------------------------------- Language

RayBe

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: Developing a Weather Plugin, videos
« Reply #142 on: July 21, 2015, 03:38:22 pm »
cfernandes, succes!
That did the trick!
With great help from posde i got it running.
My log now shows:
Code: [Select]
== FRESH START ==
1 07/21/15 15:06:34 /usr/pluto/bin/Spawn_Device.sh 416 (spawning-device) device: 416 ip: localhost cmd_line: Weather
0 07/21/15 15:06:34 416 (spawning-device) Entering 416
========== NEW LOG SECTION ==========
1 07/21/15 15:06:34 416 (spawning-device) Starting... 1
1 07/21/15 15:06:34 416 (spawning-device) Found ./Weather
05 07/21/15 15:06:34.335 Weather: Config: WWO <0xb6647700>
05 07/21/15 15:06:34.335 Weather: Use World Weather Online <0xb6647700>
05 07/21/15 15:06:34.335 Weather: Use World Weather Online language nl <0xb6647700>
05 07/21/15 15:06:34.335 Weather: Use World Weather Online api key 56953ad2c43c07b2cb4d126da6640 <0xb6647700>
05 07/21/15 15:06:34.335 Weather: Use World Weather Online units C <0xb6647700>
05 07/21/15 15:06:34.335 Weather: Use World Weather Online city maastricht <0xb6647700>
05 07/21/15 15:06:34.335 Weather: Use World Weather Online Radaar 18 <0xb6647700>
05 07/21/15 15:06:34.335 Weather: Timer is set to: 25.000000 minutes <0xb6645b40>
05 07/21/15 15:06:34.335 Weather: Getting Weather Data using: ?? <0xb52ffb40>
05 07/21/15 15:06:34.335 Weather: Inside WWO <0xb52ffb40>
    What do the question marks mean in the "Getting Weather Data using:" field?

    If the other syntaxes, you posted a few posts ago, for getting the weather data are correct, i will add them to the wiki.

    Just a few notes/feedback:
    • When i select 'Forecast' i get 'no data' on my orbiter
    • On the '3-day' view, the 'Hi' and 'Lo' values are swapped, in the 'Hi' field its showing the 'Lo' value and in the 'Lo' field its showing the  'Hi' value
    • On the 'Right Now' screen, part of it is still in english

    Awesome work!
    Thanks a lot
    br,
    Raymond
When you were born, you were crying and everybody else was laughing.
Live your life so when you die, you are laughing and everybody else is crying.

cfernandes

  • Guru
  • ****
  • Posts: 332
    • View Profile
    • my company web site
Re: Developing a Weather Plugin, videos
« Reply #143 on: July 26, 2015, 02:58:20 pm »
the World Weather Online  does not provide  text Forecast

swapped values is corrected.

i upload svn diff  for this correction on trac.