Wednesday, July 11, 2018

Central viewing from office over internet

Central viewing is working and fits the laptop vpn perfectly. I'll compile the new version and set up the scenes from the laptop. I'm doing the same thing at my home.

More details here.

http://halauto.blogspot.com/2018/07/central-viewing-working.html?m=1

Sunday, July 8, 2018

Farm Overview

Here's a breakdown of what will be happening when I finish multiple computer remoting on Hal.

Simply stated, it's a way for a 3d scene to view sensors from multiple computers like Raspberry Pi spread throughout the farm and present that information in a 3d scene that represents the entire farm in one glance.

It's much more complicated than I thought so I expect another 2 weeks before the software is ready.

Here is a overview of how Hal will be able to be accessed remotely and locally on Androids and Apple smartphones and the laptop at the farm. Each Raspberry Pi will pull in Arduino sensor information and these will get passed to the laptop in the trailer. At that point, it can be viewed with the current VPN which works as of now over the 4G phone system. This presupposes no one is using the laptop. Later, I'll get the address of the Pi's over the internet and be able to compose a single 3d scene remotely with no limit to the amount of people who can view and control (with password protection of course) and this will work no matter who is using the laptop.

The current sensors don't include any artificial intelligence as yet.



Saturday, June 30, 2018

Farm Status

Wow. I can't believe it's been 1 1/2 years since I've written to this blog.

Status of Adam's farm.

1. The VNC is up and running on the office laptop at the farm, so we can see the screen remotely and I can do all kinds of work through this laptop to all the embedded computers at the farm from anywhere in the world.

2. The Raspberry Pi in the hatchery is still running, watchdog protected and power failure protected.

3. The Raspberry PI in Greenhouse 1 is running without watchdog but is power failure protected.

The internal LAN at the farm is up and running but I don't have the internal IP addresses (the way the laptop talks to the Raspberry Pis) of each Raspberry Pi.

I will go out to the farm again Monday and get the addresses of the Raspberry Pis. That way I can connect using SSH a way to communicate and control and update the Raspberry Pis remotely.  I'll also make sure that they are connected to the LAN (local area network).

The Hatchery

In the hatchery there is a Raspberry/Pi combo, a motion detector, a temperature sensor, a power failure alarm, level indicators which are mounted improperly (will fix later) and a watchdog timer that reboots the Raspberry Pi/Arduino combo if either quit for any reason.

Greenhouse 1

There are six level indicators that show the level of each 6 tanks, a motion detector, 6 temperature sensors, no watchdog timer (will install later), a PH sensor and an ORP sensor which both of these are wired but the software doesn't look at them. Each level is being logged.

I once was looking at these levels from the office and had a 3d interface to them but I reinstalled Linux on the laptop without reinstalling Hal.

Office Laptop and usage of Hal remotely

I have not been able to see the Raspberry Pis from the Internet. Soon this won't be a problem. I have been working on the remote features of Hal and I'm about 2 weeks away from getting the code running. Most of it works now. Here's how it will work when complete.

The laptop will be able to present an entire view of all the Raspberry Pis into a single 3d scene that represents the entire farm. I do this by taking respective controls (logical thoughts) from each Raspberry PI/Arduino combo and then present those into the main scene animations on the laptop screen which can be seen remotely. Pretty cool. I'm hoping there won't be any issues with broadcasting 3d screen info.

I've been building my home automation system and it is a great way to test the new features of Hal, especially the Video/Audio interfaces that record to my internal NAS (network attached storage) device. That works really well. I do this using the GStreamer library which incorporates artificial intelligence capabilities of object recognition also. This works now and is able to do stuff like take pictures of plants and do intelligence analysis on them. There's a lot coming and most of it works now.

That's it.

Pierre









Tuesday, November 8, 2016

Hal at farm again

So it's official.  Hal is up at the farm. I can remotely see temperatures, power failure and a motion detector from the laptop. so it works.

I had two bugs that kept the Onewire protocol from connecting to any controls and the other was I  didn't allow dynamic text like changing numbers of a temperature on screen. It still crashes after a certain amount of number updates.

I fixed both bugs tonight and will finish the crashing next week.

Pierre

Saturday, November 5, 2016

Hal at the farm

So tomorrow I install Hal just in time for the Aquaponics convention visit on the 10th. Bringing a 32" LED screen with me so we can see 3d in all it's blazing glory.

Pierre

Tuesday, November 1, 2016

Wall wart failure

The screen stopped working on the hatchery Raspberry Pi. Turns out the 12v power supply failed (wall wart). the Raspberry,  though, continues to work.

I'll place a power supply on the POE 24v supply so that it is backed up with batteries although I'd rather not have it use battery backup wattage.  I'll order a bunch of wall warts so it doesn't use up a limited amount of backed up power. It takes an amp at 12v which is about 1/10 of an amp at 110v. it doesn't need to be running on a power failure.

Pierre

Sunday, October 30, 2016

3d tank temperature color changes

Getting the one wire protocol working for accurate temperature sensing.  Several days of feverish crazy computer programming.

Will use for temperature sensors already installed in the hatchery tanks. I would really love to have the temperatures change the color of the 3d tanks by tomorrow for the professors and students who are coming to see the farm.