このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


選挙立会人 program for ArduServers - ArduWatcher.htm Sheepdog ソフトウェア HOME  »  ArduServer & ArduSimpSrv HOME

ArduServer "選挙立会人" programs...

FarWatchWatcher / ArduWatcher
Automatically, periodically 収穫s data
from an Arduserver across the internet or on a LAN

For some time now, I have had Arduinos on the interet. You can visit some of them, if you like (at least one of them is usually "up"... いつかs all of them!)

Each is a tiny remotely accessible "node" in the "internet of things". You can see the values 存在 報告(する)/憶測d by sensors on the Arduinos; on some, you can turn an LED on the remote Arduino on or off. The Arduservers just illustrate what is possible. (If you can change the 明言する/公表する of an LED, you can do much, much more, if you 取って代わる the LED with something else.)

The 指名する "ArduWatcher" seemed like a good idea, once upon a time. Today, I am retiring that, and more and more using "FarWatchWatcher" for the さまざまな programs I 申し込む/申し出.

This page gives you 接近 to one of several 解放する/自由な programs to fetch data from Arduservers. Automatically. Periodically. (The one here is やめる 天然のまま... this is an old page. I 申し込む/申し出 other FarWatchWatchers どこかよそで.)

And the data is passed to a text とじ込み/提出する, nicely formatted for pasting into a spreadsheet or other, for data 陳列する,発揮する and 分析.

The 解放する/自由な programs aren't very 柔軟な. But, they work.

This page, by the way, 全く ignores the Arduservers' 生産(高) 能力s, i.e. it's 能力 for turning things connected to it on or off.

February 2019...

Oops... sorry folks! I forgot this page was here!

Since it was created, I have made more "ArduWatcher" programs, aka FarWatchWatchers.

As with the one 述べるd here, they are 十分な of rough 辛勝する/優位s and not very 柔軟な... but 解放する/自由な!

You don't need one of my Arduservers to use my ArduWatchers. As long as you have a source, somehow, from somewhere, of a webpage which has data embedded in a very 明確な/細部 判型, the 解放する/自由な Windows programs 申し込む/申し出d here (and どこかよそで) will be able to 収穫, save to disk, graph that data for you.

In some 事例/患者s, the FarWatchWatcher, though intolerant of deviation from the 要求するd data 判型, can at least be configured to look on the line of your choice in the HTML served up by the data source.

I now have a number of these FarWatchWatcher programs for you. The "最新の/ greatest" ArduWatcher/ FarWatchWatcher (at 2/19) (explained in 詳細(に述べる) if you follow the link) can 監視する two 気温s 報告(する)/憶測d in deci-degrees Celsius, 加える a one-bit 数字表示式の signal. (Graphs values from about 45 to 85 degrees Fahrenheit nicely, but all values from the data source from -99 degrees C to +99 are 記録,記録的な/記録するd 適切に in the data とじ込み/提出する.

Old "news"....

The 残り/休憩(する) of this page relates to one of my earlier FarWatchWatchers. That one, and all その後の ArduWatchers operate in 類似の ways, but with different levels of polish, different source data 必要物/必要条件s.



LDN026-clone2....

It needs your Arduserver to create, as the 7th line of the html it 生成するs, something like....

(You can point the program at my Arduserver on...

http://mon7nc.dyndns.org:81

... for SHORT 実験(する)s (no more than an hour, please) to see all is working, if you like.

The data in that line parses as follows. The width of each field never 変化させるs, 主要な or 追跡するing 無s are 追加するd, by the Arduserver, as needed.

5035+268702491023

... or, with spaces not 現在の in the data line, as returned inside the html...

5035  +2687  0249  1023

5035: Number of times Arduserver has been 接近d since re-booted.

+2687: 現在の 気温 is +27.87 degrees Celsius.

0249: Reading on one of the analog inputs to the Arduino. On the one at mon7nc...:81, that, at September 14, is outdoor light levels, 独断的な 部隊s.

1023: Reading on another of the analog inputs to the Arduino. On the one at mon7nc...:81, that, at September 14, is outdoor light level experienced by a phototransistor opposite the LED 使用者s can turn on or off, 独断的な 部隊s.

So! That's what you have to 供給する in your Arduserver, if ArduWatcher is to "do its thing", in its 現在の, 天然のまま form.



Here is what you see when the program runs. Don't try to puzzle it all out. There's an explanation below the graphic.

-

The program is new. I've 認める it is 天然のまま. It is 解放する/自由な. In other words: Use it if you like, don't "moan" (or 裁判官 my other ソフトウェア by this!) if you don't like what you see or find.

The "Do It Now" button would make the program try to take a reading, put data in the 生産(高) とじ込み/提出する. You don't HAVE to click it.

The "Do Now and..." tick box is always ticked at this time. A reading is taken when the program 開始する,打ち上げるs, and periodically thereafter. You can't "see rems".

Where it says "laBHrNow", I think the hour, as understood by the program (taken from the system time of the computer ArduWatcher is running on) will appear, and change, each time the hour of the day changes.

In the edit box 持つ/拘留するing "索引.htm" in the example above, you put the 指名する of the page the Arduserver you want to 接近 returns.

In the edit box 持つ/拘留するing "http://mon7nc.dyndns.org:81" in the example above, you put the URL of the Arduserver you want to 接近. Something like 192.168.0.143 would work if you had an Arduserver on your LAN at that 演説(する)/住所. You may or may not need something like ":81" at the end of the URL, depending on how you have your Arduserver 始める,決める up.

The long line... "C:\使用者s\TBoyd...." should tell ArduWatcher where you want the data written. 公式文書,認める the separate edit box with ".txt" to 設立する the 生産(高) とじ込み/提出する's 指名する. At the 現在の time you will probably get a とじ込み/提出する called "LDN026 clone2 収穫-FROM-yyyymdd-hhmm.txt, in the folder you've put the .exe in. At least the yyyymdd-hhmm will be 取って代わるd with a datestamp, as discussed below. (Remember: The program is 解放する/自由な!)

Besides what you 明示する ("Tmp.txt" in the example above), (which for the moment is ignored!) the program WILL (even in this 見解/翻訳/版) 追加する a date/time stamp to the filename, e.g....

Tmp-2015320-0917-055.txt

... for a とじ込み/提出する 収穫d in the year 2015, 3rd month, 20th day. 公式文書,認める that each of those will always 占領する 4,1 and 2 characters それぞれ, Oct, Nov, and Dec 明示するd with a, b and c.

Then we have the time of day... 4 digits, and seconds and tenths, as I 解任する... 055 signifying 5.5 seconds past 9:17(am) in the example. (The datestamp 反映するs when the data in the first 記録,記録的な/記録する in the とじ込み/提出する was collected.)

MAJOR annoyance with 現在の 見解/翻訳/版 of the program. It "作品", but...

The datafile is only started, and only subsequently updated each time the time of day is "00", "20" or "40" minutes past the hour. Yes, this should (and could) be 直す/買収する,八百長をするd. The program is 解放する/自由な. Don't moan.

I BELIEVE the "記録,記録的な/記録する from/ to" specifications are 尊敬(する)・点d by the program.

The program... 現在/一般に!... 接近s the Arduserver it is Watching once a minute.

Over time, an 生産(高) とじ込み/提出する like the に引き続いて builds up....

製品 of LDN026-clone2, ver:3 Nov 14 All fields are 直す/買収する,八百長をするs width.
Data is as follows... Datetime of 記録,記録的な/記録する-compressed,
Date of 記録,記録的な/記録する, Time of 記録,記録的な/記録する (these two repeat, with いっそう少なく precision, data already 現在のd
... and then the other data of the 記録,記録的な/記録する...
cccc,stttt,aaaa,bbbb, where....
c is clicks of Arduserver since last boot,
stttt is 気温: s=調印する (+/-), tttt is tture in centidegrees C
aaaa is reading from 1 ADC, probably outdoor light level
bbbb is reading from second ADC, probably level of light on LED.
yyyy,mm,dd,hh,mm,ss,t,dd/mm/yyyy,hh:mm,cccc,stttt,aaaa,bbbb

2015,03,27,15,50,45,1,27/03/2015,15:50,1987,+2575,0460,1023
2015,03,27,15,50,46,7,27/03/2015,15:50,1988,+2568,0460,1023
2015,03,27,15,51,01,6,27/03/2015,15:51,1989,+2568,0464,1023
2015,03,27,15,52,01,0,27/03/2015,15:52,1990,+2568,0468,1023
2015,03,27,15,53,01,7,27/03/2015,15:53,1991,+2581,0468,1023
2015,03,27,15,54,01,1,27/03/2015,15:54,1992,+2581,0470,1023

(The headers don't "grow", but more and more lines like the last shown are 徐々に... in (製品,工事材料の)一回分s, every 20 minutes, 追加するd to the とじ込み/提出する.)

The three 覚え書き boxes between the label "現在/一般に hardcoded to..." are just "windows" on what is happening. First is a スピードを出す/記録につける of messages from the system to the 使用者. (That スピードを出す/記録につける is not saved anywhere).

The second is a look at what the data とじ込み/提出する will look like. 最近の 記録,記録的な/記録するs may not yet be in the data とじ込み/提出する.

The last is a raw 捨てる of the most 最近の data 収穫 from the Watched Arduserver.



It 作品. It is 解放する/自由な. However "imperfect"

I wrote the program for my own 目的s. That time is re-paid.

I 疑問 you 高く評価する/(相場などが)上がる just how much extra work it is to 供給する you with a page like this, a way to download the program, etc.

A little of your time 調査するing my other pages, Facebook "Liking" something, について言及するing something in a 会議, blog, etc., would be 高く評価する/(相場などが)上がるd. If you've read this far, it can't be 完全にする rubbish. There is no point in me 令状ing these things if no one knows they are here. After many years of doing them, I am beginning to 結論する that they are rubbish, and that I should turn to other 追跡s.

You only need to click here to download 'LDN026.exe' the 完全にする, 収集するd, .exe. (The program only runs on Windows.) Yes... you will have to 始める,決める up an Arduserver, and have it produce the comment line in the 判型 and place 述べるd above, if you want to use the program to collect data that means something to you. (I've also put it on my server as LDN026._xe in 事例/患者 your 環境 doesn't like downloading .exe's. I may forget to update the ._xe 見解/翻訳/版 if I update the "main" とじ込み/提出する, but I'll try not to. At 03 Apr 15, you should get "vers 3Apr15" in the 肩書を与える 妨げる/法廷,弁護士業 of the program when it runs.)



Program created with...

The program was created with Lazarus, a 解放する/自由な, multi 壇・綱領・公約, general 目的 programming language with many commonalities with the 優れた Delphi. I am an 支持する for Lazarus, for kids, hobbyists, and more obligated people. It made use of a 解放する/自由な TCP/IP library from Synapse... see http://wiki.freepascal.org/Synapse.



接触する this page's editor, Tom Boyd


Valid HTML 4.01 Transitional Page has been 実験(する)d for 同意/服従 with INDUSTRY (not MS-only) 基準s, using the 解放する/自由な, 公然と accessible validator at validator.w3.org. Mostly passes.

AND passes... Valid CSS!

- - - Page ends - - -