Closed GoogleCodeExporter closed 9 years ago
I forgot to say THANKS for this code. It helps a lot and save a lot of time.
Thank you guys.
Original comment by diegoc.a...@gmail.com
on 14 Aug 2013 at 7:09
Hmm; I'm not sure I understand what the problem you're having is. Could you
please be more specific about what command you are sending, what result you
get, and what result you expected?
Original comment by pmalms...@gmail.com
on 16 Aug 2013 at 1:58
I am sending remote at.... command='D1', parameter'\x05' commands and I am
including the parameter frame_id='A' so I can have confirmation back from the
destination. ( I want to know if the command was executed ).
What I am getting is :
{'status': '\x00', 'source_addr': '\x15\xf9', 'source_addr_long':
'\x00\x13\xa2\x00@\x98\x9a\xa1', 'frame_id': 'A', 'command': 'D1', 'id':
'remote_at_response'}
but not samples on the status of the active I/O.
do I am doing something wrong of this is a defect? Thanks dc
Original comment by diegoc.a...@gmail.com
on 16 Aug 2013 at 11:39
HI GUys, is anybody to take a look at this?, sorry to ask, I just need to know
if there is something wrong or what should I do different to get the proper
answer from frame 92.
thanks
dc
Original comment by diegoc.a...@gmail.com
on 22 Aug 2013 at 10:26
Sorry for the delay; it's mostly just me answering these tickets.
That result looks like what it should be; you request pin 1 to be a digital
output high and your device replies with status OK.
Your ZigBee will not tell you the state of the I/O pins by default. If you want
to see the current I/O status, you need to either ask for it explicitly or
enable periodic sampling, after you've configured your pins of course.
To force an immediate sample, you can send a remote at request with command IS.
The response will contain the current I/O data as the parameter.
To enable periodic sampling, you can send a remote at request with command IR
and parameter value 0x32 - 0xFFFF, where the parameter is the time between
samples in milliseconds. A parameter of 0 disables periodic sampling. After
this is configured, the XBee ZB will begin sending 0x92 messages to the
destination address specified by the DH and DL commands.
Most of this information is from pages 96 and 136 of the XBee ZB product
manual, available here:
http://ftp1.digi.com/support/documentation/90000976_P.pdf.
Our mailing list is another good place to ask questions like this; you might
get a response a little faster there.
Original comment by pmalms...@gmail.com
on 23 Aug 2013 at 1:04
Thanks man, I knew I was doing something wrong. I will posted here the results
of what you are telling me to do, just in case another person has the same
question, but you don't need to answer.
thanks again, I am installing switches and sensors all over my home and your
library could be the center of all it.
dc
Original comment by diegoc.a...@gmail.com
on 23 Aug 2013 at 10:33
Closing this as WontFix since no code change is required.
Original comment by pmalms...@gmail.com
on 21 Sep 2013 at 12:12
Original issue reported on code.google.com by
diegoc.a...@gmail.com
on 14 Aug 2013 at 6:35