inxi/pinxi testers! big weather update

Message
Author
User avatar
rokytnji.1
Global Moderator
Posts: 706
Joined: Sun Apr 13, 2014 9:06 pm

Re: inxi/pinxi testers! big weather update

#11 Post by rokytnji.1 »

AntiX only Chromebook

Code: Select all

harry@biker:~
$ pinxi -xxxw 79772
Error 22: Unsupported option: 79772
Check -h for correct parameters.
harry@biker:~
$ pinxi -xxxw pecos,texas
Error 22: Unsupported option: pecos,texas
Check -h for correct parameters.
harry@biker:~
$ pinxi -xxxW pecos,texas
Weather:   Temperature: 23 C (73 F) Conditions: Few clouds Wind: from WNW at 6.6 m/s (24 km/h, 15 mph) Cloud Cover: 17% 
           Humidity: 37% Dew Point: 7 C (45 F) Pressure: 914.825 mb (27.44 in) Location: Pecos, Texas 
           Current Time: Wed 06 Feb 2019 06:09:00 PM CST Observation Time: 2019-02-06 17:24:37 (America/Chicago -0600) 
harry@biker:~
$ pinxi -Fxz
System:    Host: biker Kernel: 4.20.0-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 6.3.0 Desktop: IceWM 1.4.2 
           Distro: antiX-17_x64-full Heather Heyer 24 October 2017 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Desktop System: Google product: Parrot v: 1.0 serial: <filter> 
           Mobo: Google model: Parrot v: 1.0 serial: <filter> BIOS: coreboot v: 4.0-6588-g4acd8ea-dirty date: 09/04/2014 
Battery:   ID-1: BATX charge: 31.4 Wh condition: 31.4/37.0 Wh (85%) model: SANYO AL12B32 status: Full 
CPU:       Topology: Dual Core model: Intel Celeron 1007U bits: 64 type: MCP arch: Ivy Bridge rev: 9 L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 5986 
           Speed: 1051 MHz min/max: 800/1500 MHz Core speeds (MHz): 1: 877 2: 803 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel bus ID: 00:02.0 
           Display: server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 3.3 Mesa 13.0.6 direct render: Yes 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.20.0-antix.1-amd64-smp 
Network:   Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Foxconn driver: ath9k v: kernel port: 0400 
           bus ID: 01:00.0 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Broadcom and subsidiaries NetLink BCM57785 Gigabit Ethernet PCIe vendor: Acer Incorporated ALI 
           driver: tg3 v: 3.137 port: 0400 bus ID: 02:00.0 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 14.91 GiB used: 6.83 GiB (45.8%) 
           ID-1: /dev/sda vendor: SanDisk model: SSD U100 16GB size: 14.91 GiB 
Partition: ID-1: / size: 14.62 GiB used: 6.83 GiB (46.7%) fs: ext4 dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 132 Uptime: 11h 22m Memory: 3.79 GiB used: 254.0 MiB (6.5%) Init: SysVinit runlevel: 5 Compilers: 
           gcc: 6.3.0 Shell: bash v: 4.4.12 pinxi: 3.0.30-10 

User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi/pinxi testers! big weather update

#12 Post by h2-1 »

timkb4cq, ah, good, I just got source 2 observation time working, good to see that confirmed, I couldn't test it yet.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
oops
Posts: 1602
Joined: Tue Apr 10, 2018 5:07 pm

Re: inxi/pinxi testers! big weather update

#13 Post by oops »

h2-1 wrote: Wed Feb 06, 2019 8:01 pm Great, thanks for testing --weather-source too.
...
I found also during testing that the various apis have quite different weather, lol, some clearly had to be wrong, so I built in an option to let you switch sources if you want via config option.
LOL ... me too ;-)
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi/pinxi testers! big weather update

#14 Post by h2-1 »

Ok, inxi 3.0.31 is headed towards Debian, where hopefully it will squeeze in right before the stable freeze in a week or two.

thanks for the debugging/testing, appreciate it!

Enjoy the new weather stuff.

Keep in mind, if reports are correct, options 0 and 1 will fail in about 1 week's time, maybe 2. Or they may not, we''ll see.

So you might want to update inxi in antix/mx too in a day or two.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi/pinxi testers! big weather update

#15 Post by h2-1 »

I added 1 more api, and if you grab latest inxi or pinxi, it now also shows the api source, which is required to maintain following the attribution requirements for these apis, probably not necessary, but you'll know which is which now.

So currently api's 1 through 4 are active, and 3 is default.

I'm still puzzled by how these can yield such significantly different results for the same area.

Oh, and 1 one of them now shows sunrise/sunset, I think it's 2, but only for your local, not -W location. That's due to difficulty translating gmt to timezones.

This latest is found in current pinxi, and inxi 3.0.32.

I may add a 5th one, if they update their api method, and allow inxi to use with minimal attribution.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: inxi/pinxi testers! big weather update

#16 Post by KoO »

Code: Select all

 Sat Feb 09 01:58 PM 
└>>> koo@antix17 ~ 28 files = 756K ~ <<<-$ inxi -wxxx
Weather:   Temperature: 30 C (86 F) Conditions: Partly Cloudy Wind: from ENE at 6.3 m/s (23 km/h, 14 mph) Humidity: 58% 
           Pressure: 1002 mb (29.59 in) Heat Index: 32 C (90 F) Dew Point: 21 C (70 F) Location: North Lakes, 04, AUS 
           altitude: 21 m (69 ft) Current Time: Sat 09 Feb 2019 01:58:41 PM AEST (Australia/Queensland) 
           Observation Time: Sat 09 Feb 2019 01:30:00 PM AEST 
Working in Queensland
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi/pinxi testers! big weather update

#17 Post by h2-1 »

that's old inxi. You can tell, because datasource 1, which is what old inxi has, is the only one with heat index. That's the data source that is rumoured to being offline soon. New inxi is in github or pinxi is always new of course, if you update it. distro packaged inxi's will all fail possibly by 2 weeks time roughly, we'll see, it may not happen, won't know until it either does or doesn't.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: inxi/pinxi testers! big weather update

#18 Post by KoO »

Code: Select all

 inxi -wxxx
Weather:   Temperature: 26 C (79 F) Conditions: Clear sky Wind: from NE at 0.9 m/s (3 km/h, 2 mph) Cloud Cover: 0% 
           Humidity: 84% Dew Point: 23 C (73 F) Pressure: 1007.5 mb (30.23 in) Location: Mango Hill, North Lakes, 04, AUS 
           Current Time: Sat 09 Feb 2019 07:50:15 PM AEST (Australia/Queensland) 
           Observation Time: Sat 09 Feb 2019 07:34:00 PM AEST Source: weatherbit.io
inxi v3.0.32 07-02-19 Better

Done Open /etc/inxi.conf and change false to true: B_ALLOW_UPDATE=true :p
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
anticapitalista
Developer
Posts: 4160
Joined: Sat Jul 15, 2006 10:40 am

Re: inxi/pinxi testers! big weather update

#19 Post by anticapitalista »

Code: Select all

inxi -xxxw
Weather:   Temperature: 12 C (54 F) Conditions: Few clouds Wind: from S at 0.5 m/s (2 km/h, 1 mph) Cloud Cover: 32% 
           Humidity: 61% Dew Point: 4 C (39 F) Pressure: 1015.7 mb (30.47 in) Location: Athens, ESYE31, Athens, 35, GRC 
           Current Time: Sat 09 Feb 2019 02:33:57 PM EET (Europe/Athens) Observation Time: Sat 09 Feb 2019 02:06:00 PM EET 
           Source: weatherbit.io 
Which is wrong - I'm in Thessaloniki, Greece.

Here are the others.

Code: Select all

inxi -xxxW Thessaloniki,GR --weather-source 0
Weather:   Temperature: 8 C (46 F) Conditions: Partly Cloudy Wind: from WNW at 3.1 m/s (11 km/h, 7 mph) Humidity: 71% 
           Dew Point: 3 C (37 F) Pressure: 1021 mb (30.15 in) Wind Chill: 6 C (43 F) Location: Thessaloniki, GR 
           altitude: 10 m (33 ft) Current Time: Sat 09 Feb 2019 02:32:39 PM EET Observation Time: February 9, 1:20 PM EET 

┌─[anticap@antix1]─[02:32:39 pm]─[]
└─> inxi -xxxW Thessaloniki,GR --weather-source 1
Weather:   Temperature: 8 C (46 F) Conditions: Partly Cloudy Wind: from WNW at 3.1 m/s (11 km/h, 7 mph) Humidity: 71% 
           Dew Point: 3 C (37 F) Pressure: 1021 mb (30.15 in) Wind Chill: 6 C (43 F) Location: Thessaloniki, GR 
           altitude: 10 m (33 ft) Current Time: Sat 09 Feb 2019 02:32:48 PM EET Observation Time: February 9, 1:20 PM EET 

┌─[anticap@antix1]─[02:32:48 pm]─[]
└─> inxi -xxxW Thessaloniki,GR --weather-source 2
Weather:   Temperature: 9 C (48 F) Conditions: few clouds Wind: from WNW at 3.6 m/s (13 km/h, 8 mph) Cloud Cover: 20% 
           Humidity: 76% Pressure: 1021 mb (30.63 in) Location: Thessaloniki, GR Current Time: Sat 09 Feb 2019 02:32:52 PM EET 
           Observation Time: N/A Source: openweathermap.org 

┌─[anticap@antix1]─[02:32:52 pm]─[]
└─> inxi -xxxW Thessaloniki,GR --weather-source 3
Weather:   Temperature: 11 C (52 F) Conditions: Few clouds Wind: from WSW at 0.9 m/s (3 km/h, 2 mph) Cloud Cover: 32% 
           Humidity: 57% Dew Point: 2 C (36 F) Pressure: 1017.4 mb (30.52 in) Location: Thessaloniki, GR 
           Current Time: Sat 09 Feb 2019 02:32:56 PM EET Observation Time: 2019-02-09 14:20:00 (Europe/Athens +0200) 
           Source: weatherbit.io 

┌─[anticap@antix1]─[02:32:56 pm]─[]
└─> inxi -xxxW Thessaloniki,GR --weather-source 4
Weather:   Temperature: 9 C (48.2 F) Conditions: Partly cloudy Wind: from WNW at 3.6 m/s (13 km/h, 8 mph) Cloud Cover: 25% 
           Humidity: 76% Pressure: 1021 mb (30.6 in) Location: Thessaloniki, GR Current Time: Sat 09 Feb 2019 02:33:00 PM EET 
           Observation Time: 2019-02-09 14:15 (Europe/Athens) Source: apixu.com 
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
fehlix
Developer
Posts: 10303
Joined: Wed Apr 11, 2018 5:09 pm

Re: inxi/pinxi testers! big weather update

#20 Post by fehlix »

Best seems to be source 2 and 4:

Code: Select all

for S in 1 2 3 4; do P="pinxi -xxxw --weather-source $S"; echo -e "\n$P"; $P; done

pinxi -xxxw --weather-source 1
Weather:   Temperature: 9 C (48 F) Conditions: Scattered Clouds Wind: from SW at 12.5 m/s (45 km/h, 28 mph) 
           Humidity: 62% Dew Point: 2 C (36 F) Pressure: 997 mb (29.44 in) 
           Location: Hamburg Airport, Germany, Hamburg, 04, DEU altitude: 18 m (59 ft) 
           Current Time: Sa 09 Feb 2019 14:14:15 CET (Europe/Berlin) Observation Time: Sa 09 Feb 2019 13:50:00 CET 

pinxi -xxxw --weather-source 2
Weather:   Temperature: 9 C (48 F) Conditions: scattered clouds Wind: from SW at 10.3 m/s (37 km/h, 23 mph) 
           Cloud Cover: 40% Humidity: 61% Pressure: 997 mb (29.91 in) Location: Schnelsen, Hamburg, 04, DEU 
           Current Time: Sa 09 Feb 2019 14:14:16 CET (Europe/Berlin) Observation Time: Sa 09 Feb 2019 13:20:00 CET 
           Sunrise: 07:50:52 Sunset: 17:18:39 Source: openweathermap.org 

pinxi -xxxw --weather-source 3
Weather:   Temperature: 8 C (46 F) Conditions: Overcast clouds Wind: from WSW at 5.4 m/s (19 km/h, 12 mph) 
           Cloud Cover: 80% Humidity: 73% Dew Point: 4 C (39 F) Pressure: 994.9 mb (29.85 in) 
           Location: Langenhorn, Hamburg, 04, DEU Current Time: Sa 09 Feb 2019 14:14:17 CET (Europe/Berlin) 
           Observation Time: Sa 09 Feb 2019 13:46:00 CET Source: weatherbit.io 

pinxi -xxxw --weather-source 4
Weather:   Temperature: 9 C (48.2 F) Conditions: Partly cloudy Wind: from SW at 10.3 m/s (37 km/h, 23 mph) 
           Cloud Cover: 50% Precipitation: 1.5 mm (0.06 in) Humidity: 62% Pressure: 997 mb (29.9 in) 
           Location: Oh-Moor, Schleswig-Holstein, Germany, Hamburg, 04, DEU 
           Current Time: Sa 09 Feb 2019 14:14:18 CET (Europe/Berlin) Observation Time: 2019-02-09 14:00 
           Source: apixu.com 


$ for S in 1 2 3 4; do P="pinxi -xxxW Hamburg,DE --weather-source $S"; echo -e "\n$P"; $P; done

pinxi -xxxW Hamburg,DE --weather-source 1
Weather:   Temperature: 0 C (32 F) Conditions: Overcast Wind: from NNE at 3.6 m/s (13 km/h, 8 mph) Humidity: 61% 
           Dew Point: -7 C (20 F) Pressure: 1039 mb (30.69 in) Wind Chill: 25 F (-4 C) Location: Hamburg, DE 
           altitude: 49 m (162 ft) Current Time: Sa 09 Feb 2019 14:14:56 CET 
           Observation Time: February 9, 6:53 AM CST 

pinxi -xxxW Hamburg,DE --weather-source 2
Weather:   Temperature: 9 C (48 F) Conditions: scattered clouds Wind: from SW at 10.3 m/s (37 km/h, 23 mph) 
           Cloud Cover: 40% Humidity: 61% Pressure: 997 mb (29.91 in) Location: Hamburg, DE 
           Current Time: Sa 09 Feb 2019 14:14:57 CET Observation Time: N/A Source: openweathermap.org 

pinxi -xxxW Hamburg,DE --weather-source 3
Weather:   Temperature: 9 C (48 F) Conditions: Scattered clouds Wind: from E at 2.2 m/s (8 km/h, 5 mph) 
           Cloud Cover: 45% Humidity: 66% Dew Point: 3 C (37 F) Pressure: 990 mb (29.7 in) Location: Hamburg, DE 
           Current Time: Sa 09 Feb 2019 14:14:57 CET Observation Time: 2019-02-09 13:52:00 (Europe/Berlin +0100) 
           Source: weatherbit.io 

pinxi -xxxW Hamburg,DE --weather-source 4
Weather:   Temperature: 9 C (48.2 F) Conditions: Partly cloudy Wind: from SW at 10.3 m/s (37 km/h, 23 mph) 
           Cloud Cover: 50% Precipitation: 1.5 mm (0.06 in) Humidity: 62% Pressure: 997 mb (29.9 in) 
           Location: Hamburg, DE Current Time: Sa 09 Feb 2019 14:14:57 CET 
           Observation Time: 2019-02-09 14:00 (Europe/Berlin) Source: apixu.com 
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “antiX”