diff --git a/.homeychangelog.json b/.homeychangelog.json index 690bdad..ea1d6e8 100644 --- a/.homeychangelog.json +++ b/.homeychangelog.json @@ -157,5 +157,8 @@ }, "1.0.1": { "en": "Fixed bug in exclude motion from multisensors" + }, + "1.0.2": { + "en": "Accepting broadcasts on the 255 subnet" } } diff --git a/.homeycompose/app.json b/.homeycompose/app.json index ac9fe28..ff943cb 100644 --- a/.homeycompose/app.json +++ b/.homeycompose/app.json @@ -1,6 +1,6 @@ { "id": "com.github.alydersen.hdl-smartbus-homey", - "version": "1.0.1", + "version": "1.0.2", "compatibility": ">=5.0.0", "sdk": 3, "name": { diff --git a/DEVICES_DIMMERS.md b/DEVICES_DIMMERS.md index 2d27502..e7beb14 100644 --- a/DEVICES_DIMMERS.md +++ b/DEVICES_DIMMERS.md @@ -1,7 +1,7 @@ [Back to the main page](index.md) # Dimmers -A dimmer controller have one or more dimmers as channels. Different HDL Models have different number of channels, and you see this in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.1/hdl/hdl_devicelist.js) under each type as "channels". You always add each separate channel as a Homey device, and they will as such be shown indivdually in the process of adding them. +A dimmer controller have one or more dimmers as channels. Different HDL Models have different number of channels, and you see this in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.2/hdl/hdl_devicelist.js) under each type as "channels". You always add each separate channel as a Homey device, and they will as such be shown indivdually in the process of adding them. Dimmers are a built-in capability in Homey, and as such have very good Homey support. diff --git a/DEVICES_MULTISENSORS.md b/DEVICES_MULTISENSORS.md index 43a512e..f5083d3 100644 --- a/DEVICES_MULTISENSORS.md +++ b/DEVICES_MULTISENSORS.md @@ -4,7 +4,7 @@ HDL have a wide range of different units with several different sensors in them. Rather then adding individual drivers for them in Homey, they are added as a multisensor. ## Capabilities -As you can see in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.1/hdl/hdl_devicelist.js), multisensors have a main capability, most often "alarm_motion". When you add a new multisensor, only this main capability are added, and others are added when signals containing their state is received. The potential capabilites are: +As you can see in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.2/hdl/hdl_devicelist.js), multisensors have a main capability, most often "alarm_motion". When you add a new multisensor, only this main capability are added, and others are added when signals containing their state is received. The potential capabilites are: - alarm_motion - dry_contact_1 - dry_contact_2 @@ -17,7 +17,7 @@ As you can see in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus- Keep in mind that since homey needs to have received a signal containing the capability's state before the capability is added, several minutes can go by before you have a device with all it's capabilites in Homey. ### Exclusions -Sometimes the signal from a device will contain state for a capability that is not supported for it. [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.1/hdl/hdl_devicelist.js) contains a "exclude" option for these per device type, so that it will be disregarded. If you want more added here - follow the [Contribution guidelines](CONTRIBUTING.md) +Sometimes the signal from a device will contain state for a capability that is not supported for it. [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.2/hdl/hdl_devicelist.js) contains a "exclude" option for these per device type, so that it will be disregarded. If you want more added here - follow the [Contribution guidelines](CONTRIBUTING.md) ## Making motion stable The different multisensor types handles motion a bit different, making trusting the signal received a bit difficult. If you want this to be stable, configure your sensor to send an Universal Switch (UVS) with the value set to "ON" to the device ID of your Homey app. The UVS number that the app will expect is 212, but you can change this in the settings. The ID of your Homey App is configured in your settings. You should also add a similar action for "OFF" sent to the same ID. diff --git a/DEVICES_RELAYS.md b/DEVICES_RELAYS.md index c912a54..ef55005 100644 --- a/DEVICES_RELAYS.md +++ b/DEVICES_RELAYS.md @@ -1,6 +1,6 @@ [Back to the main page](index.md) # Relays -A relay controller have one or more on/off capable channels. Different HDL Models have different number of channels, and you see this in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.1/hdl/hdl_devicelist.js) under each type as "channels". You always add each separate channel as a Homey device, and they will as such be shown indivdually in the process of adding them. +A relay controller have one or more on/off capable channels. Different HDL Models have different number of channels, and you see this in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.2/hdl/hdl_devicelist.js) under each type as "channels". You always add each separate channel as a Homey device, and they will as such be shown indivdually in the process of adding them. ON/OFF switches are a built-in capability in Homey, and as such have very good Homey support. diff --git a/DEVICES_TEMPSENSORS.md b/DEVICES_TEMPSENSORS.md index 68cec7a..c02f710 100644 --- a/DEVICES_TEMPSENSORS.md +++ b/DEVICES_TEMPSENSORS.md @@ -1,6 +1,6 @@ [Back to the main page](index.md) # Temperature Sensors -A temperature sensor controller have one or more temperature sensors as channels. Different HDL Models have different number of channels, and you see this in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.1/hdl/hdl_devicelist.js) under each type as "channels". You always add each separate channel as a Homey device, and they will as such be shown indivdually in the process of adding them. +A temperature sensor controller have one or more temperature sensors as channels. Different HDL Models have different number of channels, and you see this in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.2/hdl/hdl_devicelist.js) under each type as "channels". You always add each separate channel as a Homey device, and they will as such be shown indivdually in the process of adding them. Temperature sensors are a built-in capability in Homey, and as such have very good Homey support. diff --git a/app.json b/app.json index f937b7f..5da069b 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "_comment": "This file is generated. Please edit .homeycompose/app.json instead.", "id": "com.github.alydersen.hdl-smartbus-homey", - "version": "1.0.1", + "version": "1.0.2", "compatibility": ">=5.0.0", "sdk": 3, "name": { diff --git a/index.md b/index.md index b4cdc89..43c2554 100644 --- a/index.md +++ b/index.md @@ -17,7 +17,7 @@ You can find trubleshooting tips in the connection howto link above. If you are a developer and want to add a new driver for the app, read the [Contribution guidelines](CONTRIBUTING.md). ### How devices are recognized -The App will listen to signals on the bus. For each signal, it will look into the sender type id and check that against a list of supported devices. A list of devices known by the documentation can be found [this Excel file](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.1/assets/defDeviceType.xlsx) (the type IDs from column A). TheID is then used in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.1/hdl/hdl_devicelist.js) to connect it to a specific driver. Sometimes more device types can simply be added to hdl_devicelist.js to be known. If you suspect this to be the case, raise an [Issue in Github](CONTRIBUTING.md). Universal Switches are different, so read up on them below. +The App will listen to signals on the bus. For each signal, it will look into the sender type id and check that against a list of supported devices. A list of devices known by the documentation can be found [this Excel file](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.2/assets/defDeviceType.xlsx) (the type IDs from column A). TheID is then used in [hdl_devicelist.js](https://github.com/alydersen/hdl-smartbus-homey/blob/v1.0.2/hdl/hdl_devicelist.js) to connect it to a specific driver. Sometimes more device types can simply be added to hdl_devicelist.js to be known. If you suspect this to be the case, raise an [Issue in Github](CONTRIBUTING.md). Universal Switches are different, so read up on them below. ### How the device state is set Devices broadcasts their state on the bus and the Homey App reads them and updates the state on your Homey device if it is added. Sometimes, state is not published as it is happening (for various reasons). The app will reach out to every device every minute with a signal on the bus to make it publish its state. This means that sometimes, you'll have to wait a minute before you have an updated state. diff --git a/package-lock.json b/package-lock.json index 5d9531b..9de8090 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "com.github.alydersen.homey-smartbus", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "com.github.alydersen.homey-smartbus", - "version": "1.0.1", + "version": "1.0.2", "dependencies": { "smart-bus": "^0.6.0" }, diff --git a/package.json b/package.json index 9ba828a..f42ef6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.github.alydersen.homey-smartbus", - "version": "1.0.1", + "version": "1.0.2", "main": "app.js", "devDependencies": { "@types/homey": "npm:homey-apps-sdk-v3-types@^0.3.1"