howartp wrote:Alcohol isn't the only beverage available at the pub... I speak from experience!
Few pubs sell Irn Bru outside of Scotland. What on earth would you want to drink other than that?
howartp wrote:Alcohol isn't the only beverage available at the pub... I speak from experience!
durosity wrote:Awesome yeah that's working. Where did that version appear from? (I tells ya trying to keep up to date with the different versions of the RFXtrx plugin is a right pain. It needs to be hosted somewhere static that's always available and preferably have a non-admin page listing the updates and changes.
Jan 11, 2017, 10:08:25 PM
Embedded script executor host started
Script Error embedded script: unsupported operand type(s) for -: 'unicode' and 'int'
Script Error Exception Traceback (most recent call shown last):
embedded script, line 4, at top level
TypeError: unsupported operand type(s) for -: 'unicode' and 'int'
RFXCOM initializing communication on port /dev/cu.usbserial-03VHDCBN at speed 38400
RFXCOM connected to RFXtrx 433.92 MHz, firmware version 190
RFXCOM currently enabled receiver protocols: Oregon Scientific
matt (support) wrote:I'm not sure how that error is related to the plugin, but can you narrow down which embedded script you have that is causing it? Once you track down the script copy/paste it into a reply and we can try to figure out what is causing it.
matt (support) wrote:Yeah, the error itself is coming from the embedded script executor, which is used to run python scripts you have embedded in Triggers, Schedules, or Action Groups. We need to find which script it is so we can troubleshoot what is causing the error. I presume it is a script that is doing something with a RFX device or the RFX plugin, but maybe not.
We have on our feature request list (and I'd really like to see it get implemented) adding much better error logging which would show which trigger, schedule, etc. the problem is coming from. But for now it is pretty much a guessing game.
myVar = indigo.variables[894550057]
tempSensor = indigo.devices[1469511808]
tempF = tempSensor.states["temperature"]
tempC = (tempF-32)*5/9
tempC = round(tempC, 1)
# "{0:.1f}".format(tempC)
indigo.variable.updateValue(myVar, str(tempC)+" °C")
matt (support) wrote:Yep, I think that is the problem.
Users browsing this forum: No registered users and 2 guests