Showing posts with label early access. Show all posts
Showing posts with label early access. Show all posts

Wednesday, June 27, 2012

DZ + Android: Early Access: Overseer

HCC Overseer is available for test drive upon request.

UPDATE: Not anymore.

Thursday, December 15, 2011

Early Access: DZ on Android

Home Climate Control on Android

Effective immediately, Android remote control application is available.

Visit the forum to find out more.

Tuesday, September 13, 2011

Early Access: SwitchDamper

For years, DZ was able to control modulating dampers.


It seems, however, that bang-bang dampers still have their place, hence, SwitchDamper was added to Subversion and will become a part of the next release.

Now you can use DZ to control any HVAC actuator that is controlled by a switch. This includes, in particular, but not limited to:
  • existing open/close dampers normally controlled by 24VAC;
  • electric heaters that are configured as auxiliary heaters in a complex zoned system;
  • hydronic, geothermal and steam system valves.

Thursday, August 5, 2010

Early Access: XBee Analog Sensors


Subversion contains the driver for XBee ZB based temperature, humidity, pressure and any other imaginable kinds of analog sensors. Scaling is also supported, so different hardware sensors can be used.

Read the article on making the wireless sensor for more details on sensor design. Configuration guide is coming soon (there are caveats, hint: take a look at ConvertingSensor).

Friday, July 30, 2010

Teaser: XBee Wireless Temperature Sensor

XBee wireless temperature sensor

Above: XB24-ZB with four TMP36 analog temperature sensors connected to XBee's analog inputs.

The reason four sensors are connected is: comparison and statistical analysis.

It remains to be seen how good or bad analog readings are, and how easy it is to compensate for these imperfections in software.

Credit

This design is based on a similar one, with a few minor differences:
  • TMP36 is used instead of LM34 (the only reason being that I had some spares laying around). Obviously, the result calculation is different. Wide selection of similar sensors (TMP35, TMP37, LM35), result would be just about the same, save for value recalculation;
  • Incidentally, this allowed to get rid of the voltage regulator because whereas LM34 requires +5V to +30V power, TMP36 is fine from +2.7V to +5.5V, hence, the same 3.3V power can be used to feed both XBee and TMP36;
  • Caveat is, at +70°C TMP36 output voltage reaches maximum allowable voltage for ZB series ADC, 1.2V. I don't think it's a problem because the intended usage is indoor temperature measurement, if your indoor temperature reaches +70°C, you'll have bigger problems to worry than a possibly damaged XBee. But keep this in mind if you're planning to use these sensors to monitor a temperature of, say, a water heater or air coming out from the furnace;
  • 330Ohm resistor added to ASSOC LED to restrict the LED's operating current (might want to use 1K and higher if your LED is too bright for you).

More to come.

Thursday, July 29, 2010

Early Access: Going Wireless with XBee


Don't want to break your walls to wire cables? Newsflash: you don't have to anymore.

Subversion contains the driver for XBee ZB based switches (sensor drivers are underway). As usual, if you can read source code and configure a Spring IoC container, you will have no trouble utilizing it. Configuration of an XBee device is just like the configuration of a 1-Wire device (start with the device factory... and so on and so forth).

Hardware

As usual, wide range of devices is supported, but the specific hardware drivers were written on is:
The device connected to the computer must have the Coordinator API firmware with AP=2. Relay shield is equipped with Router AT firmware XBee, but most probably End Device AT firmware will work, too - as well as API firmware of both kinds.

No custom firmware is required on XBee devices.

More to come.

Tuesday, July 13, 2010

Early Access: Resource Usage Counter

Ever wanted to find out how many hours did your HVAC actually work? Keep forgetting to replace the filter? Well, here's your cure -

Subversion contains the implementation of the resource usage counter. As usual, if you can read source code (FileUsageCounter is probably the one you're looking for) and configure a Spring IoC container, you will have no trouble utilizing it.


Resource usage counters are DataSinks and can count whatever is DataSource<Double>.

Also, they are DataSource<Double> themselves and can be fed into data loggers - you'll easily see when exactly did your HVAC equipment work.

Thursday, July 8, 2010

Monday, February 15, 2010

Early Access: Economizer

Subversion contains code that allows to run an economizer (or control motorized blinds or windows, or just turn on a fan). Configuration Guide has instructions on configuring it. Console currently does not change rendering based on whether the economizer is active or not, but this feature is planned for the next release.

Monday, February 1, 2010

Early Access: Google Calendar Integration

Subversion contains code that allows to pull your schedule off your Google or Google Apps calendar.

As usual, if you can read source code (dz3-scheduler-gcal is the module to look at) and configure a Spring IoC container, you will have no trouble utilizing it.

Put Your Tinfoil Hat Away

For the paranoid out there: you don't have to write your precious authentication credentials into the configuration in plaintext - you can skip them from the configuration altogether and provide them to the runtime environment via JMX.

Thursday, January 28, 2010

Early Access: Period Display and "Back to Schedule"

Subversion contains code that allows to display the currently running period on the console. Also, pressing 'S' will now revert thermostat settings back to current period settings if they were altered (and there's a visible indicator for that, too).

Wednesday, January 20, 2010

Early Access: Scheduler

Subversion contains code that allows to change zone settings based on schedule. If you can read source code (dz3-scheduler is the module to look at) and configure a Spring IoC container, you will have no trouble utilizing it.

Test cases will give you a good idea how to put a schedule together.

Friday, January 1, 2010

Early Access: Memory Leaks Plugged

Two major memory leaks were plugged this week:

  • One in dz3-owapi module (related to the fact that OWAPI code was instantiating device containers on every browse() (that'll be about once a minute);
  • One in Servomaster transition controller code (NDC.remove() wasn't called at the end of the thread life).
Code is available in Subversion (make sure you get both DZ and Servomaster updates.

Release will follow shortly.

Tuesday, December 29, 2009

Early Access: Damper Multiplexing

Subversion contains code that allows to control more than one physical damper per zone.

Configuration Guide had been updated accordingly (see Damper Controllers 7/8).

Monday, December 21, 2009

Early Access: Servo Calibration

Every servo is different, same goes for servo controllers.

Subversion now contains code that allows you to

  • Reverse the servo movement if your mechanical design requires it;
  • Provide servo min/max range calibration for controllers that support it;
  • Provide limit calibration for controllers that don't.
Configuration Guide will be updated with instructions shortly, for now, take a look at DamperFactory source code and use Spring IoC techniques to configure calibration entities.

Saturday, December 12, 2009

Early Access: Usable GUI Again

Subversion contains code for still ugly GUI that can do three things right:

  • Display the zone name, current temperature and setpoint for the selected zone;
  • Flip back and forth through zones (left/right arrows);
  • Change setpoint for the currently selected zone (up/down arrows).
There are also subtle visual cues to what the system is currently doing, and there will be more and more as time goes by.

New features would be available via keystrokes. Feel free to try all keys on the keyboard, you're unlikely to break something and you'll see what's happening. There's a good time that by the time you read this, hold, voting, off and Fahrenheit vs. Celsius switches will be already implemented.

No mouse interaction other than gestures (drag left, right, up and down) and possibly a right click menu will be provided. It is planned that all major features will be available via single key press - or there will be advanced interface for the feature that will not be a part of the GUI.

Friday, December 4, 2009

Early Access: Swing GUI Back From The Dead

Subversion contains code for extremely ugly GUI that is able to do one thing: display current and setpoint temperature for all configured zones, and change color depending on whether DZ is configured for cooling and heating mode and whether the zone is calling.

Ugly or not, it sure beats using JMX to see the current temperature and setpoints.

Here's a configuration snippet that makes this happen:

<bean id="console" class="net.sf.dz3.view.swing.Console"
init-method="show">
<constructor-arg index="0" type="java.util.Set">
<set>
<ref bean="thermostat-6500000055FF1A26" />
<ref bean="thermostat-0500080021C9B810" />
</set>
</constructor-arg>
</bean>
Not just thermostats may be added, but any DZ objects - if they can't be displayed, they will be simply ignored with an error message in the log.

Next Step

Providing controls to change the setpoint, of course. Working on it.

Thursday, November 12, 2009

"Passive Mode": Early Access

As of now, Phidget Quad Servo controller is happily shuffling a servo on my desk, controlled by the code that you can get from Subversion trunk. This is what you have to add to the configuration in order to enable it:

    <bean id="damper_factory" class="net.sf.dz3.device.actuator.servomaster.DamperFactory">
<constructor-arg index="0" value="net.sf.servomaster.device.impl.usb.phidget.QuadServoController"/>
<constructor-arg index="1" value="00515"/>
</bean>

<bean id="damper-quad_servo0"
factory-bean="damper_factory"
factory-method="getDamper">
<constructor-arg index="0" value="USB Bus Powered Servo"/>
<constructor-arg index="1" value="0"/>
</bean>

Other servo controllers will be supported as well. Please answer the poll questions (on your right) to let me know which drivers I have to take care of first.

As of right now, DZ3 is completely capable of supporting the passive mode. I'm not going to release the code just yet, until all prerequisites for Barebones are satisfied.

Tuesday, November 10, 2009

DZ3 Instrumentation Release: Early Access

1-Wire sensor access works in the Subversion code, go for trunk/dz3-master directory tree.

Here's a simple configuration file to have a turnkey logger for all of your existing 1-Wire sensor network, with JMX instrumentation to boot:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">

<bean id="device_factory" class="net.sf.dz3.device.sensor.impl.onewire.DeviceFactory" init-method="start">
<constructor-arg index="0" value="/dev/ttyUSB0"/>
<constructor-arg index="1" value="regular"/>
</bean>

<!-- Loggers -->
<bean id="rrdtool" class="java.io.File">
<constructor-arg type="java.lang.String" value="/usr/bin/rrdtool"/>
</bean>
<bean id="rrdbase_onewire" class="java.io.File">
<constructor-arg type="java.lang.String" value="./rrd-onewire"/>
</bean>
<bean id="rrdlogger_onewire" class="net.sf.jukebox.datastream.logger.impl.rrd.RrdLogger" init-method="start">
<constructor-arg index="0" type="java.util.Set">
<set>
<ref bean="device_factory"/>
</set>
</constructor-arg>
<constructor-arg index="1" type="java.io.File" ref="rrdbase_onewire"/>
<constructor-arg index="2" type="java.io.File" ref="rrdtool"/>
</bean>

<!-- JMX configuration -->
<bean id="jmx-wrapper" class="net.sf.jukebox.jmx.JmxWrapper">
<constructor-arg index="0" type="java.util.Set">
<set>
<ref bean="device_factory"/>
</set>
</constructor-arg>
</bean>
</beans>

Just watch the paths, that's all.

Instrumentation Release itself will be finalized either late tonight, or tomorrow. The difference between now and then is that the path from DeviceFactory to TemperatureSensor is currently broken. The rest of the system (if configured) will work, except for the actual physical control - actuators haven't been ported yet.

UPDATE: release source is tagged in Subversion. The path in question has been created, obviously.