mySensor Controllers (was meters)

Jeff Wooding jeff at qualitytubandtile.com
Thu Nov 12 02:22:19 EST 2015


>
> Do you have your sensors up and running yet?  I am getting the following
> output from the controller to the serial monitor and am wondering if it is
> what I should be seeing?
> mysensor is using a DS18B20 1-wire sensor.
> 0;0;3;0;9;gateway started, id=0, parent=0, distance=0
> 0;0;3;0;14;Gateway startup complete.
> 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:


Yes as of now I have setup Lights 120v, LED RGB strips with dimmers, Motion
sensors, Blinds controllers, Moisture soil sensors, and others I can't
remember right now. I love them but I wolud like control direct
from XTension if possible but for now they are piped through my Vera.

Is your Temp sensor on a separate board from the gateway? The Gateway
should only be by it's self.
Remember you can also telnet into the Gateway then you will only get the
data like below not the serial debug stuff you added in there keeps it
cleaner. But here is what the serial output is saying:

The serial protocol used between the Gateway and the Controller is a simple
semicolon separated list of values. The last part of each "command" is the
payload. All commands ends with a newline. The serial commands has the
following format:

*node-id*
*;child-sensor-id;message-type;ack;sub-type;payload\n*

Are you on 1.5? If so then that is the communication layout.

0;0;3;0;9;gateway started, id=0, parent=0, distance=0
0;0;3;0;14;Gateway startup complete.
So yours are saying it's a Gateway, NoChild,

Message Structure ElementsMessage PartComment
node-id
The unique id of the node that sends or should receive the message (address)
child-sensor-id
Each node can have several sensors attached. This is the child-sensor-id
that uniquely identifies one attached sensor
message-type
Type of message sent - See table below
ack
The ack parameter has the following meaning:
Outgoing: 0 = unacknowledged message, 1 = request ack from destination node
Incoming: 0 = normal message, 1 = this is an ack message
sub-type
Depending on messageType this field has different meaning. See tables below
payload
The payload holds the message coming in from sensors or instruction going
out to actuators.

http://www.mysensors.org/download/serial_api_15
What controller are you using for inclusion of your NODES? Vera? None?
I don't see a NODE attached all that is showing is your Gateway. Here is
what it looks like when I telnet into mine:
0;0;3;0;14;Gateway startup complete.
35;4;1;0;16;0
31;7;1;0;16;0
35;5;1;0;16;0
31;7;1;0;16;1
35;3;1;0;16;1
35;5;1;0;16;1
35;4;1;0;16;1

If you are on 1.3 or 1.4 update your library to 1.5 it is much improved.
Also as a side note you might want to setup Codebender.cc it is Arduino IDE
on the web and it works great! I don't know about you but I'm
always struggling with keeping all my development in order. I also work on
multiple computers but with codebender all my stuff is accessible and in
order. It makes tweaking much better for Arduino.

Hope that helps let me know what else I love these Sensors/Actuators.

Thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20151111/f47c87d3/attachment.html>


More information about the XTensionList mailing list