interceptWH2600 - WH2600 Weather Station Interceptor

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.
Doudy
Posts: 59
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by Doudy » Tuesday 21 November 2017 14:43

Upgrade :
Fisrt command :

Code: Select all

root@RASPBERRYPI-182:/home/pi/interceptWH2600# git fetch --all
Result :

Code: Select all

fatal: Not a git repository (or any of the parent directories): .git
I do this :

Code: Select all

root@RASPBERRYPI-182:/home/pi/interceptWH2600# git init
Dépôt Git vide initialisé dans /home/pi/interceptWH2600/.git/
Second command :

Code: Select all

root@RASPBERRYPI-182:/home/pi/interceptWH2600# git fetch --all

Code: Select all

Nothing Display
Third command:

Code: Select all

root@RASPBERRYPI-182:/home/pi/interceptWH2600# git reset --hard origin/master
Result :

Code: Select all

fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
I do this :
??? Nothing ???
:?: :?: :?:

Doudy
Posts: 59
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by Doudy » Tuesday 21 November 2017 14:47

BakSeeDaa wrote:
Tuesday 21 November 2017 13:33
Might it be so that you have altered the python script file using a MSDOS/Windows editor? That will destroy the script file.
I use Notepad++ for modifications
Conding UFT-8 (sans BOM)
Languafe : Python

;)

Doudy
Posts: 59
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by Doudy » Tuesday 21 November 2017 17:33

I have completely reinstalled interceptWH2600 and the .sh is working now.

Code: Select all

sudo apt-get update&&sudo apt-get install git

cd /home/pi && git clone git://github.com/allan-gam/interceptWH2600.git

sudo chmod 755 /home/pi/interceptWH2600/interceptWH2600.py

cd /home/pi/interceptWH2600

etc....
Why ?
How?


;) :) :D

BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by BakSeeDaa » Tuesday 21 November 2017 17:49

OK.

We will try to find out what's going on on your system.

Your file /home/pi/interceptWH2600/interceptWH2600.py has the size of 21073 bytes.

I just made a new installation following the installation instruction to 100% and my file /home/pi/interceptWH2600/interceptWH2600.py has the size of 20386 bytes.

That's weird. Either something went wrong when you downloaded it with the git clone or you've altered it. I don't know but I suspect that you have altered it by editing it and saving it with MS/DOS line endings (CR+LF). Maybe you'd like to check your Notepad++ editor settings if you primary work with files on Linux systems.

Anyway, the file /home/pi/interceptWH2600/interceptWH2600.py should not be edited at all if you follow the wiki.

Then, for some strange reason, when you follow the upgrade instruction and run command git fetch --all, you get a fatal error message that reads "Not a git repository". That's so very strange. Have you manually been deleting files (e.g. the .git file) in the /home/pi/interceptWH2600 directory?

What is the output if you run command:

Code: Select all

ls -la /home/pi/interceptWH2600/
At Monday 30 October 2017 16:11 you made a post showing that everything seemed to be up and running.

Then at Tuesday 31 October 2017 11:36 you made a new post post that really confirms you've made changes to the python source file. Already there, I can't help you any longer. You have obviously customized the source which is perfectly fine but then I can't use many hours of my free time to find out what goes wrong.

When you installed, did you really follow the installation instructions? Did you encounter any errors while doing that? Have you done anything else after that?

Then later, at Saturday 11 November 2017 11:57 there is a new post and now the script doesn't start any longer.
Doudy wrote:
Saturday 11 November 2017 12:57
...I followed the wiki procedure...
Further on I write in a post that I assume that you have followed the installation instruction carefully .
BakSeeDaa wrote:
Sunday 12 November 2017 11:12
I assume that you have followed the installation instruction carefully and while doing that didn't receive any error messages
I was just about to recommend you to reinstall everything and this time following the installation instruction and after that doing nothing additional. While writing this you posted a new message that says that everything is working after reinstalling.
Doudy wrote:
Tuesday 21 November 2017 17:33
I have completely reinstalled interceptWH2600 and the .sh is working now.

Code: Select all

sudo apt-get update&&sudo apt-get install git

cd /home/pi && git clone git://github.com/BakSeeDaa/interceptWH2600.git

sudo chmod 755 /home/pi/interceptWH2600/interceptWH2600.py

cd /home/pi/interceptWH2600

etc....
Why ?
How?


;) :) :D
I can't say why but we know that it was working initially, then you customized the source file and it stopped working. At some point the git files disappeared.

Nevertheless please feel free to customize the script and make any changes that you wish but after doing that, I can't help you. Let's hope it stays stable for now.

Cheers! ;)
Last edited by BakSeeDaa on Friday 23 February 2018 10:07, edited 1 time in total.

Doudy
Posts: 59
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by Doudy » Wednesday 22 November 2017 8:07

BakSeeDaa wrote:
Tuesday 21 November 2017 17:49
What is the output if you run command:

Code: Select all

ls -la /home/pi/interceptWH2600/

Code: Select all

pi@RASPBERRYPI-182:~ $ ls -la /home/pi/interceptWH2600/
total 96
drwxr-xr-x  3 pi pi  4096 nov 21 16:16 .
drwxr-xr-x 33 pi pi  4096 nov 21 16:15 ..
-rw-r--r--  1 pi pi  1608 nov 21 16:19 config.json
-rw-r--r--  1 pi pi  1668 nov 21 16:15 copie_example_config.json
drwxr-xr-x  8 pi pi  4096 nov 21 16:15 .git
-rw-r--r--  1 pi pi    97 nov 21 16:15 .gitignore
-rwxr-xr-x  1 pi pi 20386 nov 21 16:15 interceptWH2600.py
-rwxr-xr-x  1 pi pi  1667 nov 21 16:15 interceptWH2600.sh
-rw-r--r--  1 pi pi 35141 nov 21 16:15 LICENSE
-rw-r--r--  1 pi pi   771 nov 21 16:15 README.md
-rw-r--r--  1 pi pi   451 nov 21 16:15 sample_data.txt
-rwxr-xr-x  1 pi pi   203 nov 21 16:15 watchWH2600.sh
That is OK 20386 bytes.
BakSeeDaa wrote:
Tuesday 21 November 2017 17:49
I can't say why but we know that it was working initially, then you customized the source file and it stopped working. At some point the git files disappeared.
I certainly deleted this file by mistake
:oops:
BakSeeDaa wrote:
Tuesday 21 November 2017 17:49
Nevertheless please feel free to customize the script and make any changes that you wish but after doing that, I can't help you. Let's hope it stays stable for now.
OK

For information - after reboot Pi :

Code: Select all

pi@RASPBERRYPI-182:~ $ sudo /home/pi/interceptWH2600/watchWH2600.sh
Running
Thanks for your help.
;)

BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by BakSeeDaa » Wednesday 22 November 2017 9:15

Version 1.1.0 released.

See Wiki for upgrade instructions.
README.md wrote:
  • Corrected a debug print message. (Latest wind direction reading)
  • Added a parameter in configuration file, system->enabled. If set to false program will exit.
  • Added a parameter in configuration file, updateWU. Updates to Weather Underground will be performed conditionally depending on this boolean.
NOTE! After (or before if you prefer) upgrading to version 1.1.0 you need to add the new 2 parameters (enabled and updateWu) manually into your configuration file. Look at the new example_config.json what it should look like.
Happy weather interception!

Xssen
Posts: 1
Joined: Sunday 15 July 2018 19:27
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by Xssen » Sunday 15 July 2018 20:28

Hi,
I'm looking for a weather station. I would like it to work with domoticz on Rasberry Pi 3. It would close window blinds automatically dependig on weather conditions. So there are my questions:
1. Why your GitHub and Wiki pages are not working?
2. Are you satisfied with your WH2600? How often rechargable batteries need to be changed? And how is it signalized? Ambient Weather published a new version which is WS-1401 https://www.ambientweather.com/amws1400ip.html that use normal batteries.
3. Is it possible to make such program as yours but working with another station which is using wi-fi to comunicate with weatherunderground (for example Eurochron EFWS 2900 - https://www.conrad.pl/p/stacja-pogodowa ... -m-1508025)? I would not like to use weatherunderground domoticz plug-in.
I would be very grateful for your answer.
Thank you in advance, best reagards.
Jakub

upwindanderl
Posts: 8
Joined: Wednesday 03 October 2018 21:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by upwindanderl » Thursday 25 October 2018 18:50

I'm going to be crazy.... all github links seems to be broken or down
have you stopped your project @BakSeeDaa ?? :O

misko903
Posts: 50
Joined: Thursday 27 September 2018 22:58
Target OS: Raspberry Pi
Domoticz version: Latest
Location: Trencin, Slovakia
Contact:

Re: interceptWH2600 - WH2600 Weather Station Interceptor

Post by misko903 » Friday 30 November 2018 23:21

I am also looking for the code. Just bought eurochron ws2900, which is the same product as all the above.

Where is it disappeared? Is it possible to publish it again?

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests