Comments (6)
Test 1.2.0-alpha.1
Probably not much help in another report to further establish that the zigbee system has some problems.
However, if of use, I may contribute by verifying or reproducing observed problems or test proposed fixes.
When finally getting a sensor or two connected I note the same
- no change in graphics when sensor activated
- no expanded properties when clicking the icon
Also, type of sensor is significant. A tilt/vibration type refuses to appear despite repeated pairing attempts.
The zigbee remote mqtt reader system is in better shape, as this is what I used initially.
I have one ConBeeII and one Aeotec Zwave Stick-7.
These have been running with zigbee2MQTT and zwave-js-ui on RPIs separate from WT-gateway RPI.
To verifiy reported problems I connected these directly to WT server on RPI3+ and set forth attempting to find out how to make them work.
pi@gw-randine13:~ $ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Mar 14 06:40 usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2677345-if00 -> ../../ttyACM0
lrwxrwxrwx 1 root root 13 Mar 13 23:37 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_0e1147e97055ed11acba9c131d62bc44-if00-port0 -> ../../ttyUSB
After much fuzz I finally have contact with the ConBeeII.
HINT: Tick 'Deactivate automatic probing of the serial ports', otherwise the adapter code will exit.
Aeotec Stick 7 fails - NOT listed as supported, so if responding differently from Stick-5, this may be the cause of problems.
Possibly, if significant, I may not have a proper 16 byte hex key.
For putting these adapters to work I have one zwave and several zigbee sensors available for testing.
Both adapters complains at ERROR level with multiple lines like shown below. No idea whether this might have consequences for decoding and notification later.
If not, the message should probably not be at this level.
I also note that upon startup most addons complain similary, filling the log.
2024-03-13 18:05:34.089 ERROR : zwave-adapter: strict mode: missing type "object" for keyword "properties" at "https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json#/allOf/1" (strictTypes)
2024-03-14 09:01:43.971 ERROR : zigbee-adapter: strict mode: missing type "object" for keyword "properties" at "https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json#/allOf/1" (strictTypes)
Example - Water Leak sensor - DEBUG = 'property' - no change in graphics
2024-03-14 21:02:17.067 INFO : zigbee-adapter: zb-540f57fffe85c958-leak-sensor property: on profileId: 0104 endpoint: 1 clusterId: 0500 value: true zoneStatus: 0x5
2024-03-14 21:02:17.069 INFO : zigbee-adapter: ZigbeeProperty:asDict arguments: [Arguments] {}
2024-03-14 21:02:17.069 INFO : zigbee-adapter: ZigbeeProperty:asDict result: { name: 'on',
2024-03-14 21:02:17.070 INFO : zigbee-adapter: value: true, <<<<<<<<<<<<<< TRIGGED
2024-03-14 21:02:17.072 INFO : zigbee-adapter: title: 'Water',
2024-03-14 21:02:17.073 INFO : zigbee-adapter: type: 'boolean',
2024-03-14 21:02:17.074 INFO : zigbee-adapter: '@type': 'LeakProperty',
2024-03-14 21:02:17.076 INFO : zigbee-adapter: unit: undefined,
2024-03-14 21:02:17.077 INFO : zigbee-adapter: description: 'Water Sensor',
2024-03-14 21:02:17.078 INFO : zigbee-adapter: minimum: undefined,
2024-03-14 21:02:17.080 INFO : zigbee-adapter: maximum: undefined,
2024-03-14 21:02:17.081 INFO : zigbee-adapter: enum: undefined,
2024-03-14 21:02:17.082 INFO : zigbee-adapter: readOnly: true,
2024-03-14 21:02:17.083 INFO : zigbee-adapter: multipleOf: undefined,
2024-03-14 21:02:17.084 INFO : zigbee-adapter: forms: [],
2024-03-14 21:02:17.085 INFO : zigbee-adapter: profileId: 260,
2024-03-14 21:02:17.086 INFO : zigbee-adapter: endpoint: 1,
2024-03-14 21:02:17.087 INFO : zigbee-adapter: clusterId: 1280,
2024-03-14 21:02:17.089 INFO : zigbee-adapter: attr: '',
2024-03-14 21:02:17.090 INFO : zigbee-adapter: attrId: undefined,
2024-03-14 21:02:17.091 INFO : zigbee-adapter: fireAndForget: true,
2024-03-14 21:02:17.093 INFO : zigbee-adapter: bindNeeded: false,
2024-03-14 21:02:17.094 INFO : zigbee-adapter: configReportNeeded: false,
2024-03-14 21:02:17.095 INFO : zigbee-adapter: initialReadNeeded: false }
2024-03-14 21:02:21.374 INFO : zigbee-adapter: zb-540f57fffe85c958-leak-sensor property: on profileId: 0104 endpoint: 1 clusterId: 0500 value: false zoneStatus: 0x4
2024-03-14 21:02:21.375 INFO : zigbee-adapter: ZigbeeProperty:asDict arguments: [Arguments] {}
2024-03-14 21:02:21.377 INFO : zigbee-adapter: ZigbeeProperty:asDict result: { name: 'on',
2024-03-14 21:02:21.378 INFO : zigbee-adapter: value: false, <<<<<<<<<<<<<<< NOT TRIGGED
2024-03-14 21:02:21.379 INFO : zigbee-adapter: title: 'Water',
2024-03-14 21:02:21.380 INFO : zigbee-adapter: type: 'boolean',
2024-03-14 21:02:21.381 INFO : zigbee-adapter: '@type': 'LeakProperty',
2024-03-14 21:02:21.382 INFO : zigbee-adapter: unit: undefined,
2024-03-14 21:02:21.383 INFO : zigbee-adapter: description: 'Water Sensor',
2024-03-14 21:02:21.384 INFO : zigbee-adapter: minimum: undefined,
2024-03-14 21:02:21.385 INFO : zigbee-adapter: maximum: undefined,
2024-03-14 21:02:21.386 INFO : zigbee-adapter: enum: undefined,
2024-03-14 21:02:21.387 INFO : zigbee-adapter: readOnly: true,
2024-03-14 21:02:21.388 INFO : zigbee-adapter: multipleOf: undefined,
2024-03-14 21:02:21.389 INFO : zigbee-adapter: forms: [],
2024-03-14 21:02:21.390 INFO : zigbee-adapter: profileId: 260,
2024-03-14 21:02:21.390 INFO : zigbee-adapter: endpoint: 1,
2024-03-14 21:02:21.391 INFO : zigbee-adapter: clusterId: 1280,
2024-03-14 21:02:21.392 INFO : zigbee-adapter: attr: '',
2024-03-14 21:02:21.392 INFO : zigbee-adapter: attrId: undefined,
2024-03-14 21:02:21.393 INFO : zigbee-adapter: fireAndForget: true,
2024-03-14 21:02:21.394 INFO : zigbee-adapter: bindNeeded: false,
2024-03-14 21:02:21.395 INFO : zigbee-adapter: configReportNeeded: false,
2024-03-14 21:02:21.396 INFO : zigbee-adapter: initialReadNeeded: false }
// GHo
from gateway.
More feedback - then going back to version 1.1 ...
Clean SD card install, first boot, connect to gateway, reclaim my domain (success).
Added "systeminfo", "power settings", & "square theme".
Added new things - systeminfo - most things only allowed one attribute to be added, e.g. CPU only "Temperature" was available.. Some things showed multiple attributes when selected.
A browser refresh was required each time the "things" page was reloaded. Info was junk otherwise, but all things displayed after a refresh. I removed the CPU thing (success) but could not add it again without going into the add-in configuration, disabling and re-enabling the CPU thing.
Tried to add a Zigbee temperature monitor after putting it into pairing mode - success, but no temperature displayed on the Things page. The other parameters (humidity, pressure) were not available as options to select or displayed.
Tried to add a Zigbee motion detector after putting it into pairing mode - success, but no motion was displayed on the Things page.
Tried to add a Z-Wave bulb (recognized and added), but could not be controlled.
Looking through the log files, there are lots of warnings and errors (not terribly meaningful to me), but I did see that the temperature thing seemed to be reporting a temperature. Also, the "motion" value is being returned, just not displayed.
Logs can be provided if useful.
Ian B/geneva/switzerland
from gateway.
Hi @IJCJI-IAN, thank you very much for doing all of this testing, it's very helpful.
Logs can be provided if useful.
Yes please! I'm not able to reproduce a lot of these bugs so logs would help a lot.
from gateway.
However, no attributes are displayed. no actions are available, rules are not visible, and logs are not displayed.
I'm not able to reproduce this behaviour. At least with Things from the Virtual Things add-on I can see properties and actions and rules and logs are visible too.
Is there a specific add-on the devices use which are missing properties and actions?
System logs or browser logs might be helpful to debug the rules and logs issues.
Removing things appears to work (they disappear) but do not appear to be correctly flushed from the configuration as all Zigbee devices are immediately ready to be re-added, even though they are offline (powered down in some cases) and were not put back into pairing status.
This is actually not unusual. Unless the device has a specific unpairing procedure that you follow when removing it, Zigbee devices are often available to re-add to the dashboard without being re-paired, even if powered off.
Deleting an IKEA Tradfri smart plug caused it to turn on!
That does sound unusual! It may be the default behaviour of the smart plug when unpaired, but I don't have that model to test with.
The good news is that the "Systeminfo" and "Power settings" add-ons appear to be working.
👍
"Square theme" was also active but does not have much impact on functionality.
Does it render correctly? The CSS may have been broken by the new groups feature.
I tested creating a group and moving things (temperature monitors) into the new group, deleted the group and the things were back in general collection. No testing done with Z-Wave at this stage. Will flash a clean install to a new SD card and test again adding things one by one.
👍
from gateway.
Added new things - systeminfo - most things only allowed one attribute to be added, e.g. CPU only "Temperature" was available..
Which version of Raspberry Pi are you using? On Raspberry Pi 4 I can see multiple properties for the CPU Thing added from the Systeminfo add-on.
![Screenshot 2024-03-07 at 10 24 32](https://private-user-images.githubusercontent.com/552417/310842280-a6040700-67fb-4e85-a591-acb16fb50e44.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI2MDkzNzEsIm5iZiI6MTcxMjYwOTA3MSwicGF0aCI6Ii81NTI0MTcvMzEwODQyMjgwLWE2MDQwNzAwLTY3ZmItNGU4NS1hNTkxLWFjYjE2ZmI1MGU0NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQwOFQyMDQ0MzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wNTFlOGI4MTg2NTc1NmYyMzJiZDAzMmJiOGFiMmNmMTg5NTRhMWRiYTg3MzYzYjBjZDI3NDAxNTQ4ZTA4MWNmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.wifd6rv17k2Z3Yn5i-qgdUj4U8KhAY4juVFAyzfvXtc)
Info was junk otherwise, but all things displayed after a refresh.
I suspect this is all related to #3122 because it isn't listening for property changes correctly, but it would be good to re-test this with the next pre-release when it's available (that bug is now fixed on the master branch).
I removed the CPU thing (success) but could not add it again without going into the add-in configuration, disabling and re-enabling the CPU thing.
I can reproduce this, but I'm not sure if it's an issue with the gateway or the add-on, might be worth filing an issue on the add-on repo https://github.com/tim-hellhake/systeminfo-adapter
Tried to add a Zigbee temperature monitor after putting it into pairing mode - success, but no temperature displayed on the Things page. The other parameters (humidity, pressure) were not available as options to select or displayed.
What model of device was this? Do you know if it worked in 1.1?
Tried to add a Zigbee motion detector after putting it into pairing mode - success, but no motion was displayed on the Things page. Tried to add a Z-Wave bulb (recognized and added), but could not be controlled.
Again, model names and whether they previously worked on 1.1 would be good to know.
Thanks again for doing all of this testing.
from gateway.
Update: I was finally able to test with real devices and I can confirm that things are very broken! See #3126
from gateway.
Related Issues (20)
- All HTTP error responses containing a body should use the problem details format
- Consider adding `@language` member to `@context` of Thing Descriptions
- Properly implement the `OAuth2SecurityScheme`
- Support `ImageProperty` and `VideoProperty` properties using `forms`
- Missing implementations for adding / removing actions? HOT 1
- Re-factor "context menu" as separate dialogs
- `WebSocket sendMessage failed` when adding a thing to a group HOT 1
- Things get rendered twice HOT 2
- Use new overflow menu design everywhere
- Cannot start container, nodejs error HOT 1
- Confirm deletion of user account
- Confirm removal of add-on HOT 2
- Consider warning users that tunnel can't be configured after first time setup
- Error on startup with docker-compose HOT 2
- Things or "No devices yet" message do not appear on first boot
- Back button on Thing detail view not working
- RPI3+ 1.2.0-alpha.1 - Missing refreshes in 'Things' view ? HOT 1
- Zigbee & Z-Wave Things missing properties HOT 4
- MaxListenersExceededWarning: Possible EventEmitter memory leak detected.
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 gateway.