plug = indigo.server.getPlugin("com.nathansheldon.indigoplugin.HueLights")
if plug.isEnabled():
# Set the red, green, and blue color values of the "Table Lamp" to 245, 18, and 150 (respectively).
plug.executeAction("setRGB", deviceId=1649955594, props={"red":245, "green":18, "blue":150})
plug = indigo.server.getPlugin("com.nathansheldon.indigoplugin.HueLights")
if plug.isEnabled():
# Set the red, green, and blue color values of the "Table Lamp" to 245, 18, and 150 (respectively).
plug.executeAction("setRGB", deviceId=1649955594, props={"red":245, "green":18, "blue":150})
plug = indigo.server.getPlugin("com.nathansheldon.indigoplugin.HueLights")
if plug.isEnabled():
# Set the red, green, and blue color values of the "Table Lamp" to 245, 18, and 150 (respectively).
plug.executeAction("setRGB", indigo.devices[1649955594], props={"red":245, "green":18, "blue":150})
Script Error embedded script error:
Script Error Python argument types in
PluginInfo.executeAction(PluginInfo, str, DimmerDevice)
did not match C++ signature:
executeAction(CPlugin {lvalue}, CCString actionTypeId, unsigned long deviceId=0, boost::python::api::object props=None, bool waitUntilDone=True)
Script Error Exception Traceback (most recent call shown last):
embedded script, line 5, at top level
ArgumentError: Python argument types in
PluginInfo.executeAction(PluginInfo, str, DimmerDevice)
did not match C++ signature:
executeAction(CPlugin {lvalue}, CCString actionTypeId, unsigned long deviceId=0, boost::python::api::object props=None, bool waitUntilDone=True)
Briand9 wrote:
Hello,
We just got a sleep number bed and am anxious to tryout the plugin. Unfortunately, I am getting a login error, password incorrect. Although my PW works in the app, the bed is connected and I verified the pw on the website in a browser. I event reset the PW a few times. Any idea what could be going on? I see in the thread about looking in the debug log, but I can't even get logged in to do that. I appreciate any help. Thanks!
say -v '?'
29. Oct 2020 at 17:34:40
Action Group Receiver ein
Virtual Devices sent "Receiver" on
Trigger Set variable to true if Receiver is ON
Pioneer Receiver Error Failed to receive data from VSX-528: [Errno 54] Connection reset by peer
Pioneer Receiver Error Failed to send data to VSX-528: [Errno 32] Broken pipe
VSX-528 Connection established.
VSX-528 Gathering receiver system information.
29. Oct 2020 at 17:35:27
Action Group Receiver aus
Virtual Devices sent "Receiver" off
Trigger Set variable to false if Receiver is OFF
Action Group Receiver ein
Virtual Devices sent "Receiver" on
Trigger Set variable to true if Receiver is ON
VSX-528 Gathering receiver system information.
VSX-528 power (zone 1): on
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
VSX-528 volume (zone 1): -53.0 dB
29. Oct 2020 at 17:37:03
Action Group Receiver aus
Virtual Devices sent "Receiver" off
Trigger Set variable to false if Receiver is OFF
VSX-528 power (zone 1): off
Yassi
theTemperatureV = indigo.variables[1708239780] #MinTemperatureVariable
dev = indigo.devices[23142400] #Weather Plus Station
if float(dev.states['minTemp6thNight']) < theTemperatureV.value:
return True
else:
return False
theTemperatureV = indigo.variables[1708239780] #MinTemperatureVariable
dev = indigo.devices[23142400] #Weather Plus Station
if float(dev.states['minTemp2ndNight']) < theTemperatureV.value:
return True
else:
return False
theTemperatureV = indigo.variables[1708239780] #MinTemperatureVariable
dev = indigo.devices[23142400] #Weather Plus Station
if float(dev.states['minTemp2ndNight'].value) < float(theTemperatureV.value):
return True
else:
return False
theTemperatureV = indigo.variables[1708239780] #MinTemperatureVariable
dev = indigo.devices[23142400] #Weather Plus Station
if dev.states['minTemp2ndNight'].floatValue() < theTemperatureV.floatValue():
return True
else:
return False
theTemperatureV = indigo.variables[1708239780] #MinTemperatureVariable
dev = indigo.devices[23142400] #Weather Plus Station
if dev.states['minTemp2ndNight'].floatValue() < theTemperatureV.floatValue():
return True
else:
return False
from os import system
system('say Hello world!')
from AppKit import NSSpeechSynthesizer
speechSynthesizer = NSSpeechSynthesizer.alloc().init()
speechSynthesizer.startSpeakingString_('Hello world!')