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

Add addition blocks of data #7

Open
evanrich opened this issue Apr 13, 2019 · 4 comments
Open

Add addition blocks of data #7

evanrich opened this issue Apr 13, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@evanrich
Copy link
Owner

If there is any interest in this, I can add the following blocks:

MessageCluster
DeviceInfo
NetworkInfo

on my PG&E meter, these are the only additional things I get, and they contain the following.

MessageCluster

<MessageCluster>
  <DeviceMacId>redacted</DeviceMacId>
  <MeterMacId>redacted</MeterMacId>
  <TimeStamp></TimeStamp>
  <Id></Id>
  <Text></Text>
  <Priority></Priority>
  <StartTime></StartTime>
  <Duration></Duration>
  <ConfirmationRequired>N</ConfirmationRequired>
  <Confirmed>N</Confirmed>
  <Queue>Active</Queue>
  <Port>/dev/ttySP0</Port>
</MessageCluster>

DeviceInfo

<DeviceInfo>
  <DeviceMacId>redacted</DeviceMacId>
  <InstallCode>redacted</InstallCode>
  <LinkKey>redacted</LinkKey>
  <FWVersion>1.4.48 (6952)</FWVersion>
  <HWVersion>1.2.5</HWVersion>
  <ImageType>0x1301</ImageType>
  <Manufacturer>Rainforest Automation, Inc.</Manufacturer>
  <ModelId>Z109-EAGLE</ModelId>
  <DateCode>redacted</DateCode>
  <Port>/dev/ttySP0</Port>
  <Port>/dev/ttySP0</Port>
</DeviceInfo>

Network Info

<NetworkInfo>
  <DeviceMacId>redacted</DeviceMacId>
  <CoordMacId>redacted</CoordMacId>
  <Status>Connected</Status>
  <Description>Successfully Joined</Description>
  <ExtPanId>redacted</ExtPanId>
  <Channel>25</Channel>
  <ShortAddr>redacted</ShortAddr>
  <LinkStrength>0x64</LinkStrength>
  <Port>/dev/ttySP0</Port>
</NetworkInfo>

Let me know if you are interested in this and I'll work to add it

@evanrich evanrich added enhancement New feature or request question Further information is requested labels Apr 13, 2019
@evanrich evanrich self-assigned this Apr 29, 2019
@madansu
Copy link

madansu commented May 21, 2019

It would also be useful to have the Network Info.

That will allow me to display Zigbee connection status between my PGE meter and the Eagle-100 on my dashboard

Thanks,
Madan

@evanrich
Copy link
Owner Author

evanrich commented Sep 20, 2020

@madansu sorry I haven't checked in on this project in a while, work has been crazy over the last year. I'll work on adding the network fields for you!

which of the following would you think necessary to output to mqtt?

 <DeviceMacId>0xd8d5b9000000103f</DeviceMacId>
     <CoordMacId>0x000781000086d0fe</CoordMacId>
     <Status>Connected</Status>
     <Description>Successfully Joined</Description>
     <ExtPanId>0x000781000086d0fe</ExtPanId>
     <Channel>20</Channel>
     <ShortAddr>0xe1aa</ShortAddr>
     <LinkStrength>0x64</LinkStrength>

all of it?

@madansu
Copy link

madansu commented Sep 22, 2020

@evanrich I would output the Status, Description and Link Strength
Thanks !

@evanrich
Copy link
Owner Author

evanrich commented May 2, 2021

@madansu so sorry! lol I'm 9 months late on this. Will implement these for you shortly!

Edit: I started to add the necessary code, but when I went to check it, I didn't see any network info showing up. I ran a tcpdump to see what my eagle was spitting out, and I don't see any network info from my meter. Can you help me by doing a test?

On your container, cna you install tcpdump, and run the following commands:

apk update
apk add tcpdump
tcpdump -i any port 22042 -A |grep -i xml -A10 

Change the port to whatever you set your port to for the eagle to talk to)

if you happen to see a network block, can you let me know? it should look something like this:

<NetworkInfo>
     <DeviceMacId>0xd8d5b9000000103f</DeviceMacId>
     <CoordMacId>0x000781000086d0fe</CoordMacId>
     <Status>Connected</Status>
     <Description>Successfully Joined</Description>
     <ExtPanId>0x000781000086d0fe</ExtPanId>
     <Channel>20</Channel>
     <ShortAddr>0xe1aa</ShortAddr>
     <LinkStrength>0x64</LinkStrength>
   </NetworkInfo>

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants