Commit Graph

41 Commits

Author SHA1 Message Date
Justin Monroe b2443ec548 Fixed last_seen calculation with zigbee devices.
The specific circumstances of this bug typically involve a restart, after which a zigbee
device pings the bridge before the Rtc.utc_time is set by NTP. This results in a large "last seen"
time calculation. This is cosmetic only. This patch ensures the "last seen" time is after
2020-01-01 0000 UTC when pulled from the Rtc.utc_time field, otherwise, last_seen updates are
ignored.
2020-09-27 17:23:54 +00:00
Stephan Hadinger c77f0a267b Zigbee Thermostat Eurotronic fixes 2020-09-27 18:42:19 +02:00
Stephan Hadinger 0b06496158 Zigbee send message when PermitJoin expires 2020-09-24 19:15:07 +02:00
Stephan Hadinger f3591b8419 Fix memory corruption 2020-09-23 19:38:24 +02:00
Stephan Hadinger 2ff756b3cc Change replace ArduinoJson with JSMN for JSON parsing 2020-09-21 21:49:32 +02:00
nicandris 8a3f3b271a use TOPSZ for size of topic 2020-09-19 16:02:19 +02:00
nicandris 03da44b2b4 Clean up of friendly name before setting it to topic 2020-09-19 15:20:17 +02:00
nicandris 0fce283532 included prefix3 in topic 2020-09-19 14:34:16 +02:00
nicandris 7adab74ed5 Fix possible buffer overflow 2020-09-19 14:02:15 +02:00
nicandris a9af3baea0 Added SetOption112 - Use friendly name in zigbee topic (use with SetOption89) 2020-09-19 13:43:14 +02:00
Justin Monroe 74bfad29e1 Add last seen time to zigbee devices
- Adding last_seen to zigbee devices, and updates to UI to show
  - Adding signal strength icon for LQI, instead of just the number
2020-09-17 00:57:40 +00:00
Stephan Hadinger 27b75e638e Simplified JSON 2020-09-16 20:32:03 +02:00
Stephan Hadinger ea85b70685 Zigbee minor improvements 2020-09-14 22:06:19 +02:00
Stephan Hadinger ecc27aa383 Add Zigbee auto-config when pairing 2020-09-12 10:57:54 +02:00
Stephan Hadinger 1295370bf1 Zigbee refactor of internal structures 2020-09-05 14:44:31 +02:00
Stephan Hadinger 4deb44ba1d Add Zigbee web ui for power metering plugs 2020-08-28 22:53:34 +02:00
Stephan Hadinger d8f726a0c9 Add Zigbee web ui widget for Lights 2020-08-26 08:56:13 +02:00
Stephan Hadinger 7a3fad5a92 Keep 'null' attributes 2020-08-23 14:57:19 +02:00
Stephan Hadinger 85a5e8cf5d Add Zigbee web gui widget for Temp/Humidity/Pressure sensors 2020-08-22 18:40:44 +02:00
Stephan Hadinger dd0a4e8b10 Fix 9140 2020-08-21 19:32:58 +02:00
Stephan Hadinger 7102d6a279 Zigbee device profile phase 1 2020-08-20 08:25:53 +02:00
Stephan Hadinger eff11ae2cb Fix ZbBind crash and add Identify cluster 2020-08-13 10:59:38 +02:00
Stephan Hadinger f8ab917688 Update LQI on ZDO messages 2020-08-09 10:44:32 +02:00
Stephan Hadinger 2da8f3c393 Added `SO101 1` to suffix commands with source endpoint 2020-07-20 19:30:32 +02:00
Theo Arends 23da6285c1 Add command ``SetOption100 0/1``
Add command ``SetOption100 0/1`` to remove ``ZbReceived`` value from ``{"ZbReceived":{xxx:yyy}}`` JSON message
2020-07-19 15:57:37 +02:00
Stephan Hadinger fc40a0945d Zigbee EZSP milestone 3 2020-06-29 22:21:32 +02:00
Stephan Hadinger ac80807c4e Removed the x2 to battery percentage 2020-06-28 18:04:36 +02:00
Stephan Hadinger 4af6b7d540 Moved LQI to Zigbee devices 2020-06-28 17:53:59 +02:00
Stephan Hadinger 45397293e1 Add Zigbee auto-responder for common attributes 2020-06-03 22:39:04 +02:00
Stephan Hadinger b069b89561 Add Zigbee options to ``ZbSend`` to write and report attributes 2020-05-29 22:52:45 +02:00
Stephan Hadinger f5f1bdefdb Add wildcard patter for JSON marching in rules using ``?`` pattern 2020-05-24 09:57:11 +02:00
Stephan Hadinger 1460f81490 Zigbee allow zero shortaddr 2020-05-17 18:33:42 +02:00
Stephan Hadinger e1def09a1b Change Philips Hue emulation now exposes modelId and manufacturerId 2020-05-10 19:10:00 +02:00
Stephan Hadinger 318cfe2681 Disarm timer for Occupancy:0 2020-04-17 12:27:36 +02:00
Stephan Hadinger 5b8e19486d Fix Zigbee crash with Occupancy sensor (#8089) 2020-04-08 15:20:04 +02:00
Stephan Hadinger d4a9ed41c9 Add support for unreachable (unplugged) Zigbee devices in Philips Hue emulation and Alexa 2020-03-26 19:34:59 +01:00
Stephan Hadinger ac4d4ac571 Code optimization, cleaning and more error codes 2020-03-23 22:46:26 +01:00
Stephan Hadinger f9d6ab1825 Better test for bulbtype 2020-03-23 08:25:01 +01:00
Stephan Hadinger 2c8dd288e7 Add command ``ZbRestore`` to restore device configuration dumped with ``ZbStatus 2`` 2020-03-22 16:11:01 +01:00
Stephan Hadinger 03ef61c426 Change Zigbee simplification of devices probing, saving Flash and memory 2020-03-17 18:46:05 +01:00
Stephan Hadinger 13dde44eb7 Add Zigbee support for Hue emulation 2020-03-14 14:17:30 +01:00