Wow thank you for the quick response, I am using it on Hitachi units mounted in the ceiling I used to have the the two working in the living room with two separate IR device codes. I have the lists of codes but can not which two they are.
I will need to try each of the codes to find the right ones to use. The strange thing in the the smartthings app with your code as the device handler the code seems to be set arbitrarily config# 120 this not the one of the IR codes for Hitachi but it will but the cool, heat and off settings work?
As far as getting the the current temp from the ZXT-120 I did not think this was part of the IR setup as the as the unit has a built in thermometer I used to access from a JSON file on my old system like this:
var inTemp = parsed_json[“devices”][“7”][“instances”][“0”][“commandClasses”][“49”][“data”][“1”][“val”][“value”];
This would return the current temp from the ZXT-120 and I could display the value in my custom html control system.
When I look at the logs its something like this: (Sorry for the giant log!)
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:48 AM: warn parse called generating null map…why is this possible ? description=zw device: 11, command: 4303, payload: 08 01 18
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:48 AM: warn Setpoint Report for Unknown Type 8
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:48 AM: info RRG V1 ThermostatSetpointReport cmd=ThermostatSetpointReport(precision: 0, reserved01: 0, scale: 0, scaledValue: 24, setpointType: 8, size: 1, value: [24])
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:48 AM: info Parsing Description=zw device: 11, command: 4303, payload: 08 01 18
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:47 AM: warn parse called generating null map…why is this possible ? description=zw device: 11, command: 4303, payload: 02 2A 02 A8
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:46 AM: debug Thermostat Setpoint Report for reportedCoolingSetpoint = 68.0 forcing state change true
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:46 AM: info RRG V1 ThermostatSetpointReport cmd=ThermostatSetpointReport(precision: 1, reserved01: 0, scale: 1, scaledValue: 68.0, setpointType: 2, size: 2, value: [2, 168])
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:46 AM: info Parsing Description=zw device: 11, command: 4303, payload: 02 2A 02 A8
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:44 AM: warn parse called generating null map…why is this possible ? description=zw device: 11, command: 4303, payload: 01 01 17
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:43 AM: debug Thermostat Setpoint Report for reportedHeatingSetpoint = 73. forcing state change true
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:43 AM: info RRG V1 ThermostatSetpointReport cmd=ThermostatSetpointReport(precision: 0, reserved01: 0, scale: 0, scaledValue: 23, setpointType: 1, size: 1, value: [23])
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:43 AM: info Parsing Description=zw device: 11, command: 4303, payload: 01 01 17
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:41 AM: debug Parse returned [[name:swingMode, value:off, displayed:false, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved swing mode is off]]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:41 AM: debug Parse map=[name:swingMode, value:off, displayed:false, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved swing mode is off]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:41 AM: debug reported swing mode = oscillateMode
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:41 AM: info Parsing Description=zw device: 11, command: 7006, payload: 21 01 00
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:39 AM: debug Parse returned [[name:tempOffset, displayed:false, value:0, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved temp offset is 0]]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:39 AM: debug Parse map=[name:tempOffset, displayed:false, value:0, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved temp offset is 0]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:39 AM: debug reported offset=0
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:39 AM: info Parsing Description=zw device: 11, command: 7006, payload: 25 01 00
3cc7b227-7c86-4058-b834-ccc8481df452 11:47:36 AM: debug params: [ts:1465180686223, stateID:1465035848000, _:1465178545831, access_token:XXX-XXX, appId:3cc7b227-7c86-4058-b834-ccc8481df452, param1:ping, action:[GET:executeSmartAppGet, POST:executeSmartAppPost, PUT:executeSmartAppPut, DELETE:executeSmartAppDelete, OPTIONS:executeSmartAppOptions], controller:smartAppApi]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:36 AM: debug Parse returned [[name:remoteCode, displayed:false, value:120, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved remote code is 120]]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:36 AM: debug Parse map=[name:remoteCode, displayed:false, value:120, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved remote code is 120]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:36 AM: debug reported currentConfigCode=120
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:36 AM: info Parsing Description=zw device: 11, command: 7006, payload: 1B 02 00 78
9de1b19c-8598-444e-b131-0323c0e9a9cc 11:47:36 AM: trace getPhrases(), state.welcomeIssue = null
9de1b19c-8598-444e-b131-0323c0e9a9cc 11:47:36 AM: trace getPhrases(), state.welcomeIssue = null
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:33 AM: debug Parse returned [[value:fanAuto, name:thermostatFanMode, displayed:false, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved thermostat fan mode is fanAuto]]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:33 AM: debug Parse map=[value:fanAuto, name:thermostatFanMode, displayed:false, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved thermostat fan mode is fanAuto]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:33 AM: debug Fan Mode Report=null
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:33 AM: info Parsing Description=zw device: 11, command: 4403, payload: 00
3cc7b227-7c86-4058-b834-ccc8481df452 11:47:33 AM: debug params: [ts:1465180686223, stateID:1465035848000, _:1465178100778, access_token:XXX-XXX, appId:3cc7b227-7c86-4058-b834-ccc8481df452, param1:ping, action:[GET:executeSmartAppGet, POST:executeSmartAppPost, PUT:executeSmartAppPut, DELETE:executeSmartAppDelete, OPTIONS:executeSmartAppOptions], controller:smartAppApi]
9de1b19c-8598-444e-b131-0323c0e9a9cc 11:47:33 AM: trace getPhrases(), state.welcomeIssue = null
9de1b19c-8598-444e-b131-0323c0e9a9cc 11:47:33 AM: trace getPhrases(), state.welcomeIssue = null
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:32 AM: debug Parse returned [[value:cool, name:thermostatMode, isStateChange:false, displayed:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved thermostat mode is cool]]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:32 AM: debug Parse map=[value:cool, name:thermostatMode, isStateChange:false, displayed:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved thermostat mode is cool]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:32 AM: debug Thermostat Mode reported : cool
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:32 AM: info Parsing Description=zw device: 11, command: 4003, payload: 02
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:29 AM: debug Parse returned [[name:battery, value:100, unit:%, displayed:false, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved battery is 100%]]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:29 AM: debug Parse map=[name:battery, value:100, unit:%, displayed:false, isStateChange:false, linkText:ZXT-120 IR Sender Improved, descriptionText:ZXT-120 IR Sender Improved battery is 100%]
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:29 AM: debug Battery Level Reported=100
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:29 AM: info Parsing Description=zw device: 11, command: 8003, payload: 64
3cc7b227-7c86-4058-b834-ccc8481df452 11:47:29 AM: debug updating TS
3cc7b227-7c86-4058-b834-ccc8481df452 11:47:29 AM: debug event from: ZXT-120 IR Sender Improved, value: 73, source: DEVICE, description:
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:29 AM: warn parse called generating null map…why is this possible ? description=zw device: 11, command: 3105, payload: 01 01 17
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:28 AM: debug Sensor Reporting temperatureName ZXT-120 73°
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:28 AM: debug SensorMultilevelReport reporting…cmd=SensorMultilevelReport(precision: 0, scale: 0, scaledSensorValue: 23, sensorType: 1, sensorValue: [23], size: 1)
f2ae6217-8aec-4734-a8cc-45d95855cfcf 11:47:28 AM: info Parsing Description=zw device: 11, command: 3105, payload: 01 01 17
There seem to be some errors in there but I can not see it asking for the current temp, just set points and mode statuses
My last question would be where do I put my device codes, as there is nothing editable within the app? I assuming from https://graph.api.smartthings.com/device/?
Thanks for your help Ron!
John Hepburn
