I'm using Cynical Network to interface with my HVAC. When I try to receive a temperature, I get an error like you see below. I think it's because the degree symbol is returned with the result. Is there anything I can do with the code to trap / fix the problem?
It should work like this...
- Code: Select all
s1oat?
s1oat:050˚F
but I get this error...
- Code: Select all
2015-04-04 17:20:30.244 Action Group HVAC Get Outside Air Temperature
2015-04-04 17:20:31.502 Error XML Parse Error: not well-formed (invalid token)
2015-04-04 17:20:31.503 Error On character 351 of line number 1.
2015-04-04 17:20:41.513 Cynical Network Error in runConcurrentThread: Traceback (most recent call last):
File ".../Server Plugin/cyin/debugging.py", line 46, in diagnostic_log
yield
File ".../Server Plugin/cyin/debugging.py", line 56, in diagnose_call
return method(*args, **kwargs)
File ".../Server Plugin/cyin/asynplugin.py", line 52, in runConcurrentThread
self.run()
File ".../Server Plugin/asyn/inject.py", line 49, in run
asyn.Controller.run(self)
File ".../Server Plugin/asyn/controller.py", line 91, in run
item._can_read()
File ".../Server Plugin/asyn/selectable.py", line 212, in _can_read
self._scan(input)
File ".../Server Plugin/asyn/scan.py", line 53, in _scan
result = self.scan.scan(self._rbuf, self.callout)
File ".../Server Plugin/asyn/scan.py", line 108, in scan
callout(ctx, *m.groups())
File ".../Server Plugin/asyn/core.py", line 140, in callout
results = [cb(ctx, *args) for cb in list(self._callbacks)] # latch callback list
File "plugin.py", line 140, in _event
self.lastinput_var = matches[0]
File ".../Server Plugin/cyin/attr.py", line 358, in __set__
indigo.variable.updateValue(self._variable(obj), str(value))
StandardError: ServerCommunicationError -- timeout waiting for response
2015-04-04 17:20:41.513 Cynical Network Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)