Skip to content

Commit

Permalink
fixed error for sensor type RFX sub type !=1,2
Browse files Browse the repository at this point in the history
fixed error: RFXCOM Error unknown device detected (id = 1, type = 112). Select a RFX Sensor from the list of devices
  • Loading branch information
kw123 committed Oct 23, 2018
1 parent 1505d2f commit 95a5944
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RFXCOM.indigoPlugin/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>PluginVersion</key>
<string>2.1.15</string>
<string>2.1.16</string>
<key>ServerApiVersion</key>
<string>2.0.0</string>
<key>IwsApiVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py
Original file line number Diff line number Diff line change
Expand Up @@ -1423,8 +1423,8 @@ def handleRFXSensor(self,data):
self._addToBatchStatesChange(self.devicesCopy[sensor], key=u"display", value=temp, decimalPlaces= self.plugin.digitsTemperature, uiValue=display)

#self._finalizeStatesChanges()
else:
self.handleUnknownDevice(devicetype,sensor)
else:
self.handleUnknownDevice(devicetype,sensor)

def handleRFXMeter(self,data):
devicetype = ord(data[1])
Expand Down
Binary file modified RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.pyc
Binary file not shown.

0 comments on commit 95a5944

Please sign in to comment.