Home
last modified time | relevance | path

Searched refs:SendSwitch (Results 1 – 25 of 29) sorted by relevance

12

/dports/www/domoticz/domoticz-2020.2/hardware/eVehicles/
H A DeVehicle.cpp147 SendSwitch(VEHICLE_SWITCH_CHARGE, 1, 255, m_car.charging, 0, m_Name + " Charge switch"); in ConditionalReturn()
148 SendSwitch(VEHICLE_SWITCH_CLIMATE, 1, 255, m_car.climate_on, 0, m_Name + " Climate switch"); in ConditionalReturn()
149 SendSwitch(VEHICLE_SWITCH_DEFROST, 1, 255, m_car.defrost, 0, m_Name + " Defrost switch"); in ConditionalReturn()
485 SendSwitch(VEHICLE_SWITCH_CHARGE, 1, 255, m_car.charging, 0, m_Name + " Charge switch"); in DoSetCommand()
486 SendSwitch(VEHICLE_SWITCH_CLIMATE, 1, 255, m_car.climate_on, 0, m_Name + " Climate switch"); in DoSetCommand()
487 SendSwitch(VEHICLE_SWITCH_DEFROST, 1, 255, m_car.defrost, 0, m_Name + " Defrost switch"); in DoSetCommand()
497 SendSwitch(VEHICLE_SWITCH_CHARGE, 1, 255, m_car.charging, 0, m_Name + " Charge switch"); in DoSetCommand()
506 SendSwitch(VEHICLE_SWITCH_CHARGE, 1, 255, m_car.charging, 0, m_Name + " Charge switch"); in DoSetCommand()
622 SendSwitch(VEHICLE_SWITCH_CLIMATE, 1, 255, m_car.climate_on, 0, m_Name + " Climate switch"); in UpdateClimateData()
623 SendSwitch(VEHICLE_SWITCH_DEFROST, 1, 255, m_car.defrost, 0, m_Name + " Defrost switch"); in UpdateClimateData()
[all …]
/dports/www/domoticz/domoticz-2020.2/hardware/
H A DDenkoviDevices.cpp1072 SendSwitch(DIOType_DI, (uint8_t)Idx, 255, (tmpValue == 1) ? true : false, 0, name); in GetMeterDetails()
1115 SendSwitch(DIOType_Relay, (uint8_t)Idx, 255, (tmpValue == 1) ? true : false, 0, name); in GetMeterDetails()
1131 SendSwitch(DIOType_MCD, (uint8_t)Idx, 255, tmpValue, 0, tmpN); in GetMeterDetails()
1154SendSwitch(DIOType_DIO, (uint8_t)(ii + 1), 255, ((port3&(0x01 << ii)) != 0) ? true : false, 0, nam… in GetMeterDetails()
1184SendSwitch(DIOType_DIO, (uint8_t)(ii + 1), 255, ((port3&(0x01 << ii)) != 0) ? true : false, 0, nam… in GetMeterDetails()
1219SendSwitch(DIOType_DI, (uint8_t)(ii + 1), 255, ((pins&(0x01 << ii)) != 0) ? true : false, 0, name); in GetMeterDetails()
1251 SendSwitch(DIOType_Relay, (uint8_t)Idx, 255, (tmpState == 1) ? true : false, 0, sstr.str()); in GetMeterDetails()
1279 SendSwitch(DIOType_Relay, (uint8_t)Idx, 255, (tmpState == 1) ? true : false, 0, name); in GetMeterDetails()
1515 SendSwitch(DIOType_DI, (uint8_t)Idx, 255, (tmpValue == 1) ? true : false, 0, name); in GetMeterDetails()
1557 SendSwitch(DIOType_Relay, (uint8_t)Idx, 255, (tmpValue == 1) ? true : false, 0, name); in GetMeterDetails()
[all …]
H A DHoneywell.cpp271 SendSwitch(10 * devNr + 3, 1, 255, bHeating, 0, desc); in GetThermostatData()
283 SendSwitch(10 * devNr + 5, 1, 255, bStatus, 0, desc); in GetThermostatData()
301 SendSwitch(10 * devNr + 6, 1, 255, bAway, 0, desc); in GetThermostatData()
357 SendSwitch(10 * idx + 3, 1, 255, bHeating, 0, desc); in SetPauseStatus()
397 SendSwitch(10 * idx + 3, 1, 255, true, 0, desc); in SetSetpoint()
H A DKMTronicSerial.cpp207 SendSwitch(iRelay, 1, 255, bIsOn, 0, sstr.str()); in GetRelayStates()
243 SendSwitch(iRelay, 1, 255, bIsOn, 0, sstr.str()); in GetRelayStates()
271 SendSwitch(iRelay, 1, 255, bIsOn, 0, sstr.str()); in GetRelayStates()
H A DDenkoviTCPDevices.cpp120SendSwitch(DAE_IO_TYPE_RELAY, ii, 255, (((firstEight >> (8 - ii)) & 0x01) != 0) ? true : false, 0,… in OnData()
123SendSwitch(DAE_IO_TYPE_RELAY, ii + 8, 255, ((secondEight >> (8 - ii) & 0x01) != 0) ? true : false,… in OnData()
147SendSwitch(DAE_IO_TYPE_RELAY, ii, 255, (((firstEight >> (ii - 1)) & 0x01) != 0) ? true : false, 0,… in OnData()
150SendSwitch(DAE_IO_TYPE_RELAY, 8 + ii, 255, (((secondEight >> (ii - 1)) & 0x01) != 0) ? true : fals… in OnData()
H A DInComfort.cpp283 SendSwitch(8, 1, 255, pumpActive, 0, "Pump Active"); in ParseAndUpdateDevices()
284 SendSwitch(8, 2, 255, tapFunctionActive, 0, "Tap Function Active"); in ParseAndUpdateDevices()
285 SendSwitch(8, 3, 255, burnerActive, 0, "Burner Active"); in ParseAndUpdateDevices()
H A DAnnaThermostat.cpp564 SendSwitch(sAnneBoilerState, 1, 255, true, 0, sname); in GetMeterDetails()
568 SendSwitch(sAnneBoilerState, 1, 255, false, 0, sname); in GetMeterDetails()
580 SendSwitch(sAnnaFlameState, 1, 255, true, 0, sname); in GetMeterDetails()
584 SendSwitch(sAnnaFlameState, 1, 255, false, 0, sname); in GetMeterDetails()
630 SendSwitch(sAnnaProximity, 0, 255, bSwitch, 0, sname); in GetMeterDetails()
H A DDenkoviUSBDevices.cpp100SendSwitch(DAE_IO_TYPE_RELAY, ii, 255, (((firstEight >> (8 - ii)) & 0x01) != 0) ? true : false, 0,… in readCallBack()
103SendSwitch(DAE_IO_TYPE_RELAY, ii + 8, 255, ((secondEight >> (8 - ii) & 0x01) != 0) ? true : false,… in readCallBack()
H A DBleBox.cpp124 SendSwitch(IP, 0, 255, state, 0, DevicesType[itt.second].name); in GetDevicesState()
149 SendSwitch(IP, 0, 255, opened, 100 - pos, DevicesType[itt.second].name); in GetDevicesState()
162 SendSwitch(IP, 0, 255, level > 0, level, DevicesType[itt.second].name); in GetDevicesState()
195 SendSwitch(IP, 0, 255, level > 0, level, DevicesType[itt.second].name); in GetDevicesState()
213 SendSwitch(IP, relayNumber, 255, currentState, 0, DevicesType[itt.second].name); in GetDevicesState()
734 void BleBox::SendSwitch(const int NodeID, const uint8_t ChildID, const int BatteryLevel, const bool… in SendSwitch() function in BleBox
H A DBleBox.h46 …void SendSwitch(const int NodeID, const uint8_t ChildID, const int BatteryLevel, const bool bOn, c…
H A DPinger.cpp233 SendSwitch(ID, 1, 255, false, 0, Name); in AddNode()
361 SendSwitch(Node.ID, 1, 255, bPingOK, 0, Node.Name); in UpdateNodeStatus()
368 SendSwitch(Node.ID, 1, 255, bPingOK, 0, Node.Name); in UpdateNodeStatus()
H A D1Wire.cpp451 SendSwitch(NodeID, 0, 255, wiper > 0, value, "Wiper"); in ReportWiper()
508 SendSwitch(lID, unit, 255, state, 0, "Switch"); in ReportLightState()
H A DKMTronicUDP.cpp193 SendSwitch(iRelay, 1, 255, bIsOn, 0, sstr.str()); in GetMeterDetails()
H A DAtagOne.cpp493 SendSwitch(1, 1, 255, bIsScheduleMode, 0, "Thermostat Schedule Mode"); in GetMeterDetails()
497 SendSwitch(2, 1, 255, root["flameStatus"].asBool(), 0, "Flame Status"); in GetMeterDetails()
H A DBuienradar.cpp507 SendSwitch(1, 1, 255, m_itIsRaining, 0, "Is it Raining"); in GetMeterDetails()
724 SendSwitch(2, 1, 255, (rain_perc >= m_iThreshold), 0, "Possible Rain"); in GetRainPrediction()
H A DNefitEasy.cpp449 SendSwitch(1, 1, -1, m_bClockMode, 0, "Clock Mode"); in GetStatusDetails()
455 SendSwitch(2, 1, -1, bIsOn, 0, "Hot Water"); in GetStatusDetails()
H A DComm5TCP.cpp151 SendSwitch(i + 1, 1, 255, on, 0, "Relay " + std::to_string(i + 1)); in ParseData()
H A DKMTronicTCP.cpp236 SendSwitch(iRelay, 1, 255, bIsOn, 0, sstr.str()); in ParseRelays()
H A DComm5Serial.cpp164 SendSwitch(i + 1, 1, 255, on, 0, "Relay " + std::to_string(i + 1)); in requestDigitalOutputResponseHandler()
H A DNest.cpp642 SendSwitch((iThermostat * 3) + 3, 1, 255, bIsAway, 0, Name + " Away"); in GetMeterDetails()
650 SendSwitch((iThermostat * 3) + 4, 1, 255, bIsManualEcoMode, 0, Name + " Manual Eco Mode"); in GetMeterDetails()
H A DI2C.cpp354 SendSwitch(DeviceID, Unit, 255, value, 0, ""); // create or update switch in PCF8574_ReadChipDetails()
425 SendSwitch(DeviceID, unit, 255, value, 0, ""); // create or update switch in MCP23017_Init()
432 SendSwitch(DeviceID, pin_number, 255, value, 0, ""); // create switch in MCP23017_Init()
H A DNetatmo.cpp912 SendSwitch(3, (uint8_t)(1 + iDevIndex), 255, bIsAway, 0, aName); in ParseNetatmoGetResponse()
1372 SendSwitch(moduleID & 0x00FFFFFF | 0x10000000, 1, 255, (bIsActive == true), 0, aName); in ParseHomeStatus()
1445 SendSwitch(roomID & 0x00FFFFFF | 0x01000000, 1, 255, bIsAway, 0, aName); in ParseHomeStatus()
H A DNestOAuthAPI.cpp536 SendSwitch((iStructure * 3) + 3, 1, 255, bIsAway, 0, nstruct.Name + " Away"); in GetMeterDetails()
611 SendSwitch((iThermostat * 3) + 4, 1, 255, bManualEcomodeEnabled, 0, Name + " Manual Eco Mode"); in GetMeterDetails()
H A DDomoticzHardware.h95 …void SendSwitch(const int NodeID, const uint8_t ChildID, const int BatteryLevel, const bool bOn, c…
H A DOctoPrintMQTT.cpp505 SendSwitch(1, 1, 255, bIsPrinting, 0, "Printing"); in on_message()

12