Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermostat not found #45

Closed
bitmerchandise opened this issue Oct 12, 2016 · 15 comments
Closed

Thermostat not found #45

bitmerchandise opened this issue Oct 12, 2016 · 15 comments

Comments

@bitmerchandise
Copy link
Contributor

Thank you for all the work, it's improved a lot and ignoring devices is excellent...

I tried the newest version but it doesn't pick up my thermostat.
I don't even see it process it in homebridge-out.log
in vera it is seen as device_type urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1
device_file D_HVAC_ZoneThermostat1.xml

npm list yields

npm list -g homebridge-vera

└── homebridge-vera@0.5.2

Thanks for looking into this

@bitmerchandise
Copy link
Contributor Author

Note: I noticed I was not on the newest version so I updated and still the same results

npm list -g homebridge-vera
versions/node/v6.0.0/lib
└── homebridge-vera@0.5.3

@stofakiller
Copy link

stofakiller commented Oct 21, 2016

Hi,

Mine (Danfoss) is also missing:
urn:schemas-upnp-org:device:Heater:1
D_Heater1.xml
D_HeaterTempNoOnOff2.json

Im also on 0.5.3

<device id="105" PendingJobs="0" status="-1"> <states> <state id="878" service="urn:upnp-org:serviceId:HVAC_UserOperatingMode1" variable="ModeStatus" value="HeatOn"/> <state id="879" service="urn:upnp-org:serviceId:HVAC_UserOperatingMode1" variable="ModeTarget" value="HeatOn"/> <state id="880" service="urn:upnp-org:serviceId:TemperatureSetpoint1" variable="CurrentSetpoint" value="21.00"/> <state id="881" service="urn:upnp-org:serviceId:TemperatureSetpoint1" variable="AllSetpoints" value="21.000000,0.000000,0.000000"/> <state id="882" service="urn:upnp-org:serviceId:TemperatureSetpoint1" variable="SetpointTarget" value="21"/> <state id="883" service="urn:upnp-org:serviceId:TemperatureSetpoint1_Heat" variable="CurrentSetpoint" value="21.00"/> <state id="884" service="urn:upnp-org:serviceId:SwitchPower1" variable="Status" value="1"/> <state id="885" service="urn:micasaverde-com:serviceId:HaDevice1" variable="Commands" value="heater_setpoint"/> <state id="886" service="urn:micasaverde-com:serviceId:HaDevice1" variable="Configured" value="1"/> <state id="887" service="urn:micasaverde-com:serviceId:HaDevice1" variable="ModeSetting" value="1:;2:"/> <state id="888" service="urn:micasaverde-com:serviceId:HaDevice1" variable="LastUpdate" value="1470749293"/> <state id="889" service="urn:micasaverde-com:serviceId:HaDevice1" variable="FirstConfigured" value="1456586516"/> <state id="890" service="urn:micasaverde-com:serviceId:HaDevice1" variable="BatteryDate" value="1477042531"/> <state id="891" service="urn:micasaverde-com:serviceId:HaDevice1" variable="BatteryLevel" value="47"/> <state id="892" service="urn:micasaverde-com:serviceId:HaDevice1" variable="sl_BatteryAlarm" value="0"/> <state id="893" service="urn:micasaverde-com:serviceId:HaDevice1" variable="WakeupRatings" value="2.50"/> <state id="894" service="urn:micasaverde-com:serviceId:HaDevice1" variable="PollRatings" value="5.00"/> <state id="895" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="Capabilities" value="81,140,0,4,8,4,R,RS,|67,70,114,117,128,129,132:2,134,143,"/> <state id="896" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="ManufacturerInfo" value="2,5,3"/> <state id="897" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="VersionInfo" value="6,2,67,2,51"/> <state id="898" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="NodeInfo" value="43,46,72,75,80,81,84,86,8f,"/> <state id="899" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="SetPointInfo" value="H1,"/> <state id="900" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="WakeupInterval" value="900"/> <state id="901" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="ConfiguredWakeupInterval" value="900"/> <state id="902" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="Neighbors" value="11,13,15,21,25,"/> <state id="903" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="LastReset" value="0"/> <state id="904" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="AssociationNum" value="0"/> <state id="905" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="TemperatureScale" value="2,0,2"/> <state id="906" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="PollOk" value="11"/> <state id="907" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="LastRouteUpdate" value="1456586576"/> <state id="908" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="LastWakeup" value="1477042531"/> <state id="909" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="LastNnu" value="1476965145,236"/> <state id="910" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="LastArr" value="1476968700,236"/> <state id="911" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="PollSettings" value="10800"/> <state id="912" service="urn:micasaverde-com:serviceId:ZWaveNetwork1" variable="LastPollSuccess" value="1475813944"/> <state id="913" service="urn:micasaverde-com:serviceId:ZWaveNetwork1" variable="ConsecutivePollFails" value="0"/> </states> <Jobs/> <tooltip display="0"/> </device>

Regards,
Jan

@stofakiller
Copy link

Wow, now it works :-)

In the file functions.js, i just removed:

if(config.includethermostat)

And restarted the homebridge :-)

So something is supposed to be in the config.json

Regards,
Jan

@bitmerchandise
Copy link
Contributor Author

Sorry, what works?
Does homebridge-vera work now or can you see the thermostat now?
I tried commenting if(config.includethermostat) (commented the IF and the matching brace).
Still doesn't see the thermostat.
Is there something else that you did?
I didn't reset homekit, I am not at home at the moment. Did you reset homekit?

Thanks

        //        if(config.includethermostat){
                    var Thermostat            = require("./types/thermostat.js")(HAPnode,config,module);
                    HAPnode.debug('------ Thermostat Added: %s', device.name + ' ID:' +device.id);
                    accessories.push(Thermostat.newDevice(device, verainfo.temperature));
        //        };
                break;

@stofakiller
Copy link

Just remove if(config.includethermostat)

@bitmerchandise
Copy link
Contributor Author

Nope, didn't work for me. I even renamed my Thermostat from thermostat to honeywell thinking that the name might be a problem but still doesn't work. Thanks for the helping hand though.
Will try deleting homekit and adding accessories again

@bitmerchandise
Copy link
Contributor Author

Still doesn't work even after deletion of persist and starting over with homekit.

I see the device here

{ "name": "Honeywell", "altid": "11", "id": 67, "category": 5, "subcategory": 1, "room": 10, "parent": 1, "fanmode": "Auto", "mode": "HeatOn"

when i go to

http://IP:3480/data_request?id=lu_sdata

Category is also seen

{ "name": "Thermostat", "id": 5 },

Any suggestions?

@tzonto
Copy link
Contributor

tzonto commented Oct 29, 2016

you shouldn't remove the "if", just add "includethermostat: true" to your config file and it should pickup the thermostat. If it doesn't work run it in debug mode and post the output so we can see what is going on.

@bitmerchandise
Copy link
Contributor Author

my error was "includethermostat": true and not what you sent me "includethermostat: true" plus I had an ignore for a scene that had same ID as thermostat, so I recreated the scene. thanks working now

@jacobleilei
Copy link

Thanks to @damianxd now I can use siri to work with vera.
Now I want to add more to control.
Like window covering and thermostat.
I tried @bitmerchandise 's way, add "includethermostat: true" to my config file.
My thermostat showed in homebridge initiating list, but not in apple app "Home" list.

@jacobleilei
Copy link

Thanks to @damianxd now I can use siri to work with vera.
Now I want to add more to control.
Like window covering and thermostat.
I tried @bitmerchandise 's way, add "includethermostat: true" to my config file.
My thermostat showed in homebridge initiating list, but not in apple app "Home" list.
How to proceed?
And how to run window covering nodes?

@jacobleilei
Copy link

@bitmerchandise After I reboot the bridge, it now works. I can control thermostat now.

@reallybman
Copy link

@bitmerchandise @jacobleilei can you advise on where to find this file that you are editing the thermostat IF statement?

@bitmerchandise
Copy link
Contributor Author

mine is located in /usr/local/lib/node_modules/homebridge-vera
The actual files are in /usr/local/lib/node_modules/homebridge-vera/lib/types

Good luck

@bitmerchandise
Copy link
Contributor Author

This is what worked for me though "includethermostat: true"
I only attempted to edit the files once I saw someone else was successful by doing that.
If you already did that, then check if your thermostat ID is not excluded in your config.json or check that it doesn't have a duplicate ID as a scene... That has happened to me also. For some reason, scenes sometimes can have same ID as a device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants