Home
last modified time | relevance | path

Searched refs:switchcmd (Results 1 – 25 of 33) sorted by relevance

12

/dports/www/domoticz/domoticz-2020.2/main/
H A DRFXNames.cpp2260 if ((switchcmd == "On") || (switchcmd == "Group On") || (switchcmd == "Chime")) in GetLightCommand()
2280 if ((switchcmd == "On") || (switchcmd == "All On")) in GetLightCommand()
2327 if ((switchcmd == "On") || (switchcmd == "Group On")) in GetLightCommand()
2337 if ((switchcmd == "On") || (switchcmd == "Group On")) in GetLightCommand()
2456 if ((switchcmd == "On") || (switchcmd == "Group On")) in GetLightCommand()
2466 if ((switchcmd == "On") || (switchcmd == "Group On")) in GetLightCommand()
2573 if ((switchcmd == "On") || (switchcmd == "Group On")) in GetLightCommand()
2740 if ((switchcmd == "On") || (switchcmd == "Group On")) in GetLightCommand()
2750 if ((switchcmd == "On") || (switchcmd == "Group On")) in GetLightCommand()
3030 if ((switchcmd == "On") || (switchcmd == "All On")) in GetLightCommand()
[all …]
H A Dmainworker.h55 …bool SwitchLight(const std::string &idx, const std::string &switchcmd, const std::string &level, c…
56 …bool SwitchLight(const uint64_t idx, const std::string &switchcmd, const int level, const _tColor …
57 …bool SwitchLightInt(const std::vector<std::string> &sd, std::string switchcmd, int level, const _t…
59 bool SwitchScene(const std::string &idx, const std::string &switchcmd, const std::string& User);
60 bool SwitchScene(const uint64_t idx, std::string switchcmd, const std::string& User);
H A Dmainworker.cpp11386 switchcmd = "Off"; in SwitchLightInt()
11412 if ((switchcmd == "On") || (switchcmd == "Set Level")) in SwitchLightInt()
11416 switchcmd = "Set Color"; in SwitchLightInt()
11613 switchcmd = "Off"; in SwitchLightInt()
11616 if (switchcmd != "Off") in SwitchLightInt()
11643 if (switchcmd != "Off") in SwitchLightInt()
11661 if ((switchcmd == "On") || (switchcmd == "Set Color")) in SwitchLightInt()
11821 if ((switchcmd == "On") || (switchcmd == "Set Level")) in SwitchLightInt()
12216 if (switchcmd == "On") in SwitchLightInt()
12287 if ((switchcmd == "Set Level") || (switchcmd == "Set Group Level")) { in SwitchLightInt()
[all …]
H A DScheduler.cpp817 std::string switchcmd = ""; in CheckSchedules() local
819 switchcmd = "On"; in CheckSchedules()
821 switchcmd = "Off"; in CheckSchedules()
822 if (switchcmd == "") in CheckSchedules()
841 if (!m_mainworker.SwitchScene(itt.RowID, switchcmd, "timer")) in CheckSchedules()
880 switchcmd = "Set Level"; in CheckSchedules()
893 switchcmd = "Set Level"; in CheckSchedules()
901 switchcmd = "Set Level"; in CheckSchedules()
907 if (!m_mainworker.SwitchLight(itt.RowID, switchcmd, ilevel, itt.Color, false, 0, "timer")) in CheckSchedules()
H A DRFXNames.h299 std::string switchcmd,
H A DSQLHelper.h465 …bool SwitchLightFromTasker(const std::string &idx, const std::string &switchcmd, const std::string…
466 …bool SwitchLightFromTasker(uint64_t idx, const std::string &switchcmd, int level, _tColor color, c…
H A DWebServer.cpp4848 std::string switchcmd = "On"; in HandleCommand() local
6632 std::string switchcmd = request::findValue(&req, "switchcmd"); in HandleCommand() local
6634 if ((idx.empty()) || (switchcmd.empty())) in HandleCommand()
6644 if (switchcmd == "Panic End") { in HandleCommand()
6647 else if (switchcmd == "Normal") { in HandleCommand()
6693 std::string switchcmd = request::findValue(&req, "status"); in HandleCommand() local
6700 if ((idx.empty()) || (switchcmd.empty())) in HandleCommand()
6739 std::string switchcmd = request::findValue(&req, "switchcmd"); in HandleCommand() local
6741 if (switchcmd == "Set Level") in HandleCommand()
6746 if ((idx.empty()) || (switchcmd.empty()) || ((switchcmd == "Set Level") && (level.empty())) ) in HandleCommand()
[all …]
/dports/www/domoticz/domoticz-2020.2/hardware/
H A DRFLinkBase.cpp573 int cmnd = GetGeneralRFLinkFromString(rfswitchcommands, switchcmd); in SendSwitchInt()
577 if (switchcmd.compare(0, 10, "SET_LEVEL=") == 0 ){ in SendSwitchInt()
579 std::string str2 = switchcmd.substr(10); in SendSwitchInt()
587 _log.Log(LOG_ERROR, "RFLink: Unhandled switch command: %s", switchcmd.c_str()); in SendSwitchInt()
795 bool bHaveSwitchCmd = false; std::string switchcmd = ""; int switchlevel = 0; in ParseLine() local
985 switchcmd = RFLinkGetStringValue(results[ii]); in ParseLine()
992 switchcmd = RFLinkGetStringValue(results[ii]); in ParseLine()
999 switchcmd = "ON"; in ParseLine()
1118 if (switchcmd == "ON") rgb = 0xffff; in ParseLine()
1123 if (switchcmd == "OFF") rgbw = 0; in ParseLine()
[all …]
H A DMQTT.cpp279 std::string switchcmd = root["switchcmd"].asString(); in on_message() local
294 if (!m_mainworker.SwitchLight(idx, switchcmd, level, NoColor, false, 0, "MQTT") == true) in on_message()
424 std::string switchcmd = root["switchcmd"].asString(); in on_message() local
425 if ((switchcmd != "On") && (switchcmd != "Off") && (switchcmd != "Toggle")) in on_message()
431 if (!m_mainworker.SwitchScene(idx, switchcmd, "MQTT") == true) in on_message()
H A DZiBlueBase.cpp283 …nst int BatteryLevel, const std::string &switchType, const std::string &switchcmd, const int level) in SendSwitchInt() argument
292 int cmnd = GetGeneralZiBlueFromString(ziBlueswitchcommands, switchcmd); in SendSwitchInt()
296 if (switchcmd.compare(0, 10, "SET_LEVEL=") == 0 ){ in SendSwitchInt()
298 std::string str2 = switchcmd.substr(10); in SendSwitchInt()
306 _log.Log(LOG_ERROR, "ZiBlue: Unhandled switch command: %s", switchcmd.c_str()); in SendSwitchInt()
H A DRFLinkBase.h24 …nst int BatteryLevel, const std::string &switchType, const std::string &switchcmd, const int level…
H A DZiBlueBase.h32 …nst int BatteryLevel, const std::string &switchType, const std::string &switchcmd, const int level…
/dports/chinese/bitchx/bitchx-1.2.1/include/
H A Dif.h22 void switchcmd (char *, char *, char *, char *);
/dports/irc/bitchx/bitchx-1.2.1/include/
H A Dif.h22 void switchcmd (char *, char *, char *, char *);
/dports/irc/epic5/epic5-2.1.6/include/
H A Difcmd.h23 BUILT_IN_COMMAND(switchcmd);
/dports/irc/epic4/epic4-2.10.9/include/
H A Dif.h23 BUILT_IN_COMMAND(switchcmd);
/dports/science/jmol/jmol-14.32.7/src/org/jmol/script/
H A DScriptCompiler.java1475 if (flowContext != null && flowContext.token.tok == T.switchcmd in parseKnownToken()
1477 && lastToken.tok != T.switchcmd) in parseKnownToken()
1676 case T.switchcmd: in parseKnownToken()
2002 case T.switchcmd: in parseCommandParameter()
2224 case T.switchcmd: in checkFlowEndBrace()
2313 case T.switchcmd: in checkFlowCommand()
2332 || flowContext.token.tok != T.switchcmd in checkFlowCommand()
2345 if (tokCommand == T.switchcmd) in checkFlowCommand()
2373 case T.switchcmd: in checkFlowCommand()
2443 case T.switchcmd: in checkFlowEnd()
H A DT.java295 public final static int switchcmd = 10 | flowCommand; field in T
1440 public final static T tokenSwitch = o(switchcmd, "switch");
/dports/www/fusionpbx/fusionpbx-4.4.1/resources/
H A Dfunctions.php800 $switchcmd = "module_exists $mod";
801 $switch_result = event_socket_request($fp, 'api '.$switchcmd);
802 unset($switchcmd);
/dports/irc/scrollz/ScrollZ-ScrollZ-2.3/source/
H A Dif.c574 void switchcmd(command, args, subargs) in switchcmd() function
/dports/chinese/bitchx/bitchx-1.2.1/source/
H A Dif.c650 BUILT_IN_COMMAND(switchcmd) in BUILT_IN_COMMAND() argument
/dports/irc/bitchx/bitchx-1.2.1/source/
H A Dif.c650 BUILT_IN_COMMAND(switchcmd) in BUILT_IN_COMMAND() argument
/dports/irc/epic5/epic5-2.1.6/source/
H A Dif.c883 BUILT_IN_COMMAND(switchcmd) in BUILT_IN_COMMAND() argument
/dports/irc/epic4/epic4-2.10.9/source/
H A Dif.c827 BUILT_IN_COMMAND(switchcmd) in BUILT_IN_COMMAND() argument
/dports/irc/epic5/epic5-2.1.6/doc/
H A Dexpansions93 * if.c switchcmd

12