Comments (10)
Might have chance to look into this tomorrow... Stay tuned...!
from homebridge-edomoticz.
I also configured as a switch dummy shutter (switchtype 3) I also appears on Eve as a normal shutter switch instead.
{
"ActTime" : 1463310954,
"ServerTime" : "2016-05-15 13:15:54",
"Sunrise" : "06:34",
"Sunset" : "21:02",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Open",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 9,
"HardwareName" : "Persiana terraza",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "000140E3",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2016-05-15 09:52:38",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Persiana terraza",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Open",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "Blinds",
"SwitchTypeVal" : 3,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "blinds",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "148"
}
],
"status" : "OK",
"title" : "Devices"
}
from homebridge-edomoticz.
Replace the current index.js file for the plugin with the one from this repo... that should enable SwitchTypeVal 3 blinds - let me know if they operate as expected.
Should be a case of (assuming edomoticz is at /usr/local/lib/node_modules/homebridge-edomoticz):
cd /usr/local/lib/node_modules/homebridge-edomoticz
sudo wget https://raw.githubusercontent.com/PatchworkBoy/homebridge-eDomoticz/master/index.js
from homebridge-edomoticz.
Ready. Same result, the modules of the blind remain as "Light / switch".
from homebridge-edomoticz.
Hello again. after restarting and check I saw that the file had been saved as index.js.1 I deleted the index.js and I've replaced by raw, and got the following error:
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[6/20/2016, 7:33:06 PM] ====================
[6/20/2016, 7:33:06 PM] ERROR LOADING PLUGIN homebridge-edomoticz:
[6/20/2016, 7:33:06 PM] SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:413:25)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:65:22)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:112:14)
at Array.forEach (native)
[6/20/2016, 7:33:06 PM] ====================
[6/20/2016, 7:33:06 PM] No plugins found. See the README for information on installing plugins.
[6/20/2016, 7:33:06 PM] Loaded config.json with 0 accessories and 1 platforms.
[6/20/2016, 7:33:06 PM] ---
[6/20/2016, 7:33:06 PM] Loading 1 platforms...
/usr/local/lib/node_modules/homebridge/lib/api.js:106
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'eDomoticz' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:106:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:263:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:71:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:475:10)
from homebridge-edomoticz.
Sorry... wget the file again - have just fixed some ridiculously basic coding errors on my behalf!
from homebridge-edomoticz.
Well, there is progress. Fibaro controlled blinds still identified as lights, but a virtual blind previously appeared as light now appears as blind!
from homebridge-edomoticz.
OK - wget again - have just enabled SWTypeVal 13 which should sort the Fibaro ones - let me know what functionality does / doesn’t work as nothing to test with here so I’ve guessed a bit...!
NB: They may operate in reverse, or they may not, or they simply may not operate at all!
from homebridge-edomoticz.
Wow. Just, WOW. It works perfectly. Thanks a lot, for a few days proves that such Siri behaves and will communicate any incident.
from homebridge-edomoticz.
If you wget the file one last time, any Total Consumption or Current Consumption Electric meters should now comply to the Elgato Eve sensortypes so that they are id’d correctly within Eve, along with support for Location sensors and Occupancy sensors. See: 69ff8eb
from homebridge-edomoticz.
Related Issues (20)
- 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
- Support for Domoticz V2023.2 and newer HOT 2
- Domoticz devices not showing in Homebridge/Homekit HOT 9
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.