Go to advanced search

by Lomax
Sun Aug 19, 2018 11:43 am
Forum: Automation, sensing and robotics
Topic: RFID aperture detection
Replies: 1
Views: 443

RFID aperture detection

Hi all, I'm hoping to come up with a method to detect the passage of an object through one or other aperture using RFID. Would it be possible to make an RFID antenna "loop" around an opening such that tags passing through are read, while any passing on the outside are not? I've looked briefly at (ex...
by Lomax
Tue Sep 26, 2017 2:15 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Ok, those Panasonic PIRs are great ; I haven't had a single false positive in the >24 hrs I've had one plugged in - and that's at the end of a 5m long HDMI cable, running off just the 3.3v supplied for the camera module (the datasheet does say it accepts down to 3v). That means I only needed to use ...
by Lomax
Mon Sep 25, 2017 10:36 am
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

I've been focusing(!) mainly on the camera system the last few days, and will soon have a more detailed post about this - just wanted to quickly share what came in the post today: two tiny PIR sensors from Panasonic. Panasonic_NaPiOn.jpg I have been struggling with the larger "D-Sun" sensor in the b...
by Lomax
Thu Sep 21, 2017 12:37 am
Forum: General discussion
Topic: Camera LED is controlled by BCM GPIO #32 - what other internal pins are there?
Replies: 4
Views: 1258

Camera LED is controlled by BCM GPIO #32 - what other internal pins are there?

I wanted to find out how the camera LED is controlled on CSI connected cameras, and came across this old post from @DougieLawson explaining that it's controlled by BCM GPIO #32, which is not available on the Pi's 40-pin header. That made me curious; what other such "secret pins" exist and what are t...
by Lomax
Tue Sep 19, 2017 9:14 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

As far as I understand it a slave I2C device should only respond if it sees it's address. That's my understanding as well, but I sometimes get a read error on the 1-Wire bus (which is connected via i2c) when I capture a still image with one of the cameras attached to the IVPort (which is controlled...
by Lomax
Thu Sep 14, 2017 5:27 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Another thing I'm wondering about is what, if anything, can be done about collisions on the i2c bus; my comment about it being "busy" turned out to be prophetic as I'm occasionally getting communication errors due to units talking on top of each other... It's not a huge deal since they're fairly inf...
by Lomax
Thu Sep 14, 2017 12:39 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Still messing around with the IVPort and the dual camera set-up; it is working, but I'm having a few odd issues - maybe someone here can help? For one thing, it seems I need to run raspi-config and enable the camera interface after every cold boot, otherwise: # vcgencmd get_camera supported=1 detect...
by Lomax
Tue Sep 12, 2017 10:36 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

I generally use 'wire wrap' double row sockets to just extend the pins in this type of situation. However you do then potentially hit your connector quality problem. And the less joints in a marine environment, the better (especially if you're in a 'salty' environment) Yes, I did consider all sorts...
by Lomax
Mon Sep 11, 2017 11:44 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Yet another frustrating problem was having to desolder and remove the lower 7x2 pins so I could fit the double height pins which will carry those signals up to the Monarco Hat. It was a major pain, and I probably spent a good hour and a half removing the header, cleaning up the holes and fitting the...
by Lomax
Mon Sep 11, 2017 11:33 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

I have been hunting high and low for good quality pin headers with square pins - not only for this project but basically any time I've needed to stack multiple hats. The problem with most "dual height", or "stacking" headers I've been able to find are that the pins are not solid square stock, but fl...
by Lomax
Mon Sep 11, 2017 1:53 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

I suddenly realised all this accelerometer stuff could be greatly simplified by utilising the interrupt functionality of the ADXL345 to control the sample rate. Triggering the interrupt now sets a global variable indicating that an accelerometer "event" has occurred, and by delaying the reset by fiv...
by Lomax
Sun Sep 10, 2017 9:59 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Earlier in the week I finally had a reply from mini-box about the issues I'd been having with the OpenUPS - they suggested a firmware update, with their latest firmware (v1.9 July 2017). I have just performed this update, while leaving all settings at their default values, and early indications are ...
by Lomax
Thu Sep 07, 2017 9:34 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

And for your next trick -- the robot bar tender should automatically know when you have earned a beer, and have it served up when you walk into the bar area. After all that coding, having to pour your own beer is just too much :lol: What a great idea :) Maybe I could have a solenoid valve connected...
by Lomax
Thu Sep 07, 2017 9:18 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Indeed you do. Well done. Thank you! It tastes great :) While enjoying my beer, I'll just post a few more images which didn't make it in my update, since the forum only seems to allow three per post. These are the flows used to talk (and listen) to the ADXL345 accelerometer: accelerometer_flows.png...
by Lomax
Thu Sep 07, 2017 8:01 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

I know it's been a while since I posted an update - but that's not because "things" haven't been happening, in fact quite the opposite; between (paid) work and boaty things this has been a pretty crazy week. Here's a quick run-through of the latest developments: I got the Monarco Hat last week, but ...
by Lomax
Wed Aug 30, 2017 11:58 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Hmmm....average position. [thoughts] Love it! :) Yes, some kind of filter on the position might be good, but then I'm thinking I still want to log it continuously (every minute), since it's such an interesting, and relevant, metric. I already have a notification going out via SMS if she moves, and ...
by Lomax
Wed Aug 30, 2017 11:33 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Getting MQTT data from Python (and, indeed, C) is very straightforward. You may need a number of ways to parse the payload, depending on what's being sent, but shouldn't be too bad. It's not how you store the data, but what you do with it that counts. ;) But yes, either some little Python thing, or...
by Lomax
Wed Aug 30, 2017 10:56 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

In computer terms, not so much. Say 50 bytes per datapoint, 2.5GB per year. 100 years of data on one quite small hard disk. (plus another two for backup). Very true, but in addition to storage requirements, data has other "weights"; transfer, processing and presentation. While you may not want to s...
by Lomax
Wed Aug 30, 2017 10:38 am
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Here's a screengrab of the flows which collect and publish all the data used on the dashboard in my earlier post. Screenshot_2017-08-30_18-13-05.png And look what just arrived in the mail! monarco.jpg A beautifully made board, I must say. Nice touch with the adhesive legends. Cursed paying clients d...
by Lomax
Wed Aug 30, 2017 12:04 am
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Quick note to anyone who's trying to follow this thread: the thread has paged and my (lengthy) post from earlier this evening can be found at the bottom of the first page. I just hate when that happens :roll:
by Lomax
Tue Aug 29, 2017 10:46 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

(Disclaimer: I haven't used Node-RED or MQTT) What history do you want to save (rhetorical question)? Is it all in the MQTT messages? If so, it shouldn't be too hard to write a (Python?) modules to subscribe to all messages and copy them to a log. A bit more work, and they can be kept in a database...
by Lomax
Tue Aug 29, 2017 10:00 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

Yes, that is (almost?) always the preferred way to do things. Log timestamps should also be UTC to avoid "nasties" with Summer Time and changing timezones. If you need to preserve the local time of an event, save the TZ as a separate item in the log entry. Thanks, yes, that is all good advice! Thou...
by Lomax
Tue Aug 29, 2017 12:04 am
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

While decoding the NMEA sentences proved a doddle, thanks to the node.js library I found, parsing GPS time into a usable format proved much more "interesting". The time and date strings provided in the GPRMC sentence are in the format "DDMMYY" and "HHMMSS.S" respectively, which I needed to turn into...
by Lomax
Mon Aug 28, 2017 7:45 pm
Forum: General discussion
Topic: Houseboat home automation / surveillance system
Replies: 53
Views: 9047

Re: Houseboat home automation / surveillance system

As some of you may have read in another thread , I am facing three "show-stopper" issues with this project; 1: VPN connectivity, 2: setting of accurate date/time and 3: anomalous UPS behaviour. Some progress tonight on problem #2: how to get (and set) correct date and time . I didn't have to write m...

Go to advanced search