Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Re: Hydreon double tips
-
- Posts: 418
- Joined: Sun 26 Apr 2009 7:30 pm
- Weather Station: w8681 BlakeLarsen Sun Recorder
- Operating System: Windows 7 SP1
- Location: West Cornwall UK
- Contact:
Re: Hydreon double tips
Hi Steve
Is it possible that when the DSR goes high it causes the DTR to go low for some reason and my capacitor has the effect of holding the DTR line high. Without the capacitor DTR in the low state would leave DSR low and maybe allow DTR to go high again. As the relay is closed for 50ms there would seem to be enough time for Cumulus to see the double tip.
Regards
Alan
Is it possible that when the DSR goes high it causes the DTR to go low for some reason and my capacitor has the effect of holding the DTR line high. Without the capacitor DTR in the low state would leave DSR low and maybe allow DTR to go high again. As the relay is closed for 50ms there would seem to be enough time for Cumulus to see the double tip.
Regards
Alan
-
- Posts: 365
- Joined: Wed 07 Jan 2009 10:36 pm
- Weather Station: wh1081
- Operating System: windows 10
- Location: Oban Scotland
Re: Hydreon double tips
how often does cumulus look at the port?
that is what i was meaning in my earlier post about timing issues
that is what i was meaning in my earlier post about timing issues
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Hydreon double tips
I'm afraid I have no idea; my electronics knowledge is very basic. I enjoy assembling electronic kits (e.g. for my model railway), but rarely have much idea how they work. I added support for this device because I mistakenly thought that this DTR/DSR connection method was a tried and understood interface. It's clearly not as straightforward as I thought.apenwith wrote:Is it possible that when the DSR goes high it causes the DTR to go low for some reason and my capacitor has the effect of holding the DTR line high. Without the capacitor DTR in the low state would leave DSR low and maybe allow DTR to go high again. As the relay is closed for 50ms there would seem to be enough time for Cumulus to see the double tip.
I'm basically waiting for some consistent results so that I can make the code in Cumulus fit whatever it is that you come up with. I'm tempted to say that we should go with the unmodified cable if it consistently produces "double tips", but there's this annoying inconsistency where you get on-off-on-off and others get on-on-off. Whatever solution we eventually end up with, I think it's important that we understand why we've done it that way and how it works.
Steve
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Hydreon double tips
It doesn't work that way. It never looks at the port. It gets told when the state changes. That's why the on-on-off sequence makes no sense.bruce45 wrote:how often does cumulus look at the port?
that is what i was meaning in my earlier post about timing issues
Steve
-
- Posts: 418
- Joined: Sun 26 Apr 2009 7:30 pm
- Weather Station: w8681 BlakeLarsen Sun Recorder
- Operating System: Windows 7 SP1
- Location: West Cornwall UK
- Contact:
Re: Hydreon double tips
Hi Steve
I'm no expert either but I thought the reasoning logical (though the 2 ON's is harder to fathom) - to add to the confusion - maybe adapters work differently to real serial ports.
Regards
Alan
I'm no expert either but I thought the reasoning logical (though the 2 ON's is harder to fathom) - to add to the confusion - maybe adapters work differently to real serial ports.
Regards
Alan
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Hydreon double tips
I'd forgotten that your on-off-on-off was with an adapter, and the on-on-off results were from a real serial port. At least there's a possible explanation for the difference.apenwith wrote:maybe adapters work differently to real serial ports.
Steve
-
- Posts: 365
- Joined: Wed 07 Jan 2009 10:36 pm
- Weather Station: wh1081
- Operating System: windows 10
- Location: Oban Scotland
Re: Hydreon double tips
i have ordered a usd to rs232 convertor to compair results.
it could well be how the direct port and convertor see the change and prestent that change for cumulus.
more testing under various conditions is needed so that Steve can workout which way this could progress
it could well be how the direct port and convertor see the change and prestent that change for cumulus.
more testing under various conditions is needed so that Steve can workout which way this could progress
- mcrossley
- Posts: 12694
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Hydreon double tips
Only getting Cumulus to increase the count when a on-off transition occurs would solve the double 'on' wouldn't it?
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Hydreon double tips
In the on-on-off case, yes. But not in the on-off-on-off case.mcrossley wrote:Only getting Cumulus to increase the count when a on-off transition occurs would solve the double 'on' wouldn't it?
Steve
-
- Posts: 418
- Joined: Sun 26 Apr 2009 7:30 pm
- Weather Station: w8681 BlakeLarsen Sun Recorder
- Operating System: Windows 7 SP1
- Location: West Cornwall UK
- Contact:
Re: Hydreon double tips
Hi
Could it be that the missing OFF is of such short duration that it is superceded by the ON and debug misses it but it is there really. Is there still a double count with on on off.
Alan
Could it be that the missing OFF is of such short duration that it is superceded by the ON and debug misses it but it is there really. Is there still a double count with on on off.
Alan
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Hydreon double tips
This could be the case lower down in the system - in Windows somewhere - but if Cumulus is being notified then it would be logged, the duration has no bearing on it.apenwith wrote:Could it be that the missing OFF is of such short duration that it is superceded by the ON and debug misses it but it is there really.
Yes; basically Cumulus ignores 'off' events and increments the counter for 'on' events.Is there still a double count with on on off.
Steve
-
- Posts: 365
- Joined: Wed 07 Jan 2009 10:36 pm
- Weather Station: wh1081
- Operating System: windows 10
- Location: Oban Scotland
Re: Hydreon double tips
hi all
fitted 10uf cap to cts/rts and poured water over the rg11
does not make any sence to me.
i have received the usb convertor so could try that instead of the direct port
Steve if you want i could try the dtr/dsr for results to compare
fitted 10uf cap to cts/rts and poured water over the rg11
does not make any sence to me.
i have received the usb convertor so could try that instead of the direct port
Steve if you want i could try the dtr/dsr for results to compare
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Hydreon double tips
Yes, looks pretty random.bruce45 wrote:does not make any sence to me.
Well I guess the more tests of different setups, the better. But at the moment it's all looking inconsistent.i have received the usb convertor so could try that instead of the direct port
Steve if you want i could try the dtr/dsr for results to compare
Steve
-
- Posts: 365
- Joined: Wed 07 Jan 2009 10:36 pm
- Weather Station: wh1081
- Operating System: windows 10
- Location: Oban Scotland
Re: Hydreon double tips
thanks Steve
the pouring water from jug is ok to test the operation of thr rg11 but the rg11 looks for rain drops not flowing water.the tip bucket and jug would just keep tipping. so i think its not really a valid test. could try the other usb method and see what happends but think the only real test for the unit is real rain. i will give the dtr/dsr but think it could be the same sort of results.
the pouring water from jug is ok to test the operation of thr rg11 but the rg11 looks for rain drops not flowing water.the tip bucket and jug would just keep tipping. so i think its not really a valid test. could try the other usb method and see what happends but think the only real test for the unit is real rain. i will give the dtr/dsr but think it could be the same sort of results.
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Hydreon double tips
I'll dig out a serial cable and do some testing here just closing the connection manually.
Steve