So I’ve been trying to make this work and I managed to get the Off working, but I am a little confused by the smartir JSON structure and how to learn the commands and place them, based on the Broadcom JSON. I have a Samsung AC and it has heat, cool, dry and fan. When I look at the other files, they seem to have a different remote code for each termperature per mode. I’ve tried leaning by setting the temp in that mode clicking up on the remote, or setting the temp and then changing the mode on the remote. It learns something, and I can send the command via developer tools, but I cant via the climate device I created (eg if I set auto with temp 18 mapped as per the captured command, nothing happens). Can anyone give me some advice on how you went through the process of learning and mapping to the modes in the file pls? For info here is the top of my file. I used another as the basis to ensure structure is right and the Off command works fine, so something is wrong with the way I am mapping the other learned commands I think?
{
“manufacturer”: “Samsung”,
“supportedModels”: [
“Unknown”
],
“supportedController”: “Broadlink”,
“commandsEncoding”: “Base64”,
“minTemperature”: 17.0,
“maxTemperature”: 30.0,
“precision”: 1.0,
“operationModes”: [
“heat”,
“cool”,
“dry”,
“fan_only”
],
“fanModes”: [
“low”,
“med”,
“high”,
“auto”
],
“commands”: {
“off”: “JgDKAIyOFDITEBM0EzMTEBMQEzMTERIREzMTEBMQEzMTNBMQEzMTEBMzEzQTMxMzExATNBMzEzMUDxMQExESERI0FA8TEBMzFDMTMxQPExETEBIREhETEBMQExAUMhQzEzMUMhQyFKiSjRQzExAUMhQyFA8UEBMzFA4VDxQyFBATEBQyFDIUDxQzFA4VMhQyFDMUMhQPFDIUMxMzFA8UDxQPFA8UMxMQFA8UMhQzEzMUDxQPFA8TERMQEw8VDxQPFDITNBMzFDITMxMADQU=”,
“heat”: {
“low”: {
“17”: “JgDKAIyNFDMTEBMzEzMUDxQQEzMTEBMQEzMTEBQPFDMTMxMQEzMTMxQQEzMTMxMzEzMUMxMzExATMxQPFBATEBMQExATEBMQExATEBQPFDMTMxMQExATMxQyFDMTMxMQExATMxQzE6iRjhMzFBATMxMzExATEBMzFBATEBMzExATEBMzFDIUEBMzEzMTEBMzFDMTMxMzEzMUMxMQEzMTEBMQExAUDxQQExATEBMQExATEBMzEzMUEBMQEzMTMxMzFDMTEBMQEzMTMxQADQU=”,
“18”: “JgDCABMzExATEBMzExAUEBMzExATEBMzEzMUEBMzEzMTEBMzEzMUMxMzEzMTMxQQEzMTEBMQExATEBMQFA8UEBQPExATMxMzEzMUEBMQEzMTMxMzFA8UEBMQEzMTMxOpkY0UMxMQEzMTMxQQExATMxMQExATMxMQFBATMxMzExATMxQyFBATMxMzEzMUMxMzEzMTEBMzFA8UEBMQExATEBMQExATEBMQFDMTMxMzExATEBMzFDMTMxMQExATEBMzFDMTAA0F”,
“19”: “JgDKAIuOFDIUEBMzEzMTEBMQFDIUEBMQEzMTEBMQEzMUMxMQEzMTNBIQFDMTMxMzEzMUMxMzExATMxMQFA8UEBMQExATEBMQExATMxMzFDMTMxMQExATMxQzExATEBMQExATMxQyFKiRjhMzExAUMxMzExATEBMzFA8UDxQzExATEBMzEzMUEBMzEzMTEBMzFDIUMxMzEzMTMxQQEzMTEBMQExATEBMQFA8UEBMQEzMTMxMzFDMTEBMQEzMTMxQPFBATEBMQEzMTMxMADQU=”,
“20”: “JgDyABMAAk1jAAEmERAQMRAREBEQEBAREBEQEBAREDIQEQ8SDzIOExAQEDIQMRAxETEQMRAREBEQEBASDxEQEQ8SEBAQERAREBAREBAREBEQEBAREBEQEBEQEBEQEBEREBEPERAREBEPERAREBEQEBEQEBEQMRAxETEQMRFiYgABJhExEBEQERAQEBEQERAQERAQERAxEBEQERAxEBEQMg8yEBEQMRAxETEQMRExEDEQMRIwEBAREQ8REDIQMRAyEBAREBAREBAREBEQEBEQMRARETEPEg8yEBEPERAREDEQERAREBAREBAREDEQMRExEDERAA0FAAAAAAAA”,
“21”: “JgDyABQAAkxjAAEmEg8RMBIPERAQERAQERARERAPETEQERAREDEQEREQETARMBIwETARMBIQDxEREBEQEBEQEBAREBERDxIPEBERDxIPERAQEREPERAREBAREBEQERAQEBEQERAQEBEREBEPERAREBEPEg8RMBIwETAQMhFhYwABJhAyEBAREBAREQ8SDxEQEQ8SDxExEBAREBEREBAQMRAyEBEQMRAxETEQMREwEjARMBAyERAPEhAQDzMQMRAxERAQERAQEg8QERAxERAQMREQEDIQERAxEBEQERAQETEQEBEQERARDxEQETASMBAyEDESAA0FAAAAAAAA”,
“22”: “JgDyABQAAkxkAAElEg8RMBIPERAREBEPEg8REBEPEjAREBEQDjMQERAREDERMBIwETARMBIPERAREBEQEBEQEBAREBEQERAQERAREBEPERAREBEPEg8REBEPEg8REBEQERAQERAQEBEQERAQERAREBEPEg8RMBIwETARMRBiYgABJxExEBAQERAREBAREBEQERARDxExEQ8REBEQEQ8SMRAxEBEQMRAxEDIRMBEwEjARMBEwEg8RERAQETEQMRAxERAREBEQEQ8REBEQETARMBIPETASEBAxEBEQERAQEDIRDxIPERARDxIPETASMBEwETERAA0FAAAAAAAA”,
“23”: “JgDyABMAAk5iAAEmEREPMhARDxEQERAREBAREBAREDEQERAREDEQERAQETEQMhAxEDERMREQEBAREBAREBAREBAREQ8REBAREBEQEQ8SEBAQERAREBAREBEQEBAREBAREBAREBAREBEQEBEQEBIPERAREBEPMhAxEDIRMBBjYQABJxEwERAQERAQEREPEg8REBEQEQ8yEBEQEBExEDEQERAxEBEQMRAzDzIPMhAxEDIQMRAyEBAREBARETAQMRExEBEQEQ8SEBAQERAxETEQMREQEDEQERAxEBEQERAREDEQERAREBEPERAREDERMRAxEDERAA0FAAAAAAAA”,
“24”: “JgDyABMAAk5iAAEnEBAQMhAQEBEQERAQERAQERAREDEQERAQETEQEBERDzIQMg8yEDERMRAQERAQERAQERAQERAQERAQEg8REBEPEhAQDxIQERAQERAQERAREBAQERAREBAREBAREBAREBASDxEQERARDxEQMhAxETARMRBiYgABJxEwEBEQEBERDxIPERAREBEQEBAyEBAREBAxERAQMRExEBEQMRAxETIPMhAxEDIQMRAxERAREBAQETEQMRAyEBEPEhAQEBEQERAQERAQERAxEDEREBAyEBAREBASDzIPEg8REBEQERAQEDIQMRAxETEQAA0FAAAAAAAA”,
“25”: “JgDyABMAAk1iAAEnEBEQMRAREBEQEBEQERAQEBIPEDESDxARETAQERARETEPMhAxETERMBAREBAREBAREBERDxEQEBIPERARDhIQERAREBEQEBEQERAQEBEQEBERDxEQEBEQEBEQEBIPERARDhMPERAREBEQMREwEjARMBBjYgABJhEwEREPEhAQERAOExAQEBEQERAxERAREBEPERAQMRExEBARMRAyEDEQMhAxETASMBEwERAQEBIPETASMQ8yEBEQEBAREBEQERAxERARDxExETAREBEwEBEQEREQDzIQERAREBAREBEQEDERMBIwETARAA0FAAAAAAAA”,
“26”: “JgDyABUAAkxiAAEnEQ8RMRAQERAQERAQERAQERASDzIPERARDzIQERAREDEQMhAxEDERMREPEREPEg8REBEQEQ8REBEQERAQERAQERAQERAQERAQERAQEREQEBAQEg8REBEQERAQEBEQERAREBAQERAREQ8RMRAxEDERMRFhYwABJhAyEBEQEBAREBEQEBEQEBEQEBExEBAREBEQEBEQMg8yEBEPMhAxETEQMRAxETEQMRExEBEQEQ8SDzIQMRAyEQ8REBAREBAREBEQEDEQERAxEDIREA8yEBEQERAQETEQERAQEBEQERAQETEQMRAxETIQAA0FAAAAAAAA”,
“27”: “JgDyABQAAkxiAAEmEg8RMRAQEREQEBEQDhMQEQ8REDIRDxEQEDESDxEQEDEQMRIwETARMRAREBEQEBEQEBERDxEQERAREBEPERAQEREPERAREQ8REBEPEg8REBEQERAQERAREBAQERAREBAQEg8REBEPEg8QMhAyEDEQMRJgZAABJRIwEQ8SDxEQEQ8SDxEQERARDxExEBEQERAxEDEREBExEQ8RMREwETASMBEwETERMRAxEBEQEBIPEDESMBEwERAREBEPERARERAxDzIQERAxEDIRDxIwEQ8SDxARETAREBEPEhAQEBEQETEQMRAxEjARAA0FAAAAAAAA”,
“28”: “JgDyABQAAk1iAAEmERARMBEQERAREBARDhIQERAREDEREBEPETERDxIPETASMBEwETERMRAQEBEQERAQEg8REBAREQ8QERAREBAREBAREBAREQ8REBEQERARDxEQERAREBAREBEQEQ8REBEQEQ8SDxARERARMRAxEDEQMhFhYwABJhEwERAQERAQEBEREBEPERAQERAyDxIPERAREBEPMhAxERAQMRExEDEQMRIwETAQMhAyEBAQERAREDEQMRExEBEQEBEQEBEQERARDxIPMhAxEDIQEBExEBAREBAREDEQERAQERAQEg8REDIQMRAxETEQAA0FAAAAAAAA”,
“29”: “JgDyABQAAk1iAAEnEBEPMhAREBEQEBEQERARDxEQETAREBARETAREBEQETEQMRAxEDIQMREQEQ8SDxEQEQ8SDxEQERAREBAREBAREBAREBEPERAREBERDxEQERARDxEQERAQEBEQEBERDxIQEBEPERAREBEQMRAxEjAQMRFiYgABJhEwEg8REBEQERAPEg8REBEQERAxEBEREBEwEDEREBEwERARMBEyEDEQMRAyEDERMBIwEQ8REBEQETARMREwEBEQERAREBAQERAyEQ8RMREwEDESDxEwEg8REQ8RETEOEhAREBEQEBEQETASMBEwETARAA0FAAAAAAAA”,
“30”: “JgDyABQAAk1jAAElERAQMREQEBIPERARDxIQEBAREDEREBAREDEQERAQETEQMRAyEDEQMhAREBAQERAREBERDxEQERAQEBEQEBEQEBEQEBERDxERDxIPERAREBEQEBAREBERDxEQEBEQEBEQEBEQERAQERAQMRExEDIQMRBiYwABJhEwERAQERAREBAREBAREBAREBAxEREPEg8yEDEQERAxERAQMRExEDEQMRExEDIQMQ8zEBAREBAREDEQMhAxEBEQEBEQEBEQERAQEDIQMg8yEDEREBAxERAQERAQETEQERAQEBIPEg8RDzIQMhAxEDIQAA0FAAAAAAAA”
},