- Code: Select all
Line '9819' has error='Python argument types in
DeviceCmds.create(DeviceCmds)
did not match C++ signature:
create(CDeviceBase::_DeviceCmds {lvalue}, TDevProto protocol, CCString name='', CCString description='', boost::python::api::object folder=None, boost::python::api::object address=None, CCString deviceTypeId='', CCString pluginId='', boost::python::api::object props=None, bool configured=True, boost::python::api::object groupWithDevice=None)'
- Code: Select all
dev1 = indigo.device.create(
protocol = indigo.kProtocol.Plugin,
address = "Pi-"+unicode(pi),
name = dev.name+"_"+serialNumber,
pluginId = self.pluginId,
displayS = "status",
deviceTypeId = "Wire18B20",
folder = self.piFolderId,
props = {u"piServerNumber":unicode(pi),"displayState":"status","displayS":"Temperature","offsetTemp":"0", u"displayEnable": u"0"}
)
dev.name+"_"+serialNumber == s-14-onewire_28-0316b5fa44ff
self.piFolderId == 1638619571
this has always worked.. have no clue what else to check ..have been looking at this for hours ..
Karl