cloudy cloudy

Author Topic: 1-wire reader & laser sensor  (Read 2493 times)

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Weather Display
Re: 1-wire reader & laser sensor
« Reply #15 on: December 02, 2017, 11:29:20 PM »
in your email it seems that the error you were getting about the port/driver in the WD 1 wire reader program is now gone, yes?
that is a step in the right direction

i think you now need to have set in WD, under control panel, com port setup, dallas 1 wire, set there. I want to use a 1 wire device.

in one of your screen shots of the WD 1 wire reader, it shows that WD is picking up the HID OK
« Last Edit: December 02, 2017, 11:31:30 PM by Weather Display »

Offline schwab

  • Posts: 39
  • OS/Browser:
  • Mac OS X 10.13
  • Firefox 57.0
Re: 1-wire reader & laser sensor
« Reply #16 on: December 03, 2017, 01:53:26 PM »
This link to a technical article may be helpful to developers of the current dallas1wirereader.exe program and others with possible driver issues.

https://www.maximintegrated.com/en/app-notes/index.mvp/id/1740


Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Weather Display
Re: 1-wire reader & laser sensor
« Reply #17 on: December 03, 2017, 07:17:41 PM »
does that mean you got it to work?

Offline schwab

  • Posts: 39
  • OS/Browser:
  • Mac OS X 10.13
  • Firefox 57.0
Re: 1-wire reader & laser sensor
« Reply #18 on: December 03, 2017, 10:54:07 PM »
No.  It is not working.

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Android 5.0.1
  • Chrome 62.0.3202.84
    • Weather Display
Re: 1-wire reader & laser sensor
« Reply #19 on: December 03, 2017, 11:10:12 PM »
Not working how exactly
Any error message now?
The more info you can provide the better
Saying it does not work does not help

Offline Bjørn

  • Posts: 327
  • Ulsteinvik, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Ulsteinvikweather
Re: 1-wire reader & laser sensor
« Reply #20 on: December 04, 2017, 09:59:03 AM »
Hi.
You also need to tick "enable to calculate current snow depth" in the dallas 1 wire reader vers 5.7, as i remembered.
this for auto reading, from, also try set lr4 program to every 10 sec only for test.

Also when it worked for me no dallas driver was nessesary to install.

Good luck.

See also some info here:
https://www.weather-watch.com/smf/index.php/topic,54901.25.html
« Last Edit: December 04, 2017, 10:07:09 AM by Bjørn »

Offline schwab

  • Posts: 39
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
UPDATE Re: 1-wire reader & laser sensor
« Reply #21 on: December 04, 2017, 01:29:02 PM »
My LR4Sample programs(eg LRsimple) log data at whatever interval I set in the LRDemo app.

In WD despite the fact that the Dallas1wirereader.exe sees the Fluke 414Dand data is actively being sent from it I do not see any flowing data into the Dallas1wire reader screens, the WD main screen snow section or in updated customtext.txt or customtext.php files

There is an issue with the data NOT flowing into the Dallas1wirereader.exe (I should see it in one of the boxes?)and subsequently the WD app.

I have tried many suggestions but am stuck using an HP PC Stream 14 Laptop running Windows 10.  Devices and drivers all show that they are working fine in Device Manager.

By the way I can take manual snow depth measurements and log them...it just does not happen automatically.

Thanks for your time and consideration


Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Weather Display
Re: 1-wire reader & laser sensor
« Reply #22 on: December 04, 2017, 06:04:29 PM »
I need to rely on others who have one for input
do others see a data stream flowing in the dallas1wirereader?

Offline charmed

  • Posts: 179
  • Fredericton, New Brunswick
  • OS/Browser:
  • Win NT 10.0
  • Firefox 57.0
    • Fredericton Area Weather
Re: 1-wire reader & laser sensor
« Reply #23 on: December 04, 2017, 06:20:28 PM »
Not me, seems I'm in the same boat.  Data flows from the sensor but not into the 1 wire.

rick

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Weather Display
Re: 1-wire reader & laser sensor
« Reply #24 on: December 04, 2017, 06:25:41 PM »
this suggests to me that the latest hardware has changed somehow to make it not work anymore
so that means what I need to do is make a new .exe program to see if I can get that to read the data
I will need testers

Offline schwab

  • Posts: 39
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
Re: 1-wire reader & laser sensor
« Reply #25 on: December 04, 2017, 06:39:30 PM »
Count me in as a volunteer tester of new dallas1wirereader.exe versions.

Again please note that previous forum contributors had a similar problem using Windows 7 and things were fixed following their upgrade to Windows 8.1

Now it seems to be a problem with Windows 10.

Also you may remote in to my PC anytime using TeamViewer or Google Remote Desktop.

Thanks

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Weather Display
Re: 1-wire reader & laser sensor
« Reply #26 on: December 04, 2017, 06:55:35 PM »
it wont be a new dallas1wireader program (I lost the source code for that with a hard drive crash)
but a new cron program just to read the lazer snow sensor data
(and so option in WD to use that )

Offline charmed

  • Posts: 179
  • Fredericton, New Brunswick
  • OS/Browser:
  • Win NT 10.0
  • Firefox 57.0
    • Fredericton Area Weather
Re: 1-wire reader & laser sensor
« Reply #27 on: December 04, 2017, 07:01:32 PM »
Why not read from the  log file.  Set lrtimelog to read once an hour.  Have wdisplay read the log file and subtract the last reading from the first reading to get the snow depth.  You should be able to extract cm's per hour etc from that as well.  The file is in the following format.

2017-12-03 15:42:43.161, 107.6 cm

Probably not that simple but it should do away with having to use the 1-wire.

Rick

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Weather Display
Re: 1-wire reader & laser sensor
« Reply #28 on: December 04, 2017, 07:19:07 PM »
try this test program
http://www.weather-display.com/downloadfiles/cronlazersnow.zip
to see if the raw data flows

Offline schwab

  • Posts: 39
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
Re: 1-wire reader & laser sensor
« Reply #29 on: December 04, 2017, 09:48:04 PM »
Thanks, I'll try this evening.

Tom