@tbowmo I'm using a Harmony Companion, it's only the hub and a simple remote. Before I used a Harmony One and for me it's no problem not having a display anymore.
By default I can setup 3 different activities (can be too limited for some) and I integrated the Harmony Hub in a Vera Edge. The Edge can be triggered on activities which you activate.
No it does not yet do what you demand ,but for me the Hub is a great addition to HA.
Posts made by pjeterinfo
-
RE: Gui for H/A?
-
RE: My own board (50mm x 30mm)
@GertSanders Hi Gert, on the small board, did you soldered C2 and C3 on the bottom or on top just under/in the IC socket?
-
RE: sensors in boxes
@gonzalonal We'll see, I have setup datamine for this sensor in Vera.
-
RE: Battery percentage incorrectly send to gateway.
Ok... resistors are switched place , problem solved make a big difference offcource.
send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
read: 0-0-1 s=255,c=3,t=6,pt=0,l=1,sg=0:M
sensor started, id=1, parent=0, distance=1
send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=13,sg=0,st=ok:Battery Meter
send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
934
Battery Voltage: 3.14 V
Battery percent: 93 %
send: 1-1-0-0 s=255,c=3,t=0,pt=1,l=1,sg=0,st=ok:93 -
RE: Battery percentage incorrectly send to gateway.
@sundberg84
This is a screenshot of the schema. ( left out the top layer which is only used for the radio)I tried the basic battery sensor sketch. I see that the sensor value is devided 10.
Should this be default or can I calculate how the devider should be programmed?float batteryV = sensorValue * 0.003363075;
int batteryPcnt = sensorValue / 10;end: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ox00x00send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,sg=0,st=ok:1.5
send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
read: 0-0-1 s=255,c=3,t=6,pt=0,l=1,sg=0:M
sensor started, id=1, parent=0, distance=1
send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=13,sg=0,st=ok:Battery Meter
send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
1023
Battery Voltage: 3.44 V
Battery percent: 102 %
send: 1-1-0-0 s=255,c=3,t=0,pt=1,l=1,sg=0,st=ok:102 -
RE: Battery percentage incorrectly send to gateway.
I tried just with 2 AAA batteries (used from a remotecontrol), again it shows 102%.
-
Battery percentage incorrectly send to gateway.
I ordered a custom pcb with a ATMega328P and a dallas tempsensor , powered by 2AA batteries. Simular like http://forum.mysensors.org/topic/1107/sensors-in-boxes/7.
I use allso the sketch as shown in that topic, however the battery status allways read 102%. I'm sure the batteries are not full.
Can you point me in the right direction why my battery percentage is not send correctly?// Example sketch showing how to send in OneWire temperature readings
#include <MySensor.h>
#include <SPI.h>
#include <DallasTemperature.h>
#include <OneWire.h>#define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
#define MAX_ATTACHED_DS18B20 16
unsigned long SLEEP_TIME = 30000; // Sleep time between reads (in milliseconds)
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
MySensor gw;
float lastTemperature[MAX_ATTACHED_DS18B20];
int numSensors=0;
boolean receivedConfig = false;
boolean metric = true;
// Initialize temperature message
MyMessage msg(0,V_TEMP);
MyMessage msgvolt(1,V_VOLTAGE);
int BATTERY_SENSE_PIN = A0;
int oldBatteryPcnt = 0;void setup()
{
analogReference(INTERNAL);
// Startup OneWire
sensors.begin();// Startup and initialize MySensors library. Set callback for incoming messages.
gw.begin();// Send the sketch version information to the gateway and Controller
gw.sendSketchInfo("Temperature Sensor", "1.0");// Fetch the number of attached temperature sensors
numSensors = sensors.getDeviceCount();// Present all sensors to controller
for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) {
gw.present(i, S_TEMP);
}
}void loop()
{
// Process incoming messages (like config from server)
gw.process();// Fetch temperatures from Dallas sensors
sensors.requestTemperatures();// Battery Monitoring
int sensorValue = analogRead(BATTERY_SENSE_PIN);
float batteryV = sensorValue * 0.003363075;
int batteryPcnt = sensorValue / 10;Serial.print("Battery Voltage: ");
Serial.print(batteryV);
Serial.println(" V");Serial.print("Battery percent: ");
Serial.print(batteryPcnt);
Serial.println(" %");if (oldBatteryPcnt != batteryPcnt) {
gw.send(msgvolt.set(batteryPcnt,1));
oldBatteryPcnt = batteryPcnt;
}
// Read temperatures and send them to controller
for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) {// Fetch and round temperature to one decimal float temperature = static_cast<float>(static_cast<int>((gw.getConfig().isMetric?sensors.getTempCByIndex(i):sensors.getTempFByIndex(i)) * 10.)) / 10.; // Only send data if temperature has changed and no error if (lastTemperature[i] != temperature && temperature != -127.00) { // Send in the new temperature gw.send(msg.setSensor(i).set(temperature,1)); lastTemperature[i]=temperature; }
}
gw.sleep(SLEEP_TIME);
} -
RE: Adjust time?
Domoticz shows your correct local time, but are you sure that the timezone on the Domoticz "server" is correctly configured?
-
RE: W5100 Ethernet module PoE
This module doesn't seem to have a 48v dc/dc converter. At least from the picture I do not recognize it.
Allso I don't see in the description that it have power over ethernet. -
RE: sensors in boxes
All parts received and programmed using a pro mini, man that's frustrating . But works great..
-
RE: sensors in boxes
Use it on your own risk, it's nog yet arrived and thus not tested
-
RE: sensors in boxes
I order a few with modified toplayer to fit all the "red" wires and removed 2mm of the board width.
tempsensor.brd -
RE: sensors in boxes
@GuyP If I order this brd files online, I assume that I need to remove the red lines from the top layer? Or maybe reroute them if possible? Looks like some short circuit connections.
-
RE: unable to compile for ATmega168 16M 5v
@hugo1975 I removed debug for the ATmega168 16M and use them for motion sensors, that will fit this board. Other sensors I run on the ATmega328p.
-
RE: Temperature Sensor example on Pro Mini ATmega168 not compiling
@sj44k It will compile if you disable debug in MyConfig.h , but I allso figured out that the temp sensor is the only sensor that will fit on the ATmega168.
-
unable to compile for ATmega168 16M 5v
Hi, I'm totaly new with Arduino/Mysensors. I bought a bunch of sensors and boards, the problem I have is to upload mysensors sketches to the Amega168 board, it will fail when compiling the sketch with the error below.
I can succesfully upload blink for example. Can't this ATmega168 not be used for Mysensors?
running IDE 1.6.3In file included from /Users/pieterblom/Documents/Arduino/libraries/MySensors/utility/LowPower.cpp:27:0:
/Users/pieterblom/Documents/Arduino/libraries/MySensors/utility/LowPower.cpp: In member function 'void LowPowerClass::powerExtStandby(period_t, adc_t, bod_t, timer2_t)':
/Users/pieterblom/Documents/Arduino/libraries/MySensors/utility/LowPower.cpp:823:18: error: 'SLEEP_MODE_EXT_STANDBY' was not declared in this scope
lowPowerBodOn(SLEEP_MODE_EXT_STANDBY);After some troubleshooting I tried allso IDE1.0.6 which gives me a more clear error message:
Binaire sketch-grootte: 15.754 bytes (van een 14.336-byte maximum?I tried another sketch(motion_sensor) which does fit on the ATmega168. Any ideas how to fit the DallasTemparatureSensor on the ATmega168?