HOME - - - - - - - - Overview of "FarWatchWatcher" (and Arduserver)

You can also reach this page with https://bit.ly/InfoByPcID



FarWatchWatcher

Documentation for users

(Page's URL: by-pc-id.htm)

Introduction to this family of pages about using FarWatch systems

This page's unique content is just a little way down the page... below the " v v v v v" s

FarWatch and FarWatchWatcher have been around since before "IoT" ("Internet of Things") became a popular expression, but they are of that world.

FarWatch...

...is a concept, a range of hobbyist/ school-project friendly devices and software. (Not that it is restricted to those arenas!) FarWatch systems allow you to "watch" something "from afar". Not "watch" as in a live video feed, but to "watch" by watching numbers... graphs of the temperature someplace, for instance. Some FarWatch installations have an extra capability: The watcher can, for instance, turn a light on at the watched place.

This may sound terribly esoteric, but you can get started without a nuclear physicist on the team, or a venture capitalist on hand to fund the project.

Arduservers are the best developed devices for the watched place. But you can "brew your own", in any hardware you like.

FarWatchWatchers...

...are, up to now, mostly applications written to run in a Windows PC. But again, brew your own!

They access the data at the watched site over the internet (or just your LAN), and use it in various ways... for instance to display graphs of historical and current conditions, to record the data in files. Or even to set the computer beeping to announce a problem.

v v v v v v v v v v

Information on specific instances

ICH07a- Sparkfun "Thing Dev"- Esp8266 Arduserver with.. lots!

The page served should set your browser tab to "ICH07a", and begin...

Yet Another Arduserver!
ESP8266_web_server_for_FW002_Mk3-1:ICH07a's fork

Version: vers 08 Feb 17. Fork of 'Mk3'. Fork started 7 Feb 17

Created early Jan 2017...

(It has run more or less continuously since then.

It reports...

The processor has 1 bit of output available to the user. At present, that bit controls an LED which shines on a phototransistor. (See next.) The LED's state can be changed by anyone who accesses the webserver with a browser, and issues a command.

The processor also has "knows" the reading from an analog sensor. This is available to anyone who accesses the webserver with a browser, and issues a "read" command... read Arduserver's page carefully. It is not returned as part of the hidden, machine-friendly string that FarWatchWatchers watch.

If you go to the server directly, there are commands that let you turn an LED on or off.

Server returns like...

0001+2402581+2250
ccccstttccccstttb

... which translates as follows...

At 8/21, this server has run well for years, at least for reporting the two temperatures.

The temperatures are the temperatures in two rooms, in a home south of London, near the Channel, within ten miles of https://whatthreewords.com/whatthreewords.com (I hope to move one of them outside, or at least to near the kettle in the kitchen, soon, but am too busy writing this for you just now!

I'm not sure that all of the following are working properly at 18 Aug 21. (!)

The counters: One is attached to a push button. (I was doing testing.) The other counts edges seen if a PIR sees activity in work-room. As long as any exterior door is open, a stream of pulses will be connected to that same counter.

(See also the further notes below. The counter watching the push button MAY also be watching an anemometer... counts/minute being proportional to windspeed.)

If you issue the "/read" command by adding that string to the URL, the value following "Analog Pin" comes from a phototransistor that sees only the LED controlled by the processor that serves the page. Turn LED on or off with "/LED/0", "LED/1".

Yes! It takes two steps to change the state of the LED (step 1) AND to see what the Analog input is seeing now by issuing a "/read" command. Awkward. Sorry. There IS a reason for it!

The input is connected to a toggle switch. Again... this is just for system testing. Someday I'll attach it to something significant.

See https://sheepdogguides.com/elec/misc/esp8266/Esp8266-Arduserver.htm for further details.

-----
Confusion reigns. Sigh

(This won't entirely make sense...sorry... is mostly for me, but I hope one day to get it untangled, so it makes sense for YOU!)

At NC, 28 Aug 22, I have had a Sparkfun Dev Thing running in the kitchen for some time.

It reports ttures in kitchen and office. It reports two counters... one is windspeed, I think, and other "door open". Either door. And the state single bit hard wired to a toggle switch. Oh! And there's a momentary switch, which I THINK adds counts to the "door open" count.

I'm not sure this can be accessed from outside the LAN there. If it can, it would be on http://mon7nc.dyndns.org:1202. Let me know if you get a response from that? (My ISP doesn't allow loop-back. ARGH.)

When it runs, it returns HTML that begins...

Yet Another Arduserver!
ESP8266_web_server_for_FW002_Mk3-1:ICH07a's fork

Version: vers 08 Feb 17. Fork of 'Mk3'.
Fork started 7 Feb 17

Created early Jan 2017, using the wonderful ESP8266
Thing from Sparkfun, and the software provided by
them and by others. (See code)

The hardware that is serving this...

That hardware is monitored across the LAN at NC, using a fork of FWW005 on the WAMP server there. The product of THAT is part of the page you see if you access http://mon7nc.dyndns.org

28 Aug 22, the product is just above the "Every School Should Have" graphic.

So! (For me: You HAVE a "known good" code for the sensors just listed.)

ICH07a9b- Huzzah with two HTU31Ds

This reports a "tick count" and two temperatures and two humidities. Information on the sensors is at http://wywtk.com/ec/iec/iec220-HTU31D-tture-humidity.htm

167936,+93.75,29.37,+75.56,54.97
cccccc stt.tt hh.hh stt.tt hh.hh

cccccc: 167936 in example. Iterations of main loop since power restored.
stt.tt: +93.75 Temperature, in degrees F
hh.hh: 29.37 Relative humidity, as a percent.

... then the stt.tt and hh.hh are repeated once.

One at https://mon7nc.dyndns.org:1206 has been running from at least August 21. At 8/22, the two sensors are close to one another, in a house. The one that provides the first humidity and tture is "against" the inside of a not very efficient front door, and the other is near it, and inside the house. The humidity reported by the first probably doesn't mean much, as there is an attempt at a thermal barrier between the sensor and the general air inside the house. It may traps moisture, and when cooler, may "attract" damp from the house's general air.

28 Aug 22, it seems to be set up as described at https://sheepdogguides.com/elec/misc/esp8266/esp8266-huzzah-i2c.htm

(More stuff just for my use): 28 Aug 22: It isn't quite what's in 7NC 1206 I don't think, but if better can't be found...

Va2\\...Prgmming\Ardu\Prgms\8266\HuzzahAndTwoHTU31Ds-w\HuzzahAndTwoHTU31Ds

... might be worth exploring as next starting point for Huzzah (or "Thing") watching two tture/ humidity sensors on one I2C channel.

ICH09w- Huzzah with two HTU31Ds

At 14 Aug 2023, page served by the Arduserver gives the following near the bottom of the page...

Device: ICH09w
Running program: ar202-2at312wifi
In it's 30 May 23, 19:40 version
With hardware config 23518a00

This reports...

The values always the formats shown below. Leading or trailing zeros added as necessary. These report...

The sensors were connected as follows:

h0, t0 and h1, t1: These were indoors either side of a door from a kitchen to the hallway outside it in a domestic residence. t0, h0 come from kitchen... where there are many plants.(Information on the sensors is at http://wywtk.com/ec/iec/iec220-HTU31D-tture-humidity.htm)

(For my own use... this program, at 14 Aug 23 anyway, was not available to the public: At 14 Aug 23, "FWW072, ver 05 June 23, 22:20" was doing a good job of watching this... over the LAN, on VA2.)

One at https://mon7nc.dyndns.org:1220 has been running from at least February 2022. (N.B.: 14 Aug 23: I am using... and re-using!... port 1220. The rest of the URL will affect which device you get. These notes are about the one that was... but may no longer be!... at https://mon7nc.dyndns.org)

See also https://sheepdogguides.com/elec/misc/esp8266/esp8266-huzzah-i2c.htm which has information for those who would build their own.

(More stuff just for my use): 28 Aug 22: It isn't quite what's in 7NC 1206 I don't think, but if better can't be found...

Va2\\...Prgmming\Ardu\Prgms\8266\HuzzahAndTwoHTU31Ds-w\HuzzahAndTwoHTU31Ds

... might be worth exploring as next starting point for Huzzah (or "Thing") watching two tture/ humidity sensors on one I2C channel.






A few words from the sponsors...

Please get in touch if you discover flaws in this page. Please mention the page's URL. (wywtk.com/fw/du/by-pc-id.htm).

If you found this of interest, please mention in forums, give it a Facebook "like" or similar. If you want more of this stuff, help!? There's not much point in me writing these things, if no one feels they are of any use.



index sitemap
What's New at the Site Advanced search
Search tool (free) provided by FreeFind... whom I've used since 2002. Happy with it, obviously!

Unlike the clever Google search engine, this one merely looks for the words you type, so....
*    Spell them properly.
*    Don't bother with "How do I get rich?" That will merely return pages with "how", "do", "I"....

Please also note that I have three other sites, and that this search will not include them. They have their own search buttons.

My SheepdogSoftware.co.uk site, where you'll find my main homepage. It has links for other areas, such as education, programming, investing.

My SheepdogGuides.com site.

My site at Arunet.




How to email or write this page's editor, Tom Boyd. Please cite page's URL if you write. (wywtk.com/fw/du/by-pc-id.htm)


Test for valid HTML Page has been tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org. It passes in some important ways, but still needs work to fully meet HTML 5 expectations. (If your browser hides your history, you may have to put the page's URL into the validator by hand. Check what page the validator looked at before becoming alarmed by a "not found" or "wrong doctype".)

AND passes... Test for valid CSS


Why does this page cause a script to run? Because of the Google panels, and the code for the search button. Also, I have my web-traffic monitored for me by eXTReMe tracker. They offer a free tracker. If you want to try one, check out their site. Why do I mention the script? Be sure you know all you need to about spyware.

....... P a g e . . . E n d s .....