| Upgrade GitHub Actions checkout version and token usage | 4 个月前 |
| Update CJ JSON parser to upstream version v0.9.1 (#8542) Contains bug fixes and hardening against invalid input. | 6 个月前 |
| Refactor OpenSSL resolving (#7802) Use deCONZ library functions instead of Qt + platform defines. | 2 年前 |
| DEV: Refactor read, parse parameters Query from DDF items instead storing copies in each ResourceItem. The query is based on handles to speed up lookup performance O(1) | 5 年前 |
| Handle ZCL attribute octed strings (0x41) in Javascript (#8420) These are used by Ikea devices for attr/productid. Also depends on another commit in core to yield correct strings. | 9 个月前 |
| Update light_zb3_C_festavia.json, copy/pasta LCX016 support (#8635) Attempt at adding in LCX016 support, dunno if it's this simple. | 1 个月前 |
| Add documentation screenshots | 4 年前 |
| Update deCONZ-wait-for-X.sh (#6852) See #2482. | 3 年前 |
| Split cmake project across sub dirs; add tests (wip) | 5 年前 |
| Fix CMake FetchContent_Populate() deprecated warnings (#8186) FetchContent_Populate() with single argument is deprecated. | 1 年前 |
| Cleanup ResourceItems Proper split into `attr`, `capabilities`, `config`, and `state` resource items. | 3 年前 |
| Fix printf warnings (#8583) | 5 个月前 |
| BufString use U_ASSERT() instead of assert() (#7809) No functional change, difference is that U_ASSERT halts right in the debugger. | 2 年前 |
| Include <QIODevice> header for Qt6 compatibility (#8290) | 1 年前 |
| Fix state/reachable and config/reachable not stored in database (#8297) After deCONZ startup it takes a while until the actual state is propagated. The PR helps to restore the state quicker. | 1 年前 |
| XL Refactor `lightToMap()` and `sensorToMap()` (#7979) | 1 年前 |
| Update BUILDING.md (#8545) * Update BUILDING.md | 6 个月前 |
| Bump version to v2.33.2 | 2 个月前 |
| Add initial contribution guidelines (PR titles) (#6887) A few thoughts on how to streamline PR titles and use tags. | 3 年前 |
| Fix license file to BSD Clause-3 license Content was wrongly holding MIT license instead of the referenced BSD Clause-3 license. | 8 年前 |
| Change Discord server link in README Updated the link to the deCONZ Discord server for community support. | 1 个月前 |
| Fix air quality printf format warning (#7212) Also don't need to include de_web_plugin.h header. | 2 年前 |
| New DDF function, fixes and optimizations | 4 年前 |
| Alarm systems return error if code0 can't be set This can happen when no usable OpenSSL library is found. | 4 年前 |
| Add alarm systems Websocket events and missing REST methods | 5 年前 |
| Initial commit of alarm systems and refactored IAS ACE support (wip) | 5 年前 |
| Initial commit of alarm systems and refactored IAS ACE support (wip) | 5 年前 |
| Add alarm systems Websocket events and missing REST methods | 5 年前 |
| Add alarm systems Websocket events and missing REST methods | 5 年前 |
| Fix forward declarations and includes for upcoming deconz-lib changes | 3 年前 |
| Include <QIODevice> header for Qt6 compatibility (#8290) | 1 年前 |
| Fix handling of ZCL Default Response This PR adds automatic handling of ZCL Default Response to also catch cases where we currently miss sending the response. The magic happens by observing outgoing APS requests if they contain a specific ZCL response and automatically send the ZCL Default Response at the end of the APS indication processing. For this C++ RAII is used with an extra ZclDefaultResponder object which sends the response in its destructor. All manual sending of ZCL Default Responses was removed. | 5 年前 |
| Fix crash, remove TCP socket tracking (#8618) For some user the crash occurred while tracking timeouts on TCP connections within the plugin. This is duplicated functionality as the tracking is already handled in the main application. The crash is likely due invalid dangling pointers. This PR removes the code. The main plugin has a timeout on TCP connections of 10 seconds (except for Websockets). | 3 个月前 |
| Enable tar backup creation on macOS | 2 年前 |
| Move backup functions into own file, include frame counter in backup This moves over 600 lines from de_web_plugin.cpp into backup.cpp. The frame counter is needed when cloning or moving from one hardware to another. | 5 年前 |
| Fix TRADFRI remote control arrow buttons hold/long release events When pressing the middle button for more than 5 seconds the remote reads the Application Version attribute. If the coordinator doesn't respond with value 17 as indicated in earlier remote firmware versions, the arrow buttons don't send hold/long release commands anymore. | 5 年前 |
| Update Eurotronic Spirit reporting and remove legacy code (#8464) | 7 个月前 |
| Bindings maintenance (1) | 5 年前 |
| Add macOS build script (Intel / x86_64) (#7126) The script compiles the plugin with CMake and adjusts the framework loading paths. | 3 年前 |
| Refactor button maps (part 1) (#8149) No functionality change, only flatten data structures and remove Qt. All strings turned into atoms. Processing is slightly faster and uses less memory. | 1 年前 |
| Refactor button maps (part 1) (#8149) No functionality change, only flatten data structures and remove Qt. All strings turned into atoms. Processing is slightly faster and uses less memory. | 1 年前 |
| IKEA BILRESA remote with scrollwheel (E2490) (#8614) * Update button_maps.json IKEA BILRESA remote with scrollwheel, see #8606. * Create 0008_00_rotaryevent.js IKEA BILRESA remote with scrollwheel, see #8606. * Create bilresa_remote_with_scrollwheel.json IKEA BILRESA remote with scrollwheel, see #8606. * Update bilresa_remote_with_scrollwheel.json | 3 个月前 |
| DDF for Sonoff SNZB‑01M (#8493) | 7 个月前 |
| Fix printf format warnings (#8147) In ias_zone.cpp was also a missing argument for cie address. | 1 年前 |
| Update device code lines counting | 4 年前 |
| Fix various app crashed related to resource system | 9 年前 |
| Added Rgb2xy function to colorspace class | 9 年前 |
| Update Eurotronic Spirit reporting and remove legacy code (#8464) | 7 个月前 |
| Make Device creation time available (#8214) The database already contains the timestamp when a device was created for DDF and legacy devices. This PR loads the timestamp from the database when the Device instance is created. Will be used in a further PR. | 1 年前 |
| Refactor daylight control (1) | 6 年前 |
| Refactor daylight control (1) | 6 年前 |
| Fix RAttrOtaVersion item null pointer check (#7883) The bug/crash not actually happened because all devices have this item (for now), but tidy up anyway to make static analyzer happy. | 2 年前 |
| Fix crash, remove TCP socket tracking (#8618) For some user the crash occurred while tracking timeouts on TCP connections within the plugin. This is duplicated functionality as the tracking is already handled in the main application. The crash is likely due invalid dangling pointers. This PR removes the code. The main plugin has a timeout on TCP connections of 10 seconds (except for Websockets). | 3 个月前 |
| Fix forward declarations and includes for upcoming deconz-lib changes | 3 年前 |
| Fix crash, remove TCP socket tracking (#8618) For some user the crash occurred while tracking timeouts on TCP connections within the plugin. This is duplicated functionality as the tracking is already handled in the main application. The crash is likely due invalid dangling pointers. This PR removes the code. The main plugin has a timeout on TCP connections of 10 seconds (except for Websockets). | 3 个月前 |
| Cleanup debug prints and remove addr.toStringExt() usage (#7140) The PR removes various legacy log outputs which I think aren't relevant anymore and superseeded by DDFs. Further `QString deCONZ::Address::toStringExt()` is deprecated in first steps to create a QString alternative. Since its a heavy method also which allocates memory on each call, change debug printing to plain numeric printf. It isn't pretty but will do for now. There will be a better method to print MAC addresses soon. | 3 年前 |
| Read binding table keyboard shortcut Ctrl+B Note prior to version 2.05.81 the dialog needs to have active focus to trigger the action. | 5 年前 |
| Plugin dialog: WebApp --> Phoscon App | 5 年前 |
| Echo requires Philips manufacturer in description.xml | 7 年前 |
| Fix state/reachable and config/reachable not stored in database (#8297) After deCONZ startup it takes a while until the actual state is propagated. The PR helps to restore the state quicker. | 1 年前 |
| Make Device creation time available (#8214) The database already contains the timestamp when a device was created for DDF and legacy devices. This PR loads the timestamp from the database when the Device instance is created. Will be used in a further PR. | 1 年前 |
| Include <QIODevice> header for Qt6 compatibility (#8290) | 1 年前 |
| Improve scheduling of APS requests (#6514) Track running unicast APS requests of the plugin and core. In Device poll handling and StateChange processing check that the queue isn't too busy before adding new APS requests. This fixes too many StateChanges to be fired in parallel as seen for Philips Hue sensors and switches (and likely others). | 3 年前 |
| Fix heavy bogus database writes (#7281) Currently there are some database writes after startup and closing deCONZ which are very heavy and just write already present entries. The change prevents these writes. Also fixes trying to change a valid sensor uniqueid to one with invalid endpoint 0xFF. | 2 年前 |
| DDF prevent creating ZHASwitch sensors then uniqueid differs in legacy DB For single sub-device switches use just the existing uniqueid. The one in DDF can differ from what the legacy code had once created. | 4 年前 |
| Support for DDF bundles (#7750) | 2 年前 |
| Support for DDF bundles (#7750) | 2 年前 |
| Fix missing default/init values for DDF items (#8198) * Fix missing default/init values for DDF items Without these the REST-API would return `null` for items that don't have a value yet. For strings that's ok but numbers and bool values may cause trouble for API clients. https://forum.phoscon.de/t/decon-v2-29-5-hue-essential-regression/6312/6 * In case a default value is applied age the timestamp Subtract 24 hours so the items which have "read" get refreshed asap. | 1 年前 |
| Enhance DDF capabilities; build them on the fly | 4 年前 |
| Fix hot reload and events not emitted after joining a device (#8178) Every item has a load counter, when get item is called it must be checked against the handle, not the global counter. | 1 年前 |
| Fix creation of invalid Bindings (#8288) Seen on macOS somehow clang did not init all fields of the binding to zero when creation an object via `DDF_Binding result = {}`. The u64 dstExtAddress wasn't initialized only the u16 dstGroup in the union. The ext address was some random stuff from memory. The fix ensures all fields and dstExtAdress are zero. And the unicast dst address is filled with the actual coordinator mac address. | 1 年前 |
| Refactor poll scheduler legacy code vs. Device code (#8074) Basically we have two sub systems fighting each other. Which often works but puts stress on the queues. This PR puts the DeviceTick scheduler in charge to also drive the legacy PollManager so that they don't block each other randomly. Further the legacy delayedFastEnddeviceProbe() function for joining sensors is simplified to not do ZDP querying of Active Endpoints, Node and Simple Descriptors, manufacturer name and modelid. This is already done by Device code. One drawback of this PR is that polling lights after group commands is more delayed for now, this will be speed up later on again. For lights which support reporting this isn't a problem. | 1 年前 |
| DeviceTick: New class to orcestrate device polling | 5 年前 |
| Use PL_<OS> defines for platform detection (#8582) Also fixes Q_OS_OSX deprecated in Qt6 on mac. | 5 个月前 |
| Removal of legacy code for various devices (#7822) * Remove legacy code for Wiser iTRV thermostat * Remove legacy code for Ikea Styrbar * Remove legacy code for Ikea Kadrilj blind * Remove legacy code for Sinope TH1123ZB/TH1124ZB thermostats | 2 年前 |
| Merge pull request #6279 from manup/dev_improve_poll DEV improve robustness of ZCL attribute polling | 3 年前 |
| Merge pull request #6279 from manup/dev_improve_poll DEV improve robustness of ZCL attribute polling | 3 年前 |
| Fix event emitter invalid memory references (#6331) While an event is processed new events can be added to the queue. If this happens and the `m_queue` capacity is reached the container is resized and references point to an invalid memory address. The PR makes a local copy of the event so that event handlers are always have a valid reference during execution. | 3 年前 |
| Fix Device code async state enter This was a tricky one. A state handler function must not process any events before the `state.enter` event arrives. Since this event is delivered async, to not blow up the stack if another state is entered from this event, we could get into troubles and invalid state if other events arrive before the enter event was handled. - The PR processes all state.enter events (marked as urgent) before any other events. - Removed the dead code for start/stop timer events. - The event queue drops duplicated events now, so we don't have multiple awake events and similar floating around. - Speedup of processing events directly after an APS request is processed. No need to wait for the idle timer. | 3 年前 |
| Add actor model to query device resources and resource items as VFS (#8274) Expose devices on actor VFS. | 1 年前 |
| DDF for OWON AC201 thermostat (#7133) | 3 年前 |
| Implement PR comments | 5 年前 |
| Use PL_<OS> defines for platform detection (#8582) Also fixes Q_OS_OSX deprecated in Qt6 on mac. | 5 个月前 |
| Replace use of deCONZ::jsonStringFromMap() by Json::serialize() (#7675) deCONZ::jsonStringFromMap() is a old function in deCONZ library and about to be removed. | 2 年前 |
| Cascade On/Off for IKEA Trådfri remote Send set remote group `action.on` to true (false) when local group `state.all_on` is false (true). | 8 年前 |
| Fix build on Qt 5.3 (Raspbian Jessie) by using QString::arg() instead asprintf Since Qt 5.11 QString::sprintf is deprecated but QString::asprintf() isn't supported on Qt 5.4. Therefore the ::arg version seems to be best supported on all Qt versions. Thought it's a bit verbose. | 6 年前 |
| Refactor gateway scanner, use UPnP and /api/config results | 8 年前 |
| Fix typo in general.xml file (#8639) | 1 个月前 |
| Include <QIODevice> header for Qt6 compatibility (#8290) | 1 年前 |
| Fix keeping ZGP Proxy entries alive Issue: https://github.com/dresden-elektronik/deconz-rest-plugin/issues/436 After pairing a ZGP device, proxy entries need to be refreshed periodically. The PR adds periodic sending of the Pair command for each device (every 15 minutes, like the Hue bridge does). For ZGP devices the following extra attributes are persistently stored in the database: * Frame counter * GPD device id, aka the ZGP device type * GPDKey An extra ResourceItem RStateGPDLastPair keeps track of the timestamp from the last Pair command sending with a monotonic timer value. **Important:** For already paired ZGP switches, it's required to receive the Commissioning command once in order to get this working. This can be done by simply pressing the respective channel button of the device for 10 seconds. The switch does **not** need to be paired again. The respective channel button can be found at: https://phoscon.de/en/support#pairing-friends-of-hue-switch | 5 年前 |
| Fix skip empty parts deprecated warning (#6836) | 3 年前 |
| Remove dependency on plugin 1/2 For `Sensor`, `LightNode`, and `Group`. | 5 年前 |
| Improve scene handling, use unicast add scene commands instead of store scene (wip) This allows more reliable storing of scenes based on the actual light settings. | 9 年前 |
| Improve scene handling, use unicast add scene commands instead of store scene (wip) This allows more reliable storing of scenes based on the actual light settings. | 9 年前 |
| Initial commit of all V2_03 files This is a quite large commit which completes the transition of maintaining the plugin from SVN to GIT in order to provide updates on every public release of deCONZ. | 10 年前 |
| Even more additional special effects for Hue lights (#7956) | 1 年前 |
| Fix printf warnings (#8583) | 5 个月前 |
| Enable alarm systems in rules | 4 年前 |
| Fix printf format warnings (#8147) In ias_zone.cpp was also a missing argument for cie address. | 1 年前 |
| New DDF function, fixes and optimizations | 4 年前 |
| Fix Ikea switches for new and old firmware The new Ikea firmware broke group cast support. This PR sends an Identify Query Response during joining to the switch. With that the switch automatically sends commands as unicast to the coordinator, which it didn't before. No extra unicast bindings are created, and group bindings are still supported for older firmware. To prevent duplicated button events, the ZCL sequence number check is enabled for Ikea switches. Testet with: - On/off switch - 5 button remote control - Styrbar remote control - Shortcut button | 4 年前 |
| Update json.loads line for python 3.5 Running the script inside a docker container with python 3.5 throws an "TypeError: the JSON object must be str, not 'bytes'". Fixed it by decoding downloaded json to utf-8 | 6 年前 |
| Fix strings without data being null, return empty string instead (#8223) This fixes the remaining cases where strings could be `null` in my setup only `swversion` and `productid` where affected, since the others are handled by previous PRs. | 1 年前 |
| Add CJ JSON parser (#7722) CJ is a very fast low level zero allocation JSON parser. Used instead of Qt and ArduinoJson parsers for new code to parse DDFs and bundles. Currently there is no C++ interface, the C API is a bit clunky but that way it is as fast as it can get with non SIMD parsers. A later C++ wrapper will be made compatible with the Qt parser since that is used mostly in REST-API code. | 2 年前 |
| Fix don't expose Configuration tool (coordinator) lastannounced (#8220) The item doesn't make sense for coordinator. Also update the NWK address for legacy devices (incl. coordinator) if needed. | 1 年前 |
| Merge branch 'master' Conflicts: database.cpp database.h de_web.pro de_web_plugin.cpp de_web_plugin_private.h event.cpp event.h event_queue.cpp light_node.cpp light_node.h resource.cpp resource.h | 4 年前 |
| Remove FLS-NB, ubisys C++ code and rule "BIND" support (#7143) | 3 年前 |
| Refactor poll scheduler legacy code vs. Device code (#8074) Basically we have two sub systems fighting each other. Which often works but puts stress on the queues. This PR puts the DeviceTick scheduler in charge to also drive the legacy PollManager so that they don't block each other randomly. Further the legacy delayedFastEnddeviceProbe() function for joining sensors is simplified to not do ZDP querying of Active Endpoints, Node and Simple Descriptors, manufacturer name and modelid. This is already done by Device code. One drawback of this PR is that polling lights after group commands is more delayed for now, this will be speed up later on again. For lights which support reporting this isn't a problem. | 1 年前 |
| Guard against api change VFS_MAX_URL_LENGTH | 9 个月前 |
| DDF Poll Control cluster use config/checkin; set long poll interval task | 4 年前 |
| Poll control fix compilation on Windows | 5 年前 |
| Refactor poll scheduler legacy code vs. Device code (#8074) Basically we have two sub systems fighting each other. Which often works but puts stress on the queues. This PR puts the DeviceTick scheduler in charge to also drive the legacy PollManager so that they don't block each other randomly. Further the legacy delayedFastEnddeviceProbe() function for joining sensors is simplified to not do ZDP querying of Active Endpoints, Node and Simple Descriptors, manufacturer name and modelid. This is already done by Device code. One drawback of this PR is that polling lights after group commands is more delayed for now, this will be speed up later on again. For lights which support reporting this isn't a problem. | 1 年前 |
| Fix poll timer non-stop idle loop, and gettings stuck Issue https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1190 | 7 年前 |
| Removal of legacy code for various devices (#7822) * Remove legacy code for Wiser iTRV thermostat * Remove legacy code for Ikea Styrbar * Remove legacy code for Ikea Kadrilj blind * Remove legacy code for Sinope TH1123ZB/TH1124ZB thermostats | 2 年前 |
| Deprecate product_match.cpp (#8264) | 1 年前 |
| Refactor button maps (part 1) (#8149) No functionality change, only flatten data structures and remove Qt. All strings turned into atoms. Processing is slightly faster and uses less memory. | 1 年前 |
| Fix warning in readButtonMapsJson() (#8617) Was not a actual problem since the file always existed but should be checked anyway. | 3 个月前 |
| Refactor button maps (part 1) (#8149) No functionality change, only flatten data structures and remove Qt. All strings turned into atoms. Processing is slightly faster and uses less memory. | 1 年前 |
| Cleanup debug prints and remove addr.toStringExt() usage (#7140) The PR removes various legacy log outputs which I think aren't relevant anymore and superseeded by DDFs. Further `QString deCONZ::Address::toStringExt()` is deprecated in first steps to create a QString alternative. Since its a heavy method also which allocates memory on each call, change debug printing to plain numeric printf. It isn't pretty but will do for now. There will be a better method to print MAC addresses soon. | 3 年前 |
| DDF for Aqara FP300 Presence Multi Sensor (#8425) * Add DDF for Aqara FP300 Presence Multi Sensor * Add detection range and distance * Add restart_device and spartial_learning * Indentation * Add adaptive sensitivity and interference identification * Add wake states and change presence attribute * Correct device mode * Remove items not exposed by native GW, add resource item code and various small changes * Add LED indication * Correct swversion and refactor quite some processing logic * Fix Bundle validation error Good catch * Follow PR comments and add device attributes | 8 个月前 |
| DDF for Aqara FP300 Presence Multi Sensor (#8425) * Add DDF for Aqara FP300 Presence Multi Sensor * Add detection range and distance * Add restart_device and spartial_learning * Indentation * Add adaptive sensitivity and interference identification * Add wake states and change presence attribute * Correct device mode * Remove items not exposed by native GW, add resource item code and various small changes * Add LED indication * Correct swversion and refactor quite some processing logic * Fix Bundle validation error Good catch * Follow PR comments and add device attributes | 8 个月前 |
| Add /resourcelinks REST API | 9 年前 |
| Add /resourcelinks REST API | 9 年前 |
| Fix alarm system GET response to include armmask without 'A' The device armmask in the PUT request is correctly stored and used correctly. However, the REST-API GET always returned "none" if no 'A' is part of the armmask. | 4 年前 |
| Return alarm systems in get full config response | 4 年前 |
| Improve support for GET file HTTP response (#7725) Used in upcoming DDF bundle code. Further the `ApiResponse::hdrFields` were removed since never used. | 2 年前 |
| REST API improve DDF upload error reporting (#7791) Most errors in the returned JSON array were empty. The response now tells if there was invalid DDF bundle data or an internal error. | 2 年前 |
| Fix build of capabilities code on newer Qt versions | 7 年前 |
| Disable legacy /gateways endpoint (#8432) This is an old unofficial and undocumented API. It was used in a customer project to cascade multiple gateways to forward group commands between them. However this hasn't been used or maintained in years and the networking code shows errors. Therefore disaple it by default for now (compile time option). | 8 个月前 |
| Fix QVariant can't be assigned to const char* in Qt6 (#8294) | 1 年前 |
| Support for DDF bundles (#7750) | 2 年前 |
| Don't add "path" key when saving a DDF from the UI editor (#8419) The path in a DDF isn't needed and will be removed by further PRs anyway. | 9 个月前 |
| Support for DDF bundles (#7750) | 2 年前 |
| Remove old DE specific OTA code This was used back in the day in some dresden elektronik networks. | 4 年前 |
| Fix QTextCodec missing in Qt6 (#8291) | 1 年前 |
| Implement the rest of the capabilities api | 7 年前 |
| Fix QTextCodec missing in Qt6 (#8291) | 1 年前 |
| Update QList iterators and prevent copy of Simple Descriptor In v2.12.0 various uses of QList in the deCONZ library will be replaced with std::vector. QList is way slower than std::vector and more badly has the habbit of detaching an allocating extra memory when iterated over a non const container. The removed copying of the Simple Descriptor has an even bigger impact since this was done very frequently and caused needless copies of all clusters and attributes going into the millions after just 10 minutes. With this PR only a const reference into the object in core is used. | 5 年前 |
| Update QList iterators and prevent copy of Simple Descriptor In v2.12.0 various uses of QList in the deCONZ library will be replaced with std::vector. QList is way slower than std::vector and more badly has the habbit of detaching an allocating extra memory when iterated over a non const container. The removed copying of the Simple Descriptor has an even bigger impact since this was done very frequently and caused needless copies of all clusters and attributes going into the millions after just 10 minutes. With this PR only a const reference into the object in core is used. | 5 年前 |
| Fix QTextCodec missing in Qt6 (#8291) | 1 年前 |
| Support build with Qt6 (alpha) (#8295) Still dozens of QVariant deprecated type checks warning, but so far it works. | 1 年前 |
| Extend strict api mode to: normal, strict, amazon echo, philips hue app Whitelist supported sensors for the Hue app (some such as ZHAAlarm crash the app) Only rooms can have classes (LightGroups with a class breaks Hue app) Some consistency changes and warning fixes Update Hue version and add software date Mimic hue dimmer switches for some compatible other switches | 7 年前 |
| Replace use of deCONZ::jsonStringFromMap() by Json::serialize() (#7675) deCONZ::jsonStringFromMap() is a old function in deCONZ library and about to be removed. | 2 年前 |
| DDF for Aqara FP300 Presence Multi Sensor (#8425) * Add DDF for Aqara FP300 Presence Multi Sensor * Add detection range and distance * Add restart_device and spartial_learning * Indentation * Add adaptive sensitivity and interference identification * Add wake states and change presence attribute * Correct device mode * Remove items not exposed by native GW, add resource item code and various small changes * Add LED indication * Correct swversion and refactor quite some processing logic * Fix Bundle validation error Good catch * Follow PR comments and add device attributes | 8 个月前 |
| Cleanup debug prints and remove addr.toStringExt() usage (#7140) The PR removes various legacy log outputs which I think aren't relevant anymore and superseeded by DDFs. Further `QString deCONZ::Address::toStringExt()` is deprecated in first steps to create a QString alternative. Since its a heavy method also which allocates memory on each call, change debug printing to plain numeric printf. It isn't pretty but will do for now. There will be a better method to print MAC addresses soon. | 3 年前 |
| Refactor api handling: - move checkApiAuth check to top so it isn't missed and duplicated everywhere (e.g. schedules) - remove occasional redundant 3rd level path checks - prepare for hue-api scenes, info, and capabilities nodes | 7 年前 |
| Support build with Qt6 (alpha) (#8295) Still dozens of QVariant deprecated type checks warning, but so far it works. | 1 年前 |
| Improve rules database handling (#7672) - Only store than needed and on application exit. - Fix store/reload timestriggered and lasttriggered. | 2 年前 |
| Fix in the store scene API (2) Refactor light state updates. | 8 年前 |
| fix QTime::elapsed deprecated warning, use QElapsedTimer | 6 年前 |
| XL Refactor `lightToMap()` and `sensorToMap()` (#7979) | 1 年前 |
| Make sensors attr/mode a ResourceItem (#7462) It's a legacy thing for switches which was hard wired to Sensor class. Having it as ResourceItem exposes it to DDF to convert legacy switches without breaking changes. | 2 年前 |
| Move REST API common code to rest_api.cpp/h (#7674) | 2 年前 |
| Fix removal of still required simple metering attribute (#6890) | 3 年前 |
| Include <QIODevice> header for Qt6 compatibility (#8290) | 1 年前 |
| Improve scheduling of APS requests (#6514) Track running unicast APS requests of the plugin and core. In Device poll handling and StateChange processing check that the queue isn't too busy before adding new APS requests. This fixes too many StateChanges to be fired in parallel as seen for Philips Hue sensors and switches (and likely others). | 3 年前 |
| Remove Eurotronic Spirit legacy code (#8377) | 10 个月前 |
| Remove deprecated Danfoss code (#7472) | 2 年前 |
| Remove deprecated Danfoss code (#7472) | 2 年前 |
| Remove deprecated Danfoss code (#7472) | 2 年前 |
| Add DDF functions to sync time | 4 年前 |
| Fix QString::midRef() missing in Qt6 (#8292) | 1 年前 |
| Merge branch 'tuya_offset' into to-delete_7 | 4 年前 |
| Disable legacy /gateways endpoint (#8432) This is an old unofficial and undocumented API. It was used in a customer project to cascade multiple gateways to forward group commands between them. However this hasn't been used or maintained in years and the networking code shows errors. Therefore disaple it by default for now (compile time option). | 8 个月前 |
| Fix raise to cleanup open TCP sockets and potential SEGV (#8455) The openClients array did hold TCP sockets for longer than needed. This could lead to a socket being deleted and later on accessed again, causing a SEGV. | 8 个月前 |
| Fix Websocket setup using proper ports (#8381) - If no --ws-port is given on command line use the default HTTP port indrectly. - Same if the --ws-port parameter is HTTP/HTTPS port. Note that default HTTPS port is 443. | 10 个月前 |
| Cleanup debug prints and remove addr.toStringExt() usage (#7140) The PR removes various legacy log outputs which I think aren't relevant anymore and superseeded by DDFs. Further `QString deCONZ::Address::toStringExt()` is deprecated in first steps to create a QString alternative. Since its a heavy method also which allocates memory on each call, change debug printing to plain numeric printf. It isn't pretty but will do for now. There will be a better method to print MAC addresses soon. | 3 年前 |
| Move REST API common code to rest_api.cpp/h (#7674) | 2 年前 |
| Add DDF for Aqara P1 presence sensor RTCGQ14LM | 4 年前 |
| Additional special effects for Hue lights (#7922) With the 1.116.3 / 67.116.3 firmware upgrade from May 2024, most Hue lights get additional special effects (see https://www.philips-hue.com/en-us/support/release-notes/lamps). There's also a new (undocumented) "sunset" effect, which basically is the reverse of the "sunrise" effect. Most of these changes should be reflected by the API automatically when, the attributes from the Hue Effects cluster are re-read after the firmware update. This PR adds support for the new "sunset" effect. It also brings the GUI up to date with the API ("opal" and "glisten" were missing and "prism" was still called "loop"). It enables the Hue-specific Startup Current X and Startup Current Y attributes, now that the GUI bug handling attributes with the same ID but different manufacturer codes has been fixed. Finally, it removes the values for state/effect from the DDFs for the Hue lights, as these are exposed through capabilities/color/effects, and as they depend on the firmware revision. While changing the C++ code, I also fixed the handling of special effects for (white and/or white ambiance) lights that don't support colorloop, see #7451. | 1 年前 |
| Move REST API common code to rest_api.cpp/h (#7674) | 2 年前 |