News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Display Temperature

Started by artart, June 12, 2008, 10:19:53 PM

Previous topic - Next topic

artart

Is there a way to display values (such as temperature) from a 1-wire temperature sensor on an Orbiter?I can't seem to find anything here on how this would be implemented.

tschak909

place the thermometer child device on the floorplan, using the Floorplan wizard.. it will then show the temperature info next to its icon on the floorplan under Climate.

-Thom

artart

Thanks for the quick reply Thom.

So the overall process to get the temperature of my pool for instance, to display on the orbiter would be:

Install my 1-wire interface as a generic serial device
Use a floor plan to show the temperature

Is it that "simple"?

Art

tschak909

yes. We have support for one 1-wire interface I can think of, the Dallas Semiconductor DS9490R. The temperature sensor is a child of this device, with port/channel field filled in appropriately.

-Thom

artart

Great. That's the interface I have.

Given that is possible es it possible to set up an event to be triggred conditioned on the reading from the 1-wire device? For example: if the temperatue goes below some user set value turn on the pool heater (connected to an x-10 switch)? If so, how would the user set value be set on the orbiter? Sorry if these are questions that are basic but I am trying to decide if I want to switch from Housebot to LinuxMCE for my HA or just use it for media stuff, etc.

Thanks again,

Art

tschak909

#5
please read the relevant page on events in the wiki..

Currently the orbiter UI has no such provision for altering those values on-screen. They have to be done in the web admin. The Orbiter is not meant for such things, and adding them would clutter the UI.

as for moving over from HouseBot, that would be a fantastic idea. We do a lot more than HouseBot can ever do, because any part of the system can send messages to any other part of the system, and we encompass a wide breadth of functionality inside our stack that any device can emit a command or event to.

-Thom

artart

I will read the wiki RE events but I guess then for HA I should stick with HouseBot - the software remote capabilities are way beyond what LinuxMCE can do as far as I can tell. HB allows me to control variables that can be sent to devices or to tasks and scripts and from there to devices, etc. to do all kinds of complicated conditional control functions - don't see this in LinuxMCE. Am I wrong?


tschak909

insanely, very wrong. You really...really....REALLY... need to read up, before blindly assuming what this software can and can't do. As I said before, we can do things nobody else can do, or has thought to do.

-Thom

artart

ok..Ok...OK...I will keep reading.

PKWilson

I've done a similar thing with my bathroom fan. I have a temp sensor up against the showers hot water pipe so that whenever the shower is in use the bathroom fan automatically comes on, then turns off when the temp starts to drop.

I have a different temperature sensor to you, but just use the Temp Changed event to turn the fan off and on. If your temp sensor child device has the temp changed event, you should be able to do the same thing.

artart

What I am trying to figure out is:
1) Can the temperature being read by the sensor be displayed on the Orbiter?
2) Can the user set the temperature on the Orbiter (that is set a value) that the event handler will use to programtically turn the heater on and off to keep the spa water temperature at the user set value? This would be the same question if you wanted to set a light to a specific dim level say 40%. Can the user somehow input the value "40" that can be used by an event handler routine to set the light at 40%?

tschak909

yes, climate devices have a control panel so that you can adjust the temperature with + and - .. both the projected temperature values and the selected values are shown on the thermostat icon.

Same for lighting, the lighting toolbar in the floorplan provides increments of 10% to set brightness, as well as full and off.

irrigation controls feature on, off, auto, and delays.

-Thom

artart

When you wrote this in a previous post in this thread:
"Currently the orbiter UI has no such provision for altering those values on-screen. They have to be done in the web admin. The Orbiter is not meant for such things, and adding them would clutter the UI."
what were you referring to?

tschak909

I thought you meant something else. sorry.

-Thom

artart

No problem. Thanks for your responses.