
Need support of AC or Thermostat in NEEO-SDK, As I am not able to setType('AC') or ('CLIMA') in SDK.
Hello To All, We are trying to add AC functionality in NEEO Remote as my device will control AC's and NEEO Remote will make an interface with my device over NEEO-SDK.
As of now, we tried to add AC by using method setType('AC') as well as setType('CLIMA') and setType('HVAC') but with these method, SDK is not running and it prompts an Error: INVALID_DEVICETYPE.
As we also tried to add AC, TV etc icon using setIcon('AC') method passed parameter according to the device type, but it seems like only Sonos Icon is available in NEEO repository to set.
Is there any procedure to upload the device and room Icons in NEEO brain so that we can use that icon in NEEO remote.
-
Those device types are, currently, unavailable in the SDK (see https://github.com/NEEOInc/neeo-sdk/blob/master/lib/device/validation/devicetype.js for a list of valid ones). You can fork the SDK and add the "clima" one (as far as I know, ac/hvac are invalid on the brain as well) but have a higher expectation of running into issues when trying to use it.
As for icons, I don't know of anyway to upload those to the brain - you have to choose from the set that the brain already offers (sonos is the only 'official' icon but there are others - however there is no comprehensive list of them).
-
I've moved the issue to our github: https://github.com/NEEOInc/neeo-sdk/issues/114 feel free to add details there if needed.
Currently CLIMA is not supported via the SDK that's why you'd getting the INVALID_DEVICETYPE error. The supported types are listed here https://neeoinc.github.io/neeo-sdk/#lib-device-devicebuilder.js-settype
Uploading custom icons is currently not possible. The device icons are automatically determined based on the device type.
-
I have added Clima as Device type and getting the Icon on my NEEO Remote, now I can able to increase and decrease the temperature using UP and Down Arrow key, Now I would like to add ON/OFF button to the AC but I am not getting any ON-OFF button on Clima, also I would like to add FAN speed.
I don't want to add Recipe to the Clima to do ON/OFF, I want a dedicated ON/OFF button.
Also, I want to update the current temperature of AC to remote, Is there any kind of method which I can call form SDK.