Comments (9)
This device is a simple on/off outside light but also shows as a disable device in Eve
Yup - Domoticz is setting HaveDimmer: True for this one, so technically I shouldn’t attempt to override that - the issue should be resolved within Domoticz. I’m hazarding a guess Deejc will find similar if he queries some of his devices. That said, I too have switches and ping checkers with same issue, and I can find no way to sort it from within Domoticz.
I’m going to override it based on Switch Type On/Off for now and see if it causes any complaints elsewhere. The reason this issue has suddenly surfaced is purely because I’ve added dimmer support to start with - I was avoiding it for this very reason.
Finally this is a dimable device which shows as On/Off in Eve
Ah - Type: Lighting 5. Wasn’t aware there were that many Lighting types - I’ve only been checking against Lighting Types 1 & 2... that's Fixable!
from homebridge-edomoticz.
here are 2 devices i have showing as dimmers in homebridge but as on/off in domo… also i notice that i am not able to associate the device to a lamp/swich/fan any more in Home.app or eve.
On/Off switch
{
"ActTime" : 1454964421,
"ServerTime" : "2016-02-08 20:47:01",
"Sunrise" : "07:29",
"Sunset" : "17:00",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "On, Level: 100 %",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 7,
"HardwareName" : "RFXCom",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00F6742",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2016-02-08 17:40:51",
"Level" : 100,
"LevelInt" : 15,
"MaxDimLevel" : 15,
"Name" : "Bug String",
"Notifications" : "false",
"PlanID" : "7",
"PlanIDs" : [ 7, 11 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 4,
"Status" : "On",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Lighting 2",
"TypeImg" : "lightbulb",
"Unit" : 14,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "24",
"YOffset" : "664",
"idx" : "29"
}
],
"status" : "OK",
"title" : "Devices"
}
Switch type On/Off
{
"ActTime" : 1454964562,
"ServerTime" : "2016-02-08 20:49:22",
"Sunrise" : "07:29",
"Sunset" : "17:00",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "On",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 7,
"HardwareName" : "RFXCom",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00F6742",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2016-02-08 20:41:34",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 15,
"Name" : "Twinkle 1",
"Notifications" : "false",
"PlanID" : "5",
"PlanIDs" : [ 5, 11 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "On",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Lighting 2",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "261",
"YOffset" : "703",
"idx" : "30"
}
],
"status" : "OK",
"title" : "Devices"
}
from homebridge-edomoticz.
Hmm as previous - look at the JSON you’ve posted. Domoticz says both are dimmers - as both specify HaveDimmer: true even tho in Domoticz they show as On/Off. When it’s read from Domoticz’ JSON api, it’s clearly Domoticz saying they’re dimmers and that’s what’s throwing the plugin off. Nothing I can do about these I’m afraid!
from homebridge-edomoticz.
Yes you're right, so the issue is further 'upstream' then, if Domoticz itself is mis-identifying the device type (or at least not returning the right value in a json query) then we're stuck.
Personally for me it's not a big issue. I don't usually dim lights even when it's possible, I mostly just turn them off and on anyway. It's more of a slight annoyance than anything in else.
John
Sent from my iPad
On 8 Feb 2016, at 21:47, Marci [email protected] wrote:
Hmm as previous - look at the JSON you’ve posted. Domoticz says both are dimmers - as both specify HaveDimmer: true even tho in Domoticz they show as On/Off. When it’s read from Domoticz’ JSON api, it’s clearly Domoticz saying they’re dimmers and that’s what’s throwing the plugin off. Nothing I can do about these I’m afraid!
—
Reply to this email directly or view it on GitHub.
from homebridge-edomoticz.
Which exactly matches my finding that devices of type Lighting 2, subtype AC (which is the Homeeasy UK) protocol always seem to be seen as dimmable (I currently have six of them- all but one are really just on/off), whereas my Lighting 5 (LightwaveRFare all on/off whereas one should be dimmable.
John
Sent from my iPad
On 8 Feb 2016, at 21:35, deejc-uk [email protected] wrote:
here are 2 devices i have showing as dimmers in homebridge but as on/off in domo… also i notice that i am not able to associate the device to a lamp/swich/fan any more in Home.app or eve.
On/Off switch
{
"ActTime" : 1454964421,
"ServerTime" : "2016-02-08 20:47:01",
"Sunrise" : "07:29",
"Sunset" : "17:00",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "On, Level: 100 %",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 7,
"HardwareName" : "RFXCom",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00F6742",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2016-02-08 17:40:51",
"Level" : 100,
"LevelInt" : 15,
"MaxDimLevel" : 15,
"Name" : "Bug String",
"Notifications" : "false",
"PlanID" : "7",
"PlanIDs" : [ 7, 11 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 4,
"Status" : "On",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Lighting 2",
"TypeImg" : "lightbulb",
"Unit" : 14,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "24",
"YOffset" : "664",
"idx" : "29"
}
],
"status" : "OK",
"title" : "Devices"
}Switch type On/Off
{
"ActTime" : 1454964562,
"ServerTime" : "2016-02-08 20:49:22",
"Sunrise" : "07:29",
"Sunset" : "17:00",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "On",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 7,
"HardwareName" : "RFXCom",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00F6742",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2016-02-08 20:41:34",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 15,
"Name" : "Twinkle 1",
"Notifications" : "false",
"PlanID" : "5",
"PlanIDs" : [ 5, 11 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "On",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Lighting 2",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "261",
"YOffset" : "703",
"idx" : "30"
}
],
"status" : "OK",
"title" : "Devices"
}—
Reply to this email directly or view it on GitHub.
from homebridge-edomoticz.
Ok... i think I can deal with these by adding some special-case additions to config.json... that way users can choose for themselves some subtypes etc where dimming is completely disabled. Have family duties tomorrow eve, so will be Weds or Thursday evening at a guess!
from homebridge-edomoticz.
Should all be fixed now via v0.1.11 - a782bea
Let me know...
from homebridge-edomoticz.
Fix confirmed via Domoticz forums
from homebridge-edomoticz.
all good, thanks again
from homebridge-edomoticz.
Related Issues (20)
- How to change type Lamp/Switch to Outlet in eDomoticz so that Homekit recognices the device as an Outlet HOT 1
- Hey siri "close the blind" does open ! HOT 6
- Not working with domoticz v2023.1 HOT 1
- Domoticz 2023.1 - Problem with the plugin HOT 4
- Devices not showing in home bridge HOT 1
- Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
- API Calls to Domoticz depricated HOT 35
- Could not connect to Mqtt broker HOT 1
- Unable to connect to Domoticz 2023.2 HOT 1
- [WebServer] Deprecated RType HOT 3
- [Domoticz] missing accessories after upgrades HOT 17
- Error update 2.1.47 HOT 2
- Domoticz Motion Sensor not working in Homebridge HOT 8
- Homebridge and plugin eDomoticz working - but no accessories anymore HOT 4
- Add Setpoint root type to current heating / thermostat handler HOT 7
- Homebridge not updating status of switches HOT 11
- Impact of domoticz change on thermostats HOT 1
- Force name update HOT 2
- Devices names don't update
- Thermostat are not visible any more with Domoticz 2024.x HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-edomoticz.