cloudy cloudy

Author Topic: Customising w34WD  (Read 1032 times)

0 Members and 1 Guest are viewing this topic.

Offline bitsostring

  • Posts: 843
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Customising w34WD
« on: April 05, 2019, 11:58:07 AM »
I have been modifying blocks and pop-ups since the original release, but lately I have been experimenting with 4 rows of 3 blocks. With help and encouragement from Wim, I managed to "go live" this morning (link under avatar).

Only two files need to be changed: I had worked out how to add the extra blocks in w34_index.php, and Wim told me I had to add them in w34_updater.php as well. They cannot be changed with easyweathersetup because the block positions are defined, just as rows 1 and 2 of main blocks.

I had added a number of extra pop-up "buttons" which are now surplus to requirements, and I expect I shall make further changes to the layout, but in the meantime I thought I'd share it for discussion.
« Last Edit: April 05, 2019, 02:23:00 PM by bitsostring »
It's meant to be fun. . .

Offline Tlowe

  • Posts: 148
  • Minneapolis, MN, US
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
Re: Customising w34WD
« Reply #1 on: April 05, 2019, 05:38:08 PM »
Looks great, nice work!

Offline Dale Reid

  • Posts: 249
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
Re: Customising w34WD
« Reply #2 on: April 05, 2019, 05:51:12 PM »
This is very nice.

I looked at your home page and it is very well balanced, a beautiful layout without being overly glitzy.

I know as soon as folks start modifying things, the future releases from the author will likely be in trouble or require updating that release before your modifications can work.

Is the whole process difficult if new releases come along just occasionally rather than regularly?

Is it a Herculean task or possible for others to try?

Thanks for the update and you should be proud of your work.
Dale

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,042
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 73.0.3683.86
Re: Customising w34WD
« Reply #3 on: April 05, 2019, 06:06:09 PM »
Very nicely done :thumbright:

Offline Dale Reid

  • Posts: 249
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
Re: Customising w34WD
« Reply #4 on: April 05, 2019, 06:20:03 PM »
Bitsostring:

Where did you get access to the code to study and know where to put stuff into?

Being new to this, I'm not sure how to get the code that needed to be adapted.

It may be illuminating to look through it to see how this works.
Dale

Offline bitsostring

  • Posts: 843
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: Customising w34WD
« Reply #5 on: April 05, 2019, 07:24:46 PM »
Thanks, guys.

@Tlowe: until recently I ran the same old version as you, with the small extrasensor block. That's what started me off, so I could display extratemp/hum. Added garden_temp and hum to w34_livedata.php, copied indoor_block.php and changed "indoor" to read "garden". . . never looked back.

@Dale Reid: I first learned to program a computer in the early '60s, and I stopped with BASIC in the '80s. But if you are logical, change only one thing at a time, and make sure you always keep a copy of the original/last known good version, you can figure out how to modify someone else's hard work: I didn't write a single original bit of code. Notepad++ is your best friend. Wim would probably be horrified, but he made encouraging noises: I promise not to ask him for support if my changes fall over.

BTW, I can't answer your question about new releases. . . I might not bother with them  :)

@niko: I couldn't have done it without your help!
It's meant to be fun. . .

Online wvdkuil

  • Wim van der Kuil
  • Posts: 1,193
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 73.0.3683.86
    • My PWS at Leuven Belgium Europe
Re: Customising w34WD
« Reply #6 on: April 05, 2019, 07:52:57 PM »
@bitsostring  =D>

Wim

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,042
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 73.0.3683.86
Re: Customising w34WD
« Reply #7 on: April 05, 2019, 08:19:59 PM »
How about a screen filling, no scroll, 3 rows of 4 next  :wink:

Offline bitsostring

  • Posts: 843
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: Customising w34WD
« Reply #8 on: April 05, 2019, 08:24:29 PM »
How about a screen filling, no scroll, 3 rows of 4 next  :wink:

Funny you should say that. . .

Just trying to work out how to get 5 small modules across the top of 4 big ones  :lol:
It's meant to be fun. . .

Offline bitsostring

  • Posts: 843
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: Customising w34WD
« Reply #9 on: April 14, 2019, 09:20:36 PM »
Added a new pop-up - UV Index | Cloudbase - which is an attempt to combine the left half of the uvsolarlux pop-up with the left half of an AQ pop-up because I don't have solar or AQ. . . (You can still see the original pop-ups, now labelled UV Index and Cloudbase.)

Obviously, I haven't quite mastered the CSS for the cloudbase half. . . work in progress  :)
It's meant to be fun. . .

Offline bitsostring

  • Posts: 843
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: Customising w34WD
« Reply #10 on: April 14, 2019, 10:13:17 PM »
I know as soon as folks start modifying things, the future releases from the author will likely be in trouble or require updating that release before your modifications can work.

Is the whole process difficult if new releases come along just occasionally rather than regularly?

I've been looking at the latest release and I'm not going to use it. That's not a criticism - I've spent 3 months customising the original release and it does what I need it to do and looks (nearly) how I want it to, so I think I'll wait until "the basic scripts all work" (as Wim says) before I start tinkering again. . .
It's meant to be fun. . .

Offline drparker151

  • Posts: 24
  • Chicago Area
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.103
    • Display Weather
Re: Customising w34WD
« Reply #11 on: April 15, 2019, 04:57:40 PM »
Very nice I like it a lot.

Offline bitsostring

  • Posts: 843
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: Customising w34WD
« Reply #12 on: April 15, 2019, 05:35:26 PM »
 :D
It's meant to be fun. . .

Offline bitsostring

  • Posts: 843
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: Customising w34WD
« Reply #13 on: April 16, 2019, 07:18:29 PM »
Added Norwegian language support. Thanks, Torjan & Wim  :)
« Last Edit: April 16, 2019, 09:47:25 PM by bitsostring »
It's meant to be fun. . .

Offline bitsostring

  • Posts: 843
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: Customising w34WD
« Reply #14 on: May 20, 2019, 10:03:51 PM »
Only minor changes to report: I've given up on 3 rows of 4, Wim does it so much better!

Got max-min temp times showing in the small temp window; went back to the earlier sun block theme using a grey segment (and sun) for night; copied latest yellow segment idea for moon luminance, but also changed the text colour in css and went to grey for the rest of the circle; and did a lot of fiddling in metar pop-up, e.g. to get rid of brackets round units and to add a bit more info.

All this on the original January release.
« Last Edit: June 06, 2019, 09:57:27 PM by bitsostring »
It's meant to be fun. . .