Good idea. I'm going to implement this. Currently finishing HS event support
Announcement
Collapse
No announcement yet.
Apple Homekit(Siri) integration with Homeseer
Collapse
X
-
Originally posted by joegrace13 View PostRunning:
npm update
Seems to have cleared this up. I'm not familiar with npm.
Delete the directory node-modules and then run npm update to rebuild the entire library from source. That cleared up all my issues.
Comment
-
Here is attached a new version 0.6 of the HomeSeer platform.
- Added run HomeSeer event support. Each HomeSeer event is imported into HomeKit as a switch.
- Added Low Battery support for all sensors
- Added Battery Device support
Sample config for new features:
PHP Code:{
"platform": "HomeSeer", // Required
"name": "HomeSeer", // Required
"host": "http://192.168.3.4:81", // Required - If you did setup HomeSeer authentication, use "http://user:password@ip_address:port"
"events":[ // Optional - List of Events - Currently they are imported into HomeKit as switches
{
"eventGroup":"My Group", // Required - The HomeSeer event group
"eventName":"My Event", // Required - The HomeSeer event name
"name":"Test" // Optional - HomeSeer event name is the default
}
],
"accessories":[ // Required - List of Accessories
{
"ref":111, // Required - HomeSeer Device Reference for your sensor
"type":"TemperatureSensor", // Required for a temperature sensor
"temperatureUnit":"F", // Optional - C is the default
"name":"Bedroom temp", // Optional - HomeSeer device name is the default
"batteryRef":112, // Optional - HomeSeer device reference for the sensor battery level
"batteryThreshold":15 // Optional - If sensor battery level is below this value, the HomeKit LowBattery characteristic is set to 1. Default is 10
},
{
"ref":115, // Required - HomeSeer Device Reference for a device holding battery level (0-100)
"type":"Battery", // Required for a Battery
"name":"Roomba battery", // Optional - HomeSeer device name is the default
"batteryThreshold":15 // Optional - If the level is below this value, the HomeKit LowBattery characteristic is set to 1. Default is 10
}
]
}
The list of supported types is the following:
PHP Code:- Lightbulb (can_dim, onValue, offValue options)
- Fan (onValue, offValue options)
- Switch (onValue, offValue options)
- Outlet (onValue, offValue options)
- Thermostat (temperatureUnit, setPoint, state, control options)
- TemperatureSensor (temperatureUnit=C|F)
- ContactSensor (0=no contact, 1=contact - batteryRef, batteryThreshold option)
- MotionSensor (0=no motion, 1=motion - batteryRef, batteryThreshold option)
- LeakSensor (0=no leak, 1=leak - batteryRef, batteryThreshold option)
- LightSensor (HomeSeer device value in Lux - batteryRef, batteryThreshold option)
- HumiditySensor (HomeSeer device value in % - batteryRef, batteryThreshold option)
- OccupancySensor (0=no occupancy, 1=occupancy - batteryRef, batteryThreshold option)
- SmokeSensor (0=no smoke, 1=smoke - batteryRef, batteryThreshold option)
- Battery (batteryThreshold option)
- Door
*EDIT* Attachement removed as it's now available from the homebridge repositoryLast edited by stipus; October 12, 2015, 06:13 PM.--
stipus
Comment
-
Can you confirm the HomeSeer platform V0.6 new features work fine on your system ?
- thermostats ?
- temperatureUnits ?
- low battery status for all sensors...
- HomeSeer event support
I need some user feedback before publishing this new code to the homebridge repository.
I would like to add lock support, but I have no lock myself. I need the HomeSeer device list for your locks, and for each device the list of HomeSeer device values... I already got one sample from madmax, but it's not enough to build lock support...
Best regards--
stipus
Comment
-
Originally posted by stipus View PostThe HomeSeer platform only reads the value.
There must be a bug somewhere in the code...
Try to redownload the latest version of HomeSeer.js from the following URL:
https://github.com/nfarina/homebridg...ms/HomeSeer.js
Comment
-
Great threat! Good to see that a homeseer plugin has reached the official Homebridge repository! A few months ago I putted together all dependancies in one package, to run it on a Windows platform. See http://board.homeseer.com/showthread.php?t=176045 for more information. That package was based on http://sourceforge.net/projects/homebridgeverawin32/. My setup is running for months now. I'm using Siri commands every day!
I will try to upgrade my Homebridge installation and create a single .zip file ready to run on every Windows pc.
Comment
-
Originally posted by tommyd75 View PostSteps,
I did update to the latest version but still not getting the value any more ideas?
The response is,,,,,,, Got characteristic "current temperature" Value: Nan
2) Can you post the result of:
PHP Code:http://your_hs_server_ip_address/JSON?request=getstatus&ref=your_temp_sensor_hs_device_ref
--
stipus
Comment
-
Originally posted by ewillems View PostGreat threat! Good to see that a homeseer plugin has reached the official Homebridge repository! A few months ago I putted together all dependancies in one package, to run it on a Windows platform. See http://board.homeseer.com/showthread.php?t=176045 for more information. That package was based on http://sourceforge.net/projects/homebridgeverawin32/. My setup is running for months now. I'm using Siri commands every day!
I will try to upgrade my Homebridge installation and create a single .zip file ready to run on every Windows pc.
Comment
-
Originally posted by ewillems View PostGreat threat! Good to see that a homeseer plugin has reached the official Homebridge repository! A few months ago I putted together all dependancies in one package, to run it on a Windows platform. See http://board.homeseer.com/showthread.php?t=176045 for more information. That package was based on http://sourceforge.net/projects/homebridgeverawin32/. My setup is running for months now. I'm using Siri commands every day!
I will try to upgrade my Homebridge installation and create a single .zip file ready to run on every Windows pc.--
stipus
Comment
-
Originally posted by stipus View Post1) Can you post a config.json extract for your Temperature Sensor.
2) Can you post the result of:
PHP Code:http://your_hs_server_ip_address/JSON?request=getstatus&ref=your_temp_sensor_hs_device_ref
Comment
-
Originally posted by tommyd75 View PostHeres what I get when I go to http://192.168.1.100/JSON?request=getstatus&ref=28
I don't think it's compatible with HomeSeer. *EDIT* I had a look at the code, and I'm 100% certain it's not compatible with HomeSeer.
You should use the HomeSeer platform for a HomeSeer temperature device
The configuration for a temperature sensor looks like this:
PHP Code:{
"platform": "HomeSeer", // Required
"name": "HomeSeer", // Required
"host": "http://192.168.3.4:81", // Required - If you did setup HomeSeer authentication, use "http://user:password@ip_address:port"
"accessories":[ // Required - List of Accessories
{
"ref":111, // Required - HomeSeer Device Reference for your sensor
"type":"TemperatureSensor", // Required for a temperature sensor
"temperatureUnit":"F", // Optional - C is the default
"name":"Bedroom temp", // Optional - HomeSeer device name is the default
"batteryRef":112, // Optional - HomeSeer device reference for the sensor battery level
"batteryThreshold":15 // Optional - If sensor battery level is below this value, the HomeKit LowBattery characteristic is set to 1. Default is 10
}
]
}
--
stipus
Comment
-
Originally posted by stipus View PostThe HttpThermometer accessory is not done by me, and is not part of the HomeSeer platform.
I don't think it's compatible with HomeSeer. *EDIT* I had a look at the code, and I'm 100% certain it's not compatible with HomeSeer.
You should use the HomeSeer platform for a HomeSeer temperature device
The configuration for a temperature sensor looks like this:
PHP Code:{
"platform": "HomeSeer", // Required
"name": "HomeSeer", // Required
"host": "http://192.168.3.4:81", // Required - If you did setup HomeSeer authentication, use "http://user:password@ip_address:port"
"accessories":[ // Required - List of Accessories
{
"ref":111, // Required - HomeSeer Device Reference for your sensor
"type":"TemperatureSensor", // Required for a temperature sensor
"temperatureUnit":"F", // Optional - C is the default
"name":"Bedroom temp", // Optional - HomeSeer device name is the default
"batteryRef":112, // Optional - HomeSeer device reference for the sensor battery level
"batteryThreshold":15 // Optional - If sensor battery level is below this value, the HomeKit LowBattery characteristic is set to 1. Default is 10
}
]
}
.getCharacteristic(Characteristic.CurrentTemperature).setPro ps(
TypeError: undefined is not a function ^
My config file looks like this.....
{
"ref":28,
"type":"TemperatureSensor",
"temperatureUnit":"F",
"name":"Bedroom temp"
},
Comment
Comment