Re: HmIP Spannung der Batterie?
Verfasst: 27.07.2021, 12:20
Oder eben in CCU-Historian sich den Verlauf ansehen. Dann sieht man gleich wer schwächelt.
Heimautomation mit ELV HomeMatic und FHZ Funk-Hauszentralen
https://homematic-forum.de/forum/
Code: Alles auswählen
var serial="00047119A0E521";
var volt = (dom.GetObject(ID_DATAPOINTS)).Get("HmIP-RF." # serial # ":0.OPERATING_VOLTAGE").Value();
WriteLine (volt);
Code: Alles auswählen
var myChannel = dom.GetObject("WohnzimmerWeg:0");
var dp = myChannel.DPByHssDP("OPERATING_VOLTAGE");
WriteLine(myChannel.Address());
WriteLine(dp.Value());
Code: Alles auswählen
string index;
string dps = dom.GetObject(ID_DATAPOINTS).EnumUsedNames();
foreach (index, dps)
{
if (index.EndsWith("OPERATING_VOLTAGE") )
{
var volt_dp = dom.GetObject(index) ;
real volt = volt_dp.Value();
var deviceName = dom.GetObject(volt_dp.Device());
WriteLine(deviceName # " ( " # index # ") = " # volt) ;
}
}
Code: Alles auswählen
if ( volt != 0.00 ) { WriteLine(deviceName # " ( " # index # ") = " # volt) ; }
Leider nicht so ganz.
Code: Alles auswählen
string index;
string dps = dom.GetObject(ID_DATAPOINTS).EnumUsedNames();
foreach (index, dps)
{
if (index.EndsWith("OPERATING_VOLTAGE") )
{
var volt_dp = dom.GetObject(index) ;
real volt = volt_dp.Value();
var deviceName = dom.GetObject(volt_dp.Device());
WriteLine(deviceName # " ( " # index # ") = " # volt) ;
}
}
Code: Alles auswählen
TA_6_IP_UP_1:0 ( HmIP-RF.001F18A9ABAFF0:0.OPERATING_VOLTAGE) = 0.000000
TA_6_IP_1:0 ( HmIP-RF.000B5A49928D46:0.OPERATING_VOLTAGE) = 0.000000
HmIPW-DRI32_1:0 ( HmIP-RF.001718A9A77FFE:0.OPERATING_VOLTAGE) = 0.000000
HmIPW-FIO6_1:0 ( HmIP-RF.00175A498C5569:0.OPERATING_VOLTAGE) = 0.000000
HmIPW-DRS8_1:0 ( HmIP-RF.001618A99C5E84:0.OPERATING_VOLTAGE) = 24.200000
HmIPW-DRAP:0 ( HmIP-RF.00179A4989A4FC:0.OPERATING_VOLTAGE) = 24.200000
SW1_IP_Ma_M:0 ( HmIP-RF.000855699C3C7F:0.OPERATING_VOLTAGE) = 0.000000
SW_8_IP_1:0 ( HmIP-RF.000D1709A5940A:0.OPERATING_VOLTAGE) = 0.000000
PM_IP_1:0 ( HmIP-RF.000C170999FA69:0.OPERATING_VOLTAGE) = 0.000000
ST_M_IP_3_Buero:0 ( HmIP-RF.0001D709A10532:0.OPERATING_VOLTAGE) = 0.000000
DS_1:0 ( HmIP-RF.000C5709AE69B8:0.OPERATING_VOLTAGE) = 2.900000
Code: Alles auswählen
string index;
string dps = dom.GetObject(ID_DATAPOINTS).EnumUsedNames();
foreach (index, dps)
{
if (index.EndsWith("OPERATING_VOLTAGE") )
{
var volt_dp = dom.GetObject(index) ;
real volt = volt_dp.Value();
var deviceName = dom.GetObject(volt_dp.Device());
if ( volt != 0.00 ) { WriteLine(deviceName # " ( " # index # ") = " # volt) ; } }
}
Code: Alles auswählen
HmIPW-DRS8_1:0 ( HmIP-RF.001618A99C5E84:0.OPERATING_VOLTAGE) = 24.200000
HmIPW-DRAP:0 ( HmIP-RF.00179A4989A4FC:0.OPERATING_VOLTAGE) = 24.200000
DS_1:0 ( HmIP-RF.000C5709AE69B8:0.OPERATING_VOLTAGE) = 2.900000
Könntest Du, es gibt eine Dokumentation aller Datenpunkte aller Geräte bei eQ-3 zum kostenlosen Daunloht. Sind auch nur ca. 12000 Seiten...cloudman88 hat geschrieben: ↑28.07.2021, 20:48Haben diese Geräte dann auch LOW_BAT. Eventuell könnte man prüfen ob dieser DP vorhanden ist.