Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zigbee EZSP improvements and reduced logging #8976

Merged
merged 1 commit into from
Jul 25, 2020

Conversation

s-hadinger
Copy link
Collaborator

Description:

Reduced logging, all logs for features that are now known to work are moved to log_level 3.

Added ZbRouteError message when devices are unreachable (still not clear when these messages appear).

Added ZbParent reporting from routers.

Added specific logging when unhandled ZDO messages are received.

Added I2C GPIOs to the ZBBridge template.

Now a normal start should look like this:

14:44:24 ZIG: Resetting EZSP device
14:44:25 RSL: RESULT = {"ZbState":{"Status":1,"Message":"EFR32 booted","RestartReason":"Power-on","Code":2}}
14:44:25 RSL: RESULT = {"ZbState":{"Status":55,"Version":"6.7.6.0","Protocol":8,"Stack":2}}
14:44:25 RSL: RESULT = {"ZbState":{"Status":3,"Message":"Configured, starting coordinator"}}
14:44:26 ZIG: {"ZbEZSPReceived":"680000"}
14:44:26 ZIG: {"ZbEZSPReceived":"690000XXXXXXXXXX"}
14:44:26 ZIG: {"ZbEZSPReceived":"28000001XXXXXXXXXXXXXXXXXXXXXXXXXXXX"}
14:44:27 ZIG: {"ZbEZSPReceived":"28000001XXXXXXXXXXXXXXXXXXXXXXXXXXXX"}
14:44:27 RSL: RESULT = {"ZbState":{"Status":56,"IEEEAddr":"0x680AE2FFFE6E103B","ShortAddr":"0x0000","DeviceType":1}}
14:44:27 RSL: RESULT = {"ZbState":{"Status":0,"Message":"Started"}}
14:44:27 ZIG: Zigbee started
14:44:27 ZIG: Zigbee devices data in Flash (391 bytes)

Related issue (if applicable): fixes #8583

Checklist:

  • The pull request is done against the latest dev branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR.
  • The code change is tested and works on Tasmota core ESP8266 V.2.7.2.1
  • The code change is tested and works on core ESP32 V.1.12.2
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@arendst arendst merged commit fc2d5b1 into arendst:development Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adventures with Sonoff Zigbee Bridge
2 participants